Skip to content

Commit

Permalink
deps: npm-registry-fetch@16.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 3, 2024
1 parent 17d97d2 commit 87a61fc
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 53 deletions.
4 changes: 3 additions & 1 deletion DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ graph LR;
npm-registry-fetch-->make-fetch-happen;
npm-registry-fetch-->minipass-fetch;
npm-registry-fetch-->npm-package-arg;
npm-registry-fetch-->npmcli-redact["@npmcli/redact"];
npm-registry-fetch-->proc-log;
npmcli-arborist-->bin-links;
npmcli-arborist-->cacache;
Expand Down Expand Up @@ -590,6 +591,7 @@ graph LR;
npm-registry-fetch-->minipass;
npm-registry-fetch-->minizlib;
npm-registry-fetch-->npm-package-arg;
npm-registry-fetch-->npmcli-redact["@npmcli/redact"];
npm-registry-fetch-->proc-log;
npmcli-agent-->agent-base;
npmcli-agent-->http-proxy-agent;
Expand Down Expand Up @@ -833,4 +835,4 @@ packages higher up the chain.
- @npmcli/git, make-fetch-happen, @npmcli/config
- @npmcli/installed-package-contents, @npmcli/map-workspaces, cacache, npm-pick-manifest, read-package-json, promzard
- @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
- @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
- @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
2 changes: 1 addition & 1 deletion node_modules/npm-registry-fetch/lib/check-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const errors = require('./errors.js')
const { Response } = require('minipass-fetch')
const defaultOpts = require('./default-opts.js')
const log = require('proc-log')
const cleanUrl = require('./clean-url.js')
const { redact: cleanUrl } = require('@npmcli/redact')

/* eslint-disable-next-line max-len */
const moreInfoUrl = 'https://github.com/npm/cli/wiki/No-auth-for-URI,-but-auth-present-for-scoped-registry'
Expand Down
27 changes: 0 additions & 27 deletions node_modules/npm-registry-fetch/lib/clean-url.js

This file was deleted.

5 changes: 4 additions & 1 deletion node_modules/npm-registry-fetch/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const qs = require('querystring')
const url = require('url')
const zlib = require('minizlib')
const { Minipass } = require('minipass')
const { redact: cleanUrl } = require('@npmcli/redact')

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

Expand Down Expand Up @@ -246,4 +247,6 @@ function getHeaders (uri, auth, opts) {
return headers
}

