📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-06-23 16:03:00 +00:00
parent c4c6a41c21
commit 59e15f8999
557 changed files with 10501 additions and 3168 deletions
@@ -110,11 +110,20 @@ async function loadRefreshHandler() {
};
refreshSkillsPlugin().configureServer(server);
const registration = registrations.find((item) => item.path === '/api/refresh-skills');
if (!registration) {
const apiHandlers = registrations
.filter((item) => item.path === '/api/refresh-skills')
.map((item) => item.handler);
if (!apiHandlers.length) {
throw new Error('refresh-skills handler not registered');
}
return registration.handler;
return async (req, res) => {
let index = 0;
const next = async () => {
const handler = apiHandlers[index++];
if (handler) await handler(req, res, next);
};
await next();
};
}
describe('refresh-skills plugin security', () => {