Comparing version 1.1.1 to 1.1.2
@@ -91,2 +91,3 @@ const posix = makePath(false) | ||
const part = i === -1 ? process.cwd() : args[i] | ||
if (part.length === 0) continue | ||
resolved = path.join(part, resolved) | ||
@@ -99,3 +100,6 @@ if (path.isAbsolute(resolved)) break | ||
path.join = function join (p, ...parts) { | ||
for (const part of parts) p += sep + part | ||
for (const part of parts) { | ||
if (part.length === 0) continue | ||
p += sep + part | ||
} | ||
return path.normalize(p) | ||
@@ -102,0 +106,0 @@ } |
{ | ||
"name": "bare-path", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Path manipulation library for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15913
127