supports-color 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
  3. package/readme.md +5 -0
package/index.js CHANGED
@@ -7,7 +7,8 @@ const {env} = process;
7
7
  let forceColor;
8
8
  if (hasFlag('no-color') ||
9
9
  hasFlag('no-colors') ||
10
- hasFlag('color=false')) {
10
+ hasFlag('color=false') ||
11
+ hasFlag('color=never')) {
11
12
  forceColor = 0;
12
13
  } else if (hasFlag('color') ||
13
14
  hasFlag('colors') ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supports-color",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "Detect whether a terminal supports color",
5
5
  "license": "MIT",
6
6
  "repository": "chalk/supports-color",
package/readme.md CHANGED
@@ -63,6 +63,11 @@ For situations where using `--color` is not possible, use the environment variab
63
63
  Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
64
64
 
65
65
 
66
+ ## Security
67
+
68
+ To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
69
+
70
+
66
71
  ## Related
67
72
 
68
73
  - [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module