postman-url-encoder
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "postman-url-encoder", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Implementation of the WHATWG URL Standard", | ||
@@ -25,2 +25,3 @@ "author": "Postman Inc.", | ||
"build-docs": "node npm/build-docs.js", | ||
"codecov": "node npm/publish-coverage.js", | ||
"release": "node npm/create-release.js", | ||
@@ -38,19 +39,19 @@ "test": "npm run test-lint && npm run test-unit", | ||
"@postman/csv-parse": "^4.0.2", | ||
"@postman/shipit": "^0.2.0", | ||
"@postman/shipit": "^0.3.0", | ||
"async": "^3.1.1", | ||
"bipbip": "^0.4.2", | ||
"chai": "^4.2.0", | ||
"chalk": "^4.1.0", | ||
"chai": "^4.3.4", | ||
"chalk": "^4.1.1", | ||
"colors": "^1.4.0", | ||
"editorconfig": "^0.15.3", | ||
"eslint": "^7.17.0", | ||
"eslint-plugin-jsdoc": "^30.7.9", | ||
"eslint-plugin-lodash": "^7.1.0", | ||
"eslint-plugin-mocha": "^8.0.0", | ||
"eslint": "^7.30.0", | ||
"eslint-plugin-jsdoc": "^35.4.3", | ||
"eslint-plugin-lodash": "^7.2.0", | ||
"eslint-plugin-mocha": "^9.0.0", | ||
"eslint-plugin-security": "^1.4.0", | ||
"jsdoc": "^3.6.6", | ||
"mocha": "^8.2.1", | ||
"jsdoc": "^3.6.7", | ||
"mocha": "^9.0.2", | ||
"nyc": "^15.1.0", | ||
"parse-gitignore": "^1.0.1", | ||
"postman-collection": "^3.6.8", | ||
"postman-collection": "^4.0.0", | ||
"postman-jsdoc-theme": "^0.0.3", | ||
@@ -57,0 +58,0 @@ "recursive-readdir": "^2.2.2", |
@@ -218,2 +218,4 @@ /** | ||
urlString = urlString.replace(/\\/g, '/'); // sanitize path | ||
urlString = urlString.replace(/^\/+/, ''); // remove leading slashes | ||
if ((index = urlString.indexOf(PATH_SEPARATOR)) !== -1) { | ||
@@ -220,0 +222,0 @@ // extract from the back |
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
72843
1701