module.exports.cleanUrl = require('./clean-url.js')
// export cleanUrl to avoid a breaking change
// TODO: next semver major remove this. Consumers should use @npmcli/redact instead
module.exports.cleanUrl = cleanUrl
9 changes: 5 additions & 4 deletions node_modules/npm-registry-fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-registry-fetch",
"version": "16.1.0",
"version": "16.2.0",
"description": "Fetch-based http client for use with npm registry APIs",
"main": "lib",
"files": [
Expand All @@ -9,7 +9,7 @@
],
"scripts": {
"eslint": "eslint",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lintfix": "npm run lint -- --fix",
"test": "tap",
"posttest": "npm run lint",
Expand All @@ -31,6 +31,7 @@
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
"@npmcli/redact": "^1.1.0",
"make-fetch-happen": "^13.0.0",
"minipass": "^7.0.2",
"minipass-fetch": "^3.0.0",
Expand All @@ -41,7 +42,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.19.0",
"@npmcli/template-oss": "4.21.3",
"cacache": "^18.0.0",
"nock": "^13.2.4",
"require-inject": "^1.4.4",
Expand All @@ -61,7 +62,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.19.0",
"version": "4.21.3",
"publish": "true"
}
}
23 changes: 12 additions & 11 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"npm-package-arg": "^11.0.1",
"npm-pick-manifest": "^9.0.0",
"npm-profile": "^9.0.0",
"npm-registry-fetch": "^16.1.0",
"npm-registry-fetch": "^16.2.0",
"npm-user-validate": "^2.0.0",
"npmlog": "^7.0.1",
"p-map": "^4.0.0",
Expand Down Expand Up @@ -10103,11 +10103,12 @@
}
},
"node_modules/npm-registry-fetch": {
"version": "16.1.0",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.1.0.tgz",
"integrity": "sha512-PQCELXKt8Azvxnt5Y85GseQDJJlglTFM9L9U9gkv2y4e9s0k3GVDdOx3YoB6gm2Do0hlkzC39iCGXby+Wve1Bw==",
"version": "16.2.0",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.2.0.tgz",
"integrity": "sha512-zVH+G0q1O2hqgQBUvQ2LWp6ujr6VJAeDnmWxqiMlCguvLexEzBnuQIwC70r04vcvCMAcYEIpA/rO9YyVi+fmJQ==",
"inBundle": true,
"dependencies": {
"@npmcli/redact": "^1.1.0",
"make-fetch-happen": "^13.0.0",
"minipass": "^7.0.2",
"minipass-fetch": "^3.0.0",
Expand Down Expand Up @@ -16080,7 +16081,7 @@
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^11.0.1",
"npm-pick-manifest": "^9.0.0",
"npm-registry-fetch": "^16.0.0",
"npm-registry-fetch": "^16.2.0",
"npmlog": "^7.0.1",
"pacote": "^17.0.4",
"parse-conflict-json": "^3.0.0",
Expand Down Expand Up @@ -16139,7 +16140,7 @@
"license": "ISC",
"dependencies": {
"npm-package-arg": "^11.0.1",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand Down Expand Up @@ -16225,7 +16226,7 @@
"license": "ISC",
"dependencies": {
"aproba": "^2.0.0",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand All @@ -16242,7 +16243,7 @@
"license": "ISC",
"dependencies": {
"aproba": "^2.0.0",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand Down Expand Up @@ -16282,7 +16283,7 @@
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"npm-package-arg": "^11.0.1",
"npm-registry-fetch": "^16.0.0",
"npm-registry-fetch": "^16.2.0",
"proc-log": "^3.0.0",
"semver": "^7.3.7",
"sigstore": "^2.2.0",
Expand All @@ -16304,7 +16305,7 @@
"version": "7.0.1",
"license": "ISC",
"dependencies": {
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand All @@ -16321,7 +16322,7 @@
"license": "ISC",
"dependencies": {
"aproba": "^2.0.0",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"npm-package-arg": "^11.0.1",
"npm-pick-manifest": "^9.0.0",
"npm-profile": "^9.0.0",
"npm-registry-fetch": "^16.1.0",
"npm-registry-fetch": "^16.2.0",
"npm-user-validate": "^2.0.0",
"npmlog": "^7.0.1",
"p-map": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^11.0.1",
"npm-pick-manifest": "^9.0.0",
"npm-registry-fetch": "^16.0.0",
"npm-registry-fetch": "^16.2.0",
"npmlog": "^7.0.1",
"pacote": "^17.0.4",
"parse-conflict-json": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmaccess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"homepage": "https://npmjs.com/package/libnpmaccess",
"dependencies": {
"npm-package-arg": "^11.0.1",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"license": "ISC",
"dependencies": {
"aproba": "^2.0.0",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmorg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"homepage": "https://npmjs.com/package/libnpmorg",
"dependencies": {
"aproba": "^2.0.0",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"npm-package-arg": "^11.0.1",
"npm-registry-fetch": "^16.0.0",
"npm-registry-fetch": "^16.2.0",
"proc-log": "^3.0.0",
"semver": "^7.3.7",
"sigstore": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"bugs": "https://github.com/npm/libnpmsearch/issues",
"homepage": "https://npmjs.com/package/libnpmsearch",
"dependencies": {
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmteam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"homepage": "https://npmjs.com/package/libnpmteam",
"dependencies": {
"aproba": "^2.0.0",
"npm-registry-fetch": "^16.0.0"
"npm-registry-fetch": "^16.2.0"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
Expand Down

0 comments on commit 87a61fc

Please sign in to comment.