Comparing version 1.0.10 to 1.0.11
@@ -9,5 +9,3 @@ 'use strict'; | ||
function jpescape(s) { | ||
s = s.split('~').join('~0'); | ||
s = s.split('/').join('~1'); | ||
return s; | ||
return s.replace(/\~/g, '~0').replace(/\//g, '~1'); | ||
} | ||
@@ -21,5 +19,3 @@ | ||
function jpunescape(s) { | ||
s = s.split('~1').join('/'); | ||
s = s.split('~0').join('~'); | ||
return s; | ||
return s.replace(/\~1/g, '/').replace(/~0/g, '~'); | ||
} | ||
@@ -26,0 +22,0 @@ |
{ | ||
"name": "reftools", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Utility functions to deal with references in objects", | ||
@@ -43,5 +43,5 @@ "main": "lib/recurse.js", | ||
"should": "^13.2.1", | ||
"yaml": "^1.7.2" | ||
"yaml": "^1.8.0" | ||
}, | ||
"gitHead": "8ee9dc568594ae8a199c76aaa039b8e3aefbf5b7" | ||
"gitHead": "3c04d8c190507d806746d45042fcb8d579dfb237" | ||
} |
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
32856
614