Comparing version 0.7.3 to 0.7.4
@@ -33,3 +33,3 @@ var core = require('./core'); | ||
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?\\)/.test(x)) { | ||
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[\\\/])/.test(x)) { | ||
var res = path.resolve(y, x); | ||
@@ -36,0 +36,0 @@ if (x === '..') res += '/'; |
@@ -21,3 +21,3 @@ var core = require('./core'); | ||
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?\\)/.test(x)) { | ||
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[\\\/])/.test(x)) { | ||
var res = path.resolve(y, x); | ||
@@ -24,0 +24,0 @@ if (x === '..') res += '/'; |
{ | ||
"name" : "resolve", | ||
"description" : "resolve like require.resolve() on behalf of files asynchronously and synchronously", | ||
"version" : "0.7.3", | ||
"version" : "0.7.4", | ||
"repository" : { | ||
@@ -6,0 +6,0 @@ "type" : "git", |
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
38931