fix(core): Fix broken safeJoinPath implementation in community nodes scanner (no-changelog) (#20213)

This commit is contained in:
Jaakko Husso 2025-09-30 17:00:34 +03:00 committed by GitHub
parent 6e39a0d3b8
commit 46bb5593ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,8 @@ export function safeJoinPath(parentPath, ...paths) {
`Path traversal detected, refusing to join paths: ${parentPath} and ${JSON.stringify(paths)}`,
);
}
return candidate;
}
export const resolvePackage = (packageSpec) => {