Skip to content

Commit 87a61fc

Browse files
committed
deps: npm-registry-fetch@16.2.0
1 parent 17d97d2 commit 87a61fc

File tree

14 files changed

+33
-53
lines changed

14 files changed

+33
-53
lines changed

DEPENDENCIES.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ graph LR;
156156
npm-registry-fetch-->make-fetch-happen;
157157
npm-registry-fetch-->minipass-fetch;
158158
npm-registry-fetch-->npm-package-arg;
159+
npm-registry-fetch-->npmcli-redact["@npmcli/redact"];
159160
npm-registry-fetch-->proc-log;
160161
npmcli-arborist-->bin-links;
161162
npmcli-arborist-->cacache;
@@ -590,6 +591,7 @@ graph LR;
590591
npm-registry-fetch-->minipass;
591592
npm-registry-fetch-->minizlib;
592593
npm-registry-fetch-->npm-package-arg;
594+
npm-registry-fetch-->npmcli-redact["@npmcli/redact"];
593595
npm-registry-fetch-->proc-log;
594596
npmcli-agent-->agent-base;
595597
npmcli-agent-->http-proxy-agent;
@@ -833,4 +835,4 @@ packages higher up the chain.
833835
- @npmcli/git, make-fetch-happen, @npmcli/config
834836
- @npmcli/installed-package-contents, @npmcli/map-workspaces, cacache, npm-pick-manifest, read-package-json, promzard
835837
- @npmcli/docs, @npmcli/fs, npm-bundled, read-package-json-fast, unique-filename, npm-install-checks, npm-package-arg, normalize-package-data, npm-packlist, bin-links, nopt, npmlog, parse-conflict-json, @npmcli/mock-globals, read
836-
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, json-parse-even-better-errors, fs-minipass, ssri, unique-slug, @npmcli/promise-spawn, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/node-gyp, @npmcli/agent, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, minify-registry-metadata, ini, @npmcli/disparity-colors, mute-stream, @npmcli/redact, npm-audit-report, npm-user-validate
838+
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, json-parse-even-better-errors, fs-minipass, ssri, unique-slug, @npmcli/promise-spawn, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/node-gyp, @npmcli/redact, @npmcli/agent, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, minify-registry-metadata, ini, @npmcli/disparity-colors, mute-stream, npm-audit-report, npm-user-validate

node_modules/npm-registry-fetch/lib/check-response.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const errors = require('./errors.js')
44
const { Response } = require('minipass-fetch')
55
const defaultOpts = require('./default-opts.js')
66
const log = require('proc-log')
7-
const cleanUrl = require('./clean-url.js')
7+
const { redact: cleanUrl } = require('@npmcli/redact')
88

99
/* eslint-disable-next-line max-len */
1010
const moreInfoUrl = 'https://github.com/npm/cli/wiki/No-auth-for-URI,-but-auth-present-for-scoped-registry'

node_modules/npm-registry-fetch/lib/clean-url.js

-27
This file was deleted.

node_modules/npm-registry-fetch/lib/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const qs = require('querystring')
1010
const url = require('url')
1111
const zlib = require('minizlib')
1212
const { Minipass } = require('minipass')
13+
const { redact: cleanUrl } = require('@npmcli/redact')
1314

1415
const defaultOpts = require('./default-opts.js')
1516

@@ -246,4 +247,6 @@ function getHeaders (uri, auth, opts) {
246247
return headers
247248
}
248249

249-
module.exports.cleanUrl = require('./clean-url.js')
250+
// export cleanUrl to avoid a breaking change
251+
// TODO: next semver major remove this. Consumers should use @npmcli/redact instead
252+
module.exports.cleanUrl = cleanUrl

