📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -56,6 +56,10 @@ function parseArgs(argv) {
|
||||
}
|
||||
|
||||
function safeUserPath(pathValue, baseDir = process.cwd()) {
|
||||
if (path.isAbsolute(String(pathValue || ""))) {
|
||||
return path.resolve(pathValue);
|
||||
}
|
||||
|
||||
const root = path.resolve(baseDir);
|
||||
const segments = String(pathValue || "").split(/[\\/]+/).filter(Boolean).map((segment) => {
|
||||
const sanitized = sanitizeFilename(segment);
|
||||
|
||||
Reference in New Issue
Block a user