diff options
Diffstat (limited to 'node_modules/npm-registry-fetch')
-rw-r--r-- | node_modules/npm-registry-fetch/lib/errors.js | 2 | ||||
-rw-r--r-- | node_modules/npm-registry-fetch/package.json | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/node_modules/npm-registry-fetch/lib/errors.js b/node_modules/npm-registry-fetch/lib/errors.js index 0efc923e3..cf5ddba6f 100644 --- a/node_modules/npm-registry-fetch/lib/errors.js +++ b/node_modules/npm-registry-fetch/lib/errors.js @@ -4,7 +4,7 @@ const url = require('url') function packageName (href) { try { - let basePath = new url.URL(href).pathname.substr(1) + let basePath = new url.URL(href).pathname.slice(1) if (!basePath.match(/^-/)) { basePath = basePath.split('/') var index = basePath.indexOf('_rewrite') diff --git a/node_modules/npm-registry-fetch/package.json b/node_modules/npm-registry-fetch/package.json index 9e15f627c..0ce12c633 100644 --- a/node_modules/npm-registry-fetch/package.json +++ b/node_modules/npm-registry-fetch/package.json @@ -1,6 +1,6 @@ { "name": "npm-registry-fetch", - "version": "13.1.0", + "version": "13.1.1", "description": "Fetch-based http client for use with npm registry APIs", "main": "lib", "files": [ @@ -44,12 +44,12 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.0.1", - "@npmcli/template-oss": "3.1.2", + "@npmcli/template-oss": "3.3.2", "cacache": "^16.0.2", "nock": "^13.2.4", "require-inject": "^1.4.4", - "ssri": "^8.0.1", - "tap": "^15.1.6" + "ssri": "^9.0.0", + "tap": "^16.0.1" }, "tap": { "check-coverage": true, @@ -60,6 +60,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "3.1.2" + "version": "3.3.2" } } |