Comparing version 1.1.0 to 1.1.1
@@ -110,2 +110,3 @@ const posix = makePath(false) | ||
const isAbsolute = root !== '' | ||
const hasTrailingSep = p[p.length - 1] === sep | ||
@@ -146,2 +147,3 @@ let i = root.length | ||
if (root) out = root + out | ||
if (hasTrailingSep) out += sep | ||
@@ -148,0 +150,0 @@ return out || '.' |
{ | ||
"name": "bare-path", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Path manipulation library for JavaScript", | ||
@@ -23,4 +23,5 @@ "main": "index.js", | ||
"devDependencies": { | ||
"brittle": "^3.3.2", | ||
"standard": "^17.0.0" | ||
} | ||
} |
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
15823
123
2