json-schema-ref-parser
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -170,3 +170,3 @@ 'use strict'; | ||
for (var i = 0; i < pointer.length; i++) { | ||
pointer[i] = decodeURI(pointer[i].replace(escapedSlash, '/').replace(escapedTilde, '~')); | ||
pointer[i] = decodeURIComponent(pointer[i].replace(escapedSlash, '/').replace(escapedTilde, '~')); | ||
} | ||
@@ -199,3 +199,3 @@ | ||
// Encode the token, according to RFC 6901 | ||
base += '/' + encodeURI(token.replace(tildes, '~0').replace(slashes, '~1')); | ||
base += '/' + encodeURIComponent(token.replace(tildes, '~0').replace(slashes, '~1')); | ||
} | ||
@@ -202,0 +202,0 @@ |
{ | ||
"name": "json-schema-ref-parser", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Parse, Resolve, and Dereference JSON Schema $ref pointers", | ||
@@ -57,3 +57,3 @@ "keywords": [ | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.1.0", | ||
"eslint": "^5.2.0", | ||
"eslint-config-modular": "^4.1.2", | ||
@@ -60,0 +60,0 @@ "http-server": "^0.11.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
2014894