node_modules/npm-registry-fetch/package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npm-registry-fetch",
3-
"version": "16.1.0",
3+
"version": "16.2.0",
44
"description": "Fetch-based http client for use with npm registry APIs",
55
"main": "lib",
66
"files": [
@@ -9,7 +9,7 @@
99
],
1010
"scripts": {
1111
"eslint": "eslint",
12-
"lint": "eslint \"**/*.js\"",
12+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
1313
"lintfix": "npm run lint -- --fix",
1414
"test": "tap",
1515
"posttest": "npm run lint",
@@ -31,6 +31,7 @@
3131
"author": "GitHub Inc.",
3232
"license": "ISC",
3333
"dependencies": {
34+
"@npmcli/redact": "^1.1.0",
3435
"make-fetch-happen": "^13.0.0",
3536
"minipass": "^7.0.2",
3637
"minipass-fetch": "^3.0.0",
@@ -41,7 +42,7 @@
4142
},
4243
"devDependencies": {
4344
"@npmcli/eslint-config": "^4.0.0",
44-
"@npmcli/template-oss": "4.19.0",
45+
"@npmcli/template-oss": "4.21.3",
4546
"cacache": "^18.0.0",
4647
"nock": "^13.2.4",
4748
"require-inject": "^1.4.4",
@@ -61,7 +62,7 @@
6162
},
6263
"templateOSS": {
6364
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
64-
"version": "4.19.0",
65+
"version": "4.21.3",
6566
"publish": "true"
6667
}
6768
}

package-lock.json

