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:
authorLuke Karrys <luke@lukekarrys.com>2022-03-22 19:40:44 +0300
committerNathan Fritz <fritzy@github.com>2022-03-24 23:21:44 +0300
commit6df061ec2a52882693ed86a3524ac6af0f88acd8 (patch)
tree7265052900829dd45274953f72f35e2357f4f9ec /node_modules
parentcc6c09431d7fe2db8ac1dc7a707f2dab7a7a1f83 (diff)
deps: npm-registry-fetch@13.1.0
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/npm-registry-fetch/lib/index.js4
-rw-r--r--node_modules/npm-registry-fetch/package.json31
2 files changed, 20 insertions, 15 deletions
diff --git a/node_modules/npm-registry-fetch/lib/index.js b/node_modules/npm-registry-fetch/lib/index.js
index a0fc280a9..6c834aa4a 100644
--- a/node_modules/npm-registry-fetch/lib/index.js
+++ b/node_modules/npm-registry-fetch/lib/index.js
@@ -104,11 +104,11 @@ function regFetch (uri, /* istanbul ignore next */ opts_ = {}) {
opts.preferOnline = true
}
- const doFetch = async body => {
+ const doFetch = async fetchBody => {
const p = fetch(uri, {
agent: opts.agent,
algorithms: opts.algorithms,
- body,
+ body: fetchBody,
cache: getCacheMode(opts),
cachePath: opts.cache,
ca: opts.ca,
diff --git a/node_modules/npm-registry-fetch/package.json b/node_modules/npm-registry-fetch/package.json
index d0a8bbaaa..9e15f627c 100644
--- a/node_modules/npm-registry-fetch/package.json
+++ b/node_modules/npm-registry-fetch/package.json
@@ -1,15 +1,15 @@
{
"name": "npm-registry-fetch",
- "version": "13.0.1",
+ "version": "13.1.0",
"description": "Fetch-based http client for use with npm registry APIs",
"main": "lib",
"files": [
- "bin",
- "lib"
+ "bin/",
+ "lib/"
],
"scripts": {
"eslint": "eslint",
- "lint": "eslint '**/*.js'",
+ "lint": "eslint \"**/*.js\"",
"lintfix": "npm run lint -- --fix",
"prepublishOnly": "git push origin --follow-tags",
"preversion": "npm test",
@@ -18,11 +18,14 @@
"posttest": "npm run lint",
"npmclilint": "npmcli-lint",
"postsnap": "npm run lintfix --",
- "postlint": "npm-template-check",
+ "postlint": "template-oss-check",
"snap": "tap",
- "template-copy": "npm-template-copy --force"
+ "template-oss-apply": "template-oss-apply --force"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/npm/npm-registry-fetch.git"
},
- "repository": "https://github.com/npm/npm-registry-fetch",
"keywords": [
"npm",
"registry",
@@ -31,17 +34,18 @@
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
- "make-fetch-happen": "^10.0.4",
+ "make-fetch-happen": "^10.0.6",
"minipass": "^3.1.6",
- "minipass-fetch": "^2.0.2",
+ "minipass-fetch": "^2.0.3",
"minipass-json-stream": "^1.0.1",
"minizlib": "^2.1.2",
"npm-package-arg": "^9.0.1",
"proc-log": "^2.0.0"
},
"devDependencies": {
- "@npmcli/template-oss": "^2.9.2",
- "cacache": "^16.0.1",
+ "@npmcli/eslint-config": "^3.0.1",
+ "@npmcli/template-oss": "3.1.2",
+ "cacache": "^16.0.2",
"nock": "^13.2.4",
"require-inject": "^1.4.4",
"ssri": "^8.0.1",
@@ -52,9 +56,10 @@
"test-ignore": "test[\\\\/](util|cache)[\\\\/]"
},
"engines": {
- "node": "^12.13.0 || ^14.15.0 || >=16"
+ "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
},
"templateOSS": {
- "version": "2.9.2"
+ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
+ "version": "3.1.2"
}
}