-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9622597
commit d3a0cfa
Showing
9 changed files
with
145 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
62
node_modules/@npmcli/git/node_modules/proc-log/lib/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
45
node_modules/@npmcli/git/node_modules/proc-log/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/**" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters