-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Deps updates #7605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Deps updates #7605
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
efeee23
deps: @npmcli/[email protected]
wraithgar 8513136
deps: @npmcli/[email protected]
wraithgar 09665a3
deps: [email protected]
wraithgar a66b7f5
deps: [email protected]
wraithgar c180b29
deps: [email protected]
wraithgar c929d44
deps: [email protected]
wraithgar 2450164
deps: [email protected]
wraithgar 14081cb
chore: update devDependencies in lockfile
wraithgar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,39 @@ | ||
| // This is JUST the code needed to open a package.json file and parse it. | ||
| // It's isolated out so that code needing to parse a package.json file can do so in the same way as this module does, without needing to require the whole module, or needing to require the underlying parsing library. | ||
|
|
||
| const { readFile } = require('fs/promises') | ||
| const parseJSON = require('json-parse-even-better-errors') | ||
|
|
||
| async function read (filename) { | ||
| try { | ||
| const data = await readFile(filename, 'utf8') | ||
| return data | ||
| } catch (err) { | ||
| err.message = `Could not read package.json: ${err}` | ||
| throw err | ||
| } | ||
| } | ||
|
|
||
| function parse (data) { | ||
| try { | ||
| const content = parseJSON(data) | ||
| return content | ||
| } catch (err) { | ||
| err.message = `Invalid package.json: ${err}` | ||
| throw err | ||
| } | ||
| } | ||
|
|
||
| // This is what most external libs will use. | ||
| // PackageJson will call read and parse separately | ||
| async function readPackage (filename) { | ||
| const data = await read(filename) | ||
| const content = parse(data) | ||
| return content | ||
| } | ||
|
|
||
| module.exports = { | ||
| read, | ||
| parse, | ||
| readPackage, | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "debug", | ||
| "version": "4.3.4", | ||
| "version": "4.3.5", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git://github.com/debug-js/debug.git" | ||
|
|
@@ -16,7 +16,7 @@ | |
| "LICENSE", | ||
| "README.md" | ||
| ], | ||
| "author": "Josh Junon <josh.junon@protonmail.com>", | ||
| "author": "Josh Junon (https://github.com/qix-)", | ||
| "contributors": [ | ||
| "TJ Holowaychuk <[email protected]>", | ||
| "Nathan Rajlich <[email protected]> (http://n8.io)", | ||
|
|
@@ -26,7 +26,7 @@ | |
| "scripts": { | ||
| "lint": "xo", | ||
| "test": "npm run test:node && npm run test:browser && npm run lint", | ||
| "test:node": "istanbul cover _mocha -- test.js", | ||
| "test:node": "istanbul cover _mocha -- test.js test.node.js", | ||
| "test:browser": "karma start --single-run", | ||
| "test:coverage": "cat ./coverage/lcov.info | coveralls" | ||
| }, | ||
|
|
@@ -44,6 +44,7 @@ | |
| "karma-mocha": "^1.3.0", | ||
| "mocha": "^5.2.0", | ||
| "mocha-lcov-reporter": "^1.2.0", | ||
| "sinon": "^14.0.0", | ||
| "xo": "^0.23.0" | ||
| }, | ||
| "peerDependenciesMeta": { | ||
|
|
||
This file contains hidden or 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
File renamed without changes.
This file contains hidden or 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
File renamed without changes.
38 changes: 38 additions & 0 deletions
38
node_modules/foreground-child/dist/commonjs/proxy-signals.js
This file contains hidden or 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,38 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.proxySignals = void 0; | ||
| const all_signals_js_1 = require("./all-signals.js"); | ||
| /** | ||
| * Starts forwarding signals to `child` through `parent`. | ||
| */ | ||
| const proxySignals = (child) => { | ||
| const listeners = new Map(); | ||
| for (const sig of all_signals_js_1.allSignals) { | ||
| const listener = () => { | ||
| // some signals can only be received, not sent | ||
| try { | ||
| child.kill(sig); | ||
| /* c8 ignore start */ | ||
| } | ||
| catch (_) { } | ||
| /* c8 ignore stop */ | ||
| }; | ||
| try { | ||
| // if it's a signal this system doesn't recognize, skip it | ||
| process.on(sig, listener); | ||
| listeners.set(sig, listener); | ||
| /* c8 ignore start */ | ||
| } | ||
| catch (_) { } | ||
| /* c8 ignore stop */ | ||
| } | ||
| const unproxy = () => { | ||
| for (const [sig, listener] of listeners) { | ||
| process.removeListener(sig, listener); | ||
| } | ||
| }; | ||
| child.on('exit', unproxy); | ||
| return unproxy; | ||
| }; | ||
| exports.proxySignals = proxySignals; | ||
| //# sourceMappingURL=proxy-signals.js.map |
This file contains hidden or 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
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.