Skip to content

Commit

Permalink
deps: npm-package-arg@11.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 16, 2024
1 parent 9351570 commit ac98fd3
Show file tree
Hide file tree
Showing 15 changed files with 161 additions and 34 deletions.
2 changes: 1 addition & 1 deletion mock-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@npmcli/template-oss": "4.21.3",
"json-stringify-safe": "^5.0.1",
"nock": "^13.3.3",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4",
"tap": "^16.3.8"
}
Expand Down
3 changes: 3 additions & 0 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
!/npm-install-checks
!/npm-normalize-package-bin
!/npm-package-arg
!/npm-package-arg/node_modules/
/npm-package-arg/node_modules/*
!/npm-package-arg/node_modules/proc-log
!/npm-packlist
!/npm-pick-manifest
!/npm-profile
Expand Down
2 changes: 1 addition & 1 deletion node_modules/npm-package-arg/lib/npa.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const semver = require('semver')
const path = global.FAKE_WINDOWS ? require('path').win32 : require('path')
const validatePackageName = require('validate-npm-package-name')
const { homedir } = require('os')
const log = require('proc-log')
const { log } = require('proc-log')

const isWindows = process.platform === 'win32' || global.FAKE_WINDOWS
const hasSlashes = isWindows ? /\\|[/]/ : /[/]/
Expand Down
15 changes: 15 additions & 0 deletions node_modules/npm-package-arg/node_modules/proc-log/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
The ISC License

Copyright (c) GitHub, Inc.

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.
62 changes: 62 additions & 0 deletions node_modules/npm-package-arg/node_modules/proc-log/lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
module.exports = {
output: {
LEVELS: [
'standard',
'error',
'buffer',
],
standard: function (...args) {
return process.emit('output', 'standard', ...args)
},
error: function (...args) {
return process.emit('output', 'error', ...args)
},
buffer: function (...args) {
return process.emit('output', 'buffer', ...args)
},
},
log: {
LEVELS: [
'notice',
'error',
'warn',
'info',
'verbose',
'http',
'silly',
'timing',
'pause',
'resume',
],
error: function (...args) {
return process.emit('log', 'error', ...args)
},
notice: function (...args) {
return process.emit('log', 'notice', ...args)
},
warn: function (...args) {
return process.emit('log', 'warn', ...args)
},
info: function (...args) {
return process.emit('log', 'info', ...args)
},
verbose: function (...args) {
return process.emit('log', 'verbose', ...args)
},
http: function (...args) {
return process.emit('log', 'http', ...args)
},
silly: function (...args) {
return process.emit('log', 'silly', ...args)
},
timing: function (...args) {
return process.emit('log', 'timing', ...args)
},
pause: function (...args) {
return process.emit('log', 'pause', ...args)
},
resume: function (...args) {
return process.emit('log', 'resume', ...args)
},
},
}
45 changes: 45 additions & 0 deletions node_modules/npm-package-arg/node_modules/proc-log/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "proc-log",
"version": "4.0.0",
"files": [
"bin/",
"lib/"
],
"main": "lib/index.js",
"description": "just emit 'log' events on the process object",
"repository": {
"type": "git",
"url": "https://github.com/npm/proc-log.git"
},
"author": "GitHub Inc.",
"license": "ISC",
"scripts": {
"test": "tap",
"snap": "tap",
"posttest": "npm run lint",
"postsnap": "eslint index.js test/*.js --fix",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"postlint": "template-oss-check",
"lintfix": "npm run lint -- --fix",
"template-oss-apply": "template-oss-apply --force"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.21.3",
"tap": "^16.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.21.3",
"publish": true
},
"tap": {
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
}
}
19 changes: 6 additions & 13 deletions node_modules/npm-package-arg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-package-arg",
"version": "11.0.1",
"version": "11.0.2",
"description": "Parse the things that can be arguments to `npm install`",
"main": "./lib/npa.js",
"directories": {
Expand All @@ -12,20 +12,20 @@
],
"dependencies": {
"hosted-git-info": "^7.0.0",
"proc-log": "^3.0.0",
"proc-log": "^4.0.0",
"semver": "^7.3.5",
"validate-npm-package-name": "^5.0.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.21.3",
"tap": "^16.0.1"
},
"scripts": {
"test": "tap",
"snap": "tap",
"npmclilint": "npmcli-lint",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint",
"postsnap": "npm run lintfix --",
Expand Down Expand Up @@ -54,14 +54,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.18.0",
"publish": true,
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
],
"npmSpec": "next-9"
"version": "4.21.3",
"publish": true
}
}
33 changes: 21 additions & 12 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"normalize-package-data": "^6.0.0",
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-profile": "^9.0.0",
"npm-registry-fetch": "^16.2.0",
Expand Down Expand Up @@ -238,7 +238,7 @@
"@npmcli/template-oss": "4.21.3",
"json-stringify-safe": "^5.0.1",
"nock": "^13.3.3",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4",
"tap": "^16.3.8"
},
Expand Down Expand Up @@ -10077,20 +10077,29 @@
}
},
"node_modules/npm-package-arg": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz",
"integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==",
"version": "11.0.2",
"resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.2.tgz",
"integrity": "sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw==",
"inBundle": true,
"dependencies": {
"hosted-git-info": "^7.0.0",
"proc-log": "^3.0.0",
"proc-log": "^4.0.0",
"semver": "^7.3.5",
"validate-npm-package-name": "^5.0.0"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
}
},
"node_modules/npm-package-arg/node_modules/proc-log": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
"inBundle": true,
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/npm-packlist": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.2.tgz",
Expand Down Expand Up @@ -16167,7 +16176,7 @@
"minimatch": "^9.0.4",
"nopt": "^7.0.0",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-registry-fetch": "^16.2.0",
"pacote": "^17.0.4",
Expand Down Expand Up @@ -16227,7 +16236,7 @@
"version": "8.0.3",
"license": "ISC",
"dependencies": {
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-registry-fetch": "^16.2.0"
},
"devDependencies": {
Expand All @@ -16251,7 +16260,7 @@
"binary-extensions": "^2.3.0",
"diff": "^5.1.0",
"minimatch": "^9.0.4",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4",
"tar": "^6.2.1"
},
Expand All @@ -16271,7 +16280,7 @@
"@npmcli/arborist": "^7.2.1",
"@npmcli/run-script": "^7.0.2",
"ci-info": "^4.0.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4",
"proc-log": "^3.0.0",
"read": "^3.0.1",
Expand Down Expand Up @@ -16349,7 +16358,7 @@
"dependencies": {
"@npmcli/arborist": "^7.2.1",
"@npmcli/run-script": "^7.0.2",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4"
},
"devDependencies": {
Expand All @@ -16369,7 +16378,7 @@
"dependencies": {
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-registry-fetch": "^16.2.0",
"proc-log": "^3.0.0",
"semver": "^7.3.7",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"normalize-package-data": "^6.0.0",
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-profile": "^9.0.0",
"npm-registry-fetch": "^16.2.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"minimatch": "^9.0.4",
"nopt": "^7.0.0",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-registry-fetch": "^16.2.0",
"pacote": "^17.0.4",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmaccess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"bugs": "https://github.com/npm/libnpmaccess/issues",
"homepage": "https://npmjs.com/package/libnpmaccess",
"dependencies": {
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-registry-fetch": "^16.2.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmdiff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"binary-extensions": "^2.3.0",
"diff": "^5.1.0",
"minimatch": "^9.0.4",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4",
"tar": "^6.2.1"
},
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmexec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@npmcli/arborist": "^7.2.1",
"@npmcli/run-script": "^7.0.2",
"ci-info": "^4.0.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4",
"proc-log": "^3.0.0",
"read": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@npmcli/arborist": "^7.2.1",
"@npmcli/run-script": "^7.0.2",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"pacote": "^17.0.4"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"dependencies": {
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"npm-package-arg": "^11.0.1",
"npm-package-arg": "^11.0.2",
"npm-registry-fetch": "^16.2.0",
"proc-log": "^3.0.0",
"semver": "^7.3.7",
Expand Down

0 comments on commit ac98fd3

Please sign in to comment.