complete-common 2.18.0 → 2.18.1
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.
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
export declare function capitalizeFirstLetter(string: string): string;
|
|
8
8
|
/**
|
|
9
9
|
* Helper function to replace all of the ampersands, less than signs, greater than signs, double
|
|
10
|
-
* quotes, and single quotes in a string with the escaped counterparts. For example,
|
|
11
|
-
* replaced with
|
|
10
|
+
* quotes, and single quotes in a string with the escaped counterparts. For example, `<` will be
|
|
11
|
+
* replaced with `<`.
|
|
12
12
|
*/
|
|
13
13
|
export declare function escapeHTMLCharacters(string: string): string;
|
|
14
14
|
/**
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
export declare function capitalizeFirstLetter(string: string): string;
|
|
8
8
|
/**
|
|
9
9
|
* Helper function to replace all of the ampersands, less than signs, greater than signs, double
|
|
10
|
-
* quotes, and single quotes in a string with the escaped counterparts. For example,
|
|
11
|
-
* replaced with
|
|
10
|
+
* quotes, and single quotes in a string with the escaped counterparts. For example, `<` will be
|
|
11
|
+
* replaced with `<`.
|
|
12
12
|
*/
|
|
13
13
|
export declare function escapeHTMLCharacters(string: string): string;
|
|
14
14
|
/**
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
export declare function capitalizeFirstLetter(string: string): string;
|
|
8
8
|
/**
|
|
9
9
|
* Helper function to replace all of the ampersands, less than signs, greater than signs, double
|
|
10
|
-
* quotes, and single quotes in a string with the escaped counterparts. For example,
|
|
11
|
-
* replaced with
|
|
10
|
+
* quotes, and single quotes in a string with the escaped counterparts. For example, `<` will be
|
|
11
|
+
* replaced with `<`.
|
|
12
12
|
*/
|
|
13
13
|
export declare function escapeHTMLCharacters(string: string): string;
|
|
14
14
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "complete-common",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.1",
|
|
4
4
|
"description": "Helper functions for TypeScript projects.",
|
|
5
5
|
"homepage": "https://complete-ts.github.io/",
|
|
6
6
|
"bugs": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"test": "bun test"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/node": "25.
|
|
35
|
+
"@types/node": "25.3.2",
|
|
36
36
|
"complete-node": "16.2.0",
|
|
37
37
|
"eslint-plugin-sort-exports": "0.9.1",
|
|
38
|
-
"typedoc": "0.28.
|
|
38
|
+
"typedoc": "0.28.17",
|
|
39
39
|
"typescript": "5.9.3",
|
|
40
|
-
"typescript-eslint": "8.
|
|
40
|
+
"typescript-eslint": "8.56.1",
|
|
41
41
|
"unbuild": "3.6.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/functions/string.ts
CHANGED
|
@@ -47,8 +47,8 @@ export function capitalizeFirstLetter(string: string): string {
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Helper function to replace all of the ampersands, less than signs, greater than signs, double
|
|
50
|
-
* quotes, and single quotes in a string with the escaped counterparts. For example,
|
|
51
|
-
* replaced with
|
|
50
|
+
* quotes, and single quotes in a string with the escaped counterparts. For example, `<` will be
|
|
51
|
+
* replaced with `<`.
|
|
52
52
|
*/
|
|
53
53
|
export function escapeHTMLCharacters(string: string): string {
|
|
54
54
|
return string
|