@jsenv/test 3.7.31 → 3.7.33
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.
|
@@ -223,8 +223,9 @@ function ansiRegex({onlyFirst = false} = {}) {
|
|
|
223
223
|
// Valid string terminator sequences are BEL, ESC\, and 0x9c
|
|
224
224
|
const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
|
|
225
225
|
|
|
226
|
-
// OSC sequences only: ESC ] ... ST
|
|
227
|
-
|
|
226
|
+
// OSC sequences only: ESC ] ... ST
|
|
227
|
+
// The payload stops at the first terminator character rather than scanning ahead for one, so an unterminated `ESC ]` cannot rescan the rest of the input. Terminals likewise abort a control string on an unexpected ESC.
|
|
228
|
+
const osc = `(?:\\u001B\\][^\\u0007\\u001B\\u009C]*${ST})`;
|
|
228
229
|
|
|
229
230
|
// CSI and related: ESC/C1, optional intermediates, optional params (supports ; and :) then final byte
|
|
230
231
|
const csi = '[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@c88/v8-coverage": "0.1.1",
|
|
33
|
-
"@jsenv/ast": "6.9.
|
|
34
|
-
"@jsenv/plugin-supervisor": "1.8.
|
|
33
|
+
"@jsenv/ast": "6.9.1",
|
|
34
|
+
"@jsenv/plugin-supervisor": "1.8.12",
|
|
35
35
|
"@jsenv/sourcemap": "1.4.2",
|
|
36
36
|
"he": "1.2.0",
|
|
37
37
|
"istanbul-lib-coverage": "3.2.2",
|