strip-ansi 5.0.0 → 5.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.
- package/package.json +2 -2
- package/readme.md +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strip-ansi",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Strip ANSI escape codes",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "chalk/strip-ansi",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"text"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"ansi-regex": "^4.
|
|
46
|
+
"ansi-regex": "^4.1.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"ava": "^0.25.0",
|
package/readme.md
CHANGED
|
@@ -30,9 +30,17 @@ const stripAnsi = require('strip-ansi');
|
|
|
30
30
|
|
|
31
31
|
stripAnsi('\u001B[4mUnicorn\u001B[0m');
|
|
32
32
|
//=> 'Unicorn'
|
|
33
|
+
|
|
34
|
+
stripAnsi('\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007');
|
|
35
|
+
//=> 'Click'
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
|
|
39
|
+
## Security
|
|
40
|
+
|
|
41
|
+
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
|
|
42
|
+
|
|
43
|
+
|
|
36
44
|
## Related
|
|
37
45
|
|
|
38
46
|
- [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
|