Comparing version 0.1.7 to 0.1.8
@@ -228,3 +228,3 @@ /* exported findRefs, isJsonReference, isRemotePointer, pathFromPointer, pathToPointer, resolveRefs */ | ||
return ptr.charAt(0) !== '#'; | ||
return /^(([a-zA-Z0-9+.-]+):\/\/|\.{1,2}\/)/.test(ptr); | ||
}; | ||
@@ -231,0 +231,0 @@ |
{ | ||
"name": "json-refs", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Various utilities for JSON References (http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).", | ||
@@ -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
23073