diff -Nru npm-9.1.3~ds1/CHANGELOG.md npm-9.2.0~ds1/CHANGELOG.md --- npm-9.1.3~ds1/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,40 @@ # Changelog +## [9.2.0](https://github.com/npm/cli/compare/v9.1.3...v9.2.0) (2022-12-07) + +### Features + +* [`cf57ffa`](https://github.com/npm/cli/commit/cf57ffa90088fcf5b028cc02938baae6228b5a40) [#5888](https://github.com/npm/cli/pull/5888) discrete npm doctor commands (#5888) (@wraithgar) + +### Bug Fixes + +* [`dfd5d46`](https://github.com/npm/cli/commit/dfd5d461e0ee2163e210cc136d2bb7873dfeb363) [#5932](https://github.com/npm/cli/pull/5932) ignore implicit workspaces for completion (#5932) (@wraithgar) + +### Dependencies + +* [`2f2b146`](https://github.com/npm/cli/commit/2f2b1469565894ec777e6eb77fea7b607b797adb) [#5936](https://github.com/npm/cli/pull/5936) `npm-packlist@7.0.4` (#5936) +* [`372d158`](https://github.com/npm/cli/commit/372d158d2637120600a95abee64355ed1cb6f990) [#5935](https://github.com/npm/cli/pull/5935) `minimatch@5.1.1` (#5935) +* [`0e6c28b`](https://github.com/npm/cli/commit/0e6c28ba093f8c5d35df98afca28e842b247004b) [#5934](https://github.com/npm/cli/pull/5934) `ci-info@3.7.0` (#5934) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`6b77340`](https://github.com/npm/cli/commit/6b7734009ecd939fbb3d382cb92eb0cdbec7dcd3) `tar@6.1.13` +* [`cf0a174`](https://github.com/npm/cli/commit/cf0a17407abc577c27420a1c8a4a0c08c7cefce9) `ssri@10.0.1` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`e940917`](https://github.com/npm/cli/commit/e940917befcdaf44ee7e24d31b540f4de8507734) `cacache@17.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [`280b7a4`](https://github.com/npm/cli/commit/280b7a445e4a83d70980cf3c436745a1faa50c67) [#5927](https://github.com/npm/cli/pull/5927) `npm-packlist@7.0.3` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmaccess-v7.0.1): `libnpmaccess@7.0.1` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.6): `libnpmdiff@5.0.6` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v5.0.6): `libnpmexec@5.0.6` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.6): `libnpmfund@4.0.6` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v9.0.1): `libnpmhook@9.0.1` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v5.0.1): `libnpmorg@5.0.1` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.6): `libnpmpack@5.0.6` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.0.6): `libnpmpublish@7.0.6` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmsearch-v6.0.1): `libnpmsearch@6.0.1` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmteam-v5.0.1): `libnpmteam@5.0.1` + ## [9.1.3](https://github.com/npm/cli/compare/v9.1.2...v9.1.3) (2022-11-30) ### Bug Fixes diff -Nru npm-9.1.3~ds1/debian/changelog npm-9.2.0~ds1/debian/changelog --- npm-9.1.3~ds1/debian/changelog 2022-12-02 15:40:14.000000000 +0000 +++ npm-9.2.0~ds1/debian/changelog 2022-12-11 14:07:55.000000000 +0000 @@ -1,3 +1,12 @@ +npm (9.2.0~ds1-1) unstable; urgency=medium + + * Team upload + * Enable more tests + * New upstream version 9.2.0~ds1 + * Dependencies: drop node-ansistyles, node-asap and node-dezalgo + + -- Yadd Sun, 11 Dec 2022 15:07:55 +0100 + npm (9.1.3~ds1-1) unstable; urgency=medium * Team upload diff -Nru npm-9.1.3~ds1/debian/control npm-9.2.0~ds1/debian/control --- npm-9.1.3~ds1/debian/control 2022-12-02 15:37:10.000000000 +0000 +++ npm-9.2.0~ds1/debian/control 2022-12-11 14:01:18.000000000 +0000 @@ -43,10 +43,8 @@ , ca-certificates , node-abbrev , node-agent-base - , node-ansistyles , node-aproba , node-archy - , node-asap , node-base64-js , node-binary-extensions , node-cacache (>= 17) @@ -59,7 +57,6 @@ , node-cssesc , node-debug , node-depd - , node-dezalgo , node-diff , node-emoji-regex , node-encoding diff -Nru npm-9.1.3~ds1/debian/tests/pkg-js/test npm-9.2.0~ds1/debian/tests/pkg-js/test --- npm-9.1.3~ds1/debian/tests/pkg-js/test 2022-11-18 10:03:14.000000000 +0000 +++ npm-9.2.0~ds1/debian/tests/pkg-js/test 2022-12-04 16:51:09.000000000 +0000 @@ -1,11 +1,7 @@ if test "$AUTOPKGTEST_TMP" != ""; then mkdir -p node_modules/@npmcli ln -s ../../docs node_modules/@npmcli/ || true - rm -f test/lib/utils/npm-usage.js \ - test/lib/docs.js \ - test/lib/commands/audit.js \ - test/lib/commands/config.js \ - test/lib/commands/doctor.js \ + rm -f test/lib/commands/config.js \ test/lib/utils/error-message.js \ test/lib/utils/update-notifier.js fi diff -Nru npm-9.1.3~ds1/DEPENDENCIES.md npm-9.2.0~ds1/DEPENDENCIES.md --- npm-9.1.3~ds1/DEPENDENCIES.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/DEPENDENCIES.md 2022-12-07 23:13:18.000000000 +0000 @@ -20,6 +20,7 @@ libnpmaccess-->npm-package-arg; libnpmaccess-->npm-registry-fetch; libnpmaccess-->npmcli-eslint-config["@npmcli/eslint-config"]; + libnpmaccess-->npmcli-mock-registry["@npmcli/mock-registry"]; libnpmaccess-->npmcli-template-oss["@npmcli/template-oss"]; libnpmdiff-->npm-package-arg; libnpmdiff-->npmcli-arborist["@npmcli/arborist"]; @@ -336,6 +337,7 @@ libnpmaccess-->npm-package-arg; libnpmaccess-->npm-registry-fetch; libnpmaccess-->npmcli-eslint-config["@npmcli/eslint-config"]; + libnpmaccess-->npmcli-mock-registry["@npmcli/mock-registry"]; libnpmaccess-->npmcli-template-oss["@npmcli/template-oss"]; libnpmaccess-->tap; libnpmdiff-->binary-extensions; @@ -776,11 +778,11 @@ packages higher up the chain. - npm - - @npmcli/smoke-tests, libnpmexec, libnpmpublish + - @npmcli/smoke-tests, libnpmaccess, libnpmexec, libnpmpublish - @npmcli/mock-registry, libnpmdiff, libnpmfund, libnpmpack - @npmcli/arborist - @npmcli/metavuln-calculator - - pacote, libnpmaccess, libnpmhook, libnpmorg, libnpmsearch, libnpmteam, npm-profile + - pacote, libnpmhook, libnpmorg, libnpmsearch, libnpmteam, npm-profile - npm-registry-fetch, libnpmversion - @npmcli/git, make-fetch-happen, @npmcli/config, init-package-json - @npmcli/installed-package-contents, @npmcli/map-workspaces, cacache, npm-pick-manifest, @npmcli/run-script, read-package-json, promzard diff -Nru npm-9.1.3~ds1/docs/lib/content/commands/npm-doctor.md npm-9.2.0~ds1/docs/lib/content/commands/npm-doctor.md --- npm-9.1.3~ds1/docs/lib/content/commands/npm-doctor.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/docs/lib/content/commands/npm-doctor.md 2022-12-07 23:13:18.000000000 +0000 @@ -31,8 +31,10 @@ using old versions of npm. Since npm is constantly improving, running `npm@latest` is better than an old version. -`npm doctor` verifies the following items in your environment, and if there -are any recommended changes, it will display them. +`npm doctor` verifies the following items in your environment, and if +there are any recommended changes, it will display them. By default npm +runs all of these checks. You can limit what checks are ran by +specifying them as extra arguments. #### `npm ping` diff -Nru npm-9.1.3~ds1/docs/package.json npm-9.2.0~ds1/docs/package.json --- npm-9.1.3~ds1/docs/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/docs/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -22,17 +22,17 @@ "devDependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "front-matter": "^4.0.2", "ignore-walk": "^6.0.0", - "jsdom": "^20.0.1", + "jsdom": "^20.0.3", "mkdirp": "^1.0.4", "rehype-stringify": "^9.0.3", "remark-gfm": "^3.0.1", "remark-man": "^8.0.1", "remark-parse": "^10.0.1", "remark-rehype": "^10.1.0", - "tap": "^16.0.1", + "tap": "^16.3.2", "unified": "^10.1.2", "yaml": "^2.1.3" }, @@ -56,7 +56,7 @@ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", "ciVersions": "latest", "engines": "^14.17.0 || ^16.13.0 || >=18.0.0", - "version": "4.10.0", + "version": "4.11.0", "content": "../scripts/template-oss/index.js", "workspaceRepo": { "add": { diff -Nru npm-9.1.3~ds1/lib/commands/completion.js npm-9.2.0~ds1/lib/commands/completion.js --- npm-9.1.3~ds1/lib/commands/completion.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/lib/commands/completion.js 2022-12-07 23:13:18.000000000 +0000 @@ -54,7 +54,7 @@ class Completion extends BaseCommand { static description = 'Tab Completion for npm' static name = 'completion' - static ignoreImplicitWorkspace = false + static ignoreImplicitWorkspace = true // completion for the completion command async completion (opts) { diff -Nru npm-9.1.3~ds1/lib/commands/doctor.js npm-9.2.0~ds1/lib/commands/doctor.js --- npm-9.1.3~ds1/lib/commands/doctor.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/lib/commands/doctor.js 2022-12-07 23:13:18.000000000 +0000 @@ -1,14 +1,13 @@ const cacache = require('cacache') const fs = require('fs') const fetch = require('make-fetch-happen') -const table = require('text-table') +const Table = require('cli-table3') const which = require('which') const pacote = require('pacote') const { resolve } = require('path') const semver = require('semver') const { promisify } = require('util') const log = require('../utils/log-shim.js') -const ansiTrim = require('../utils/ansi-trim.js') const ping = require('../utils/ping.js') const { registry: { default: defaultRegistry }, @@ -17,6 +16,7 @@ const readdir = promisify(fs.readdir) const access = promisify(fs.access) const { R_OK, W_OK, X_OK } = fs.constants + const maskLabel = mask => { const label = [] if (mask & R_OK) { @@ -34,76 +34,105 @@ return label.join(', ') } +const subcommands = [ + { + groups: ['ping', 'registry'], + title: 'npm ping', + cmd: 'checkPing', + }, { + groups: ['versions'], + title: 'npm -v', + cmd: 'getLatestNpmVersion', + }, { + groups: ['versions'], + title: 'node -v', + cmd: 'getLatestNodejsVersion', + }, { + groups: ['registry'], + title: 'npm config get registry', + cmd: 'checkNpmRegistry', + }, { + groups: ['environment'], + title: 'git executable in PATH', + cmd: 'getGitPath', + }, { + groups: ['environment'], + title: 'global bin folder in PATH', + cmd: 'getBinPath', + }, { + groups: ['permissions', 'cache'], + title: 'Perms check on cached files', + cmd: 'checkCachePermission', + windows: false, + }, { + groups: ['permissions'], + title: 'Perms check on local node_modules', + cmd: 'checkLocalModulesPermission', + windows: false, + }, { + groups: ['permissions'], + title: 'Perms check on global node_modules', + cmd: 'checkGlobalModulesPermission', + windows: false, + }, { + groups: ['permissions'], + title: 'Perms check on local bin folder', + cmd: 'checkLocalBinPermission', + windows: false, + }, { + groups: ['permissions'], + title: 'Perms check on global bin folder', + cmd: 'checkGlobalBinPermission', + windows: false, + }, { + groups: ['cache'], + title: 'Verify cache contents', + cmd: 'verifyCachedFiles', + windows: false, + }, + // TODO: + // group === 'dependencies'? + // - ensure arborist.loadActual() runs without errors and no invalid edges + // - ensure package-lock.json matches loadActual() + // - verify loadActual without hidden lock file matches hidden lockfile + // group === '???' + // - verify all local packages have bins linked + // What is the fix for these? +] const BaseCommand = require('../base-command.js') class Doctor extends BaseCommand { static description = 'Check your npm environment' static name = 'doctor' static params = ['registry'] static ignoreImplicitWorkspace = false + static usage = [`[${subcommands.flatMap(s => s.groups) + .filter((value, index, self) => self.indexOf(value) === index) + .join('] [')}]`] + + static subcommands = subcommands + + // minimum width of check column, enough for the word `Check` + #checkWidth = 5 async exec (args) { log.info('Running checkup') + let allOk = true - // each message is [title, ok, message] - const messages = [] - - const actions = [ - ['npm ping', 'checkPing', []], - ['npm -v', 'getLatestNpmVersion', []], - ['node -v', 'getLatestNodejsVersion', []], - ['npm config get registry', 'checkNpmRegistry', []], - ['which git', 'getGitPath', []], - ...(process.platform === 'win32' - ? [] - : [ - [ - 'Perms check on cached files', - 'checkFilesPermission', - [this.npm.cache, true, R_OK], - ], [ - 'Perms check on local node_modules', - 'checkFilesPermission', - [this.npm.localDir, true, R_OK | W_OK, true], - ], [ - 'Perms check on global node_modules', - 'checkFilesPermission', - [this.npm.globalDir, false, R_OK], - ], [ - 'Perms check on local bin folder', - 'checkFilesPermission', - [this.npm.localBin, false, R_OK | W_OK | X_OK, true], - ], [ - 'Perms check on global bin folder', - 'checkFilesPermission', - [this.npm.globalBin, false, X_OK], - ], - ]), - [ - 'Verify cache contents', - 'verifyCachedFiles', - [this.npm.flatOptions.cache], - ], - // TODO: - // - ensure arborist.loadActual() runs without errors and no invalid edges - // - ensure package-lock.json matches loadActual() - // - verify loadActual without hidden lock file matches hidden lockfile - // - verify all local packages have bins linked - ] + const actions = this.actions(args) + this.#checkWidth = actions.reduce((length, item) => + Math.max(item.title.length, length), this.#checkWidth) + if (!this.npm.silent) { + this.output(['Check', 'Value', 'Recommendation/Notes'].map(h => this.npm.chalk.underline(h))) + } // Do the actual work - for (const [msg, fn, args] of actions) { - const line = [msg] + for (const { title, cmd } of actions) { + const item = [title] try { - line.push(true, await this[fn](...args)) - } catch (er) { - line.push(false, er) + item.push(true, await this[cmd]()) + } catch (err) { + item.push(false, err) } - messages.push(line) - } - - const outHead = ['Check', 'Value', 'Recommendation/Notes'].map(h => this.npm.chalk.underline(h)) - let allOk = true - const outBody = messages.map(item => { if (!item[1]) { allOk = false item[0] = this.npm.chalk.red(item[0]) @@ -112,18 +141,18 @@ } else { item[1] = this.npm.chalk.green('ok') } - return item - }) - const outTable = [outHead, ...outBody] - const tableOpts = { - stringLength: s => ansiTrim(s).length, + if (!this.npm.silent) { + this.output(item) + } } - if (!this.npm.silent) { - this.npm.output(table(outTable, tableOpts)) - } if (!allOk) { - throw new Error('Some problems found. See above for recommendations.') + if (this.npm.silent) { + /* eslint-disable-next-line max-len */ + throw new Error('Some problems found. Check logs or disable silent mode for recommendations.') + } else { + throw new Error('Some problems found. See above for recommendations.') + } } } @@ -191,6 +220,35 @@ } } + async getBinPath (dir) { + const tracker = log.newItem('getBinPath', 1) + tracker.info('getBinPath', 'Finding npm global bin in your PATH') + if (!process.env.PATH.includes(this.npm.globalBin)) { + throw new Error(`Add ${this.npm.globalBin} to your $PATH`) + } + return this.npm.globalBin + } + + async checkCachePermission () { + return this.checkFilesPermission(this.npm.cache, true, R_OK) + } + + async checkLocalModulesPermission () { + return this.checkFilesPermission(this.npm.localDir, true, R_OK | W_OK, true) + } + + async checkGlobalModulesPermission () { + return this.checkFilesPermission(this.npm.globalDir, false, R_OK) + } + + async checkLocalBinPermission () { + return this.checkFilesPermission(this.npm.localBin, false, R_OK | W_OK | X_OK, true) + } + + async checkGlobalBinPermission () { + return this.checkFilesPermission(this.npm.globalBin, false, X_OK) + } + async checkFilesPermission (root, shouldOwn, mask, missingOk) { let ok = true @@ -264,7 +322,7 @@ try { return await which('git').catch(er => { tracker.warn(er) - throw "Install git and ensure it's in your PATH." + throw new Error("Install git and ensure it's in your PATH.") }) } finally { tracker.finish() @@ -312,6 +370,42 @@ return `using default registry (${defaultRegistry})` } } + + output (row) { + const t = new Table({ + chars: { top: '', + 'top-mid': '', + 'top-left': '', + 'top-right': '', + bottom: '', + 'bottom-mid': '', + 'bottom-left': '', + 'bottom-right': '', + left: '', + 'left-mid': '', + mid: '', + 'mid-mid': '', + right: '', + 'right-mid': '', + middle: ' ' }, + style: { 'padding-left': 0, 'padding-right': 0 }, + colWidths: [this.#checkWidth, 6], + }) + t.push(row) + this.npm.output(t.toString()) + } + + actions (params) { + return this.constructor.subcommands.filter(subcmd => { + if (process.platform === 'win32' && subcmd.windows === false) { + return false + } + if (params.length) { + return params.some(param => subcmd.groups.includes(param)) + } + return true + }) + } } module.exports = Doctor diff -Nru npm-9.1.3~ds1/mock-registry/lib/index.js npm-9.2.0~ds1/mock-registry/lib/index.js --- npm-9.1.3~ds1/mock-registry/lib/index.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/mock-registry/lib/index.js 2022-12-07 23:13:18.000000000 +0000 @@ -236,18 +236,22 @@ } // team can be a team or a username - getPackages ({ team, packages = {}, times = 1 }) { - if (team.startsWith('@')) { - team = team.slice(1) - } - const [scope, teamName] = team.split(':').map(encodeURIComponent) + getPackages ({ user, team, packages = {}, times = 1, responseCode = 200 }) { let uri - if (teamName) { - uri = `/-/team/${scope}/${teamName}/package` + if (user) { + uri = `/-/user/${user}/package` } else { - uri = `/-/org/${scope}/package` + if (team.startsWith('@')) { + team = team.slice(1) + } + const [scope, teamName] = team.split(':').map(encodeURIComponent) + if (teamName) { + uri = `/-/team/${scope}/${teamName}/package` + } else { + uri = `/-/org/${scope}/package` + } } - this.nock = this.nock.get(uri).times(times).reply(200, packages) + this.nock = this.nock.get(uri).times(times).reply(responseCode, packages) } getCollaborators ({ spec, collaborators = {} }) { diff -Nru npm-9.1.3~ds1/mock-registry/package.json npm-9.2.0~ds1/mock-registry/package.json --- npm-9.1.3~ds1/mock-registry/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/mock-registry/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -34,7 +34,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0" + "version": "4.11.0" }, "tap": { "no-coverage": true, @@ -46,10 +46,10 @@ "devDependencies": { "@npmcli/arborist": "^6.1.1", "@npmcli/eslint-config": "^4.0.1", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.9", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.6", - "tap": "^16.3.0" + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7", + "tap": "^16.3.2" } } diff -Nru npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/index.d.ts npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/index.d.ts --- npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/index.d.ts 1970-01-01 00:00:00.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/index.d.ts 2022-12-07 23:13:18.000000000 +0000 @@ -0,0 +1,155 @@ +/// +import { EventEmitter } from 'events' +import { Stream } from 'stream' + +declare namespace Minipass { + type Encoding = BufferEncoding | 'buffer' | null + + interface Writable extends EventEmitter { + end(): any + write(chunk: any, ...args: any[]): any + } + + interface Readable extends EventEmitter { + pause(): any + resume(): any + pipe(): any + } + + interface Pipe { + src: Minipass + dest: Writable + opts: PipeOptions + } + + type DualIterable = Iterable & AsyncIterable + + type ContiguousData = Buffer | ArrayBufferLike | ArrayBufferView | string + + type BufferOrString = Buffer | string + + interface StringOptions { + encoding: BufferEncoding + objectMode?: boolean + async?: boolean + } + + interface BufferOptions { + encoding?: null | 'buffer' + objectMode?: boolean + async?: boolean + } + + interface ObjectModeOptions { + objectMode: true + async?: boolean + } + + interface PipeOptions { + end?: boolean + proxyErrors?: boolean + } + + type Options = T extends string + ? StringOptions + : T extends Buffer + ? BufferOptions + : ObjectModeOptions +} + +declare class Minipass< + RType extends any = Buffer, + WType extends any = RType extends Minipass.BufferOrString + ? Minipass.ContiguousData + : RType + > + extends Stream + implements Minipass.DualIterable +{ + static isStream(stream: any): stream is Minipass.Readable | Minipass.Writable + + readonly bufferLength: number + readonly flowing: boolean + readonly writable: boolean + readonly readable: boolean + readonly paused: boolean + readonly emittedEnd: boolean + readonly destroyed: boolean + + /** + * Not technically private or readonly, but not safe to mutate. + */ + private readonly buffer: RType[] + private readonly pipes: Minipass.Pipe[] + + /** + * Technically writable, but mutating it can change the type, + * so is not safe to do in TypeScript. + */ + readonly objectMode: boolean + async: boolean + + /** + * Note: encoding is not actually read-only, and setEncoding(enc) + * exists. However, this type definition will insist that TypeScript + * programs declare the type of a Minipass stream up front, and if + * that type is string, then an encoding MUST be set in the ctor. If + * the type is Buffer, then the encoding must be missing, or set to + * 'buffer' or null. If the type is anything else, then objectMode + * must be set in the constructor options. So there is effectively + * no allowed way that a TS program can set the encoding after + * construction, as doing so will destroy any hope of type safety. + * TypeScript does not provide many options for changing the type of + * an object at run-time, which is what changing the encoding does. + */ + readonly encoding: Minipass.Encoding + // setEncoding(encoding: Encoding): void + + // Options required if not reading buffers + constructor( + ...args: RType extends Buffer + ? [] | [Minipass.Options] + : [Minipass.Options] + ) + + write(chunk: WType, cb?: () => void): boolean + write(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): boolean + read(size?: number): RType + end(cb?: () => void): this + end(chunk: any, cb?: () => void): this + end(chunk: any, encoding?: Minipass.Encoding, cb?: () => void): this + pause(): void + resume(): void + promise(): Promise + collect(): Promise + + concat(): RType extends Minipass.BufferOrString ? Promise : never + destroy(er?: any): void + pipe(dest: W, opts?: Minipass.PipeOptions): W + unpipe(dest: W): void + + /** + * alias for on() + */ + addEventHandler(event: string, listener: (...args: any[]) => any): this + + on(event: string, listener: (...args: any[]) => any): this + on(event: 'data', listener: (chunk: RType) => any): this + on(event: 'error', listener: (error: any) => any): this + on( + event: + | 'readable' + | 'drain' + | 'resume' + | 'end' + | 'prefinish' + | 'finish' + | 'close', + listener: () => any + ): this + + [Symbol.iterator](): Iterator + [Symbol.asyncIterator](): AsyncIterator +} + +export = Minipass diff -Nru npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/index.js npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/index.js --- npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/index.js 1970-01-01 00:00:00.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/index.js 2022-12-07 23:13:18.000000000 +0000 @@ -0,0 +1,649 @@ +'use strict' +const proc = typeof process === 'object' && process ? process : { + stdout: null, + stderr: null, +} +const EE = require('events') +const Stream = require('stream') +const SD = require('string_decoder').StringDecoder + +const EOF = Symbol('EOF') +const MAYBE_EMIT_END = Symbol('maybeEmitEnd') +const EMITTED_END = Symbol('emittedEnd') +const EMITTING_END = Symbol('emittingEnd') +const EMITTED_ERROR = Symbol('emittedError') +const CLOSED = Symbol('closed') +const READ = Symbol('read') +const FLUSH = Symbol('flush') +const FLUSHCHUNK = Symbol('flushChunk') +const ENCODING = Symbol('encoding') +const DECODER = Symbol('decoder') +const FLOWING = Symbol('flowing') +const PAUSED = Symbol('paused') +const RESUME = Symbol('resume') +const BUFFERLENGTH = Symbol('bufferLength') +const BUFFERPUSH = Symbol('bufferPush') +const BUFFERSHIFT = Symbol('bufferShift') +const OBJECTMODE = Symbol('objectMode') +const DESTROYED = Symbol('destroyed') +const EMITDATA = Symbol('emitData') +const EMITEND = Symbol('emitEnd') +const EMITEND2 = Symbol('emitEnd2') +const ASYNC = Symbol('async') + +const defer = fn => Promise.resolve().then(fn) + +// TODO remove when Node v8 support drops +const doIter = global._MP_NO_ITERATOR_SYMBOLS_ !== '1' +const ASYNCITERATOR = doIter && Symbol.asyncIterator + || Symbol('asyncIterator not implemented') +const ITERATOR = doIter && Symbol.iterator + || Symbol('iterator not implemented') + +// events that mean 'the stream is over' +// these are treated specially, and re-emitted +// if they are listened for after emitting. +const isEndish = ev => + ev === 'end' || + ev === 'finish' || + ev === 'prefinish' + +const isArrayBuffer = b => b instanceof ArrayBuffer || + typeof b === 'object' && + b.constructor && + b.constructor.name === 'ArrayBuffer' && + b.byteLength >= 0 + +const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b) + +class Pipe { + constructor (src, dest, opts) { + this.src = src + this.dest = dest + this.opts = opts + this.ondrain = () => src[RESUME]() + dest.on('drain', this.ondrain) + } + unpipe () { + this.dest.removeListener('drain', this.ondrain) + } + // istanbul ignore next - only here for the prototype + proxyErrors () {} + end () { + this.unpipe() + if (this.opts.end) + this.dest.end() + } +} + +class PipeProxyErrors extends Pipe { + unpipe () { + this.src.removeListener('error', this.proxyErrors) + super.unpipe() + } + constructor (src, dest, opts) { + super(src, dest, opts) + this.proxyErrors = er => dest.emit('error', er) + src.on('error', this.proxyErrors) + } +} + +module.exports = class Minipass extends Stream { + constructor (options) { + super() + this[FLOWING] = false + // whether we're explicitly paused + this[PAUSED] = false + this.pipes = [] + this.buffer = [] + this[OBJECTMODE] = options && options.objectMode || false + if (this[OBJECTMODE]) + this[ENCODING] = null + else + this[ENCODING] = options && options.encoding || null + if (this[ENCODING] === 'buffer') + this[ENCODING] = null + this[ASYNC] = options && !!options.async || false + this[DECODER] = this[ENCODING] ? new SD(this[ENCODING]) : null + this[EOF] = false + this[EMITTED_END] = false + this[EMITTING_END] = false + this[CLOSED] = false + this[EMITTED_ERROR] = null + this.writable = true + this.readable = true + this[BUFFERLENGTH] = 0 + this[DESTROYED] = false + } + + get bufferLength () { return this[BUFFERLENGTH] } + + get encoding () { return this[ENCODING] } + set encoding (enc) { + if (this[OBJECTMODE]) + throw new Error('cannot set encoding in objectMode') + + if (this[ENCODING] && enc !== this[ENCODING] && + (this[DECODER] && this[DECODER].lastNeed || this[BUFFERLENGTH])) + throw new Error('cannot change encoding') + + if (this[ENCODING] !== enc) { + this[DECODER] = enc ? new SD(enc) : null + if (this.buffer.length) + this.buffer = this.buffer.map(chunk => this[DECODER].write(chunk)) + } + + this[ENCODING] = enc + } + + setEncoding (enc) { + this.encoding = enc + } + + get objectMode () { return this[OBJECTMODE] } + set objectMode (om) { this[OBJECTMODE] = this[OBJECTMODE] || !!om } + + get ['async'] () { return this[ASYNC] } + set ['async'] (a) { this[ASYNC] = this[ASYNC] || !!a } + + write (chunk, encoding, cb) { + if (this[EOF]) + throw new Error('write after end') + + if (this[DESTROYED]) { + this.emit('error', Object.assign( + new Error('Cannot call write after a stream was destroyed'), + { code: 'ERR_STREAM_DESTROYED' } + )) + return true + } + + if (typeof encoding === 'function') + cb = encoding, encoding = 'utf8' + + if (!encoding) + encoding = 'utf8' + + const fn = this[ASYNC] ? defer : f => f() + + // convert array buffers and typed array views into buffers + // at some point in the future, we may want to do the opposite! + // leave strings and buffers as-is + // anything else switches us into object mode + if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) { + if (isArrayBufferView(chunk)) + chunk = Buffer.from(chunk.buffer, chunk.byteOffset, chunk.byteLength) + else if (isArrayBuffer(chunk)) + chunk = Buffer.from(chunk) + else if (typeof chunk !== 'string') + // use the setter so we throw if we have encoding set + this.objectMode = true + } + + // handle object mode up front, since it's simpler + // this yields better performance, fewer checks later. + if (this[OBJECTMODE]) { + /* istanbul ignore if - maybe impossible? */ + if (this.flowing && this[BUFFERLENGTH] !== 0) + this[FLUSH](true) + + if (this.flowing) + this.emit('data', chunk) + else + this[BUFFERPUSH](chunk) + + if (this[BUFFERLENGTH] !== 0) + this.emit('readable') + + if (cb) + fn(cb) + + return this.flowing + } + + // at this point the chunk is a buffer or string + // don't buffer it up or send it to the decoder + if (!chunk.length) { + if (this[BUFFERLENGTH] !== 0) + this.emit('readable') + if (cb) + fn(cb) + return this.flowing + } + + // fast-path writing strings of same encoding to a stream with + // an empty buffer, skipping the buffer/decoder dance + if (typeof chunk === 'string' && + // unless it is a string already ready for us to use + !(encoding === this[ENCODING] && !this[DECODER].lastNeed)) { + chunk = Buffer.from(chunk, encoding) + } + + if (Buffer.isBuffer(chunk) && this[ENCODING]) + chunk = this[DECODER].write(chunk) + + // Note: flushing CAN potentially switch us into not-flowing mode + if (this.flowing && this[BUFFERLENGTH] !== 0) + this[FLUSH](true) + + if (this.flowing) + this.emit('data', chunk) + else + this[BUFFERPUSH](chunk) + + if (this[BUFFERLENGTH] !== 0) + this.emit('readable') + + if (cb) + fn(cb) + + return this.flowing + } + + read (n) { + if (this[DESTROYED]) + return null + + if (this[BUFFERLENGTH] === 0 || n === 0 || n > this[BUFFERLENGTH]) { + this[MAYBE_EMIT_END]() + return null + } + + if (this[OBJECTMODE]) + n = null + + if (this.buffer.length > 1 && !this[OBJECTMODE]) { + if (this.encoding) + this.buffer = [this.buffer.join('')] + else + this.buffer = [Buffer.concat(this.buffer, this[BUFFERLENGTH])] + } + + const ret = this[READ](n || null, this.buffer[0]) + this[MAYBE_EMIT_END]() + return ret + } + + [READ] (n, chunk) { + if (n === chunk.length || n === null) + this[BUFFERSHIFT]() + else { + this.buffer[0] = chunk.slice(n) + chunk = chunk.slice(0, n) + this[BUFFERLENGTH] -= n + } + + this.emit('data', chunk) + + if (!this.buffer.length && !this[EOF]) + this.emit('drain') + + return chunk + } + + end (chunk, encoding, cb) { + if (typeof chunk === 'function') + cb = chunk, chunk = null + if (typeof encoding === 'function') + cb = encoding, encoding = 'utf8' + if (chunk) + this.write(chunk, encoding) + if (cb) + this.once('end', cb) + this[EOF] = true + this.writable = false + + // if we haven't written anything, then go ahead and emit, + // even if we're not reading. + // we'll re-emit if a new 'end' listener is added anyway. + // This makes MP more suitable to write-only use cases. + if (this.flowing || !this[PAUSED]) + this[MAYBE_EMIT_END]() + return this + } + + // don't let the internal resume be overwritten + [RESUME] () { + if (this[DESTROYED]) + return + + this[PAUSED] = false + this[FLOWING] = true + this.emit('resume') + if (this.buffer.length) + this[FLUSH]() + else if (this[EOF]) + this[MAYBE_EMIT_END]() + else + this.emit('drain') + } + + resume () { + return this[RESUME]() + } + + pause () { + this[FLOWING] = false + this[PAUSED] = true + } + + get destroyed () { + return this[DESTROYED] + } + + get flowing () { + return this[FLOWING] + } + + get paused () { + return this[PAUSED] + } + + [BUFFERPUSH] (chunk) { + if (this[OBJECTMODE]) + this[BUFFERLENGTH] += 1 + else + this[BUFFERLENGTH] += chunk.length + this.buffer.push(chunk) + } + + [BUFFERSHIFT] () { + if (this.buffer.length) { + if (this[OBJECTMODE]) + this[BUFFERLENGTH] -= 1 + else + this[BUFFERLENGTH] -= this.buffer[0].length + } + return this.buffer.shift() + } + + [FLUSH] (noDrain) { + do {} while (this[FLUSHCHUNK](this[BUFFERSHIFT]())) + + if (!noDrain && !this.buffer.length && !this[EOF]) + this.emit('drain') + } + + [FLUSHCHUNK] (chunk) { + return chunk ? (this.emit('data', chunk), this.flowing) : false + } + + pipe (dest, opts) { + if (this[DESTROYED]) + return + + const ended = this[EMITTED_END] + opts = opts || {} + if (dest === proc.stdout || dest === proc.stderr) + opts.end = false + else + opts.end = opts.end !== false + opts.proxyErrors = !!opts.proxyErrors + + // piping an ended stream ends immediately + if (ended) { + if (opts.end) + dest.end() + } else { + this.pipes.push(!opts.proxyErrors ? new Pipe(this, dest, opts) + : new PipeProxyErrors(this, dest, opts)) + if (this[ASYNC]) + defer(() => this[RESUME]()) + else + this[RESUME]() + } + + return dest + } + + unpipe (dest) { + const p = this.pipes.find(p => p.dest === dest) + if (p) { + this.pipes.splice(this.pipes.indexOf(p), 1) + p.unpipe() + } + } + + addListener (ev, fn) { + return this.on(ev, fn) + } + + on (ev, fn) { + const ret = super.on(ev, fn) + if (ev === 'data' && !this.pipes.length && !this.flowing) + this[RESUME]() + else if (ev === 'readable' && this[BUFFERLENGTH] !== 0) + super.emit('readable') + else if (isEndish(ev) && this[EMITTED_END]) { + super.emit(ev) + this.removeAllListeners(ev) + } else if (ev === 'error' && this[EMITTED_ERROR]) { + if (this[ASYNC]) + defer(() => fn.call(this, this[EMITTED_ERROR])) + else + fn.call(this, this[EMITTED_ERROR]) + } + return ret + } + + get emittedEnd () { + return this[EMITTED_END] + } + + [MAYBE_EMIT_END] () { + if (!this[EMITTING_END] && + !this[EMITTED_END] && + !this[DESTROYED] && + this.buffer.length === 0 && + this[EOF]) { + this[EMITTING_END] = true + this.emit('end') + this.emit('prefinish') + this.emit('finish') + if (this[CLOSED]) + this.emit('close') + this[EMITTING_END] = false + } + } + + emit (ev, data, ...extra) { + // error and close are only events allowed after calling destroy() + if (ev !== 'error' && ev !== 'close' && ev !== DESTROYED && this[DESTROYED]) + return + else if (ev === 'data') { + return !data ? false + : this[ASYNC] ? defer(() => this[EMITDATA](data)) + : this[EMITDATA](data) + } else if (ev === 'end') { + return this[EMITEND]() + } else if (ev === 'close') { + this[CLOSED] = true + // don't emit close before 'end' and 'finish' + if (!this[EMITTED_END] && !this[DESTROYED]) + return + const ret = super.emit('close') + this.removeAllListeners('close') + return ret + } else if (ev === 'error') { + this[EMITTED_ERROR] = data + const ret = super.emit('error', data) + this[MAYBE_EMIT_END]() + return ret + } else if (ev === 'resume') { + const ret = super.emit('resume') + this[MAYBE_EMIT_END]() + return ret + } else if (ev === 'finish' || ev === 'prefinish') { + const ret = super.emit(ev) + this.removeAllListeners(ev) + return ret + } + + // Some other unknown event + const ret = super.emit(ev, data, ...extra) + this[MAYBE_EMIT_END]() + return ret + } + + [EMITDATA] (data) { + for (const p of this.pipes) { + if (p.dest.write(data) === false) + this.pause() + } + const ret = super.emit('data', data) + this[MAYBE_EMIT_END]() + return ret + } + + [EMITEND] () { + if (this[EMITTED_END]) + return + + this[EMITTED_END] = true + this.readable = false + if (this[ASYNC]) + defer(() => this[EMITEND2]()) + else + this[EMITEND2]() + } + + [EMITEND2] () { + if (this[DECODER]) { + const data = this[DECODER].end() + if (data) { + for (const p of this.pipes) { + p.dest.write(data) + } + super.emit('data', data) + } + } + + for (const p of this.pipes) { + p.end() + } + const ret = super.emit('end') + this.removeAllListeners('end') + return ret + } + + // const all = await stream.collect() + collect () { + const buf = [] + if (!this[OBJECTMODE]) + buf.dataLength = 0 + // set the promise first, in case an error is raised + // by triggering the flow here. + const p = this.promise() + this.on('data', c => { + buf.push(c) + if (!this[OBJECTMODE]) + buf.dataLength += c.length + }) + return p.then(() => buf) + } + + // const data = await stream.concat() + concat () { + return this[OBJECTMODE] + ? Promise.reject(new Error('cannot concat in objectMode')) + : this.collect().then(buf => + this[OBJECTMODE] + ? Promise.reject(new Error('cannot concat in objectMode')) + : this[ENCODING] ? buf.join('') : Buffer.concat(buf, buf.dataLength)) + } + + // stream.promise().then(() => done, er => emitted error) + promise () { + return new Promise((resolve, reject) => { + this.on(DESTROYED, () => reject(new Error('stream destroyed'))) + this.on('error', er => reject(er)) + this.on('end', () => resolve()) + }) + } + + // for await (let chunk of stream) + [ASYNCITERATOR] () { + const next = () => { + const res = this.read() + if (res !== null) + return Promise.resolve({ done: false, value: res }) + + if (this[EOF]) + return Promise.resolve({ done: true }) + + let resolve = null + let reject = null + const onerr = er => { + this.removeListener('data', ondata) + this.removeListener('end', onend) + reject(er) + } + const ondata = value => { + this.removeListener('error', onerr) + this.removeListener('end', onend) + this.pause() + resolve({ value: value, done: !!this[EOF] }) + } + const onend = () => { + this.removeListener('error', onerr) + this.removeListener('data', ondata) + resolve({ done: true }) + } + const ondestroy = () => onerr(new Error('stream destroyed')) + return new Promise((res, rej) => { + reject = rej + resolve = res + this.once(DESTROYED, ondestroy) + this.once('error', onerr) + this.once('end', onend) + this.once('data', ondata) + }) + } + + return { next } + } + + // for (let chunk of stream) + [ITERATOR] () { + const next = () => { + const value = this.read() + const done = value === null + return { value, done } + } + return { next } + } + + destroy (er) { + if (this[DESTROYED]) { + if (er) + this.emit('error', er) + else + this.emit(DESTROYED) + return this + } + + this[DESTROYED] = true + + // throw away all buffered data, it's never coming out + this.buffer.length = 0 + this[BUFFERLENGTH] = 0 + + if (typeof this.close === 'function' && !this[CLOSED]) + this.close() + + if (er) + this.emit('error', er) + else // if no error to emit, still reject pending promises + this.emit(DESTROYED) + + return this + } + + static isStream (s) { + return !!s && (s instanceof Minipass || s instanceof Stream || + s instanceof EE && ( + typeof s.pipe === 'function' || // readable + (typeof s.write === 'function' && typeof s.end === 'function') // writable + )) + } +} diff -Nru npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/LICENSE npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/LICENSE --- npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/LICENSE 2022-12-07 23:13:18.000000000 +0000 @@ -0,0 +1,15 @@ +The ISC License + +Copyright (c) 2017-2022 npm, Inc., Isaac Z. Schlueter, and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff -Nru npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/package.json npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/package.json --- npm-9.1.3~ds1/node_modules/fs-minipass/node_modules/minipass/package.json 1970-01-01 00:00:00.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/fs-minipass/node_modules/minipass/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -0,0 +1,56 @@ +{ + "name": "minipass", + "version": "3.3.6", + "description": "minimal implementation of a PassThrough stream", + "main": "index.js", + "types": "index.d.ts", + "dependencies": { + "yallist": "^4.0.0" + }, + "devDependencies": { + "@types/node": "^17.0.41", + "end-of-stream": "^1.4.0", + "prettier": "^2.6.2", + "tap": "^16.2.0", + "through2": "^2.0.3", + "ts-node": "^10.8.1", + "typescript": "^4.7.3" + }, + "scripts": { + "test": "tap", + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --follow-tags" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/isaacs/minipass.git" + }, + "keywords": [ + "passthrough", + "stream" + ], + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "ISC", + "files": [ + "index.d.ts", + "index.js" + ], + "tap": { + "check-coverage": true + }, + "engines": { + "node": ">=8" + }, + "prettier": { + "semi": false, + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "singleQuote": true, + "jsxSingleQuote": false, + "bracketSameLine": true, + "arrowParens": "avoid", + "endOfLine": "lf" + } +} diff -Nru npm-9.1.3~ds1/node_modules/.gitignore npm-9.2.0~ds1/node_modules/.gitignore --- npm-9.1.3~ds1/node_modules/.gitignore 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/.gitignore 2022-12-07 23:13:18.000000000 +0000 @@ -85,6 +85,9 @@ !/events !/fastest-levenshtein !/fs-minipass +!/fs-minipass/node_modules/ +/fs-minipass/node_modules/* +!/fs-minipass/node_modules/minipass !/fs.realpath !/function-bind !/gauge @@ -135,13 +138,34 @@ !/make-fetch-happen !/minimatch !/minipass-collect +!/minipass-collect/node_modules/ +/minipass-collect/node_modules/* +!/minipass-collect/node_modules/minipass !/minipass-fetch +!/minipass-fetch/node_modules/ +/minipass-fetch/node_modules/* +!/minipass-fetch/node_modules/minipass !/minipass-flush +!/minipass-flush/node_modules/ +/minipass-flush/node_modules/* +!/minipass-flush/node_modules/minipass !/minipass-json-stream +!/minipass-json-stream/node_modules/ +/minipass-json-stream/node_modules/* +!/minipass-json-stream/node_modules/minipass !/minipass-pipeline +!/minipass-pipeline/node_modules/ +/minipass-pipeline/node_modules/* +!/minipass-pipeline/node_modules/minipass !/minipass-sized +!/minipass-sized/node_modules/ +/minipass-sized/node_modules/* +!/minipass-sized/node_modules/minipass !/minipass !/minizlib +!/minizlib/node_modules/ +/minizlib/node_modules/* +!/minizlib/node_modules/minipass !/mkdirp !/ms !/mute-stream @@ -167,6 +191,7 @@ !/node-gyp/node_modules/make-fetch-happen !/node-gyp/node_modules/minimatch !/node-gyp/node_modules/minipass-fetch +!/node-gyp/node_modules/minipass !/node-gyp/node_modules/nopt !/node-gyp/node_modules/npmlog !/node-gyp/node_modules/ssri diff -Nru npm-9.1.3~ds1/node_modules/libnpmaccess/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmaccess/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmaccess/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmaccess/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,13 @@ # Changelog +## [7.0.1](https://github.com/npm/cli/compare/libnpmaccess-v7.0.0...libnpmaccess-v7.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` + ## [7.0.0](https://github.com/npm/cli/compare/libnpmaccess-v7.0.0-pre.2...libnpmaccess-v7.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/node_modules/libnpmaccess/package.json npm-9.2.0~ds1/node_modules/libnpmaccess/package.json --- npm-9.1.3~ds1/node_modules/libnpmaccess/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmaccess/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmaccess", - "version": "7.0.0", + "version": "7.0.1", "description": "programmatic library for `npm access` commands", "author": "GitHub Inc.", "license": "ISC", @@ -16,9 +16,10 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/mock-registry": "^1.0.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -28,8 +29,8 @@ "bugs": "https://github.com/npm/libnpmaccess/issues", "homepage": "https://npmjs.com/package/libnpmaccess", "dependencies": { - "npm-package-arg": "^10.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -40,7 +41,7 @@ ], "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmaccess/test/fixtures/tnock.js npm-9.2.0~ds1/node_modules/libnpmaccess/test/fixtures/tnock.js --- npm-9.1.3~ds1/node_modules/libnpmaccess/test/fixtures/tnock.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmaccess/test/fixtures/tnock.js 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -'use strict' - -const nock = require('nock') - -module.exports = tnock -function tnock (t, host) { - const server = nock(host) - t.teardown(function () { - server.done() - }) - return server -} diff -Nru npm-9.1.3~ds1/node_modules/libnpmaccess/test/index.js npm-9.2.0~ds1/node_modules/libnpmaccess/test/index.js --- npm-9.1.3~ds1/node_modules/libnpmaccess/test/index.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmaccess/test/index.js 2022-12-07 23:13:18.000000000 +0000 @@ -1,28 +1,42 @@ 'use strict' const t = require('tap') -const tnock = require('./fixtures/tnock.js') +const MockRegistry = require('@npmcli/mock-registry') const access = require('../lib/index.js') -const REG = 'http://localhost:1337' -const OPTS = { - registry: REG, +const opts = { + registry: 'http://localhost:1337', +} + +const pkg = '@npmcli/libnpmaccess-test' +const team = 'npm:test-team' +const orgUser = 'test-user' +const mockRegistry = (t) => { + return new MockRegistry({ + tap: t, + strict: true, + registry: 'http://localhost:1337', + }) } t.test('getCollaborators', t => { t.test('success', async t => { + const registry = mockRegistry(t) const collaborators = { 'npm:myteam': 'write', 'npm:anotherteam': 'read', 'npm:thirdteam': 'special-case', } - tnock(t, REG).get('/-/package/@npmcli%2ftest-package/collaborators').reply(200, collaborators) - const data = await access.getCollaborators('@npmcli/test-package', OPTS) - t.same(data, collaborators) + registry.getCollaborators({ spec: pkg, collaborators }) + await t.resolves( + access.getCollaborators(pkg, opts), + collaborators + ) }) + t.test('non registry package', async t => { - await t.rejects(access.getCollaborators('./local', OPTS), /package name only/) + await t.rejects(access.getCollaborators('./local', opts), /package name only/) }) t.end() }) @@ -34,125 +48,119 @@ '@npmcli/other': 'shrödinger', } t.test('team', async t => { - tnock(t, REG).get('/-/team/npm/myteam/package').reply(200, packages) - const data = await access.getPackages('npm:myteam', OPTS) - t.same(data, packages) + const registry = mockRegistry(t) + registry.getPackages({ team, packages }) + await t.resolves(access.getPackages(team, opts), packages) }) t.test('org', async t => { - tnock(t, REG).get('/-/org/npm/package').reply(200, packages) - const data = await access.getPackages('npm', OPTS) - t.same(data, packages) + const registry = mockRegistry(t) + registry.getPackages({ team: 'npm', packages }) + await t.resolves(access.getPackages('npm', opts), packages) }) t.test('user', async t => { - tnock(t, REG).get('/-/org/testuser/package').reply(404, {}) - tnock(t, REG).get('/-/user/testuser/package').reply(200, packages) - const data = await access.getPackages('testuser', OPTS) - t.same(data, packages) + const registry = mockRegistry(t) + registry.getPackages({ team: orgUser, responseCode: 404 }) + registry.getPackages({ user: orgUser, packages }) + await t.resolves(access.getPackages(orgUser, opts), packages) }) t.test('registry error', async t => { - tnock(t, REG).get('/-/org/npm/package').reply(500, {}) - await t.rejects(access.getPackages('npm', OPTS), { code: 'E500' }) + const registry = mockRegistry(t) + registry.getPackages({ team: orgUser, responseCode: 500 }) + await t.rejects(access.getPackages(orgUser, opts), { code: 'E500' }) }) t.end() }) t.test('getVisibility', t => { t.test('success', async t => { + const registry = mockRegistry(t) const visibility = { public: true } - tnock(t, REG).get('/-/package/@npmcli%2ftest-package/visibility').reply(200, visibility) - const data = await access.getVisibility('@npmcli/test-package', OPTS) - t.same(data, visibility) + registry.getVisibility({ spec: pkg, visibility }) + await t.resolves(access.getVisibility(pkg, opts), visibility) }) t.test('non registry package', async t => { - await t.rejects(access.getVisibility('./local', OPTS), /package name only/) + await t.rejects(access.getVisibility('./local', opts), /package name only/) }) t.end() }) t.test('removePermissions', t => { t.test('success', async t => { - tnock(t, REG).delete('/-/team/npm/myteam/package', { - package: '@npmcli/test-package', - }).reply(200) - await t.resolves(access.removePermissions('npm:myteam', '@npmcli/test-package', OPTS)) + const registry = mockRegistry(t) + registry.removePermissions({ spec: pkg, team }) + await t.resolves(access.removePermissions(team, pkg, opts)) }) t.test('non registry spec', async t => { - await t.rejects(access.removePermissions('npm:myteam', './local', OPTS), /package name only/) + await t.rejects(access.removePermissions(team, './local', opts), /package name only/) }) t.end() }) t.test('setAccess', t => { t.test('public', async t => { - tnock(t, REG).post( - '/-/package/@npmcli%2ftest-package/access', { access: 'public' } - ).reply(200) - await t.resolves(access.setAccess('@npmcli/test-package', 'public', OPTS)) + const body = { access: 'public' } + const registry = mockRegistry(t) + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setAccess(pkg, 'public', opts)) }) t.test('restricted', async t => { - tnock(t, REG).post( - '/-/package/@npmcli%2ftest-package/access', { access: 'restricted' } - ).reply(200) - await t.resolves(access.setAccess('@npmcli/test-package', 'restricted', OPTS)) + const body = { access: 'restricted' } + const registry = mockRegistry(t) + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setAccess(pkg, 'restricted', opts)) }) t.test('non registry package', async t => { - await t.rejects(access.setAccess('./local', 'public', OPTS), /package name only/) + await t.rejects(access.setAccess('./local', 'public', opts), /package name only/) }) t.end() }) t.test('setMfa', t => { t.test('none', async t => { - tnock(t, REG).post('/-/package/@npmcli%2ftest-package/access', { - publish_requires_tfa: false, - }).reply(200) - await t.resolves(access.setMfa('@npmcli/test-package', 'none', OPTS)) + const registry = mockRegistry(t) + const body = { publish_requires_tfa: false } + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setMfa(pkg, 'none', opts)) }) t.test('publish', async t => { - tnock(t, REG).post('/-/package/@npmcli%2ftest-package/access', { + const registry = mockRegistry(t) + const body = { publish_requires_tfa: true, automation_token_overrides_tfa: false, - }).reply(200) - await t.resolves(access.setMfa('@npmcli/test-package', 'publish', OPTS)) + } + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setMfa(pkg, 'publish', opts)) }) t.test('automation', async t => { - tnock(t, REG).post('/-/package/@npmcli%2ftest-package/access', { + const registry = mockRegistry(t) + const body = { publish_requires_tfa: true, automation_token_overrides_tfa: true, - }).reply(200) - await t.resolves(access.setMfa('@npmcli/test-package', 'automation', OPTS)) + } + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setMfa(pkg, 'automation', opts)) }) t.test('invalid', async t => { - await t.rejects(access.setMfa('@npmcli/test-package', 'invalid', OPTS), /Invalid mfa setting/) + await t.rejects(access.setMfa(pkg, 'invalid', opts), /Invalid mfa setting/) }) t.test('non registry spec', async t => { - await t.rejects(access.setMfa('./local', 'none', OPTS, /package name only/)) + await t.rejects(access.setMfa('./local', 'none', opts, /package name only/)) }) t.end() }) t.test('setPermissions', t => { t.test('scope:team read-only', async t => { - tnock(t, REG).put('/-/team/npmcli/myteam/package', { - package: '@npmcli/test-package', - permissions: 'read-only', - }).reply(201) - await t.resolves( - access.setPermissions('npmcli:myteam', '@npmcli/test-package', 'read-only', OPTS) - ) + const registry = mockRegistry(t) + registry.setPermissions({ spec: pkg, team, permissions: 'read-only' }) + await t.resolves(access.setPermissions(team, pkg, 'read-only', opts)) }) t.test('scope only', async t => { - await t.rejects( - access.setPermissions('npmcli', '@npmcli/test-package', 'read-only', OPTS), - /scope:team/ - ) + await t.rejects(access.setPermissions('npmcli', pkg, 'read-only', opts), /scope:team/) }) t.test('no scope or team', async t => { - await t.rejects( - access.setPermissions('@:myteam', '@npmcli/test-package', 'read-only', OPTS), - /scope:team/ - ) + await t.rejects(access.setPermissions('@:myteam', pkg, 'read-only', opts), /scope:team/) }) t.end() diff -Nru npm-9.1.3~ds1/node_modules/libnpmdiff/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmdiff/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmdiff/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmdiff/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,16 @@ # Changelog +## [5.0.6](https://github.com/npm/cli/compare/libnpmdiff-v5.0.5...libnpmdiff-v5.0.6) (2022-12-07) + +### Dependencies + +* [`372d158`](https://github.com/npm/cli/commit/372d158d2637120600a95abee64355ed1cb6f990) [#5935](https://github.com/npm/cli/pull/5935) `minimatch@5.1.1` (#5935) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`6b77340`](https://github.com/npm/cli/commit/6b7734009ecd939fbb3d382cb92eb0cdbec7dcd3) `tar@6.1.13` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [5.0.5](https://github.com/npm/cli/compare/libnpmdiff-v5.0.4...libnpmdiff-v5.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/node_modules/libnpmdiff/package.json npm-9.2.0~ds1/node_modules/libnpmdiff/package.json --- npm-9.1.3~ds1/node_modules/libnpmdiff/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmdiff/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmdiff", - "version": "5.0.5", + "version": "5.0.6", "description": "The registry diff", "repository": { "type": "git", @@ -43,23 +43,23 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/disparity-colors": "^3.0.0", "@npmcli/installed-package-contents": "^2.0.0", "binary-extensions": "^2.2.0", "diff": "^5.1.0", - "minimatch": "^5.0.1", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.2", - "tar": "^6.1.0" + "minimatch": "^5.1.1", + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7", + "tar": "^6.1.13" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmexec/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmexec/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmexec/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmexec/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,15 @@ # Changelog +## [5.0.6](https://github.com/npm/cli/compare/libnpmexec-v5.0.5...libnpmexec-v5.0.6) (2022-12-07) + +### Dependencies + +* [`0e6c28b`](https://github.com/npm/cli/commit/0e6c28ba093f8c5d35df98afca28e842b247004b) [#5934](https://github.com/npm/cli/pull/5934) `ci-info@3.7.0` (#5934) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [5.0.5](https://github.com/npm/cli/compare/libnpmexec-v5.0.4...libnpmexec-v5.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/node_modules/libnpmexec/package.json npm-9.2.0~ds1/node_modules/libnpmexec/package.json --- npm-9.1.3~ds1/node_modules/libnpmexec/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmexec/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmexec", - "version": "5.0.5", + "version": "5.0.6", "files": [ "bin/", "lib/" @@ -52,22 +52,22 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "bin-links": "^4.0.1", "just-extend": "^6.1.1", "just-safe-set": "^4.1.1", - "minify-registry-metadata": "^2.2.0", + "minify-registry-metadata": "^3.0.0", "mkdirp": "^1.0.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/run-script": "^6.0.0", "chalk": "^4.1.0", - "ci-info": "^3.6.1", - "npm-package-arg": "^10.0.0", + "ci-info": "^3.7.0", + "npm-package-arg": "^10.1.0", "npmlog": "^7.0.1", - "pacote": "^15.0.2", + "pacote": "^15.0.7", "proc-log": "^3.0.0", "read": "^1.0.7", "read-package-json-fast": "^3.0.1", @@ -76,7 +76,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" } } diff -Nru npm-9.1.3~ds1/node_modules/libnpmfund/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmfund/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmfund/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmfund/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,11 @@ # Changelog +## [4.0.6](https://github.com/npm/cli/compare/libnpmfund-v4.0.5...libnpmfund-v4.0.6) (2022-12-07) + +### Dependencies + +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [4.0.5](https://github.com/npm/cli/compare/libnpmfund-v4.0.4...libnpmfund-v4.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/node_modules/libnpmfund/package.json npm-9.2.0~ds1/node_modules/libnpmfund/package.json --- npm-9.1.3~ds1/node_modules/libnpmfund/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmfund/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmfund", - "version": "4.0.5", + "version": "4.0.6", "main": "lib/index.js", "files": [ "bin/", @@ -42,18 +42,18 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "dependencies": { - "@npmcli/arborist": "^6.1.4" + "@npmcli/arborist": "^6.1.5" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmhook/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmhook/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmhook/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmhook/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [9.0.1](https://github.com/npm/cli/compare/libnpmhook-v9.0.0...libnpmhook-v9.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [9.0.0](https://github.com/npm/cli/compare/libnpmhook-v9.0.0-pre.1...libnpmhook-v9.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/node_modules/libnpmhook/package.json npm-9.2.0~ds1/node_modules/libnpmhook/package.json --- npm-9.1.3~ds1/node_modules/libnpmhook/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmhook/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmhook", - "version": "9.0.0", + "version": "9.0.1", "description": "programmatic API for managing npm registry hooks", "main": "lib/index.js", "files": [ @@ -33,20 +33,20 @@ "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmorg/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmorg/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmorg/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmorg/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [5.0.1](https://github.com/npm/cli/compare/libnpmorg-v5.0.0...libnpmorg-v5.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [5.0.0](https://github.com/npm/cli/compare/libnpmorg-v5.0.0-pre.1...libnpmorg-v5.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/node_modules/libnpmorg/package.json npm-9.2.0~ds1/node_modules/libnpmorg/package.json --- npm-9.1.3~ds1/node_modules/libnpmorg/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmorg/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmorg", - "version": "5.0.0", + "version": "5.0.1", "description": "Programmatic api for `npm org` commands", "author": "GitHub Inc.", "main": "lib/index.js", @@ -28,10 +28,10 @@ ], "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "minipass": "^3.1.1", + "@npmcli/template-oss": "4.11.0", + "minipass": "^4.0.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -42,14 +42,14 @@ "homepage": "https://npmjs.com/package/libnpmorg", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmpack/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmpack/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmpack/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmpack/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,14 @@ # Changelog +## [5.0.6](https://github.com/npm/cli/compare/libnpmpack-v5.0.5...libnpmpack-v5.0.6) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [5.0.5](https://github.com/npm/cli/compare/libnpmpack-v5.0.4...libnpmpack-v5.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/node_modules/libnpmpack/package.json npm-9.2.0~ds1/node_modules/libnpmpack/package.json --- npm-9.1.3~ds1/node_modules/libnpmpack/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmpack/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmpack", - "version": "5.0.5", + "version": "5.0.6", "description": "Programmatic API for the bits behind npm pack", "author": "GitHub Inc.", "main": "lib/index.js", @@ -23,10 +23,10 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.0.7", "spawk": "^1.7.1", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -36,17 +36,17 @@ "bugs": "https://github.com/npm/libnpmpack/issues", "homepage": "https://npmjs.com/package/libnpmpack", "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/run-script": "^6.0.0", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.2" + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmpublish/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmpublish/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmpublish/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmpublish/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,15 @@ # Changelog +## [7.0.6](https://github.com/npm/cli/compare/libnpmpublish-v7.0.5...libnpmpublish-v7.0.6) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`cf0a174`](https://github.com/npm/cli/commit/cf0a17407abc577c27420a1c8a4a0c08c7cefce9) `ssri@10.0.1` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.6): `libnpmpack@5.0.6` + ## [7.0.5](https://github.com/npm/cli/compare/libnpmpublish-v7.0.4...libnpmpublish-v7.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/node_modules/libnpmpublish/package.json npm-9.2.0~ds1/node_modules/libnpmpublish/package.json --- npm-9.1.3~ds1/node_modules/libnpmpublish/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmpublish/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmpublish", - "version": "7.0.5", + "version": "7.0.6", "description": "Programmatic API for the bits behind npm publish and unpublish", "author": "GitHub Inc.", "main": "lib/index.js", @@ -25,11 +25,11 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "libnpmpack": "^5.0.5", + "@npmcli/template-oss": "4.11.0", + "libnpmpack": "^5.0.6", "lodash.clonedeep": "^4.5.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -40,17 +40,17 @@ "homepage": "https://npmjs.com/package/libnpmpublish", "dependencies": { "normalize-package-data": "^5.0.0", - "npm-package-arg": "^10.0.0", - "npm-registry-fetch": "^14.0.2", + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3", "semver": "^7.3.7", - "ssri": "^10.0.0" + "ssri": "^10.0.1" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmsearch/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmsearch/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmsearch/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmsearch/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [6.0.1](https://github.com/npm/cli/compare/libnpmsearch-v6.0.0...libnpmsearch-v6.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [6.0.0](https://github.com/npm/cli/compare/libnpmsearch-v6.0.0-pre.1...libnpmsearch-v6.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/node_modules/libnpmsearch/package.json npm-9.2.0~ds1/node_modules/libnpmsearch/package.json --- npm-9.1.3~ds1/node_modules/libnpmsearch/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmsearch/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmsearch", - "version": "6.0.0", + "version": "6.0.1", "description": "Programmatic API for searching in npm and compatible registries.", "author": "GitHub Inc.", "main": "lib/index.js", @@ -26,9 +26,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -38,14 +38,14 @@ "bugs": "https://github.com/npm/libnpmsearch/issues", "homepage": "https://npmjs.com/package/libnpmsearch", "dependencies": { - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmteam/CHANGELOG.md npm-9.2.0~ds1/node_modules/libnpmteam/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/libnpmteam/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmteam/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [5.0.1](https://github.com/npm/cli/compare/libnpmteam-v5.0.0...libnpmteam-v5.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [5.0.0](https://github.com/npm/cli/compare/libnpmteam-v5.0.0-pre.1...libnpmteam-v5.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/node_modules/libnpmteam/package.json npm-9.2.0~ds1/node_modules/libnpmteam/package.json --- npm-9.1.3~ds1/node_modules/libnpmteam/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmteam/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,7 +1,7 @@ { "name": "libnpmteam", "description": "npm Team management APIs", - "version": "5.0.0", + "version": "5.0.1", "author": "GitHub Inc.", "license": "ISC", "main": "lib/index.js", @@ -16,9 +16,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -32,14 +32,14 @@ "homepage": "https://npmjs.com/package/libnpmteam", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/node_modules/libnpmversion/package.json npm-9.2.0~ds1/node_modules/libnpmversion/package.json --- npm-9.1.3~ds1/node_modules/libnpmversion/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/libnpmversion/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -32,9 +32,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "require-inject": "^1.4.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "dependencies": { "@npmcli/git": "^4.0.1", @@ -48,7 +48,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" } } diff -Nru npm-9.1.3~ds1/node_modules/make-fetch-happen/package.json npm-9.2.0~ds1/node_modules/make-fetch-happen/package.json --- npm-9.1.3~ds1/node_modules/make-fetch-happen/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/make-fetch-happen/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "make-fetch-happen", - "version": "11.0.1", + "version": "11.0.2", "description": "Opinionated, caching, retrying fetch client", "main": "lib/index.js", "files": [ @@ -40,7 +40,7 @@ "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "minipass-collect": "^1.0.2", "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", @@ -52,7 +52,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.5.1", + "@npmcli/template-oss": "4.10.0", "mkdirp": "^1.0.4", "nock": "^13.2.4", "rimraf": "^3.0.2", @@ -75,6 +75,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.5.1" + "version": "4.10.0" } } diff -Nru npm-9.1.3~ds1/node_modules/@npmcli/arborist/CHANGELOG.md npm-9.2.0~ds1/node_modules/@npmcli/arborist/CHANGELOG.md --- npm-9.1.3~ds1/node_modules/@npmcli/arborist/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/@npmcli/arborist/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,21 @@ # Changelog +## [6.1.5](https://github.com/npm/cli/compare/arborist-v6.1.4...arborist-v6.1.5) (2022-12-07) + +### Bug Fixes + +* [`83fb125`](https://github.com/npm/cli/commit/83fb125446a9fb217eedf53ca98c203d7d48527b) [#5923](https://github.com/npm/cli/pull/5923) audit package mismatch in special case (@fritzy) + +### Dependencies + +* [`372d158`](https://github.com/npm/cli/commit/372d158d2637120600a95abee64355ed1cb6f990) [#5935](https://github.com/npm/cli/pull/5935) `minimatch@5.1.1` (#5935) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`cf0a174`](https://github.com/npm/cli/commit/cf0a17407abc577c27420a1c8a4a0c08c7cefce9) `ssri@10.0.1` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`e940917`](https://github.com/npm/cli/commit/e940917befcdaf44ee7e24d31b540f4de8507734) `cacache@17.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` + ## [6.1.4](https://github.com/npm/cli/compare/arborist-v6.1.3...arborist-v6.1.4) (2022-11-30) ### Bug Fixes diff -Nru npm-9.1.3~ds1/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js npm-9.2.0~ds1/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js --- npm-9.1.3~ds1/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js 2022-12-07 23:13:18.000000000 +0000 @@ -619,14 +619,16 @@ continue } - const { isSemVerMajor, version } = fixAvailable + // name may be different if parent fixes the dep + // see Vuln fixAvailable setter + const { isSemVerMajor, version, name: fixName } = fixAvailable const breakingMessage = isSemVerMajor ? 'a SemVer major change' : 'outside your stated dependency range' - log.warn('audit', `Updating ${name} to ${version}, ` + + log.warn('audit', `Updating ${fixName} to ${version}, ` + `which is ${breakingMessage}.`) - await this[_add](node, { add: [`${name}@${version}`] }) + await this[_add](node, { add: [`${fixName}@${version}`] }) nodesTouched.add(node) } } diff -Nru npm-9.1.3~ds1/node_modules/@npmcli/arborist/lib/vuln.js npm-9.2.0~ds1/node_modules/@npmcli/arborist/lib/vuln.js --- npm-9.1.3~ds1/node_modules/@npmcli/arborist/lib/vuln.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/@npmcli/arborist/lib/vuln.js 2022-12-07 23:13:18.000000000 +0000 @@ -65,6 +65,9 @@ // - {name, version, isSemVerMajor} fix requires -f, is semver major // - {name, version} fix requires -f, not semver major // - true: fix does not require -f + // TODO: duped entries may require different fixes but the current + // structure does not support this, so the case were a top level fix + // corrects a duped entry may mean you have to run fix more than once for (const v of this.via) { // don't blow up on loops if (v.fixAvailable === f) { diff -Nru npm-9.1.3~ds1/node_modules/@npmcli/arborist/package.json npm-9.2.0~ds1/node_modules/@npmcli/arborist/package.json --- npm-9.1.3~ds1/node_modules/@npmcli/arborist/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/@npmcli/arborist/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "@npmcli/arborist", - "version": "6.1.4", + "version": "6.1.5", "description": "Manage node_modules trees", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", @@ -14,37 +14,37 @@ "@npmcli/query": "^3.0.0", "@npmcli/run-script": "^6.0.0", "bin-links": "^4.0.1", - "cacache": "^17.0.2", + "cacache": "^17.0.3", "common-ancestor-path": "^1.0.1", "hosted-git-info": "^6.1.1", "json-parse-even-better-errors": "^3.0.0", "json-stringify-nice": "^1.1.4", - "minimatch": "^5.1.0", + "minimatch": "^5.1.1", "nopt": "^7.0.0", "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.0.0", + "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", - "npm-registry-fetch": "^14.0.2", + "npm-registry-fetch": "^14.0.3", "npmlog": "^7.0.1", - "pacote": "^15.0.2", + "pacote": "^15.0.7", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^1.0.1", "read-package-json-fast": "^3.0.1", "semver": "^7.3.7", - "ssri": "^10.0.0", + "ssri": "^10.0.1", "treeverse": "^3.0.0", "walk-up-path": "^1.0.0" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "benchmark": "^2.1.4", "chalk": "^4.1.0", - "minify-registry-metadata": "^2.1.0", + "minify-registry-metadata": "^3.0.0", "nock": "^13.2.0", - "tap": "^16.0.1", + "tap": "^16.3.2", "tcompare": "^5.0.6" }, "scripts": { @@ -101,7 +101,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" } } diff -Nru npm-9.1.3~ds1/node_modules/@npmcli/config/package.json npm-9.2.0~ds1/node_modules/@npmcli/config/package.json --- npm-9.1.3~ds1/node_modules/@npmcli/config/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/@npmcli/config/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -33,8 +33,8 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "dependencies": { "@npmcli/map-workspaces": "^3.0.0", @@ -50,6 +50,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0" + "version": "4.11.0" } } diff -Nru npm-9.1.3~ds1/node_modules/npm-packlist/lib/index.js npm-9.2.0~ds1/node_modules/npm-packlist/lib/index.js --- npm-9.1.3~ds1/node_modules/npm-packlist/lib/index.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/npm-packlist/lib/index.js 2022-12-07 23:13:18.000000000 +0000 @@ -300,6 +300,8 @@ file = file.slice(1) } else if (file.startsWith('./')) { file = file.slice(2) + } else if (file.endsWith('/*')) { + file = file.slice(0, -2) } const inverse = `!${file}` try { @@ -382,6 +384,11 @@ // get a reference to the node we're bundling const node = this.tree.edgesOut.get(dep).to + // if there's no node, this is most likely an optional dependency that hasn't been + // installed. just skip it. + if (!node) { + continue + } // we use node.path for the path because we want the location the node was linked to, // not where it actually lives on disk const path = node.path diff -Nru npm-9.1.3~ds1/node_modules/npm-packlist/package.json npm-9.2.0~ds1/node_modules/npm-packlist/package.json --- npm-9.1.3~ds1/node_modules/npm-packlist/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/npm-packlist/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "npm-packlist", - "version": "7.0.2", + "version": "7.0.4", "description": "Get a list of the files to add from a folder into an npm package", "directories": { "test": "test" @@ -18,7 +18,7 @@ "devDependencies": { "@npmcli/arborist": "^6.0.0 || ^6.0.0-pre.0", "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.7.1", + "@npmcli/template-oss": "4.10.0", "mutate-fs": "^2.1.1", "tap": "^16.0.1" }, @@ -55,6 +55,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.7.1" + "version": "4.10.0" } } diff -Nru npm-9.1.3~ds1/node_modules/npm-registry-fetch/package.json npm-9.2.0~ds1/node_modules/npm-registry-fetch/package.json --- npm-9.1.3~ds1/node_modules/npm-registry-fetch/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/npm-registry-fetch/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "npm-registry-fetch", - "version": "14.0.2", + "version": "14.0.3", "description": "Fetch-based http client for use with npm registry APIs", "main": "lib", "files": [ @@ -32,7 +32,7 @@ "license": "ISC", "dependencies": { "make-fetch-happen": "^11.0.0", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", "minizlib": "^2.1.2", @@ -41,7 +41,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.6.1", + "@npmcli/template-oss": "4.10.0", "cacache": "^17.0.0", "mkdirp": "^1.0.4", "nock": "^13.2.4", @@ -63,6 +63,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.6.1" + "version": "4.10.0" } } diff -Nru npm-9.1.3~ds1/node_modules/pacote/package.json npm-9.2.0~ds1/node_modules/pacote/package.json --- npm-9.1.3~ds1/node_modules/pacote/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/node_modules/pacote/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "pacote", - "version": "15.0.6", + "version": "15.0.7", "description": "JavaScript package downloader", "author": "GitHub Inc.", "bin": { @@ -27,7 +27,7 @@ "devDependencies": { "@npmcli/arborist": "^6.0.0 || ^6.0.0-pre.0", "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.8.0", + "@npmcli/template-oss": "4.10.0", "hosted-git-info": "^6.0.0", "mutate-fs": "^2.1.1", "nock": "^13.2.4", @@ -50,7 +50,7 @@ "@npmcli/run-script": "^6.0.0", "cacache": "^17.0.0", "fs-minipass": "^2.1.0", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "npm-package-arg": "^10.0.0", "npm-packlist": "^7.0.0", "npm-pick-manifest": "^8.0.0", @@ -71,7 +71,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.8.0", + "version": "4.10.0", "windowsCI": false } } diff -Nru npm-9.1.3~ds1/package.json npm-9.2.0~ds1/package.json --- npm-9.1.3~ds1/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,5 @@ { - "version": "9.1.3", + "version": "9.2.0", "name": "npm", "description": "a package manager for JavaScript", "workspaces": [ @@ -53,16 +53,16 @@ }, "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/config": "^6.1.0", "@npmcli/map-workspaces": "^3.0.0", "@npmcli/package-json": "^3.0.0", "@npmcli/run-script": "^6.0.0", "abbrev": "^2.0.0", "archy": "~1.0.0", - "cacache": "^17.0.2", + "cacache": "^17.0.3", "chalk": "^4.1.2", - "ci-info": "^3.6.1", + "ci-info": "^3.7.0", "cli-columns": "^4.0.0", "cli-table3": "^0.6.3", "columnify": "^1.6.0", @@ -75,20 +75,20 @@ "init-package-json": "^4.0.1", "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^3.0.0", - "libnpmaccess": "^7.0.0", - "libnpmdiff": "^5.0.5", - "libnpmexec": "^5.0.5", - "libnpmfund": "^4.0.5", - "libnpmhook": "^9.0.0", - "libnpmorg": "^5.0.0", - "libnpmpack": "^5.0.5", - "libnpmpublish": "^7.0.5", - "libnpmsearch": "^6.0.0", - "libnpmteam": "^5.0.0", + "libnpmaccess": "^7.0.1", + "libnpmdiff": "^5.0.6", + "libnpmexec": "^5.0.6", + "libnpmfund": "^4.0.6", + "libnpmhook": "^9.0.1", + "libnpmorg": "^5.0.1", + "libnpmpack": "^5.0.6", + "libnpmpublish": "^7.0.6", + "libnpmsearch": "^6.0.1", + "libnpmteam": "^5.0.1", "libnpmversion": "^4.0.1", - "make-fetch-happen": "^11.0.1", - "minimatch": "^5.1.0", - "minipass": "^3.1.6", + "make-fetch-happen": "^11.0.2", + "minimatch": "^5.1.1", + "minipass": "^4.0.0", "minipass-pipeline": "^1.2.4", "mkdirp": "^1.0.4", "ms": "^2.1.2", @@ -96,14 +96,14 @@ "nopt": "^7.0.0", "npm-audit-report": "^4.0.0", "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.0.0", + "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", "npm-profile": "^7.0.1", - "npm-registry-fetch": "^14.0.2", + "npm-registry-fetch": "^14.0.3", "npm-user-validate": "^1.0.1", "npmlog": "^7.0.1", "p-map": "^4.0.0", - "pacote": "^15.0.6", + "pacote": "^15.0.7", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", "qrcode-terminal": "^0.12.0", @@ -112,8 +112,8 @@ "read-package-json-fast": "^3.0.1", "rimraf": "^3.0.2", "semver": "^7.3.8", - "ssri": "^10.0.0", - "tar": "^6.1.12", + "ssri": "^10.0.1", + "tar": "^6.1.13", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", @@ -198,15 +198,15 @@ "@npmcli/git": "^4.0.1", "@npmcli/mock-registry": "^1.0.0", "@npmcli/promise-spawn": "^6.0.1", - "@npmcli/template-oss": "4.10.0", - "licensee": "^9.0.0", + "@npmcli/template-oss": "4.11.0", + "licensee": "^10.0.0", "nock": "^13.2.4", - "npm-packlist": "^7.0.1", + "npm-packlist": "^7.0.4", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "remark-github": "^11.2.4", "spawk": "^1.7.1", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "scripts": { "dependencies": "node scripts/bundle-and-gitignore-deps.js && node scripts/dependency-graph.js", @@ -252,7 +252,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "./scripts/template-oss/root.js" }, "license": "Artistic-2.0", diff -Nru npm-9.1.3~ds1/package-lock.json npm-9.2.0~ds1/package-lock.json --- npm-9.1.3~ds1/package-lock.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/package-lock.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,12 +1,12 @@ { "name": "npm", - "version": "9.1.3", + "version": "9.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "npm", - "version": "9.1.3", + "version": "9.2.0", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -86,16 +86,16 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/config": "^6.1.0", "@npmcli/map-workspaces": "^3.0.0", "@npmcli/package-json": "^3.0.0", "@npmcli/run-script": "^6.0.0", "abbrev": "^2.0.0", "archy": "~1.0.0", - "cacache": "^17.0.2", + "cacache": "^17.0.3", "chalk": "^4.1.2", - "ci-info": "^3.6.1", + "ci-info": "^3.7.0", "cli-columns": "^4.0.0", "cli-table3": "^0.6.3", "columnify": "^1.6.0", @@ -108,20 +108,20 @@ "init-package-json": "^4.0.1", "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^3.0.0", - "libnpmaccess": "^7.0.0", - "libnpmdiff": "^5.0.5", - "libnpmexec": "^5.0.5", - "libnpmfund": "^4.0.5", - "libnpmhook": "^9.0.0", - "libnpmorg": "^5.0.0", - "libnpmpack": "^5.0.5", - "libnpmpublish": "^7.0.5", - "libnpmsearch": "^6.0.0", - "libnpmteam": "^5.0.0", + "libnpmaccess": "^7.0.1", + "libnpmdiff": "^5.0.6", + "libnpmexec": "^5.0.6", + "libnpmfund": "^4.0.6", + "libnpmhook": "^9.0.1", + "libnpmorg": "^5.0.1", + "libnpmpack": "^5.0.6", + "libnpmpublish": "^7.0.6", + "libnpmsearch": "^6.0.1", + "libnpmteam": "^5.0.1", "libnpmversion": "^4.0.1", - "make-fetch-happen": "^11.0.1", - "minimatch": "^5.1.0", - "minipass": "^3.1.6", + "make-fetch-happen": "^11.0.2", + "minimatch": "^5.1.1", + "minipass": "^4.0.0", "minipass-pipeline": "^1.2.4", "mkdirp": "^1.0.4", "ms": "^2.1.2", @@ -129,14 +129,14 @@ "nopt": "^7.0.0", "npm-audit-report": "^4.0.0", "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.0.0", + "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", "npm-profile": "^7.0.1", - "npm-registry-fetch": "^14.0.2", + "npm-registry-fetch": "^14.0.3", "npm-user-validate": "^1.0.1", "npmlog": "^7.0.1", "p-map": "^4.0.0", - "pacote": "^15.0.6", + "pacote": "^15.0.7", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", "qrcode-terminal": "^0.12.0", @@ -145,8 +145,8 @@ "read-package-json-fast": "^3.0.1", "rimraf": "^3.0.2", "semver": "^7.3.8", - "ssri": "^10.0.0", - "tar": "^6.1.12", + "ssri": "^10.0.1", + "tar": "^6.1.13", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", @@ -165,15 +165,15 @@ "@npmcli/git": "^4.0.1", "@npmcli/mock-registry": "^1.0.0", "@npmcli/promise-spawn": "^6.0.1", - "@npmcli/template-oss": "4.10.0", - "licensee": "^9.0.0", + "@npmcli/template-oss": "4.11.0", + "licensee": "^10.0.0", "nock": "^13.2.4", - "npm-packlist": "^7.0.1", + "npm-packlist": "^7.0.4", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "remark-github": "^11.2.4", "spawk": "^1.7.1", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -186,17 +186,17 @@ "devDependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "front-matter": "^4.0.2", "ignore-walk": "^6.0.0", - "jsdom": "^20.0.1", + "jsdom": "^20.0.3", "mkdirp": "^1.0.4", "rehype-stringify": "^9.0.3", "remark-gfm": "^3.0.1", "remark-man": "^8.0.1", "remark-parse": "^10.0.1", "remark-rehype": "^10.1.0", - "tap": "^16.0.1", + "tap": "^16.3.2", "unified": "^10.1.2", "yaml": "^2.1.3" }, @@ -211,11 +211,11 @@ "devDependencies": { "@npmcli/arborist": "^6.1.1", "@npmcli/eslint-config": "^4.0.1", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.9", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.6", - "tap": "^16.3.0" + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7", + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -2260,9 +2260,9 @@ "link": true }, "node_modules/@npmcli/template-oss": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.10.0.tgz", - "integrity": "sha512-KeC93o3umyr3FpJots5paojysrU/RL/oNVhDEYKr3O+Replidr3EgU96VmnCJwfHcMs64lz9oIYA/94A5fAC9w==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.11.0.tgz", + "integrity": "sha512-nvZqRxT9AFf56Fj07v1yG9AQVOTNn82ysMVI67IzpktunKFHmZ5Tp8P/al5pPik/nYQ4AieEyh7XC2dMro4moA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -2890,11 +2890,6 @@ "node": ">=0.10.0" } }, - "node_modules/asap": { - "version": "2.0.6", - "dev": true, - "license": "MIT" - }, "node_modules/async-hook-domain": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-2.0.4.tgz", @@ -3076,16 +3071,16 @@ } }, "node_modules/cacache": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.0.2.tgz", - "integrity": "sha512-rYUs2x4OjSgCQND7nTrh21AHIBFgd7s/ctAYvU3a8u+nK+R5YaX/SFPDYz4Azz7SGL6+6L9ZZWI4Kawpb7grzQ==", + "version": "17.0.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.0.3.tgz", + "integrity": "sha512-pwsIK/grdM0cHpfVaNFxMdzElBtLJGsVPE+JnxqXP1l40O01Z1mfDE8MbRTuwomGq/UwEtGisOylutOEVJxEqg==", "inBundle": true, "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^2.1.0", "glob": "^8.0.1", "lru-cache": "^7.7.1", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "minipass-collect": "^1.0.2", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", @@ -3300,9 +3295,9 @@ } }, "node_modules/ci-info": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.6.1.tgz", - "integrity": "sha512-up5ggbaDqOqJ4UqLKZ2naVkyqSJQgJi5lwD6b6mM748ysrghDBX0bx/qJTUHzw7zu6Mq4gycviSF5hJnwceD8w==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.7.0.tgz", + "integrity": "sha512-2CpRNYmImPx+RXKLq6jko/L07phmS9I02TyqkcNU20GCF/GgaWvc58hPtjxDX8lPpkdwc9sNh72V9k00S7ezog==", "inBundle": true, "engines": { "node": ">=8" @@ -3895,14 +3890,6 @@ "inBundle": true, "license": "MIT" }, - "node_modules/debuglog": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", @@ -4048,15 +4035,6 @@ "node": ">=8" } }, - "node_modules/dezalgo": { - "version": "1.0.4", - "dev": true, - "license": "ISC", - "dependencies": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, "node_modules/diff": { "version": "5.1.0", "license": "BSD-3-Clause", @@ -5239,19 +5217,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/fs-access": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fs-access/-/fs-access-2.0.0.tgz", - "integrity": "sha512-Vt45hBKJrYDQeAD9ja43liw8JfK75uB7XexIXWEtDKwFLQNmzmvuulh28hRxexxuFm0zsGGq7nISGQSK6KnGrA==", - "deprecated": "This package is no longer relevant as Node.js 0.12 is unmaintained.", - "dev": true, - "dependencies": { - "null-check": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/fs-exists-cached": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz", @@ -5283,6 +5248,18 @@ "node": ">= 8" } }, + "node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "inBundle": true, @@ -6472,9 +6449,9 @@ } }, "node_modules/jackspeak": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-1.4.1.tgz", - "integrity": "sha512-npN8f+M4+IQ8xD3CcWi3U62VQwKlT3Tj4GxbdT/fYTmeogD9eBF9OFdpoFG/VPNoshRjPUijdkp/p2XrzUHaVg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-1.4.2.tgz", + "integrity": "sha512-GHeGTmnuaHnvS+ZctRB01bfxARuu9wW83ENbuiweu07SFcVlZrJpcshSre/keGT7YGBhLHg/+rXCNSrsEHKU4Q==", "dev": true, "dependencies": { "cliui": "^7.0.4" @@ -6509,18 +6486,18 @@ } }, "node_modules/jsdom": { - "version": "20.0.2", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.2.tgz", - "integrity": "sha512-AHWa+QO/cgRg4N+DsmHg1Y7xnz+8KU3EflM0LVDTdmrYOc1WWTSkOjtpUveQH+1Bqd5rtcVnb/DuxV/UjDO4rA==", + "version": "20.0.3", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", + "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", "dev": true, "dependencies": { "abab": "^2.0.6", - "acorn": "^8.8.0", + "acorn": "^8.8.1", "acorn-globals": "^7.0.0", "cssom": "^0.5.0", "cssstyle": "^2.3.0", "data-urls": "^3.0.2", - "decimal.js": "^10.4.1", + "decimal.js": "^10.4.2", "domexception": "^4.0.0", "escodegen": "^2.0.0", "form-data": "^4.0.0", @@ -6533,12 +6510,12 @@ "saxes": "^6.0.0", "symbol-tree": "^3.2.4", "tough-cookie": "^4.1.2", - "w3c-xmlserializer": "^3.0.0", + "w3c-xmlserializer": "^4.0.0", "webidl-conversions": "^7.0.0", "whatwg-encoding": "^2.0.0", "whatwg-mimetype": "^3.0.0", "whatwg-url": "^11.0.0", - "ws": "^8.9.0", + "ws": "^8.11.0", "xml-name-validator": "^4.0.0" }, "engines": { @@ -6868,820 +6845,91 @@ }, "node_modules/libnpmpublish": { "resolved": "workspaces/libnpmpublish", - "link": true - }, - "node_modules/libnpmsearch": { - "resolved": "workspaces/libnpmsearch", - "link": true - }, - "node_modules/libnpmteam": { - "resolved": "workspaces/libnpmteam", - "link": true - }, - "node_modules/libnpmversion": { - "resolved": "workspaces/libnpmversion", - "link": true - }, - "node_modules/libtap": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/libtap/-/libtap-1.4.0.tgz", - "integrity": "sha512-STLFynswQ2A6W14JkabgGetBNk6INL1REgJ9UeNKw5llXroC2cGLgKTqavv0sl8OLVztLLipVKMcQ7yeUcqpmg==", - "dev": true, - "dependencies": { - "async-hook-domain": "^2.0.4", - "bind-obj-methods": "^3.0.0", - "diff": "^4.0.2", - "function-loop": "^2.0.1", - "minipass": "^3.1.5", - "own-or": "^1.0.0", - "own-or-env": "^1.0.2", - "signal-exit": "^3.0.4", - "stack-utils": "^2.0.4", - "tap-parser": "^11.0.0", - "tap-yaml": "^1.0.0", - "tcompare": "^5.0.6", - "trivial-deferred": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/libtap/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/licensee": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/licensee/-/licensee-9.0.0.tgz", - "integrity": "sha512-uxGxNAFvX3H4Mdfmm1klrpgKiXyoGhmZagWFusXUEJyY4g01r/e2czOSpu4QJ8G+f4UShCmgYRSv1viiE64Kng==", - "dev": true, - "dependencies": { - "@blueoak/list": "^9.0.0", - "@npmcli/arborist": "^5.6.0", - "correct-license-metadata": "^1.0.1", - "docopt": "^0.6.2", - "fs-access": "^2.0.0", - "has": "^1.0.3", - "npm-license-corrections": "^1.0.0", - "semver": "^7.3.7", - "spdx-expression-parse": "^3.0.0", - "spdx-expression-validate": "^2.0.0", - "spdx-osi": "^3.0.0", - "spdx-whitelisted": "^1.0.0" - }, - "bin": { - "licensee": "licensee" - } - }, - "node_modules/licensee/node_modules/@npmcli/arborist": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-5.6.3.tgz", - "integrity": "sha512-/7hbqEM6YuRjwTcQXkK1+xKslEblY5kFQe0tZ7jKyMlIR6x4iOmhLErIkBBGtTKvYxRKdpcxnFXjCobg3UqmsA==", - "dev": true, - "dependencies": { - "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/map-workspaces": "^2.0.3", - "@npmcli/metavuln-calculator": "^3.0.1", - "@npmcli/move-file": "^2.0.0", - "@npmcli/name-from-folder": "^1.0.1", - "@npmcli/node-gyp": "^2.0.0", - "@npmcli/package-json": "^2.0.0", - "@npmcli/query": "^1.2.0", - "@npmcli/run-script": "^4.1.3", - "bin-links": "^3.0.3", - "cacache": "^16.1.3", - "common-ancestor-path": "^1.0.1", - "hosted-git-info": "^5.2.1", - "json-parse-even-better-errors": "^2.3.1", - "json-stringify-nice": "^1.1.4", - "minimatch": "^5.1.0", - "mkdirp": "^1.0.4", - "mkdirp-infer-owner": "^2.0.0", - "nopt": "^6.0.0", - "npm-install-checks": "^5.0.0", - "npm-package-arg": "^9.0.0", - "npm-pick-manifest": "^7.0.2", - "npm-registry-fetch": "^13.0.0", - "npmlog": "^6.0.2", - "pacote": "^13.6.1", - "parse-conflict-json": "^2.0.1", - "proc-log": "^2.0.0", - "promise-all-reject-late": "^1.0.0", - "promise-call-limit": "^1.0.1", - "read-package-json-fast": "^2.0.2", - "readdir-scoped-modules": "^1.1.0", - "rimraf": "^3.0.2", - "semver": "^7.3.7", - "ssri": "^9.0.0", - "treeverse": "^2.0.0", - "walk-up-path": "^1.0.0" - }, - "bin": { - "arborist": "bin/index.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/fs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", - "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", - "dev": true, - "dependencies": { - "@gar/promisify": "^1.1.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/git": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-3.0.2.tgz", - "integrity": "sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w==", - "dev": true, - "dependencies": { - "@npmcli/promise-spawn": "^3.0.0", - "lru-cache": "^7.4.4", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^7.0.0", - "proc-log": "^2.0.0", - "promise-inflight": "^1.0.1", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^2.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", - "dev": true, - "dependencies": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "installed-package-contents": "index.js" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/licensee/node_modules/@npmcli/map-workspaces": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz", - "integrity": "sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg==", - "dev": true, - "dependencies": { - "@npmcli/name-from-folder": "^1.0.1", - "glob": "^8.0.1", - "minimatch": "^5.0.1", - "read-package-json-fast": "^2.0.3" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/metavuln-calculator": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz", - "integrity": "sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA==", - "dev": true, - "dependencies": { - "cacache": "^16.0.0", - "json-parse-even-better-errors": "^2.3.1", - "pacote": "^13.0.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/move-file": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", - "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", - "deprecated": "This functionality has been moved to @npmcli/fs", - "dev": true, - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/node-gyp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz", - "integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/package-json": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-2.0.0.tgz", - "integrity": "sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA==", - "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/promise-spawn": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz", - "integrity": "sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==", - "dev": true, - "dependencies": { - "infer-owner": "^1.0.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/query": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@npmcli/query/-/query-1.2.0.tgz", - "integrity": "sha512-uWglsUM3PjBLgTSmZ3/vygeGdvWEIZ3wTUnzGFbprC/RtvQSaT+GAXu1DXmSFj2bD3oOZdcRm1xdzsV2z1YWdw==", - "dev": true, - "dependencies": { - "npm-package-arg": "^9.1.0", - "postcss-selector-parser": "^6.0.10", - "semver": "^7.3.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/@npmcli/run-script": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-4.2.1.tgz", - "integrity": "sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==", - "dev": true, - "dependencies": { - "@npmcli/node-gyp": "^2.0.0", - "@npmcli/promise-spawn": "^3.0.0", - "node-gyp": "^9.0.0", - "read-package-json-fast": "^2.0.3", - "which": "^2.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "node_modules/licensee/node_modules/are-we-there-yet": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", - "dev": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/bin-links": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-3.0.3.tgz", - "integrity": "sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA==", - "dev": true, - "dependencies": { - "cmd-shim": "^5.0.0", - "mkdirp-infer-owner": "^2.0.0", - "npm-normalize-package-bin": "^2.0.0", - "read-cmd-shim": "^3.0.0", - "rimraf": "^3.0.0", - "write-file-atomic": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/bin-links/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/cacache": { - "version": "16.1.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", - "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", - "dev": true, - "dependencies": { - "@npmcli/fs": "^2.1.0", - "@npmcli/move-file": "^2.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "glob": "^8.0.1", - "infer-owner": "^1.0.4", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "mkdirp": "^1.0.4", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11", - "unique-filename": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/cmd-shim": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-5.0.0.tgz", - "integrity": "sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw==", - "dev": true, - "dependencies": { - "mkdirp-infer-owner": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/gauge": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", - "dev": true, - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.7", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/ignore-walk": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", - "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/licensee/node_modules/make-fetch-happen": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", - "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", - "dev": true, - "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^16.1.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^2.0.3", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^9.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/minipass-fetch": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", - "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", - "dev": true, - "dependencies": { - "minipass": "^3.1.6", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/licensee/node_modules/nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", - "dev": true, - "dependencies": { - "abbrev": "^1.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/normalize-package-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "is-core-module": "^2.8.1", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-bundled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", - "dev": true, - "dependencies": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "node_modules/licensee/node_modules/npm-install-checks": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-5.0.0.tgz", - "integrity": "sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==", - "dev": true, - "dependencies": { - "semver": "^7.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-normalize-package-bin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", - "dev": true - }, - "node_modules/licensee/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-packlist": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.3.tgz", - "integrity": "sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==", - "dev": true, - "dependencies": { - "glob": "^8.0.1", - "ignore-walk": "^5.0.1", - "npm-bundled": "^2.0.0", - "npm-normalize-package-bin": "^2.0.0" - }, - "bin": { - "npm-packlist": "bin/index.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-packlist/node_modules/npm-bundled": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-2.0.1.tgz", - "integrity": "sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==", - "dev": true, - "dependencies": { - "npm-normalize-package-bin": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-pick-manifest": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz", - "integrity": "sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw==", - "dev": true, - "dependencies": { - "npm-install-checks": "^5.0.0", - "npm-normalize-package-bin": "^2.0.0", - "npm-package-arg": "^9.0.0", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npm-registry-fetch": { - "version": "13.3.1", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz", - "integrity": "sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==", - "dev": true, - "dependencies": { - "make-fetch-happen": "^10.0.6", - "minipass": "^3.1.6", - "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" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/npmlog": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", - "dev": true, - "dependencies": { - "are-we-there-yet": "^3.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.3", - "set-blocking": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/pacote": { - "version": "13.6.2", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.2.tgz", - "integrity": "sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==", - "dev": true, - "dependencies": { - "@npmcli/git": "^3.0.0", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/run-script": "^4.1.0", - "cacache": "^16.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.6", - "mkdirp": "^1.0.4", - "npm-package-arg": "^9.0.0", - "npm-packlist": "^5.1.0", - "npm-pick-manifest": "^7.0.0", - "npm-registry-fetch": "^13.0.1", - "proc-log": "^2.0.0", - "promise-retry": "^2.0.1", - "read-package-json": "^5.0.0", - "read-package-json-fast": "^2.0.3", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11" - }, - "bin": { - "pacote": "lib/bin.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/parse-conflict-json": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz", - "integrity": "sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA==", - "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.1", - "just-diff": "^5.0.1", - "just-diff-apply": "^5.2.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/proc-log": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", - "integrity": "sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/read-cmd-shim": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz", - "integrity": "sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/read-package-json": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-5.0.2.tgz", - "integrity": "sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q==", - "dev": true, - "dependencies": { - "glob": "^8.0.1", - "json-parse-even-better-errors": "^2.3.1", - "normalize-package-data": "^4.0.0", - "npm-normalize-package-bin": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/licensee/node_modules/read-package-json-fast": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", - "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" - }, - "engines": { - "node": ">=10" - } + "link": true }, - "node_modules/licensee/node_modules/read-package-json/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } + "node_modules/libnpmsearch": { + "resolved": "workspaces/libnpmsearch", + "link": true }, - "node_modules/licensee/node_modules/ssri": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", - "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", - "dev": true, - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } + "node_modules/libnpmteam": { + "resolved": "workspaces/libnpmteam", + "link": true }, - "node_modules/licensee/node_modules/treeverse": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-2.0.0.tgz", - "integrity": "sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } + "node_modules/libnpmversion": { + "resolved": "workspaces/libnpmversion", + "link": true }, - "node_modules/licensee/node_modules/unique-filename": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", - "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", + "node_modules/libtap": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/libtap/-/libtap-1.4.0.tgz", + "integrity": "sha512-STLFynswQ2A6W14JkabgGetBNk6INL1REgJ9UeNKw5llXroC2cGLgKTqavv0sl8OLVztLLipVKMcQ7yeUcqpmg==", "dev": true, "dependencies": { - "unique-slug": "^3.0.0" + "async-hook-domain": "^2.0.4", + "bind-obj-methods": "^3.0.0", + "diff": "^4.0.2", + "function-loop": "^2.0.1", + "minipass": "^3.1.5", + "own-or": "^1.0.0", + "own-or-env": "^1.0.2", + "signal-exit": "^3.0.4", + "stack-utils": "^2.0.4", + "tap-parser": "^11.0.0", + "tap-yaml": "^1.0.0", + "tcompare": "^5.0.6", + "trivial-deferred": "^1.0.1" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/licensee/node_modules/unique-slug": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", - "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", + "node_modules/libtap/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4" - }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=0.3.1" } }, - "node_modules/licensee/node_modules/validate-npm-package-name": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", + "node_modules/libtap/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "builtins": "^5.0.0" + "yallist": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/licensee/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "node_modules/licensee": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/licensee/-/licensee-10.0.0.tgz", + "integrity": "sha512-gvn5JHCNuchGGjjIm6FsK4qSOTtHkbUfo8YKW61hhEIk3osEf3fKlCH9ma0j+HaVESrOt0YUOmsi/wusKSnneQ==", "dev": true, "dependencies": { - "isexe": "^2.0.0" + "@blueoak/list": "^9.0.0", + "@npmcli/arborist": "^6.1.2", + "correct-license-metadata": "^1.4.0", + "docopt": "^0.6.2", + "has": "^1.0.3", + "npm-license-corrections": "^1.6.2", + "semver": "^7.3.8", + "spdx-expression-parse": "^3.0.1", + "spdx-expression-validate": "^2.0.0", + "spdx-osi": "^3.0.0", + "spdx-whitelisted": "^1.0.0" }, "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/licensee/node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "licensee": "licensee" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">= 14.17" } }, "node_modules/lines-and-columns": { @@ -7809,9 +7057,10 @@ "dev": true }, "node_modules/make-fetch-happen": { - "version": "11.0.1", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.0.2.tgz", + "integrity": "sha512-5n/Pq41w/uZghpdlXAY5kIM85RgJThtTH/NYBRAZ9VUOBWV90USaQjwGrw76fZP3Lj5hl/VZjpVvOaRBMoL/2w==", "inBundle": true, - "license": "ISC", "dependencies": { "agentkeepalive": "^4.2.1", "cacache": "^17.0.0", @@ -7820,7 +7069,7 @@ "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "minipass-collect": "^1.0.2", "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", @@ -8854,15 +8103,19 @@ } }, "node_modules/minify-registry-metadata": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/minify-registry-metadata/-/minify-registry-metadata-2.2.0.tgz", - "integrity": "sha512-kBVcTfDnYx9nL1U+6l6drCrZHPlkEoniLLud//nXxXvJAx0D7P4IHU2vkcCrLozoAPomiIX/CzaEXFm1CmT/8A==", - "dev": true + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/minify-registry-metadata/-/minify-registry-metadata-3.0.0.tgz", + "integrity": "sha512-EvM09tT0saeVP2Tlu9WEUDUgTYi684LsBbC+nbU3XEENgnzz+aEskigZR+OYG8LJPat1FdSIKMkJLMojg0FIiQ==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/minimatch": { - "version": "5.1.0", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz", + "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==", "inBundle": true, - "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -8894,9 +8147,10 @@ } }, "node_modules/minipass": { - "version": "3.3.4", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.0.0.tgz", + "integrity": "sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw==", "inBundle": true, - "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -8915,6 +8169,18 @@ "node": ">= 8" } }, + "node_modules/minipass-collect/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/minipass-fetch": { "version": "3.0.0", "inBundle": true, @@ -8931,6 +8197,18 @@ "encoding": "^0.1.13" } }, + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/minipass-flush": { "version": "1.0.5", "inBundle": true, @@ -8942,6 +8220,18 @@ "node": ">= 8" } }, + "node_modules/minipass-flush/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/minipass-json-stream": { "version": "1.0.1", "inBundle": true, @@ -8951,6 +8241,18 @@ "minipass": "^3.0.0" } }, + "node_modules/minipass-json-stream/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/minipass-pipeline": { "version": "1.2.4", "inBundle": true, @@ -8962,6 +8264,18 @@ "node": ">=8" } }, + "node_modules/minipass-pipeline/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/minipass-sized": { "version": "1.0.3", "inBundle": true, @@ -8973,6 +8287,18 @@ "node": ">=8" } }, + "node_modules/minipass-sized/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/minizlib": { "version": "2.1.2", "inBundle": true, @@ -8985,6 +8311,18 @@ "node": ">= 8" } }, + "node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/mkdirp": { "version": "1.0.4", "inBundle": true, @@ -8996,20 +8334,6 @@ "node": ">=10" } }, - "node_modules/mkdirp-infer-owner": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", - "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", - "dev": true, - "dependencies": { - "chownr": "^2.0.0", - "infer-owner": "^1.0.4", - "mkdirp": "^1.0.3" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", @@ -9315,6 +8639,18 @@ "node": "*" } }, + "node_modules/node-gyp/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/node-gyp/node_modules/minipass-fetch": { "version": "2.1.2", "inBundle": true, @@ -9519,9 +8855,9 @@ } }, "node_modules/npm-package-arg": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.0.0.tgz", - "integrity": "sha512-7dkh8mRp7s0KwVHKIVJnFCJQ2B34gOGnzgBjDGyprycmARq/82SX/lhilQ95ZuacP/G/1gsS345iAkKmxWBQ2Q==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", "inBundle": true, "dependencies": { "hosted-git-info": "^6.0.0", @@ -9534,9 +8870,10 @@ } }, "node_modules/npm-packlist": { - "version": "7.0.2", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz", + "integrity": "sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==", "inBundle": true, - "license": "ISC", "dependencies": { "ignore-walk": "^6.0.0" }, @@ -9571,12 +8908,13 @@ } }, "node_modules/npm-registry-fetch": { - "version": "14.0.2", + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.3.tgz", + "integrity": "sha512-YaeRbVNpnWvsGOjX2wk5s85XJ7l1qQBGAp724h8e2CZFFhMSuw9enom7K1mWVUtvXO1uUSFIAPofQK0pPN0ZcA==", "inBundle": true, - "license": "ISC", "dependencies": { "make-fetch-happen": "^11.0.0", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", "minizlib": "^2.1.2", @@ -9630,15 +8968,6 @@ "url": "https://github.com/fb55/nth-check?sponsor=1" } }, - "node_modules/null-check": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz", - "integrity": "sha512-j8ZNHg19TyIQOWCGeeQJBuu6xZYIEurf8M1Qsfd8mFrGEfIZytbw18YjKWg+LcO25NowXGZXZpKAx+Ui3TFfDw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -10104,9 +9433,9 @@ } }, "node_modules/pacote": { - "version": "15.0.6", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.0.6.tgz", - "integrity": "sha512-dQwcz/sME7QIL+cdrw/jftQfMMXxSo17i2kJ/gnhBhUvvBAsxoBu1lw9B5IzCH/Ce8CvEkG/QYZ6txzKfn0bTw==", + "version": "15.0.7", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.0.7.tgz", + "integrity": "sha512-OFf4dl3SM1PpsZvi1zk4vvMA0EplnyO0Ajbrtoyx6E3dXOWBoPnMapnLgQdInEfqPkNT8mrd2bY6c5t8JZ69sQ==", "inBundle": true, "dependencies": { "@npmcli/git": "^4.0.0", @@ -10115,7 +9444,7 @@ "@npmcli/run-script": "^6.0.0", "cacache": "^17.0.0", "fs-minipass": "^2.1.0", - "minipass": "^3.1.6", + "minipass": "^4.0.0", "npm-package-arg": "^10.0.0", "npm-packlist": "^7.0.0", "npm-pick-manifest": "^8.0.0", @@ -10724,17 +10053,6 @@ "node": ">= 6" } }, - "node_modules/readdir-scoped-modules": { - "version": "1.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" - } - }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -11584,11 +10902,12 @@ "dev": true }, "node_modules/ssri": { - "version": "10.0.0", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.1.tgz", + "integrity": "sha512-WVy6di9DlPOeBWEjMScpNipeSX2jIZBGEn5Uuo8Q7aIuFEuDX0pw8RxcOjlD1TWP4obi24ki7m/13+nFpcbXrw==", "inBundle": true, - "license": "ISC", "dependencies": { - "minipass": "^3.1.1" + "minipass": "^4.0.0" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -11790,9 +11109,9 @@ "dev": true }, "node_modules/tap": { - "version": "16.3.0", - "resolved": "https://registry.npmjs.org/tap/-/tap-16.3.0.tgz", - "integrity": "sha512-J9GffPUAbX6FnWbQ/jj7ktzd9nnDFP1fH44OzidqOmxUfZ1hPLMOvpS99LnDiP0H2mO8GY3kGN5XoY0xIKbNFA==", + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/tap/-/tap-16.3.2.tgz", + "integrity": "sha512-4MWMObR8unbv5gAHHVW9F0MNk3opQMnLusSWvt4KBAnKmkwpBRKIfNF64fimQbcR4y9a7U9ISV7pCldlV3J8Pw==", "bundleDependencies": [ "ink", "treport", @@ -11803,18 +11122,18 @@ "dev": true, "dependencies": { "@isaacs/import-jsx": "^4.0.1", - "@types/react": "^17", + "@types/react": "^17.0.52", "chokidar": "^3.3.0", "findit": "^2.0.0", "foreground-child": "^2.0.0", "fs-exists-cached": "^1.0.0", - "glob": "^7.1.6", + "glob": "^7.2.3", "ink": "^3.2.0", "isexe": "^2.0.0", - "istanbul-lib-processinfo": "^2.0.2", - "jackspeak": "^1.4.1", + "istanbul-lib-processinfo": "^2.0.3", + "jackspeak": "^1.4.2", "libtap": "^1.4.0", - "minipass": "^3.1.1", + "minipass": "^3.3.4", "mkdirp": "^1.0.4", "nyc": "^15.1.0", "opener": "^1.5.1", @@ -11823,10 +11142,10 @@ "signal-exit": "^3.0.6", "source-map-support": "^0.5.16", "tap-mocha-reporter": "^5.0.3", - "tap-parser": "^11.0.1", - "tap-yaml": "^1.0.0", + "tap-parser": "^11.0.2", + "tap-yaml": "^1.0.2", "tcompare": "^5.0.7", - "treport": "^3.0.3", + "treport": "^3.0.4", "which": "^2.0.2" }, "bin": { @@ -11942,9 +11261,9 @@ } }, "node_modules/tap-parser": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-11.0.1.tgz", - "integrity": "sha512-5ow0oyFOnXVSALYdidMX94u0GEjIlgc/BPFYLx0yRh9hb8+cFGNJqJzDJlUqbLOwx8+NBrIbxCWkIQi7555c0w==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-11.0.2.tgz", + "integrity": "sha512-6qGlC956rcORw+fg7Fv1iCRAY8/bU9UabUAhs3mXRH6eRmVZcNPLheSXCYaVaYeSwx5xa/1HXZb1537YSvwDZg==", "dev": true, "dependencies": { "events-to-array": "^1.0.1", @@ -11958,13 +11277,25 @@ "node": ">= 8" } }, + "node_modules/tap-parser/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/tap-yaml": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tap-yaml/-/tap-yaml-1.0.0.tgz", - "integrity": "sha512-Rxbx4EnrWkYk0/ztcm5u3/VznbyFJpyXO12dDBHKWiDVxy7O2Qw6MRrwO5H6Ww0U5YhRY/4C/VzWmFPhBQc4qQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/tap-yaml/-/tap-yaml-1.0.2.tgz", + "integrity": "sha512-GegASpuqBnRNdT1U+yuUPZ8rEU64pL35WPBpCISWwff4dErS2/438barz7WFJl4Nzh3Y05tfPidZnH+GaV1wMg==", "dev": true, "dependencies": { - "yaml": "^1.5.0" + "yaml": "^1.10.2" } }, "node_modules/tap-yaml/node_modules/yaml": { @@ -12450,7 +11781,7 @@ "license": "MIT" }, "node_modules/tap/node_modules/@types/react": { - "version": "17.0.41", + "version": "17.0.52", "dev": true, "inBundle": true, "license": "MIT", @@ -12889,7 +12220,7 @@ } }, "node_modules/tap/node_modules/glob": { - "version": "7.2.0", + "version": "7.2.3", "dev": true, "inBundle": true, "license": "ISC", @@ -12897,7 +12228,7 @@ "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, @@ -13182,7 +12513,7 @@ } }, "node_modules/tap/node_modules/minipass": { - "version": "3.1.6", + "version": "3.3.4", "dev": true, "inBundle": true, "license": "ISC", @@ -13567,7 +12898,7 @@ } }, "node_modules/tap/node_modules/tap-parser": { - "version": "11.0.1", + "version": "11.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -13584,12 +12915,12 @@ } }, "node_modules/tap/node_modules/tap-yaml": { - "version": "1.0.0", + "version": "1.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "yaml": "^1.5.0" + "yaml": "^1.10.2" } }, "node_modules/tap/node_modules/to-fast-properties": { @@ -13602,7 +12933,7 @@ } }, "node_modules/tap/node_modules/treport": { - "version": "3.0.3", + "version": "3.0.4", "dev": true, "inBundle": true, "license": "ISC", @@ -13613,6 +12944,7 @@ "ink": "^3.2.0", "ms": "^2.1.2", "tap-parser": "^11.0.0", + "tap-yaml": "^1.0.0", "unicode-length": "^2.0.2" }, "peerDependencies": { @@ -13858,13 +13190,14 @@ } }, "node_modules/tar": { - "version": "6.1.12", + "version": "6.1.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.13.tgz", + "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==", "inBundle": true, - "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", + "minipass": "^4.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" @@ -14577,15 +13910,15 @@ } }, "node_modules/w3c-xmlserializer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz", - "integrity": "sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", + "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", "dev": true, "dependencies": { "xml-name-validator": "^4.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/walk-up-path": { @@ -14970,11 +14303,11 @@ "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", "@npmcli/promise-spawn": "^6.0.1", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "http-proxy": "^1.18.1", "just-extend": "^6.1.1", "just-safe-set": "^4.1.1", - "tap": "^16.0.1", + "tap": "^16.3.2", "which": "^3.0.0" }, "engines": { @@ -14983,7 +14316,7 @@ }, "workspaces/arborist": { "name": "@npmcli/arborist", - "version": "6.1.4", + "version": "6.1.5", "license": "ISC", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", @@ -14997,26 +14330,26 @@ "@npmcli/query": "^3.0.0", "@npmcli/run-script": "^6.0.0", "bin-links": "^4.0.1", - "cacache": "^17.0.2", + "cacache": "^17.0.3", "common-ancestor-path": "^1.0.1", "hosted-git-info": "^6.1.1", "json-parse-even-better-errors": "^3.0.0", "json-stringify-nice": "^1.1.4", - "minimatch": "^5.1.0", + "minimatch": "^5.1.1", "nopt": "^7.0.0", "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.0.0", + "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", - "npm-registry-fetch": "^14.0.2", + "npm-registry-fetch": "^14.0.3", "npmlog": "^7.0.1", - "pacote": "^15.0.2", + "pacote": "^15.0.7", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^1.0.1", "read-package-json-fast": "^3.0.1", "semver": "^7.3.7", - "ssri": "^10.0.0", + "ssri": "^10.0.1", "treeverse": "^3.0.0", "walk-up-path": "^1.0.0" }, @@ -15025,12 +14358,12 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "benchmark": "^2.1.4", "chalk": "^4.1.0", - "minify-registry-metadata": "^2.1.0", + "minify-registry-metadata": "^3.0.0", "nock": "^13.2.0", - "tap": "^16.0.1", + "tap": "^16.3.2", "tcompare": "^5.0.6" }, "engines": { @@ -15052,64 +14385,65 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmaccess": { - "version": "7.0.0", + "version": "7.0.1", "license": "ISC", "dependencies": { - "npm-package-arg": "^10.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/mock-registry": "^1.0.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmdiff": { - "version": "5.0.5", + "version": "5.0.6", "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/disparity-colors": "^3.0.0", "@npmcli/installed-package-contents": "^2.0.0", "binary-extensions": "^2.2.0", "diff": "^5.1.0", - "minimatch": "^5.0.1", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.2", - "tar": "^6.1.0" + "minimatch": "^5.1.1", + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7", + "tar": "^6.1.13" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmexec": { - "version": "5.0.5", + "version": "5.0.6", "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/run-script": "^6.0.0", "chalk": "^4.1.0", - "ci-info": "^3.6.1", - "npm-package-arg": "^10.0.0", + "ci-info": "^3.7.0", + "npm-package-arg": "^10.1.0", "npmlog": "^7.0.1", - "pacote": "^15.0.2", + "pacote": "^15.0.7", "proc-log": "^3.0.0", "read": "^1.0.7", "read-package-json-fast": "^3.0.1", @@ -15119,138 +14453,138 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "bin-links": "^4.0.1", "just-extend": "^6.1.1", "just-safe-set": "^4.1.1", - "minify-registry-metadata": "^2.2.0", + "minify-registry-metadata": "^3.0.0", "mkdirp": "^1.0.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmfund": { - "version": "4.0.5", + "version": "4.0.6", "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.1.4" + "@npmcli/arborist": "^6.1.5" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmhook": { - "version": "9.0.0", + "version": "9.0.1", "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmorg": { - "version": "5.0.0", + "version": "5.0.1", "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "minipass": "^3.1.1", + "@npmcli/template-oss": "4.11.0", + "minipass": "^4.0.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmpack": { - "version": "5.0.5", + "version": "5.0.6", "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/run-script": "^6.0.0", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.2" + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.0.7", "spawk": "^1.7.1", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmpublish": { - "version": "7.0.5", + "version": "7.0.6", "license": "ISC", "dependencies": { "normalize-package-data": "^5.0.0", - "npm-package-arg": "^10.0.0", - "npm-registry-fetch": "^14.0.2", + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3", "semver": "^7.3.7", - "ssri": "^10.0.0" + "ssri": "^10.0.1" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "libnpmpack": "^5.0.5", + "@npmcli/template-oss": "4.11.0", + "libnpmpack": "^5.0.6", "lodash.clonedeep": "^4.5.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmsearch": { - "version": "6.0.0", + "version": "6.0.1", "license": "ISC", "dependencies": { - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "workspaces/libnpmteam": { - "version": "5.0.0", + "version": "5.0.1", "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -15268,9 +14602,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "require-inject": "^1.4.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" diff -Nru npm-9.1.3~ds1/.release-please-manifest.json npm-9.2.0~ds1/.release-please-manifest.json --- npm-9.1.3~ds1/.release-please-manifest.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/.release-please-manifest.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,16 +1,16 @@ { - ".": "9.1.3", - "workspaces/arborist": "6.1.4", - "workspaces/libnpmaccess": "7.0.0", - "workspaces/libnpmdiff": "5.0.5", - "workspaces/libnpmexec": "5.0.5", - "workspaces/libnpmfund": "4.0.5", - "workspaces/libnpmhook": "9.0.0", - "workspaces/libnpmorg": "5.0.0", - "workspaces/libnpmpack": "5.0.5", - "workspaces/libnpmpublish": "7.0.5", - "workspaces/libnpmsearch": "6.0.0", - "workspaces/libnpmteam": "5.0.0", + ".": "9.2.0", + "workspaces/arborist": "6.1.5", + "workspaces/libnpmaccess": "7.0.1", + "workspaces/libnpmdiff": "5.0.6", + "workspaces/libnpmexec": "5.0.6", + "workspaces/libnpmfund": "4.0.6", + "workspaces/libnpmhook": "9.0.1", + "workspaces/libnpmorg": "5.0.1", + "workspaces/libnpmpack": "5.0.6", + "workspaces/libnpmpublish": "7.0.6", + "workspaces/libnpmsearch": "6.0.1", + "workspaces/libnpmteam": "5.0.1", "workspaces/libnpmversion": "4.0.1", "workspaces/config": "6.1.0" } diff -Nru npm-9.1.3~ds1/smoke-tests/package.json npm-9.2.0~ds1/smoke-tests/package.json --- npm-9.1.3~ds1/smoke-tests/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/smoke-tests/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -21,18 +21,18 @@ "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", "@npmcli/promise-spawn": "^6.0.1", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "http-proxy": "^1.18.1", "just-extend": "^6.1.1", "just-safe-set": "^4.1.1", - "tap": "^16.0.1", + "tap": "^16.3.2", "which": "^3.0.0" }, "author": "GitHub Inc.", "license": "ISC", "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/smoke-tests/test/fixtures/setup.js npm-9.2.0~ds1/smoke-tests/test/fixtures/setup.js --- npm-9.1.3~ds1/smoke-tests/test/fixtures/setup.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/smoke-tests/test/fixtures/setup.js 2022-12-07 23:13:18.000000000 +0000 @@ -125,7 +125,7 @@ .replace(/ \(in a browser\)/g, '') .replace(/^npm@.* /gm, 'npm ') .replace(/^.*debug-[0-9]+.log$/gm, '') - .replace(/in \d+ms$/gm, 'in {TIME}') + .replace(/in \d+[ms]+$/gm, 'in {TIME}') } const log = (...a) => debugLog(cleanOutput(a.join(' '))) t.cleanSnapshot = cleanOutput diff -Nru npm-9.1.3~ds1/tap-snapshots/test/lib/commands/doctor.js.test.cjs npm-9.2.0~ds1/tap-snapshots/test/lib/commands/doctor.js.test.cjs --- npm-9.1.3~ds1/tap-snapshots/test/lib/commands/doctor.js.test.cjs 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/tap-snapshots/test/lib/commands/doctor.js.test.cjs 2022-12-07 23:13:18.000000000 +0000 @@ -29,6 +29,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -49,33 +53,35 @@ ` exports[`test/lib/commands/doctor.js TAP all clear > output 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-all-clear/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP all clear in color > everything is ok in color 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-all-clear-in-color/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP all clear in color > logs 1`] = ` @@ -102,6 +108,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -145,6 +155,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -165,33 +179,35 @@ ` exports[`test/lib/commands/doctor.js TAP bad proxy > output 1`] = ` -Check Value Recommendation/Notes -npm ping not ok unsupported proxy protocol: 'ssh:' -npm -v not ok Error: unsupported proxy protocol: 'ssh:' -node -v not ok Error: unsupported proxy protocol: 'ssh:' -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  not ok unsupported proxy protocol: 'ssh:' +npm -v  not ok Error: unsupported proxy protocol: 'ssh:' +node -v  not ok Error: unsupported proxy protocol: 'ssh:' +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-bad-proxy/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP cacache badContent > corrupted cache content 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 2 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-cacache-badContent/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 2 tarballs ` exports[`test/lib/commands/doctor.js TAP cacache badContent > logs 1`] = ` @@ -218,6 +234,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -270,6 +290,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -299,33 +323,35 @@ ` exports[`test/lib/commands/doctor.js TAP cacache missingContent > missing content 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 2 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-cacache-missingContent/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 2 tarballs ` exports[`test/lib/commands/doctor.js TAP cacache reclaimedCount > content garbage collected 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 2 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-cacache-reclaimedCount/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 2 tarballs ` exports[`test/lib/commands/doctor.js TAP cacache reclaimedCount > logs 1`] = ` @@ -352,6 +378,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -380,6 +410,187 @@ } ` +exports[`test/lib/commands/doctor.js TAP discrete checks cache > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + Array [ + "verifyCachedFiles", + "Verifying the npm cache", + ], + Array [ + "verifyCachedFiles", + String( + Verification complete. Stats: { + "badContentCount": 0, + "reclaimedCount": 0, + "missingContent": 0, + "verifiedContent": 0 + } + ), + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks cache > output 1`] = ` +Check  Value  Recommendation/Notes +Perms check on cached files ok   +Verify cache contents  ok  verified 0 tarballs +` + +exports[`test/lib/commands/doctor.js TAP discrete checks git > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks git > output 1`] = ` +Check Value  Recommendation/Notes +` + +exports[`test/lib/commands/doctor.js TAP discrete checks invalid environment > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + Array [ + "getGitPath", + "Finding git in your PATH", + ], + Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks invalid environment > output 1`] = ` +Check  Value  Recommendation/Notes +git executable in PATH  ok  /path/to/git +global bin folder in PATH not ok Error: Add {CWD}/test/lib/commands/tap-testdir-doctor-discrete-checks-invalid-environment/global/bin to your $PATH +` + +exports[`test/lib/commands/doctor.js TAP discrete checks permissions - not windows > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks permissions - not windows > output 1`] = ` +Check  Value  Recommendation/Notes +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +` + +exports[`test/lib/commands/doctor.js TAP discrete checks permissions - windows > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks permissions - windows > output 1`] = ` +Check Value  Recommendation/Notes +` + +exports[`test/lib/commands/doctor.js TAP discrete checks ping > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + Array [ + "checkPing", + "Pinging registry", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks ping > output 1`] = ` +Check  Value  Recommendation/Notes +npm ping ok   +` + +exports[`test/lib/commands/doctor.js TAP discrete checks registry > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + Array [ + "checkPing", + "Pinging registry", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks registry > output 1`] = ` +Check  Value  Recommendation/Notes +npm ping  ok   +npm config get registry ok  using default registry (https://registry.npmjs.org/) +` + +exports[`test/lib/commands/doctor.js TAP discrete checks versions > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + Array [ + "getLatestNpmVersion", + "Getting npm package information", + ], + Array [ + "getLatestNodejsVersion", + "Getting Node.js release information", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP discrete checks versions > output 1`] = ` +Check  Value  Recommendation/Notes +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v ok  current: v1.0.0, recommended: v1.0.0 +` + exports[`test/lib/commands/doctor.js TAP error reading directory > logs 1`] = ` Object { "error": Array [], @@ -404,6 +615,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -445,33 +660,35 @@ ` exports[`test/lib/commands/doctor.js TAP error reading directory > readdir error 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/cache (should be owned by current user) -Perms check on local node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules (should be owned by current user) -Perms check on global node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/lib/node_modules -Perms check on local bin folder not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules/.bin -Perms check on global bin folder not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/bin -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/bin +Perms check on cached files  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/cache (should be owned by current user) +Perms check on local node_modules  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules (should be owned by current user) +Perms check on global node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/lib/node_modules +Perms check on local bin folder  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules/.bin +Perms check on global bin folder  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/bin +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP incorrect owner > incorrect owner 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-owner/cache (should be owned by current user) -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-owner/global/bin +Perms check on cached files  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-owner/cache (should be owned by current user) +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP incorrect owner > logs 1`] = ` @@ -498,6 +715,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -523,18 +744,19 @@ ` exports[`test/lib/commands/doctor.js TAP incorrect permissions > incorrect owner 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/cache (should be owned by current user) -Perms check on local node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules (should be owned by current user) -Perms check on global node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/lib/node_modules -Perms check on local bin folder not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules/.bin -Perms check on global bin folder not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/bin -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/bin +Perms check on cached files  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/cache (should be owned by current user) +Perms check on local node_modules  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules (should be owned by current user) +Perms check on global node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/lib/node_modules +Perms check on local bin folder  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules/.bin +Perms check on global bin folder  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/bin +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP incorrect permissions > logs 1`] = ` @@ -582,6 +804,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -625,6 +851,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -649,18 +879,19 @@ ` exports[`test/lib/commands/doctor.js TAP missing git > missing git 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git not ok Install git and ensure it's in your PATH. -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  not ok Error: Install git and ensure it's in your PATH. +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-missing-git/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP missing global directories > logs 1`] = ` @@ -687,6 +918,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -716,18 +951,19 @@ ` exports[`test/lib/commands/doctor.js TAP missing global directories > missing global directories 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/lib/node_modules -Perms check on local bin folder ok -Perms check on global bin folder not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/bin -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/lib/node_modules +Perms check on local bin folder  ok   +Perms check on global bin folder  not ok Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/bin +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP missing local node_modules > logs 1`] = ` @@ -754,6 +990,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -774,18 +1014,19 @@ ` exports[`test/lib/commands/doctor.js TAP missing local node_modules > missing local node_modules 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-missing-local-node_modules/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP node out of date - current > logs 1`] = ` @@ -812,6 +1053,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -832,18 +1077,19 @@ ` exports[`test/lib/commands/doctor.js TAP node out of date - current > node is out of date 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v not ok Use node v2.0.1 (current: v2.0.0) -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  not ok Use node v2.0.1 (current: v2.0.0) +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-node-out-of-date---current/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP node out of date - lts > logs 1`] = ` @@ -870,6 +1116,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -890,18 +1140,19 @@ ` exports[`test/lib/commands/doctor.js TAP node out of date - lts > node is out of date 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v not ok Use node v1.0.0 (current: v0.0.1) -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  not ok Use node v1.0.0 (current: v0.0.1) +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-node-out-of-date---lts/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP non-default registry > logs 1`] = ` @@ -928,6 +1179,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -948,18 +1203,19 @@ ` exports[`test/lib/commands/doctor.js TAP non-default registry > non default registry 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry not ok Try \`npm config set registry=https://registry.npmjs.org/\` -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  not ok Try \`npm config set registry=https://registry.npmjs.org/\` +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-non-default-registry/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP npm out of date > logs 1`] = ` @@ -986,6 +1242,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -1006,18 +1266,19 @@ ` exports[`test/lib/commands/doctor.js TAP npm out of date > npm is out of date 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v not ok Use npm v2.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  not ok Use npm v2.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-npm-out-of-date/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP ping 404 > logs 1`] = ` @@ -1044,6 +1305,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -1064,18 +1329,19 @@ ` exports[`test/lib/commands/doctor.js TAP ping 404 > ping 404 1`] = ` -Check Value Recommendation/Notes -npm ping not ok 404 404 Not Found - GET https://registry.npmjs.org/-/ping?write=true -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  not ok 404 404 Not Found - GET https://registry.npmjs.org/-/ping?write=true +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-ping-404/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP ping 404 in color > logs 1`] = ` @@ -1102,6 +1368,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -1122,18 +1392,19 @@ ` exports[`test/lib/commands/doctor.js TAP ping 404 in color > ping 404 in color 1`] = ` -Check Value Recommendation/Notes -npm ping not ok 404 404 Not Found - GET https://registry.npmjs.org/-/ping?write=true -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  not ok 404 404 Not Found - GET https://registry.npmjs.org/-/ping?write=true +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-ping-404-in-color/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP ping exception with code > logs 1`] = ` @@ -1160,6 +1431,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -1180,18 +1455,19 @@ ` exports[`test/lib/commands/doctor.js TAP ping exception with code > ping failure 1`] = ` -Check Value Recommendation/Notes -npm ping not ok request to https://registry.npmjs.org/-/ping?write=true failed, reason: Test Error -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  not ok request to https://registry.npmjs.org/-/ping?write=true failed, reason: Test Error +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-ping-exception-with-code/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` exports[`test/lib/commands/doctor.js TAP ping exception without code > logs 1`] = ` @@ -1218,6 +1494,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -1238,21 +1518,42 @@ ` exports[`test/lib/commands/doctor.js TAP ping exception without code > ping failure 1`] = ` -Check Value Recommendation/Notes -npm ping not ok request to https://registry.npmjs.org/-/ping?write=true failed, reason: Test Error -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Perms check on cached files ok -Perms check on local node_modules ok -Perms check on global node_modules ok -Perms check on local bin folder ok -Perms check on global bin folder ok -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  not ok request to https://registry.npmjs.org/-/ping?write=true failed, reason: Test Error +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH  ok  {CWD}/test/lib/commands/tap-testdir-doctor-ping-exception-without-code/global/bin +Perms check on cached files  ok   +Perms check on local node_modules  ok   +Perms check on global node_modules ok   +Perms check on local bin folder  ok   +Perms check on global bin folder  ok   +Verify cache contents  ok  verified 0 tarballs ` -exports[`test/lib/commands/doctor.js TAP silent > logs 1`] = ` +exports[`test/lib/commands/doctor.js TAP silent errors > logs 1`] = ` +Object { + "error": Array [], + "info": Array [ + Array [ + "Running checkup", + ], + Array [ + "checkPing", + "Pinging registry", + ], + ], + "warn": Array [], +} +` + +exports[`test/lib/commands/doctor.js TAP silent errors > output 1`] = ` + +` + +exports[`test/lib/commands/doctor.js TAP silent success > logs 1`] = ` Object { "error": Array [], "info": Array [ @@ -1276,6 +1577,10 @@ "Finding git in your PATH", ], Array [ + "getBinPath", + "Finding npm global bin in your PATH", + ], + Array [ "verifyCachedFiles", "Verifying the npm cache", ], @@ -1295,7 +1600,7 @@ } ` -exports[`test/lib/commands/doctor.js TAP silent > output 1`] = ` +exports[`test/lib/commands/doctor.js TAP silent success > output 1`] = ` ` @@ -1323,19 +1628,8 @@ "Finding git in your PATH", ], Array [ - "verifyCachedFiles", - "Verifying the npm cache", - ], - Array [ - "verifyCachedFiles", - String( - Verification complete. Stats: { - "badContentCount": 0, - "reclaimedCount": 0, - "missingContent": 0, - "verifiedContent": 0 - } - ), + "getBinPath", + "Finding npm global bin in your PATH", ], ], "warn": Array [], @@ -1343,11 +1637,11 @@ ` exports[`test/lib/commands/doctor.js TAP windows skips permissions checks > no permissions checks 1`] = ` -Check Value Recommendation/Notes -npm ping ok -npm -v ok current: v1.0.0, latest: v1.0.0 -node -v ok current: v1.0.0, recommended: v1.0.0 -npm config get registry ok using default registry (https://registry.npmjs.org/) -which git ok /path/to/git -Verify cache contents ok verified 0 tarballs +Check  Value  Recommendation/Notes +npm ping  ok   +npm -v  ok  current: v1.0.0, latest: v1.0.0 +node -v  ok  current: v1.0.0, recommended: v1.0.0 +npm config get registry  ok  using default registry (https://registry.npmjs.org/) +git executable in PATH  ok  /path/to/git +global bin folder in PATH ok  {CWD}/test/lib/commands/tap-testdir-doctor-windows-skips-permissions-checks/global ` diff -Nru npm-9.1.3~ds1/tap-snapshots/test/lib/docs.js.test.cjs npm-9.2.0~ds1/tap-snapshots/test/lib/docs.js.test.cjs --- npm-9.1.3~ds1/tap-snapshots/test/lib/docs.js.test.cjs 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/tap-snapshots/test/lib/docs.js.test.cjs 2022-12-07 23:13:18.000000000 +0000 @@ -2861,7 +2861,7 @@ Check your npm environment Usage: -npm doctor +npm doctor [ping] [registry] [versions] [environment] [permissions] [cache] Options: [--registry ] @@ -2869,7 +2869,7 @@ Run "npm help doctor" for more info \`\`\`bash -npm doctor +npm doctor [ping] [registry] [versions] [environment] [permissions] [cache] \`\`\` #### \`registry\` diff -Nru npm-9.1.3~ds1/test/lib/commands/doctor.js npm-9.2.0~ds1/test/lib/commands/doctor.js --- npm-9.1.3~ds1/test/lib/commands/doctor.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/test/lib/commands/doctor.js 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,6 @@ const t = require('tap') const fs = require('fs') +const path = require('path') const { load: loadMockNpm } = require('../../fixtures/mock-npm') const tnock = require('../../fixtures/tnock.js') @@ -52,11 +53,14 @@ }, } -const globals = { - process: { - platform: 'test-not-windows', - version: 'v1.0.0', - }, +const globals = ({ globalPrefix }) => { + return { + process: { + 'env.PATH': `${globalPrefix}:${path.join(globalPrefix, 'bin')}`, + platform: 'test-not-windows', + version: 'v1.0.0', + }, + } } // getuid and getgid do not exist in windows, so we shim them @@ -114,7 +118,7 @@ t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') }) -t.test('silent', async t => { +t.test('silent success', async t => { const { joinedOutput, logs, npm } = await loadMockNpm(t, { mocks, globals, @@ -133,6 +137,24 @@ t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') }) +t.test('silent errors', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + config: { + loglevel: 'silent', + }, + ...dirs, + }) + tnock(t, npm.config.get('registry')) + .get('/-/ping?write=true').reply(404, '{}') + await t.rejects(npm.exec('doctor', ['ping']), { + message: /Check logs/, + }) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') +}) + t.test('ping 404', async t => { const { joinedOutput, logs, npm } = await loadMockNpm(t, { mocks, @@ -144,7 +166,9 @@ .get('/npm').reply(200, npmManifest(npm.version)) tnock(t, 'https://nodejs.org') .get('/dist/index.json').reply(200, nodeVersions) - await t.rejects(npm.exec('doctor', [])) + await t.rejects(npm.exec('doctor', []), { + message: /See above/, + }) t.matchSnapshot(joinedOutput(), 'ping 404') t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') }) @@ -217,12 +241,16 @@ t.test('node out of date - lts', async t => { const { joinedOutput, logs, npm } = await loadMockNpm(t, { mocks, - globals: { - ...globals, - process: { - platform: 'test-not-windows', - version: 'v0.0.1', - }, + globals: (context) => { + const g = globals(context) + return { + ...g, + process: { + ...g.process, + platform: 'test-not-windows', + version: 'v0.0.1', + }, + } }, ...dirs, }) @@ -239,12 +267,15 @@ t.test('node out of date - current', async t => { const { joinedOutput, logs, npm } = await loadMockNpm(t, { mocks, - globals: { - ...globals, - process: { - ...globals.process, - version: 'v2.0.0', - }, + globals: (context) => { + const g = globals(context) + return { + ...g, + process: { + ...g.process, + version: 'v2.0.0', + }, + } }, ...dirs, }) @@ -299,12 +330,15 @@ t.test('windows skips permissions checks', async t => { const { joinedOutput, logs, npm } = await loadMockNpm(t, { mocks, - globals: { - ...globals, - process: { - ...globals.process, - platform: 'win32', - }, + globals: (context) => { + const g = globals(context) + return { + ...g, + process: { + ...g.process, + platform: 'win32', + }, + } }, prefixDir: {}, globalPrefixDir: {}, @@ -510,3 +544,123 @@ t.matchSnapshot(joinedOutput(), 'output') t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') }) + +t.test('discrete checks', t => { + t.test('ping', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + ...dirs, + }) + tnock(t, npm.config.get('registry')) + .get('/-/ping?write=true').reply(200, '{}') + await npm.exec('doctor', ['ping']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('versions', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + ...dirs, + }) + tnock(t, npm.config.get('registry')) + .get('/npm').reply(200, npmManifest(npm.version)) + tnock(t, 'https://nodejs.org') + .get('/dist/index.json').reply(200, nodeVersions) + await npm.exec('doctor', ['versions']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('registry', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + ...dirs, + }) + tnock(t, npm.config.get('registry')) + .get('/-/ping?write=true').reply(200, '{}') + await npm.exec('doctor', ['registry']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('git', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + ...dirs, + }) + await npm.exec('doctor', ['git']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('permissions - not windows', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + ...dirs, + }) + await npm.exec('doctor', ['permissions']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('cache', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals, + ...dirs, + }) + await npm.exec('doctor', ['cache']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('permissions - windows', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals: (context) => { + const g = globals(context) + return { + ...g, + process: { + ...g.process, + platform: 'win32', + }, + } + }, + prefixDir: {}, + globalPrefixDir: {}, + }) + await npm.exec('doctor', ['permissions']) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.test('invalid environment', async t => { + const { joinedOutput, logs, npm } = await loadMockNpm(t, { + mocks, + globals: (context) => { + const g = globals(context) + return { + ...g, + process: { + ...g.process, + 'env.PATH': '/nope', + }, + } + }, + prefixDir: {}, + globalPrefixDir: {}, + }) + await t.rejects(npm.exec('doctor', ['environment'])) + t.matchSnapshot(joinedOutput(), 'output') + t.matchSnapshot({ info: logs.info, warn: logs.warn, error: logs.error }, 'logs') + }) + + t.end() +}) diff -Nru npm-9.1.3~ds1/workspaces/arborist/CHANGELOG.md npm-9.2.0~ds1/workspaces/arborist/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/arborist/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/arborist/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,21 @@ # Changelog +## [6.1.5](https://github.com/npm/cli/compare/arborist-v6.1.4...arborist-v6.1.5) (2022-12-07) + +### Bug Fixes + +* [`83fb125`](https://github.com/npm/cli/commit/83fb125446a9fb217eedf53ca98c203d7d48527b) [#5923](https://github.com/npm/cli/pull/5923) audit package mismatch in special case (@fritzy) + +### Dependencies + +* [`372d158`](https://github.com/npm/cli/commit/372d158d2637120600a95abee64355ed1cb6f990) [#5935](https://github.com/npm/cli/pull/5935) `minimatch@5.1.1` (#5935) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`cf0a174`](https://github.com/npm/cli/commit/cf0a17407abc577c27420a1c8a4a0c08c7cefce9) `ssri@10.0.1` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`e940917`](https://github.com/npm/cli/commit/e940917befcdaf44ee7e24d31b540f4de8507734) `cacache@17.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` + ## [6.1.4](https://github.com/npm/cli/compare/arborist-v6.1.3...arborist-v6.1.4) (2022-11-30) ### Bug Fixes diff -Nru npm-9.1.3~ds1/workspaces/arborist/lib/arborist/build-ideal-tree.js npm-9.2.0~ds1/workspaces/arborist/lib/arborist/build-ideal-tree.js --- npm-9.1.3~ds1/workspaces/arborist/lib/arborist/build-ideal-tree.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/arborist/lib/arborist/build-ideal-tree.js 2022-12-07 23:13:18.000000000 +0000 @@ -619,14 +619,16 @@ continue } - const { isSemVerMajor, version } = fixAvailable + // name may be different if parent fixes the dep + // see Vuln fixAvailable setter + const { isSemVerMajor, version, name: fixName } = fixAvailable const breakingMessage = isSemVerMajor ? 'a SemVer major change' : 'outside your stated dependency range' - log.warn('audit', `Updating ${name} to ${version}, ` + + log.warn('audit', `Updating ${fixName} to ${version}, ` + `which is ${breakingMessage}.`) - await this[_add](node, { add: [`${name}@${version}`] }) + await this[_add](node, { add: [`${fixName}@${version}`] }) nodesTouched.add(node) } } diff -Nru npm-9.1.3~ds1/workspaces/arborist/lib/vuln.js npm-9.2.0~ds1/workspaces/arborist/lib/vuln.js --- npm-9.1.3~ds1/workspaces/arborist/lib/vuln.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/arborist/lib/vuln.js 2022-12-07 23:13:18.000000000 +0000 @@ -65,6 +65,9 @@ // - {name, version, isSemVerMajor} fix requires -f, is semver major // - {name, version} fix requires -f, not semver major // - true: fix does not require -f + // TODO: duped entries may require different fixes but the current + // structure does not support this, so the case were a top level fix + // corrects a duped entry may mean you have to run fix more than once for (const v of this.via) { // don't blow up on loops if (v.fixAvailable === f) { diff -Nru npm-9.1.3~ds1/workspaces/arborist/package.json npm-9.2.0~ds1/workspaces/arborist/package.json --- npm-9.1.3~ds1/workspaces/arborist/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/arborist/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "@npmcli/arborist", - "version": "6.1.4", + "version": "6.1.5", "description": "Manage node_modules trees", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", @@ -14,37 +14,37 @@ "@npmcli/query": "^3.0.0", "@npmcli/run-script": "^6.0.0", "bin-links": "^4.0.1", - "cacache": "^17.0.2", + "cacache": "^17.0.3", "common-ancestor-path": "^1.0.1", "hosted-git-info": "^6.1.1", "json-parse-even-better-errors": "^3.0.0", "json-stringify-nice": "^1.1.4", - "minimatch": "^5.1.0", + "minimatch": "^5.1.1", "nopt": "^7.0.0", "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.0.0", + "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", - "npm-registry-fetch": "^14.0.2", + "npm-registry-fetch": "^14.0.3", "npmlog": "^7.0.1", - "pacote": "^15.0.2", + "pacote": "^15.0.7", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^1.0.1", "read-package-json-fast": "^3.0.1", "semver": "^7.3.7", - "ssri": "^10.0.0", + "ssri": "^10.0.1", "treeverse": "^3.0.0", "walk-up-path": "^1.0.0" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "benchmark": "^2.1.4", "chalk": "^4.1.0", - "minify-registry-metadata": "^2.1.0", + "minify-registry-metadata": "^3.0.0", "nock": "^13.2.0", - "tap": "^16.0.1", + "tap": "^16.3.2", "tcompare": "^5.0.6" }, "scripts": { @@ -101,7 +101,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" } } diff -Nru npm-9.1.3~ds1/workspaces/config/package.json npm-9.2.0~ds1/workspaces/config/package.json --- npm-9.1.3~ds1/workspaces/config/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/config/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -33,8 +33,8 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "dependencies": { "@npmcli/map-workspaces": "^3.0.0", @@ -50,6 +50,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0" + "version": "4.11.0" } } diff -Nru npm-9.1.3~ds1/workspaces/libnpmaccess/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmaccess/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmaccess/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmaccess/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,13 @@ # Changelog +## [7.0.1](https://github.com/npm/cli/compare/libnpmaccess-v7.0.0...libnpmaccess-v7.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` + ## [7.0.0](https://github.com/npm/cli/compare/libnpmaccess-v7.0.0-pre.2...libnpmaccess-v7.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/workspaces/libnpmaccess/package.json npm-9.2.0~ds1/workspaces/libnpmaccess/package.json --- npm-9.1.3~ds1/workspaces/libnpmaccess/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmaccess/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmaccess", - "version": "7.0.0", + "version": "7.0.1", "description": "programmatic library for `npm access` commands", "author": "GitHub Inc.", "license": "ISC", @@ -16,9 +16,10 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/mock-registry": "^1.0.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -28,8 +29,8 @@ "bugs": "https://github.com/npm/libnpmaccess/issues", "homepage": "https://npmjs.com/package/libnpmaccess", "dependencies": { - "npm-package-arg": "^10.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -40,7 +41,7 @@ ], "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmaccess/test/fixtures/tnock.js npm-9.2.0~ds1/workspaces/libnpmaccess/test/fixtures/tnock.js --- npm-9.1.3~ds1/workspaces/libnpmaccess/test/fixtures/tnock.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmaccess/test/fixtures/tnock.js 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -'use strict' - -const nock = require('nock') - -module.exports = tnock -function tnock (t, host) { - const server = nock(host) - t.teardown(function () { - server.done() - }) - return server -} diff -Nru npm-9.1.3~ds1/workspaces/libnpmaccess/test/index.js npm-9.2.0~ds1/workspaces/libnpmaccess/test/index.js --- npm-9.1.3~ds1/workspaces/libnpmaccess/test/index.js 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmaccess/test/index.js 2022-12-07 23:13:18.000000000 +0000 @@ -1,28 +1,42 @@ 'use strict' const t = require('tap') -const tnock = require('./fixtures/tnock.js') +const MockRegistry = require('@npmcli/mock-registry') const access = require('../lib/index.js') -const REG = 'http://localhost:1337' -const OPTS = { - registry: REG, +const opts = { + registry: 'http://localhost:1337', +} + +const pkg = '@npmcli/libnpmaccess-test' +const team = 'npm:test-team' +const orgUser = 'test-user' +const mockRegistry = (t) => { + return new MockRegistry({ + tap: t, + strict: true, + registry: 'http://localhost:1337', + }) } t.test('getCollaborators', t => { t.test('success', async t => { + const registry = mockRegistry(t) const collaborators = { 'npm:myteam': 'write', 'npm:anotherteam': 'read', 'npm:thirdteam': 'special-case', } - tnock(t, REG).get('/-/package/@npmcli%2ftest-package/collaborators').reply(200, collaborators) - const data = await access.getCollaborators('@npmcli/test-package', OPTS) - t.same(data, collaborators) + registry.getCollaborators({ spec: pkg, collaborators }) + await t.resolves( + access.getCollaborators(pkg, opts), + collaborators + ) }) + t.test('non registry package', async t => { - await t.rejects(access.getCollaborators('./local', OPTS), /package name only/) + await t.rejects(access.getCollaborators('./local', opts), /package name only/) }) t.end() }) @@ -34,125 +48,119 @@ '@npmcli/other': 'shrödinger', } t.test('team', async t => { - tnock(t, REG).get('/-/team/npm/myteam/package').reply(200, packages) - const data = await access.getPackages('npm:myteam', OPTS) - t.same(data, packages) + const registry = mockRegistry(t) + registry.getPackages({ team, packages }) + await t.resolves(access.getPackages(team, opts), packages) }) t.test('org', async t => { - tnock(t, REG).get('/-/org/npm/package').reply(200, packages) - const data = await access.getPackages('npm', OPTS) - t.same(data, packages) + const registry = mockRegistry(t) + registry.getPackages({ team: 'npm', packages }) + await t.resolves(access.getPackages('npm', opts), packages) }) t.test('user', async t => { - tnock(t, REG).get('/-/org/testuser/package').reply(404, {}) - tnock(t, REG).get('/-/user/testuser/package').reply(200, packages) - const data = await access.getPackages('testuser', OPTS) - t.same(data, packages) + const registry = mockRegistry(t) + registry.getPackages({ team: orgUser, responseCode: 404 }) + registry.getPackages({ user: orgUser, packages }) + await t.resolves(access.getPackages(orgUser, opts), packages) }) t.test('registry error', async t => { - tnock(t, REG).get('/-/org/npm/package').reply(500, {}) - await t.rejects(access.getPackages('npm', OPTS), { code: 'E500' }) + const registry = mockRegistry(t) + registry.getPackages({ team: orgUser, responseCode: 500 }) + await t.rejects(access.getPackages(orgUser, opts), { code: 'E500' }) }) t.end() }) t.test('getVisibility', t => { t.test('success', async t => { + const registry = mockRegistry(t) const visibility = { public: true } - tnock(t, REG).get('/-/package/@npmcli%2ftest-package/visibility').reply(200, visibility) - const data = await access.getVisibility('@npmcli/test-package', OPTS) - t.same(data, visibility) + registry.getVisibility({ spec: pkg, visibility }) + await t.resolves(access.getVisibility(pkg, opts), visibility) }) t.test('non registry package', async t => { - await t.rejects(access.getVisibility('./local', OPTS), /package name only/) + await t.rejects(access.getVisibility('./local', opts), /package name only/) }) t.end() }) t.test('removePermissions', t => { t.test('success', async t => { - tnock(t, REG).delete('/-/team/npm/myteam/package', { - package: '@npmcli/test-package', - }).reply(200) - await t.resolves(access.removePermissions('npm:myteam', '@npmcli/test-package', OPTS)) + const registry = mockRegistry(t) + registry.removePermissions({ spec: pkg, team }) + await t.resolves(access.removePermissions(team, pkg, opts)) }) t.test('non registry spec', async t => { - await t.rejects(access.removePermissions('npm:myteam', './local', OPTS), /package name only/) + await t.rejects(access.removePermissions(team, './local', opts), /package name only/) }) t.end() }) t.test('setAccess', t => { t.test('public', async t => { - tnock(t, REG).post( - '/-/package/@npmcli%2ftest-package/access', { access: 'public' } - ).reply(200) - await t.resolves(access.setAccess('@npmcli/test-package', 'public', OPTS)) + const body = { access: 'public' } + const registry = mockRegistry(t) + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setAccess(pkg, 'public', opts)) }) t.test('restricted', async t => { - tnock(t, REG).post( - '/-/package/@npmcli%2ftest-package/access', { access: 'restricted' } - ).reply(200) - await t.resolves(access.setAccess('@npmcli/test-package', 'restricted', OPTS)) + const body = { access: 'restricted' } + const registry = mockRegistry(t) + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setAccess(pkg, 'restricted', opts)) }) t.test('non registry package', async t => { - await t.rejects(access.setAccess('./local', 'public', OPTS), /package name only/) + await t.rejects(access.setAccess('./local', 'public', opts), /package name only/) }) t.end() }) t.test('setMfa', t => { t.test('none', async t => { - tnock(t, REG).post('/-/package/@npmcli%2ftest-package/access', { - publish_requires_tfa: false, - }).reply(200) - await t.resolves(access.setMfa('@npmcli/test-package', 'none', OPTS)) + const registry = mockRegistry(t) + const body = { publish_requires_tfa: false } + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setMfa(pkg, 'none', opts)) }) t.test('publish', async t => { - tnock(t, REG).post('/-/package/@npmcli%2ftest-package/access', { + const registry = mockRegistry(t) + const body = { publish_requires_tfa: true, automation_token_overrides_tfa: false, - }).reply(200) - await t.resolves(access.setMfa('@npmcli/test-package', 'publish', OPTS)) + } + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setMfa(pkg, 'publish', opts)) }) t.test('automation', async t => { - tnock(t, REG).post('/-/package/@npmcli%2ftest-package/access', { + const registry = mockRegistry(t) + const body = { publish_requires_tfa: true, automation_token_overrides_tfa: true, - }).reply(200) - await t.resolves(access.setMfa('@npmcli/test-package', 'automation', OPTS)) + } + registry.setAccess({ spec: pkg, body }) + await t.resolves(access.setMfa(pkg, 'automation', opts)) }) t.test('invalid', async t => { - await t.rejects(access.setMfa('@npmcli/test-package', 'invalid', OPTS), /Invalid mfa setting/) + await t.rejects(access.setMfa(pkg, 'invalid', opts), /Invalid mfa setting/) }) t.test('non registry spec', async t => { - await t.rejects(access.setMfa('./local', 'none', OPTS, /package name only/)) + await t.rejects(access.setMfa('./local', 'none', opts, /package name only/)) }) t.end() }) t.test('setPermissions', t => { t.test('scope:team read-only', async t => { - tnock(t, REG).put('/-/team/npmcli/myteam/package', { - package: '@npmcli/test-package', - permissions: 'read-only', - }).reply(201) - await t.resolves( - access.setPermissions('npmcli:myteam', '@npmcli/test-package', 'read-only', OPTS) - ) + const registry = mockRegistry(t) + registry.setPermissions({ spec: pkg, team, permissions: 'read-only' }) + await t.resolves(access.setPermissions(team, pkg, 'read-only', opts)) }) t.test('scope only', async t => { - await t.rejects( - access.setPermissions('npmcli', '@npmcli/test-package', 'read-only', OPTS), - /scope:team/ - ) + await t.rejects(access.setPermissions('npmcli', pkg, 'read-only', opts), /scope:team/) }) t.test('no scope or team', async t => { - await t.rejects( - access.setPermissions('@:myteam', '@npmcli/test-package', 'read-only', OPTS), - /scope:team/ - ) + await t.rejects(access.setPermissions('@:myteam', pkg, 'read-only', opts), /scope:team/) }) t.end() diff -Nru npm-9.1.3~ds1/workspaces/libnpmdiff/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmdiff/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmdiff/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmdiff/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,16 @@ # Changelog +## [5.0.6](https://github.com/npm/cli/compare/libnpmdiff-v5.0.5...libnpmdiff-v5.0.6) (2022-12-07) + +### Dependencies + +* [`372d158`](https://github.com/npm/cli/commit/372d158d2637120600a95abee64355ed1cb6f990) [#5935](https://github.com/npm/cli/pull/5935) `minimatch@5.1.1` (#5935) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`6b77340`](https://github.com/npm/cli/commit/6b7734009ecd939fbb3d382cb92eb0cdbec7dcd3) `tar@6.1.13` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [5.0.5](https://github.com/npm/cli/compare/libnpmdiff-v5.0.4...libnpmdiff-v5.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/workspaces/libnpmdiff/package.json npm-9.2.0~ds1/workspaces/libnpmdiff/package.json --- npm-9.1.3~ds1/workspaces/libnpmdiff/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmdiff/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmdiff", - "version": "5.0.5", + "version": "5.0.6", "description": "The registry diff", "repository": { "type": "git", @@ -43,23 +43,23 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/disparity-colors": "^3.0.0", "@npmcli/installed-package-contents": "^2.0.0", "binary-extensions": "^2.2.0", "diff": "^5.1.0", - "minimatch": "^5.0.1", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.2", - "tar": "^6.1.0" + "minimatch": "^5.1.1", + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7", + "tar": "^6.1.13" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmexec/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmexec/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmexec/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmexec/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,15 @@ # Changelog +## [5.0.6](https://github.com/npm/cli/compare/libnpmexec-v5.0.5...libnpmexec-v5.0.6) (2022-12-07) + +### Dependencies + +* [`0e6c28b`](https://github.com/npm/cli/commit/0e6c28ba093f8c5d35df98afca28e842b247004b) [#5934](https://github.com/npm/cli/pull/5934) `ci-info@3.7.0` (#5934) +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [5.0.5](https://github.com/npm/cli/compare/libnpmexec-v5.0.4...libnpmexec-v5.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/workspaces/libnpmexec/package.json npm-9.2.0~ds1/workspaces/libnpmexec/package.json --- npm-9.1.3~ds1/workspaces/libnpmexec/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmexec/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmexec", - "version": "5.0.5", + "version": "5.0.6", "files": [ "bin/", "lib/" @@ -52,22 +52,22 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "bin-links": "^4.0.1", "just-extend": "^6.1.1", "just-safe-set": "^4.1.1", - "minify-registry-metadata": "^2.2.0", + "minify-registry-metadata": "^3.0.0", "mkdirp": "^1.0.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/run-script": "^6.0.0", "chalk": "^4.1.0", - "ci-info": "^3.6.1", - "npm-package-arg": "^10.0.0", + "ci-info": "^3.7.0", + "npm-package-arg": "^10.1.0", "npmlog": "^7.0.1", - "pacote": "^15.0.2", + "pacote": "^15.0.7", "proc-log": "^3.0.0", "read": "^1.0.7", "read-package-json-fast": "^3.0.1", @@ -76,7 +76,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" } } diff -Nru npm-9.1.3~ds1/workspaces/libnpmfund/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmfund/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmfund/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmfund/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,11 @@ # Changelog +## [4.0.6](https://github.com/npm/cli/compare/libnpmfund-v4.0.5...libnpmfund-v4.0.6) (2022-12-07) + +### Dependencies + +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [4.0.5](https://github.com/npm/cli/compare/libnpmfund-v4.0.4...libnpmfund-v4.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/workspaces/libnpmfund/package.json npm-9.2.0~ds1/workspaces/libnpmfund/package.json --- npm-9.1.3~ds1/workspaces/libnpmfund/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmfund/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmfund", - "version": "4.0.5", + "version": "4.0.6", "main": "lib/index.js", "files": [ "bin/", @@ -42,18 +42,18 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "tap": "^16.0.1" + "@npmcli/template-oss": "4.11.0", + "tap": "^16.3.2" }, "dependencies": { - "@npmcli/arborist": "^6.1.4" + "@npmcli/arborist": "^6.1.5" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmhook/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmhook/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmhook/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmhook/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [9.0.1](https://github.com/npm/cli/compare/libnpmhook-v9.0.0...libnpmhook-v9.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [9.0.0](https://github.com/npm/cli/compare/libnpmhook-v9.0.0-pre.1...libnpmhook-v9.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/workspaces/libnpmhook/package.json npm-9.2.0~ds1/workspaces/libnpmhook/package.json --- npm-9.1.3~ds1/workspaces/libnpmhook/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmhook/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmhook", - "version": "9.0.0", + "version": "9.0.1", "description": "programmatic API for managing npm registry hooks", "main": "lib/index.js", "files": [ @@ -33,20 +33,20 @@ "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmorg/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmorg/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmorg/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmorg/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [5.0.1](https://github.com/npm/cli/compare/libnpmorg-v5.0.0...libnpmorg-v5.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [5.0.0](https://github.com/npm/cli/compare/libnpmorg-v5.0.0-pre.1...libnpmorg-v5.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/workspaces/libnpmorg/package.json npm-9.2.0~ds1/workspaces/libnpmorg/package.json --- npm-9.1.3~ds1/workspaces/libnpmorg/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmorg/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmorg", - "version": "5.0.0", + "version": "5.0.1", "description": "Programmatic api for `npm org` commands", "author": "GitHub Inc.", "main": "lib/index.js", @@ -28,10 +28,10 @@ ], "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "minipass": "^3.1.1", + "@npmcli/template-oss": "4.11.0", + "minipass": "^4.0.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -42,14 +42,14 @@ "homepage": "https://npmjs.com/package/libnpmorg", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmpack/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmpack/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmpack/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmpack/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,14 @@ # Changelog +## [5.0.6](https://github.com/npm/cli/compare/libnpmpack-v5.0.5...libnpmpack-v5.0.6) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`3da9a1a`](https://github.com/npm/cli/commit/3da9a1a4ebcf1779035b5f9ae985c087f617efe3) `pacote@15.0.7` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.1.5): `@npmcli/arborist@6.1.5` + ## [5.0.5](https://github.com/npm/cli/compare/libnpmpack-v5.0.4...libnpmpack-v5.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/workspaces/libnpmpack/package.json npm-9.2.0~ds1/workspaces/libnpmpack/package.json --- npm-9.1.3~ds1/workspaces/libnpmpack/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmpack/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmpack", - "version": "5.0.5", + "version": "5.0.6", "description": "Programmatic API for the bits behind npm pack", "author": "GitHub Inc.", "main": "lib/index.js", @@ -23,10 +23,10 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.0.7", "spawk": "^1.7.1", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -36,17 +36,17 @@ "bugs": "https://github.com/npm/libnpmpack/issues", "homepage": "https://npmjs.com/package/libnpmpack", "dependencies": { - "@npmcli/arborist": "^6.1.4", + "@npmcli/arborist": "^6.1.5", "@npmcli/run-script": "^6.0.0", - "npm-package-arg": "^10.0.0", - "pacote": "^15.0.2" + "npm-package-arg": "^10.1.0", + "pacote": "^15.0.7" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmpublish/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmpublish/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmpublish/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmpublish/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,15 @@ # Changelog +## [7.0.6](https://github.com/npm/cli/compare/libnpmpublish-v7.0.5...libnpmpublish-v7.0.6) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`cf0a174`](https://github.com/npm/cli/commit/cf0a17407abc577c27420a1c8a4a0c08c7cefce9) `ssri@10.0.1` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` +* [`875bd56`](https://github.com/npm/cli/commit/875bd56c33ca5eef80c2a50a11808445f2a39a2a) `npm-package-arg@10.1.0` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.6): `libnpmpack@5.0.6` + ## [7.0.5](https://github.com/npm/cli/compare/libnpmpublish-v7.0.4...libnpmpublish-v7.0.5) (2022-11-30) ### Dependencies diff -Nru npm-9.1.3~ds1/workspaces/libnpmpublish/package.json npm-9.2.0~ds1/workspaces/libnpmpublish/package.json --- npm-9.1.3~ds1/workspaces/libnpmpublish/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmpublish/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmpublish", - "version": "7.0.5", + "version": "7.0.6", "description": "Programmatic API for the bits behind npm publish and unpublish", "author": "GitHub Inc.", "main": "lib/index.js", @@ -25,11 +25,11 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", - "libnpmpack": "^5.0.5", + "@npmcli/template-oss": "4.11.0", + "libnpmpack": "^5.0.6", "lodash.clonedeep": "^4.5.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -40,17 +40,17 @@ "homepage": "https://npmjs.com/package/libnpmpublish", "dependencies": { "normalize-package-data": "^5.0.0", - "npm-package-arg": "^10.0.0", - "npm-registry-fetch": "^14.0.2", + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3", "semver": "^7.3.7", - "ssri": "^10.0.0" + "ssri": "^10.0.1" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmsearch/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmsearch/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmsearch/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmsearch/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [6.0.1](https://github.com/npm/cli/compare/libnpmsearch-v6.0.0...libnpmsearch-v6.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [6.0.0](https://github.com/npm/cli/compare/libnpmsearch-v6.0.0-pre.1...libnpmsearch-v6.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/workspaces/libnpmsearch/package.json npm-9.2.0~ds1/workspaces/libnpmsearch/package.json --- npm-9.1.3~ds1/workspaces/libnpmsearch/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmsearch/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "libnpmsearch", - "version": "6.0.0", + "version": "6.0.1", "description": "Programmatic API for searching in npm and compatible registries.", "author": "GitHub Inc.", "main": "lib/index.js", @@ -26,9 +26,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -38,14 +38,14 @@ "bugs": "https://github.com/npm/libnpmsearch/issues", "homepage": "https://npmjs.com/package/libnpmsearch", "dependencies": { - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmteam/CHANGELOG.md npm-9.2.0~ds1/workspaces/libnpmteam/CHANGELOG.md --- npm-9.1.3~ds1/workspaces/libnpmteam/CHANGELOG.md 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmteam/CHANGELOG.md 2022-12-07 23:13:18.000000000 +0000 @@ -1,5 +1,12 @@ # Changelog +## [5.0.1](https://github.com/npm/cli/compare/libnpmteam-v5.0.0...libnpmteam-v5.0.1) (2022-12-07) + +### Dependencies + +* [`0a3fe00`](https://github.com/npm/cli/commit/0a3fe000e2723ae6fdb8b1d3154fd3835057c992) [#5933](https://github.com/npm/cli/pull/5933) `minipass@4.0.0` +* [`fee9b66`](https://github.com/npm/cli/commit/fee9b6686892a1c7f976c36ddd5d89b70c416817) `npm-registry-fetch@14.0.3` + ## [5.0.0](https://github.com/npm/cli/compare/libnpmteam-v5.0.0-pre.1...libnpmteam-v5.0.0) (2022-10-19) ### Features diff -Nru npm-9.1.3~ds1/workspaces/libnpmteam/package.json npm-9.2.0~ds1/workspaces/libnpmteam/package.json --- npm-9.1.3~ds1/workspaces/libnpmteam/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmteam/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -1,7 +1,7 @@ { "name": "libnpmteam", "description": "npm Team management APIs", - "version": "5.0.0", + "version": "5.0.1", "author": "GitHub Inc.", "license": "ISC", "main": "lib/index.js", @@ -16,9 +16,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "nock": "^13.2.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "repository": { "type": "git", @@ -32,14 +32,14 @@ "homepage": "https://npmjs.com/package/libnpmteam", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.2" + "npm-registry-fetch": "^14.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff -Nru npm-9.1.3~ds1/workspaces/libnpmversion/package.json npm-9.2.0~ds1/workspaces/libnpmversion/package.json --- npm-9.1.3~ds1/workspaces/libnpmversion/package.json 2022-11-30 23:40:22.000000000 +0000 +++ npm-9.2.0~ds1/workspaces/libnpmversion/package.json 2022-12-07 23:13:18.000000000 +0000 @@ -32,9 +32,9 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.10.0", + "@npmcli/template-oss": "4.11.0", "require-inject": "^1.4.4", - "tap": "^16.0.1" + "tap": "^16.3.2" }, "dependencies": { "@npmcli/git": "^4.0.1", @@ -48,7 +48,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.10.0", + "version": "4.11.0", "content": "../../scripts/template-oss/index.js" } }