@augment-vir/core 32.2.3 → 32.2.4
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.
|
@@ -6,7 +6,12 @@
|
|
|
6
6
|
* @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
|
|
7
7
|
*/
|
|
8
8
|
export declare function removeAnsiEscapeCodes(input: string): string;
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* {@inheritDoc removeAnsiEscapeCodes}
|
|
11
|
+
*
|
|
12
|
+
* @category String
|
|
13
|
+
* @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
|
|
14
|
+
*/
|
|
10
15
|
export declare const removeColor: typeof removeAnsiEscapeCodes;
|
|
11
16
|
/**
|
|
12
17
|
* A RegExp that will match all ansi escape codes (such as terminal colors). Used in
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
export function removeAnsiEscapeCodes(input) {
|
|
9
9
|
return input.replace(ansiRegExp, '');
|
|
10
10
|
}
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* {@inheritDoc removeAnsiEscapeCodes}
|
|
13
|
+
*
|
|
14
|
+
* @category String
|
|
15
|
+
* @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
|
|
16
|
+
*/
|
|
12
17
|
export const removeColor = removeAnsiEscapeCodes;
|
|
13
18
|
// cspell:disable
|
|
14
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augment-vir/core",
|
|
3
|
-
"version": "32.2.
|
|
3
|
+
"version": "32.2.4",
|
|
4
4
|
"description": "Core augment-vir augments. Use @augment-vir/common instead.",
|
|
5
5
|
"homepage": "https://github.com/electrovir/augment-vir",
|
|
6
6
|
"bugs": {
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"test:update": "npm test update"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@date-vir/duration": "^9.
|
|
31
|
+
"@date-vir/duration": "^9.1.1",
|
|
32
32
|
"browser-or-node": "^3.0.0",
|
|
33
33
|
"diff": "^9.0.0",
|
|
34
34
|
"json5": "^2.2.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "^26.
|
|
37
|
+
"@types/node": "^26.4.0",
|
|
38
38
|
"c8": "^12.0.0",
|
|
39
39
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
40
40
|
"typescript": "^6.0.3"
|