cached-path-relative
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -30,3 +30,3 @@ /** | ||
if (cwd !== lastCwd) { | ||
cache = {} | ||
cache = Object.create(null) | ||
lastCwd = cwd | ||
@@ -39,3 +39,3 @@ } | ||
cache[from] = cache[from] || {} | ||
cache[from] = cache[from] || Object.create(null) | ||
cache[from][to] = result | ||
@@ -42,0 +42,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"repository": "git://github.com/ashaffer/cached-path-relative.git", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "main": "lib/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
3714