Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-04-13 19:36:34 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-04-15 01:49:45 +0300
commit9f57404dc148835d7393b5fe617c8c5e2c958061 (patch)
tree54d9243c1d20db1bafc8feb895b4ce75083fcfcf /node_modules/npm-registry-fetch
parentf1787327c86028f1276683cf331a8536d62108ce (diff)
deps: npm-registry-fetch@13.1.1
Diffstat (limited to 'node_modules/npm-registry-fetch')
-rw-r--r--node_modules/npm-registry-fetch/lib/errors.js2
-rw-r--r--node_modules/npm-registry-fetch/package.json10
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"
}
}