@fabrika/installation-init 0.9.0-cloudflare.2 → 0.9.0-cloudflare.3
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 +6 -6
- package/src/log.ts +1 -1
- package/src/prompt.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabrika/installation-init",
|
|
3
|
-
"version": "0.9.0-cloudflare.
|
|
3
|
+
"version": "0.9.0-cloudflare.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"zod": "^3.25.76",
|
|
31
|
-
"@fabrika/app": "0.9.0-cloudflare.
|
|
32
|
-
"@fabrika/auth-core": "0.9.0-cloudflare.
|
|
33
|
-
"@fabrika/email": "0.9.0-cloudflare.
|
|
34
|
-
"@fabrika/iam-contract": "0.9.0-cloudflare.
|
|
35
|
-
"@fabrika/proxy-core": "0.9.0-cloudflare.
|
|
31
|
+
"@fabrika/app": "0.9.0-cloudflare.3",
|
|
32
|
+
"@fabrika/auth-core": "0.9.0-cloudflare.3",
|
|
33
|
+
"@fabrika/email": "0.9.0-cloudflare.3",
|
|
34
|
+
"@fabrika/iam-contract": "0.9.0-cloudflare.3",
|
|
35
|
+
"@fabrika/proxy-core": "0.9.0-cloudflare.3"
|
|
36
36
|
}
|
|
37
37
|
}
|
package/src/log.ts
CHANGED
|
@@ -76,6 +76,6 @@ export function url(value: string): string {
|
|
|
76
76
|
|
|
77
77
|
/** Strip ANSI escape codes so box-drawing can measure the VISIBLE width of a line. */
|
|
78
78
|
function stripAnsi(value: string): string {
|
|
79
|
-
//
|
|
79
|
+
// oxlint-disable-next-line no-control-regex -- matching ANSI escape sequences by design.
|
|
80
80
|
return value.replace(/\x1b\[[0-9;]*m/g, '')
|
|
81
81
|
}
|
package/src/prompt.ts
CHANGED
|
@@ -35,16 +35,16 @@ function stripTerminalCruft(value: string): string {
|
|
|
35
35
|
return (
|
|
36
36
|
value
|
|
37
37
|
// Full OSC sequences: ESC ] … (BEL or ST). e.g. an OSC 10/11 dynamic-color response.
|
|
38
|
-
//
|
|
38
|
+
// oxlint-disable-next-line no-control-regex -- matching terminal escape bytes by design.
|
|
39
39
|
.replace(/\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)/g, '')
|
|
40
40
|
// Bare OSC 10/11 color responses whose ESC introducer readline's keypress parser ate
|
|
41
41
|
// (`1X;rgb:RRRR/GGGG/BBBB`, optional leading `]`). Never appears in a real entered value.
|
|
42
42
|
.replace(/\]?1[0-9];rgb:[0-9a-fA-F]{1,4}(?:\/[0-9a-fA-F]{1,4}){2}/g, '')
|
|
43
43
|
// CSI sequences (bracketed-paste markers, cursor-position responses ESC[N;MR, SGR, …).
|
|
44
|
-
//
|
|
44
|
+
// oxlint-disable-next-line no-control-regex -- matching terminal escape bytes by design.
|
|
45
45
|
.replace(/\x1b\[[0-9;?]*[ -/]*[@-~]/g, '')
|
|
46
46
|
// Any stray C0/C1 control char + DEL.
|
|
47
|
-
//
|
|
47
|
+
// oxlint-disable-next-line no-control-regex -- matching terminal control bytes by design.
|
|
48
48
|
.replace(/[\x00-\x1f\x7f]/g, '')
|
|
49
49
|
)
|
|
50
50
|
}
|