summaryrefslogtreecommitdiff
path: root/tools/node_modules
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-11-27 08:51:25 -0800
committerRich Trott <rtrott@gmail.com>2021-11-29 14:52:33 -0800
commit45422db0740d2be10e421e1dd69108e3029d32bc (patch)
tree3a36ecbb2f4bd1134e677ad7f30e23b9758dc87a /tools/node_modules
parent1998e83983c90ecb9588046e70667f072c5a5458 (diff)
downloadnode-new-45422db0740d2be10e421e1dd69108e3029d32bc.tar.gz
tools: run ESLint update to minimize diff on subsequent update
PR-URL: https://github.com/nodejs/node/pull/40995 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/node_modules')
-rw-r--r--tools/node_modules/eslint-plugin-markdown/node_modules/debug/LICENSE19
-rw-r--r--tools/node_modules/eslint-plugin-markdown/node_modules/debug/README.md25
-rw-r--r--tools/node_modules/eslint-plugin-markdown/node_modules/debug/package.json12
-rw-r--r--tools/node_modules/eslint-plugin-markdown/node_modules/debug/src/common.js2
-rw-r--r--tools/node_modules/eslint/node_modules/debug/LICENSE19
-rw-r--r--tools/node_modules/eslint/node_modules/debug/README.md25
-rw-r--r--tools/node_modules/eslint/node_modules/debug/package.json12
-rw-r--r--tools/node_modules/eslint/node_modules/debug/src/common.js2
8 files changed, 82 insertions, 34 deletions
diff --git a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/LICENSE b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/LICENSE
index 658c933d28..1a9820e262 100644
--- a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/LICENSE
+++ b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/LICENSE
@@ -1,19 +1,20 @@
(The MIT License)
-Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
+Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
+Copyright (c) 2018-2021 Josh Junon
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-and associated documentation files (the 'Software'), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+and associated documentation files (the 'Software'), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial
+The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
-LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/README.md b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/README.md
index 88dae35d9f..5ea4cd2759 100644
--- a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/README.md
+++ b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/README.md
@@ -1,5 +1,5 @@
# debug
-[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
+[![Build Status](https://travis-ci.org/debug-js/debug.svg?branch=master)](https://travis-ci.org/debug-js/debug) [![Coverage Status](https://coveralls.io/repos/github/debug-js/debug/badge.svg?branch=master)](https://coveralls.io/github/debug-js/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)
<img width="647" src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png">
@@ -351,12 +351,34 @@ if (debug.enabled) {
You can also manually toggle this property to force the debug instance to be
enabled or disabled.
+## Usage in child processes
+
+Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process.
+For example:
+
+```javascript
+worker = fork(WORKER_WRAP_PATH, [workerPath], {
+ stdio: [
+ /* stdin: */ 0,
+ /* stdout: */ 'pipe',
+ /* stderr: */ 'pipe',
+ 'ipc',
+ ],
+ env: Object.assign({}, process.env, {
+ DEBUG_COLORS: 1 // without this settings, colors won't be shown
+ }),
+});
+
+worker.stderr.pipe(process.stderr, { end: false });
+```
+
## Authors
- TJ Holowaychuk
- Nathan Rajlich
- Andrew Rhyne
+ - Josh Junon
## Backers
@@ -434,6 +456,7 @@ Become a sponsor and get your logo on our README on Github with a link to your s
(The MIT License)
Copyright (c) 2014-2017 TJ Holowaychuk &lt;tj@vision-media.ca&gt;
+Copyright (c) 2018-2021 Josh Junon
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/package.json b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/package.json
index b7d70acb9b..cb7efa8eec 100644
--- a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/package.json
+++ b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/package.json
@@ -1,11 +1,11 @@
{
"name": "debug",
- "version": "4.3.2",
+ "version": "4.3.3",
"repository": {
"type": "git",
- "url": "git://github.com/visionmedia/debug.git"
+ "url": "git://github.com/debug-js/debug.git"
},
- "description": "small debugging utility",
+ "description": "Lightweight debugging utility for Node.js and the browser",
"keywords": [
"debug",
"log",
@@ -16,11 +16,11 @@
"LICENSE",
"README.md"
],
- "author": "TJ Holowaychuk <tj@vision-media.ca>",
+ "author": "Josh Junon <josh.junon@protonmail.com>",
"contributors": [
+ "TJ Holowaychuk <tj@vision-media.ca>",
"Nathan Rajlich <nathan@tootallnate.net> (http://n8.io)",
- "Andrew Rhyne <rhyneandrew@gmail.com>",
- "Josh Junon <josh@junon.me>"
+ "Andrew Rhyne <rhyneandrew@gmail.com>"
],
"license": "MIT",
"scripts": {
diff --git a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/src/common.js b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/src/common.js
index 50ce292510..6d571d2844 100644
--- a/tools/node_modules/eslint-plugin-markdown/node_modules/debug/src/common.js
+++ b/tools/node_modules/eslint-plugin-markdown/node_modules/debug/src/common.js
@@ -34,7 +34,7 @@ function setup(env) {
/**
* Selects a color for a debug namespace
- * @param {String} namespace The namespace string for the for the debug instance to be colored
+ * @param {String} namespace The namespace string for the debug instance to be colored
* @return {Number|String} An ANSI color code for the given namespace
* @api private
*/
diff --git a/tools/node_modules/eslint/node_modules/debug/LICENSE b/tools/node_modules/eslint/node_modules/debug/LICENSE
index 658c933d28..1a9820e262 100644
--- a/tools/node_modules/eslint/node_modules/debug/LICENSE
+++ b/tools/node_modules/eslint/node_modules/debug/LICENSE
@@ -1,19 +1,20 @@
(The MIT License)
-Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
+Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
+Copyright (c) 2018-2021 Josh Junon
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-and associated documentation files (the 'Software'), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+and associated documentation files (the 'Software'), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial
+The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
-LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/tools/node_modules/eslint/node_modules/debug/README.md b/tools/node_modules/eslint/node_modules/debug/README.md
index 88dae35d9f..5ea4cd2759 100644
--- a/tools/node_modules/eslint/node_modules/debug/README.md
+++ b/tools/node_modules/eslint/node_modules/debug/README.md
@@ -1,5 +1,5 @@
# debug
-[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
+[![Build Status](https://travis-ci.org/debug-js/debug.svg?branch=master)](https://travis-ci.org/debug-js/debug) [![Coverage Status](https://coveralls.io/repos/github/debug-js/debug/badge.svg?branch=master)](https://coveralls.io/github/debug-js/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)
<img width="647" src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png">
@@ -351,12 +351,34 @@ if (debug.enabled) {
You can also manually toggle this property to force the debug instance to be
enabled or disabled.
+## Usage in child processes
+
+Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process.
+For example:
+
+```javascript
+worker = fork(WORKER_WRAP_PATH, [workerPath], {
+ stdio: [
+ /* stdin: */ 0,
+ /* stdout: */ 'pipe',
+ /* stderr: */ 'pipe',
+ 'ipc',
+ ],
+ env: Object.assign({}, process.env, {
+ DEBUG_COLORS: 1 // without this settings, colors won't be shown
+ }),
+});
+
+worker.stderr.pipe(process.stderr, { end: false });
+```
+
## Authors
- TJ Holowaychuk
- Nathan Rajlich
- Andrew Rhyne
+ - Josh Junon
## Backers
@@ -434,6 +456,7 @@ Become a sponsor and get your logo on our README on Github with a link to your s
(The MIT License)
Copyright (c) 2014-2017 TJ Holowaychuk &lt;tj@vision-media.ca&gt;
+Copyright (c) 2018-2021 Josh Junon
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/tools/node_modules/eslint/node_modules/debug/package.json b/tools/node_modules/eslint/node_modules/debug/package.json
index b7d70acb9b..cb7efa8eec 100644
--- a/tools/node_modules/eslint/node_modules/debug/package.json
+++ b/tools/node_modules/eslint/node_modules/debug/package.json
@@ -1,11 +1,11 @@
{
"name": "debug",
- "version": "4.3.2",
+ "version": "4.3.3",
"repository": {
"type": "git",
- "url": "git://github.com/visionmedia/debug.git"
+ "url": "git://github.com/debug-js/debug.git"
},
- "description": "small debugging utility",
+ "description": "Lightweight debugging utility for Node.js and the browser",
"keywords": [
"debug",
"log",
@@ -16,11 +16,11 @@
"LICENSE",
"README.md"
],
- "author": "TJ Holowaychuk <tj@vision-media.ca>",
+ "author": "Josh Junon <josh.junon@protonmail.com>",
"contributors": [
+ "TJ Holowaychuk <tj@vision-media.ca>",
"Nathan Rajlich <nathan@tootallnate.net> (http://n8.io)",
- "Andrew Rhyne <rhyneandrew@gmail.com>",
- "Josh Junon <josh@junon.me>"
+ "Andrew Rhyne <rhyneandrew@gmail.com>"
],
"license": "MIT",
"scripts": {
diff --git a/tools/node_modules/eslint/node_modules/debug/src/common.js b/tools/node_modules/eslint/node_modules/debug/src/common.js
index 50ce292510..6d571d2844 100644
--- a/tools/node_modules/eslint/node_modules/debug/src/common.js
+++ b/tools/node_modules/eslint/node_modules/debug/src/common.js
@@ -34,7 +34,7 @@ function setup(env) {
/**
* Selects a color for a debug namespace
- * @param {String} namespace The namespace string for the for the debug instance to be colored
+ * @param {String} namespace The namespace string for the debug instance to be colored
* @return {Number|String} An ANSI color code for the given namespace
* @api private
*/