+12-11
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"npm-package-arg": "^11.0.1",
141141
"npm-pick-manifest": "^9.0.0",
142142
"npm-profile": "^9.0.0",
143-
"npm-registry-fetch": "^16.1.0",
143+
"npm-registry-fetch": "^16.2.0",
144144
"npm-user-validate": "^2.0.0",
145145
"npmlog": "^7.0.1",
146146
"p-map": "^4.0.0",
@@ -10103,11 +10103,12 @@
1010310103
}
1010410104
},
1010510105
"node_modules/npm-registry-fetch": {
10106-
"version": "16.1.0",
10107-
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.1.0.tgz",
10108-
"integrity": "sha512-PQCELXKt8Azvxnt5Y85GseQDJJlglTFM9L9U9gkv2y4e9s0k3GVDdOx3YoB6gm2Do0hlkzC39iCGXby+Wve1Bw==",
10106+
"version": "16.2.0",
10107+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.2.0.tgz",
10108+
"integrity": "sha512-zVH+G0q1O2hqgQBUvQ2LWp6ujr6VJAeDnmWxqiMlCguvLexEzBnuQIwC70r04vcvCMAcYEIpA/rO9YyVi+fmJQ==",
1010910109
"inBundle": true,
1011010110
"dependencies": {
10111+
"@npmcli/redact": "^1.1.0",
1011110112
"make-fetch-happen": "^13.0.0",
1011210113
"minipass": "^7.0.2",
1011310114
"minipass-fetch": "^3.0.0",
@@ -16080,7 +16081,7 @@
1608016081
"npm-install-checks": "^6.2.0",
1608116082
"npm-package-arg": "^11.0.1",
1608216083
"npm-pick-manifest": "^9.0.0",
16083-
"npm-registry-fetch": "^16.0.0",
16084+
"npm-registry-fetch": "^16.2.0",
1608416085
"npmlog": "^7.0.1",
1608516086
"pacote": "^17.0.4",
1608616087
"parse-conflict-json": "^3.0.0",
@@ -16139,7 +16140,7 @@
1613916140
"license": "ISC",
1614016141
"dependencies": {
1614116142
"npm-package-arg": "^11.0.1",
16142-
"npm-registry-fetch": "^16.0.0"
16143+
"npm-registry-fetch": "^16.2.0"
1614316144
},
1614416145
"devDependencies": {
1614516146
"@npmcli/eslint-config": "^4.0.0",
@@ -16225,7 +16226,7 @@
1622516226
"license": "ISC",
1622616227
"dependencies": {
1622716228
"aproba": "^2.0.0",
16228-
"npm-registry-fetch": "^16.0.0"
16229+
"npm-registry-fetch": "^16.2.0"
1622916230
},
1623016231
"devDependencies": {
1623116232
"@npmcli/eslint-config": "^4.0.0",
@@ -16242,7 +16243,7 @@
1624216243
"license": "ISC",
1624316244
"dependencies": {
1624416245
"aproba": "^2.0.0",
16245-
"npm-registry-fetch": "^16.0.0"
16246+
"npm-registry-fetch": "^16.2.0"
1624616247
},
1624716248
"devDependencies": {
1624816249
"@npmcli/eslint-config": "^4.0.0",
@@ -16282,7 +16283,7 @@
1628216283
"ci-info": "^4.0.0",
1628316284
"normalize-package-data": "^6.0.0",
1628416285
"npm-package-arg": "^11.0.1",
16285-
"npm-registry-fetch": "^16.0.0",
16286+
"npm-registry-fetch": "^16.2.0",
1628616287
"proc-log": "^3.0.0",
1628716288
"semver": "^7.3.7",
1628816289
"sigstore": "^2.2.0",
@@ -16304,7 +16305,7 @@
1630416305
"version": "7.0.1",
1630516306
"license": "ISC",
1630616307
"dependencies": {
16307-
"npm-registry-fetch": "^16.0.0"
16308+
"npm-registry-fetch": "^16.2.0"
1630816309
},
1630916310
"devDependencies": {
1631016311
"@npmcli/eslint-config": "^4.0.0",
@@ -16321,7 +16322,7 @@
1632116322
"license": "ISC",
1632216323
"dependencies": {
1632316324
"aproba": "^2.0.0",
16324-
"npm-registry-fetch": "^16.0.0"
16325+
"npm-registry-fetch": "^16.2.0"
1632516326
},
1632616327
"devDependencies": {
1632716328
"@npmcli/eslint-config": "^4.0.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"npm-package-arg": "^11.0.1",
103103
"npm-pick-manifest": "^9.0.0",
104104
"npm-profile": "^9.0.0",
105-
"npm-registry-fetch": "^16.1.0",
105+
"npm-registry-fetch": "^16.2.0",
106106
"npm-user-validate": "^2.0.0",
107107
"npmlog": "^7.0.1",
108108
"p-map": "^4.0.0",

workspaces/arborist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"npm-install-checks": "^6.2.0",
2525
"npm-package-arg": "^11.0.1",
2626
"npm-pick-manifest": "^9.0.0",
27-
"npm-registry-fetch": "^16.0.0",
27+
"npm-registry-fetch": "^16.2.0",
2828
"npmlog": "^7.0.1",
2929
"pacote": "^17.0.4",
3030
"parse-conflict-json": "^3.0.0",

workspaces/libnpmaccess/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"homepage": "https://npmjs.com/package/libnpmaccess",
3131
"dependencies": {
3232
"npm-package-arg": "^11.0.1",
33-
"npm-registry-fetch": "^16.0.0"
33+
"npm-registry-fetch": "^16.2.0"
3434
},
3535
"engines": {
3636
"node": "^16.14.0 || >=18.0.0"

workspaces/libnpmhook/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"license": "ISC",
3232
"dependencies": {
3333
"aproba": "^2.0.0",
34-
"npm-registry-fetch": "^16.0.0"
34+
"npm-registry-fetch": "^16.2.0"
3535
},
3636
"devDependencies": {
3737
"@npmcli/eslint-config": "^4.0.0",

workspaces/libnpmorg/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"homepage": "https://npmjs.com/package/libnpmorg",
4343
"dependencies": {
4444
"aproba": "^2.0.0",
45-
"npm-registry-fetch": "^16.0.0"
45+
"npm-registry-fetch": "^16.2.0"
4646
},
4747
"engines": {
4848
"node": "^16.14.0 || >=18.0.0"

workspaces/libnpmpublish/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"ci-info": "^4.0.0",
4242
"normalize-package-data": "^6.0.0",
4343
"npm-package-arg": "^11.0.1",
44-
"npm-registry-fetch": "^16.0.0",
44+
"npm-registry-fetch": "^16.2.0",
4545
"proc-log": "^3.0.0",
4646
"semver": "^7.3.7",
4747
"sigstore": "^2.2.0",

workspaces/libnpmsearch/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"bugs": "https://github.com/npm/libnpmsearch/issues",
3939
"homepage": "https://npmjs.com/package/libnpmsearch",
4040
"dependencies": {
41-
"npm-registry-fetch": "^16.0.0"
41+
"npm-registry-fetch": "^16.2.0"
4242
},
4343
"engines": {
4444
"node": "^16.14.0 || >=18.0.0"

workspaces/libnpmteam/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"homepage": "https://npmjs.com/package/libnpmteam",
3333
"dependencies": {
3434
"aproba": "^2.0.0",
35-
"npm-registry-fetch": "^16.0.0"
35+
"npm-registry-fetch": "^16.2.0"
3636
},
3737
"engines": {
3838
"node": "^16.14.0 || >=18.0.0"

0 commit comments

Comments
 (0)