Skip to content

Commit

Permalink
deps: @npmcli/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 16, 2024
1 parent 9622597 commit d3a0cfa
Show file tree
Hide file tree
Showing 9 changed files with 145 additions and 11 deletions.
3 changes: 3 additions & 0 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
!/@npmcli/disparity-colors/node_modules/ansi-styles
!/@npmcli/fs
!/@npmcli/git
!/@npmcli/git/node_modules/
/@npmcli/git/node_modules/*
!/@npmcli/git/node_modules/proc-log
!/@npmcli/installed-package-contents
!/@npmcli/map-workspaces
!/@npmcli/metavuln-calculator
Expand Down
2 changes: 1 addition & 1 deletion node_modules/@npmcli/git/lib/spawn.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const spawn = require('@npmcli/promise-spawn')
const promiseRetry = require('promise-retry')
const log = require('proc-log')
const { log } = require('proc-log')
const makeError = require('./make-error.js')
const makeOpts = require('./opts.js')

Expand Down
15 changes: 15 additions & 0 deletions node_modules/@npmcli/git/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/@npmcli/git/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/@npmcli/git/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/**"
]
}
}
4 changes: 2 additions & 2 deletions node_modules/@npmcli/git/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@npmcli/git",
"version": "5.0.5",
"version": "5.0.6",
"main": "lib/index.js",
"files": [
"bin/",
Expand Down Expand Up @@ -40,7 +40,7 @@
"@npmcli/promise-spawn": "^7.0.0",
"lru-cache": "^10.0.1",
"npm-pick-manifest": "^9.0.0",
"proc-log": "^3.0.0",
"proc-log": "^4.0.0",
"promise-inflight": "^1.0.1",
"promise-retry": "^2.0.1",
"semver": "^7.3.5",
Expand Down
21 changes: 15 additions & 6 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"devDependencies": {
"@npmcli/docs": "^1.0.0",
"@npmcli/eslint-config": "^4.0.2",
"@npmcli/git": "^5.0.5",
"@npmcli/git": "^5.0.6",
"@npmcli/mock-globals": "^1.0.0",
"@npmcli/mock-registry": "^1.0.0",
"@npmcli/template-oss": "4.21.3",
Expand Down Expand Up @@ -1701,15 +1701,15 @@
}
},
"node_modules/@npmcli/git": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.5.tgz",
"integrity": "sha512-x8hXItC8OFOwdgERzRIxg0ic1lQqW6kSZFFQtZTCNYOeGb9UqzVcod02TYljI9UBl4RtfcyQ0A7ygmcGFvEqWw==",
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.6.tgz",
"integrity": "sha512-4x/182sKXmQkf0EtXxT26GEsaOATpD7WVtza5hrYivWZeo6QefC6xq9KAXrnjtFKBZ4rZwR7aX/zClYYXgtwLw==",
"inBundle": true,
"dependencies": {
"@npmcli/promise-spawn": "^7.0.0",
"lru-cache": "^10.0.1",
"npm-pick-manifest": "^9.0.0",
"proc-log": "^3.0.0",
"proc-log": "^4.0.0",
"promise-inflight": "^1.0.1",
"promise-retry": "^2.0.1",
"semver": "^7.3.5",
Expand All @@ -1719,6 +1719,15 @@
"node": "^16.14.0 || >=18.0.0"
}
},
"node_modules/@npmcli/git/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/@npmcli/installed-package-contents": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz",
Expand Down Expand Up @@ -16407,7 +16416,7 @@
"version": "5.0.2",
"license": "ISC",
"dependencies": {
"@npmcli/git": "^5.0.3",
"@npmcli/git": "^5.0.6",
"@npmcli/run-script": "^7.0.2",
"json-parse-even-better-errors": "^3.0.0",
"proc-log": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"devDependencies": {
"@npmcli/docs": "^1.0.0",
"@npmcli/eslint-config": "^4.0.2",
"@npmcli/git": "^5.0.5",
"@npmcli/git": "^5.0.6",
"@npmcli/mock-globals": "^1.0.0",
"@npmcli/mock-registry": "^1.0.0",
"@npmcli/template-oss": "4.21.3",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmversion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"tap": "^16.3.8"
},
"dependencies": {
"@npmcli/git": "^5.0.3",
"@npmcli/git": "^5.0.6",
"@npmcli/run-script": "^7.0.2",
"json-parse-even-better-errors": "^3.0.0",
"proc-log": "^3.0.0",
Expand Down

0 comments on commit d3a0cfa

Please sign in to comment.