@wordpress/escape-html 3.0.1 → 3.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/CHANGELOG.md +6 -0
- package/build/escape-greater.js +2 -2
- package/build/escape-greater.js.map +1 -1
- package/build/index.js +14 -16
- package/build/index.js.map +1 -1
- package/build-module/escape-greater.js +2 -2
- package/build-module/escape-greater.js.map +1 -1
- package/build-module/index.js +14 -16
- package/build-module/index.js.map +1 -1
- package/build-types/escape-greater.d.ts +2 -2
- package/build-types/escape-greater.d.ts.map +1 -1
- package/build-types/index.d.ts +21 -21
- package/build-types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/{escape-greater.js → escape-greater.ts} +3 -3
- package/src/{index.js → index.ts} +23 -24
- package/src/test/{index.js → index.ts} +7 -5
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
package/build/escape-greater.js
CHANGED
|
@@ -12,9 +12,9 @@ exports.default = __unstableEscapeGreaterThan;
|
|
|
12
12
|
*
|
|
13
13
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
14
14
|
*
|
|
15
|
-
* @param
|
|
15
|
+
* @param value Original string.
|
|
16
16
|
*
|
|
17
|
-
* @return
|
|
17
|
+
* @return Escaped string.
|
|
18
18
|
*/
|
|
19
19
|
function __unstableEscapeGreaterThan(value) {
|
|
20
20
|
return value.replace(/>/g, '>');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__unstableEscapeGreaterThan","value","replace"],"sources":["@wordpress/escape-html/src/escape-greater.
|
|
1
|
+
{"version":3,"names":["__unstableEscapeGreaterThan","value","replace"],"sources":["@wordpress/escape-html/src/escape-greater.ts"],"sourcesContent":["/**\n * Returns a string with greater-than sign replaced.\n *\n * Note that if a resolution for Trac#45387 comes to fruition, it is no longer\n * necessary for `__unstableEscapeGreaterThan` to exist.\n *\n * See: https://core.trac.wordpress.org/ticket/45387\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport default function __unstableEscapeGreaterThan( value: string ): string {\n\treturn value.replace( />/g, '>' );\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAASA,2BAA2BA,CAAEC,KAAa,EAAW;EAC5E,OAAOA,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,MAAO,CAAC;AACrC","ignoreList":[]}
|
package/build/index.js
CHANGED
|
@@ -24,8 +24,6 @@ var _escapeGreater = _interopRequireDefault(require("./escape-greater"));
|
|
|
24
24
|
* and noncharacters."
|
|
25
25
|
*
|
|
26
26
|
* @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
|
|
27
|
-
*
|
|
28
|
-
* @type {RegExp}
|
|
29
27
|
*/
|
|
30
28
|
const REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
|
|
31
29
|
|
|
@@ -39,9 +37,9 @@ const REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
|
|
|
39
37
|
* @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand
|
|
40
38
|
* @see https://w3c.github.io/html/syntax.html#named-character-references
|
|
41
39
|
*
|
|
42
|
-
* @param
|
|
40
|
+
* @param value Original string.
|
|
43
41
|
*
|
|
44
|
-
* @return
|
|
42
|
+
* @return Escaped string.
|
|
45
43
|
*/
|
|
46
44
|
function escapeAmpersand(value) {
|
|
47
45
|
return value.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi, '&');
|
|
@@ -50,9 +48,9 @@ function escapeAmpersand(value) {
|
|
|
50
48
|
/**
|
|
51
49
|
* Returns a string with quotation marks replaced.
|
|
52
50
|
*
|
|
53
|
-
* @param
|
|
51
|
+
* @param value Original string.
|
|
54
52
|
*
|
|
55
|
-
* @return
|
|
53
|
+
* @return Escaped string.
|
|
56
54
|
*/
|
|
57
55
|
function escapeQuotationMark(value) {
|
|
58
56
|
return value.replace(/"/g, '"');
|
|
@@ -61,9 +59,9 @@ function escapeQuotationMark(value) {
|
|
|
61
59
|
/**
|
|
62
60
|
* Returns a string with less-than sign replaced.
|
|
63
61
|
*
|
|
64
|
-
* @param
|
|
62
|
+
* @param value Original string.
|
|
65
63
|
*
|
|
66
|
-
* @return
|
|
64
|
+
* @return Escaped string.
|
|
67
65
|
*/
|
|
68
66
|
function escapeLessThan(value) {
|
|
69
67
|
return value.replace(/</g, '<');
|
|
@@ -85,9 +83,9 @@ function escapeLessThan(value) {
|
|
|
85
83
|
*
|
|
86
84
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
87
85
|
*
|
|
88
|
-
* @param
|
|
86
|
+
* @param value Attribute value.
|
|
89
87
|
*
|
|
90
|
-
* @return
|
|
88
|
+
* @return Escaped attribute value.
|
|
91
89
|
*/
|
|
92
90
|
function escapeAttribute(value) {
|
|
93
91
|
return (0, _escapeGreater.default)(escapeQuotationMark(escapeAmpersand(value)));
|
|
@@ -101,9 +99,9 @@ function escapeAttribute(value) {
|
|
|
101
99
|
* "the text must not contain the character U+003C LESS-THAN SIGN (<) or an
|
|
102
100
|
* ambiguous ampersand."
|
|
103
101
|
*
|
|
104
|
-
* @param
|
|
102
|
+
* @param value Element value.
|
|
105
103
|
*
|
|
106
|
-
* @return
|
|
104
|
+
* @return Escaped HTML element value.
|
|
107
105
|
*/
|
|
108
106
|
function escapeHTML(value) {
|
|
109
107
|
return escapeLessThan(escapeAmpersand(value));
|
|
@@ -114,9 +112,9 @@ function escapeHTML(value) {
|
|
|
114
112
|
* `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in
|
|
115
113
|
* order to render the content correctly on the page.
|
|
116
114
|
*
|
|
117
|
-
* @param
|
|
115
|
+
* @param value Element value.
|
|
118
116
|
*
|
|
119
|
-
* @return
|
|
117
|
+
* @return Escaped HTML element value.
|
|
120
118
|
*/
|
|
121
119
|
function escapeEditableHTML(value) {
|
|
122
120
|
return escapeLessThan(value.replace(/&/g, '&'));
|
|
@@ -125,9 +123,9 @@ function escapeEditableHTML(value) {
|
|
|
125
123
|
/**
|
|
126
124
|
* Returns true if the given attribute name is valid, or false otherwise.
|
|
127
125
|
*
|
|
128
|
-
* @param
|
|
126
|
+
* @param name Attribute name to test.
|
|
129
127
|
*
|
|
130
|
-
* @return
|
|
128
|
+
* @return Whether attribute is valid.
|
|
131
129
|
*/
|
|
132
130
|
function isValidAttributeName(name) {
|
|
133
131
|
return !REGEXP_INVALID_ATTRIBUTE_NAME.test(name);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_escapeGreater","_interopRequireDefault","require","REGEXP_INVALID_ATTRIBUTE_NAME","escapeAmpersand","value","replace","escapeQuotationMark","escapeLessThan","escapeAttribute","__unstableEscapeGreaterThan","escapeHTML","escapeEditableHTML","isValidAttributeName","name","test"],"sources":["@wordpress/escape-html/src/index.
|
|
1
|
+
{"version":3,"names":["_escapeGreater","_interopRequireDefault","require","REGEXP_INVALID_ATTRIBUTE_NAME","escapeAmpersand","value","replace","escapeQuotationMark","escapeLessThan","escapeAttribute","__unstableEscapeGreaterThan","escapeHTML","escapeEditableHTML","isValidAttributeName","name","test"],"sources":["@wordpress/escape-html/src/index.ts"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport __unstableEscapeGreaterThan from './escape-greater';\n\n/**\n * Regular expression matching invalid attribute names.\n *\n * \"Attribute names must consist of one or more characters other than controls,\n * U+0020 SPACE, U+0022 (\"), U+0027 ('), U+003E (>), U+002F (/), U+003D (=),\n * and noncharacters.\"\n *\n * @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n */\nconst REGEXP_INVALID_ATTRIBUTE_NAME: RegExp =\n\t/[\\u007F-\\u009F \"'>/=\"\\uFDD0-\\uFDEF]/;\n\n/**\n * Returns a string with ampersands escaped. Note that this is an imperfect\n * implementation, where only ampersands which do not appear as a pattern of\n * named, decimal, or hexadecimal character references are escaped. Invalid\n * named references (i.e. ambiguous ampersand) are still permitted.\n *\n * @see https://w3c.github.io/html/syntax.html#character-references\n * @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand\n * @see https://w3c.github.io/html/syntax.html#named-character-references\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport function escapeAmpersand( value: string ): string {\n\treturn value.replace( /&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi, '&' );\n}\n\n/**\n * Returns a string with quotation marks replaced.\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport function escapeQuotationMark( value: string ): string {\n\treturn value.replace( /\"/g, '"' );\n}\n\n/**\n * Returns a string with less-than sign replaced.\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport function escapeLessThan( value: string ): string {\n\treturn value.replace( /</g, '<' );\n}\n\n/**\n * Returns an escaped attribute value.\n *\n * @see https://w3c.github.io/html/syntax.html#elements-attributes\n *\n * \"[...] the text cannot contain an ambiguous ampersand [...] must not contain\n * any literal U+0022 QUOTATION MARK characters (\")\"\n *\n * Note we also escape the greater than symbol, as this is used by wptexturize to\n * split HTML strings. This is a WordPress specific fix\n *\n * Note that if a resolution for Trac#45387 comes to fruition, it is no longer\n * necessary for `__unstableEscapeGreaterThan` to be used.\n *\n * See: https://core.trac.wordpress.org/ticket/45387\n *\n * @param value Attribute value.\n *\n * @return Escaped attribute value.\n */\nexport function escapeAttribute( value: string ): string {\n\treturn __unstableEscapeGreaterThan(\n\t\tescapeQuotationMark( escapeAmpersand( value ) )\n\t);\n}\n\n/**\n * Returns an escaped HTML element value.\n *\n * @see https://w3c.github.io/html/syntax.html#writing-html-documents-elements\n *\n * \"the text must not contain the character U+003C LESS-THAN SIGN (<) or an\n * ambiguous ampersand.\"\n *\n * @param value Element value.\n *\n * @return Escaped HTML element value.\n */\nexport function escapeHTML( value: string ): string {\n\treturn escapeLessThan( escapeAmpersand( value ) );\n}\n\n/**\n * Returns an escaped Editable HTML element value. This is different from\n * `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in\n * order to render the content correctly on the page.\n *\n * @param value Element value.\n *\n * @return Escaped HTML element value.\n */\nexport function escapeEditableHTML( value: string ): string {\n\treturn escapeLessThan( value.replace( /&/g, '&' ) );\n}\n\n/**\n * Returns true if the given attribute name is valid, or false otherwise.\n *\n * @param name Attribute name to test.\n *\n * @return Whether attribute is valid.\n */\nexport function isValidAttributeName( name: string ): boolean {\n\treturn ! REGEXP_INVALID_ATTRIBUTE_NAME.test( name );\n}\n"],"mappings":";;;;;;;;;;;;;AAGA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAHA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,6BAAqC,GAC1C,qCAAqC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,eAAeA,CAAEC,KAAa,EAAW;EACxD,OAAOA,KAAK,CAACC,OAAO,CAAE,yCAAyC,EAAE,OAAQ,CAAC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,mBAAmBA,CAAEF,KAAa,EAAW;EAC5D,OAAOA,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,QAAS,CAAC;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,cAAcA,CAAEH,KAAa,EAAW;EACvD,OAAOA,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,MAAO,CAAC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASG,eAAeA,CAAEJ,KAAa,EAAW;EACxD,OAAO,IAAAK,sBAA2B,EACjCH,mBAAmB,CAAEH,eAAe,CAAEC,KAAM,CAAE,CAC/C,CAAC;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASM,UAAUA,CAAEN,KAAa,EAAW;EACnD,OAAOG,cAAc,CAAEJ,eAAe,CAAEC,KAAM,CAAE,CAAC;AAClD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASO,kBAAkBA,CAAEP,KAAa,EAAW;EAC3D,OAAOG,cAAc,CAAEH,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,OAAQ,CAAE,CAAC;AACxD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASO,oBAAoBA,CAAEC,IAAY,EAAY;EAC7D,OAAO,CAAEX,6BAA6B,CAACY,IAAI,CAAED,IAAK,CAAC;AACpD","ignoreList":[]}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
8
8
|
*
|
|
9
|
-
* @param
|
|
9
|
+
* @param value Original string.
|
|
10
10
|
*
|
|
11
|
-
* @return
|
|
11
|
+
* @return Escaped string.
|
|
12
12
|
*/
|
|
13
13
|
export default function __unstableEscapeGreaterThan(value) {
|
|
14
14
|
return value.replace(/>/g, '>');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__unstableEscapeGreaterThan","value","replace"],"sources":["@wordpress/escape-html/src/escape-greater.
|
|
1
|
+
{"version":3,"names":["__unstableEscapeGreaterThan","value","replace"],"sources":["@wordpress/escape-html/src/escape-greater.ts"],"sourcesContent":["/**\n * Returns a string with greater-than sign replaced.\n *\n * Note that if a resolution for Trac#45387 comes to fruition, it is no longer\n * necessary for `__unstableEscapeGreaterThan` to exist.\n *\n * See: https://core.trac.wordpress.org/ticket/45387\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport default function __unstableEscapeGreaterThan( value: string ): string {\n\treturn value.replace( />/g, '>' );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASA,2BAA2BA,CAAEC,KAAa,EAAW;EAC5E,OAAOA,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,MAAO,CAAC;AACrC","ignoreList":[]}
|
package/build-module/index.js
CHANGED
|
@@ -11,8 +11,6 @@ import __unstableEscapeGreaterThan from './escape-greater';
|
|
|
11
11
|
* and noncharacters."
|
|
12
12
|
*
|
|
13
13
|
* @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
|
|
14
|
-
*
|
|
15
|
-
* @type {RegExp}
|
|
16
14
|
*/
|
|
17
15
|
const REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
|
|
18
16
|
|
|
@@ -26,9 +24,9 @@ const REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
|
|
|
26
24
|
* @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand
|
|
27
25
|
* @see https://w3c.github.io/html/syntax.html#named-character-references
|
|
28
26
|
*
|
|
29
|
-
* @param
|
|
27
|
+
* @param value Original string.
|
|
30
28
|
*
|
|
31
|
-
* @return
|
|
29
|
+
* @return Escaped string.
|
|
32
30
|
*/
|
|
33
31
|
export function escapeAmpersand(value) {
|
|
34
32
|
return value.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi, '&');
|
|
@@ -37,9 +35,9 @@ export function escapeAmpersand(value) {
|
|
|
37
35
|
/**
|
|
38
36
|
* Returns a string with quotation marks replaced.
|
|
39
37
|
*
|
|
40
|
-
* @param
|
|
38
|
+
* @param value Original string.
|
|
41
39
|
*
|
|
42
|
-
* @return
|
|
40
|
+
* @return Escaped string.
|
|
43
41
|
*/
|
|
44
42
|
export function escapeQuotationMark(value) {
|
|
45
43
|
return value.replace(/"/g, '"');
|
|
@@ -48,9 +46,9 @@ export function escapeQuotationMark(value) {
|
|
|
48
46
|
/**
|
|
49
47
|
* Returns a string with less-than sign replaced.
|
|
50
48
|
*
|
|
51
|
-
* @param
|
|
49
|
+
* @param value Original string.
|
|
52
50
|
*
|
|
53
|
-
* @return
|
|
51
|
+
* @return Escaped string.
|
|
54
52
|
*/
|
|
55
53
|
export function escapeLessThan(value) {
|
|
56
54
|
return value.replace(/</g, '<');
|
|
@@ -72,9 +70,9 @@ export function escapeLessThan(value) {
|
|
|
72
70
|
*
|
|
73
71
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
74
72
|
*
|
|
75
|
-
* @param
|
|
73
|
+
* @param value Attribute value.
|
|
76
74
|
*
|
|
77
|
-
* @return
|
|
75
|
+
* @return Escaped attribute value.
|
|
78
76
|
*/
|
|
79
77
|
export function escapeAttribute(value) {
|
|
80
78
|
return __unstableEscapeGreaterThan(escapeQuotationMark(escapeAmpersand(value)));
|
|
@@ -88,9 +86,9 @@ export function escapeAttribute(value) {
|
|
|
88
86
|
* "the text must not contain the character U+003C LESS-THAN SIGN (<) or an
|
|
89
87
|
* ambiguous ampersand."
|
|
90
88
|
*
|
|
91
|
-
* @param
|
|
89
|
+
* @param value Element value.
|
|
92
90
|
*
|
|
93
|
-
* @return
|
|
91
|
+
* @return Escaped HTML element value.
|
|
94
92
|
*/
|
|
95
93
|
export function escapeHTML(value) {
|
|
96
94
|
return escapeLessThan(escapeAmpersand(value));
|
|
@@ -101,9 +99,9 @@ export function escapeHTML(value) {
|
|
|
101
99
|
* `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in
|
|
102
100
|
* order to render the content correctly on the page.
|
|
103
101
|
*
|
|
104
|
-
* @param
|
|
102
|
+
* @param value Element value.
|
|
105
103
|
*
|
|
106
|
-
* @return
|
|
104
|
+
* @return Escaped HTML element value.
|
|
107
105
|
*/
|
|
108
106
|
export function escapeEditableHTML(value) {
|
|
109
107
|
return escapeLessThan(value.replace(/&/g, '&'));
|
|
@@ -112,9 +110,9 @@ export function escapeEditableHTML(value) {
|
|
|
112
110
|
/**
|
|
113
111
|
* Returns true if the given attribute name is valid, or false otherwise.
|
|
114
112
|
*
|
|
115
|
-
* @param
|
|
113
|
+
* @param name Attribute name to test.
|
|
116
114
|
*
|
|
117
|
-
* @return
|
|
115
|
+
* @return Whether attribute is valid.
|
|
118
116
|
*/
|
|
119
117
|
export function isValidAttributeName(name) {
|
|
120
118
|
return !REGEXP_INVALID_ATTRIBUTE_NAME.test(name);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__unstableEscapeGreaterThan","REGEXP_INVALID_ATTRIBUTE_NAME","escapeAmpersand","value","replace","escapeQuotationMark","escapeLessThan","escapeAttribute","escapeHTML","escapeEditableHTML","isValidAttributeName","name","test"],"sources":["@wordpress/escape-html/src/index.
|
|
1
|
+
{"version":3,"names":["__unstableEscapeGreaterThan","REGEXP_INVALID_ATTRIBUTE_NAME","escapeAmpersand","value","replace","escapeQuotationMark","escapeLessThan","escapeAttribute","escapeHTML","escapeEditableHTML","isValidAttributeName","name","test"],"sources":["@wordpress/escape-html/src/index.ts"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport __unstableEscapeGreaterThan from './escape-greater';\n\n/**\n * Regular expression matching invalid attribute names.\n *\n * \"Attribute names must consist of one or more characters other than controls,\n * U+0020 SPACE, U+0022 (\"), U+0027 ('), U+003E (>), U+002F (/), U+003D (=),\n * and noncharacters.\"\n *\n * @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n */\nconst REGEXP_INVALID_ATTRIBUTE_NAME: RegExp =\n\t/[\\u007F-\\u009F \"'>/=\"\\uFDD0-\\uFDEF]/;\n\n/**\n * Returns a string with ampersands escaped. Note that this is an imperfect\n * implementation, where only ampersands which do not appear as a pattern of\n * named, decimal, or hexadecimal character references are escaped. Invalid\n * named references (i.e. ambiguous ampersand) are still permitted.\n *\n * @see https://w3c.github.io/html/syntax.html#character-references\n * @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand\n * @see https://w3c.github.io/html/syntax.html#named-character-references\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport function escapeAmpersand( value: string ): string {\n\treturn value.replace( /&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi, '&' );\n}\n\n/**\n * Returns a string with quotation marks replaced.\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport function escapeQuotationMark( value: string ): string {\n\treturn value.replace( /\"/g, '"' );\n}\n\n/**\n * Returns a string with less-than sign replaced.\n *\n * @param value Original string.\n *\n * @return Escaped string.\n */\nexport function escapeLessThan( value: string ): string {\n\treturn value.replace( /</g, '<' );\n}\n\n/**\n * Returns an escaped attribute value.\n *\n * @see https://w3c.github.io/html/syntax.html#elements-attributes\n *\n * \"[...] the text cannot contain an ambiguous ampersand [...] must not contain\n * any literal U+0022 QUOTATION MARK characters (\")\"\n *\n * Note we also escape the greater than symbol, as this is used by wptexturize to\n * split HTML strings. This is a WordPress specific fix\n *\n * Note that if a resolution for Trac#45387 comes to fruition, it is no longer\n * necessary for `__unstableEscapeGreaterThan` to be used.\n *\n * See: https://core.trac.wordpress.org/ticket/45387\n *\n * @param value Attribute value.\n *\n * @return Escaped attribute value.\n */\nexport function escapeAttribute( value: string ): string {\n\treturn __unstableEscapeGreaterThan(\n\t\tescapeQuotationMark( escapeAmpersand( value ) )\n\t);\n}\n\n/**\n * Returns an escaped HTML element value.\n *\n * @see https://w3c.github.io/html/syntax.html#writing-html-documents-elements\n *\n * \"the text must not contain the character U+003C LESS-THAN SIGN (<) or an\n * ambiguous ampersand.\"\n *\n * @param value Element value.\n *\n * @return Escaped HTML element value.\n */\nexport function escapeHTML( value: string ): string {\n\treturn escapeLessThan( escapeAmpersand( value ) );\n}\n\n/**\n * Returns an escaped Editable HTML element value. This is different from\n * `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in\n * order to render the content correctly on the page.\n *\n * @param value Element value.\n *\n * @return Escaped HTML element value.\n */\nexport function escapeEditableHTML( value: string ): string {\n\treturn escapeLessThan( value.replace( /&/g, '&' ) );\n}\n\n/**\n * Returns true if the given attribute name is valid, or false otherwise.\n *\n * @param name Attribute name to test.\n *\n * @return Whether attribute is valid.\n */\nexport function isValidAttributeName( name: string ): boolean {\n\treturn ! REGEXP_INVALID_ATTRIBUTE_NAME.test( name );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,2BAA2B,MAAM,kBAAkB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,6BAAqC,GAC1C,qCAAqC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAAEC,KAAa,EAAW;EACxD,OAAOA,KAAK,CAACC,OAAO,CAAE,yCAAyC,EAAE,OAAQ,CAAC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAAEF,KAAa,EAAW;EAC5D,OAAOA,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,QAAS,CAAC;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,cAAcA,CAAEH,KAAa,EAAW;EACvD,OAAOA,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,MAAO,CAAC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,eAAeA,CAAEJ,KAAa,EAAW;EACxD,OAAOH,2BAA2B,CACjCK,mBAAmB,CAAEH,eAAe,CAAEC,KAAM,CAAE,CAC/C,CAAC;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASK,UAAUA,CAAEL,KAAa,EAAW;EACnD,OAAOG,cAAc,CAAEJ,eAAe,CAAEC,KAAM,CAAE,CAAC;AAClD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASM,kBAAkBA,CAAEN,KAAa,EAAW;EAC3D,OAAOG,cAAc,CAAEH,KAAK,CAACC,OAAO,CAAE,IAAI,EAAE,OAAQ,CAAE,CAAC;AACxD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASM,oBAAoBA,CAAEC,IAAY,EAAY;EAC7D,OAAO,CAAEV,6BAA6B,CAACW,IAAI,CAAED,IAAK,CAAC;AACpD","ignoreList":[]}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
8
8
|
*
|
|
9
|
-
* @param
|
|
9
|
+
* @param value Original string.
|
|
10
10
|
*
|
|
11
|
-
* @return
|
|
11
|
+
* @return Escaped string.
|
|
12
12
|
*/
|
|
13
13
|
export default function __unstableEscapeGreaterThan(value: string): string;
|
|
14
14
|
//# sourceMappingURL=escape-greater.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escape-greater.d.ts","sourceRoot":"","sources":["../src/escape-greater.
|
|
1
|
+
{"version":3,"file":"escape-greater.d.ts","sourceRoot":"","sources":["../src/escape-greater.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAE3E"}
|
package/build-types/index.d.ts
CHANGED
|
@@ -8,27 +8,27 @@
|
|
|
8
8
|
* @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand
|
|
9
9
|
* @see https://w3c.github.io/html/syntax.html#named-character-references
|
|
10
10
|
*
|
|
11
|
-
* @param
|
|
11
|
+
* @param value Original string.
|
|
12
12
|
*
|
|
13
|
-
* @return
|
|
13
|
+
* @return Escaped string.
|
|
14
14
|
*/
|
|
15
|
-
export function escapeAmpersand(value: string): string;
|
|
15
|
+
export declare function escapeAmpersand(value: string): string;
|
|
16
16
|
/**
|
|
17
17
|
* Returns a string with quotation marks replaced.
|
|
18
18
|
*
|
|
19
|
-
* @param
|
|
19
|
+
* @param value Original string.
|
|
20
20
|
*
|
|
21
|
-
* @return
|
|
21
|
+
* @return Escaped string.
|
|
22
22
|
*/
|
|
23
|
-
export function escapeQuotationMark(value: string): string;
|
|
23
|
+
export declare function escapeQuotationMark(value: string): string;
|
|
24
24
|
/**
|
|
25
25
|
* Returns a string with less-than sign replaced.
|
|
26
26
|
*
|
|
27
|
-
* @param
|
|
27
|
+
* @param value Original string.
|
|
28
28
|
*
|
|
29
|
-
* @return
|
|
29
|
+
* @return Escaped string.
|
|
30
30
|
*/
|
|
31
|
-
export function escapeLessThan(value: string): string;
|
|
31
|
+
export declare function escapeLessThan(value: string): string;
|
|
32
32
|
/**
|
|
33
33
|
* Returns an escaped attribute value.
|
|
34
34
|
*
|
|
@@ -45,11 +45,11 @@ export function escapeLessThan(value: string): string;
|
|
|
45
45
|
*
|
|
46
46
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
47
47
|
*
|
|
48
|
-
* @param
|
|
48
|
+
* @param value Attribute value.
|
|
49
49
|
*
|
|
50
|
-
* @return
|
|
50
|
+
* @return Escaped attribute value.
|
|
51
51
|
*/
|
|
52
|
-
export function escapeAttribute(value: string): string;
|
|
52
|
+
export declare function escapeAttribute(value: string): string;
|
|
53
53
|
/**
|
|
54
54
|
* Returns an escaped HTML element value.
|
|
55
55
|
*
|
|
@@ -58,27 +58,27 @@ export function escapeAttribute(value: string): string;
|
|
|
58
58
|
* "the text must not contain the character U+003C LESS-THAN SIGN (<) or an
|
|
59
59
|
* ambiguous ampersand."
|
|
60
60
|
*
|
|
61
|
-
* @param
|
|
61
|
+
* @param value Element value.
|
|
62
62
|
*
|
|
63
|
-
* @return
|
|
63
|
+
* @return Escaped HTML element value.
|
|
64
64
|
*/
|
|
65
|
-
export function escapeHTML(value: string): string;
|
|
65
|
+
export declare function escapeHTML(value: string): string;
|
|
66
66
|
/**
|
|
67
67
|
* Returns an escaped Editable HTML element value. This is different from
|
|
68
68
|
* `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in
|
|
69
69
|
* order to render the content correctly on the page.
|
|
70
70
|
*
|
|
71
|
-
* @param
|
|
71
|
+
* @param value Element value.
|
|
72
72
|
*
|
|
73
|
-
* @return
|
|
73
|
+
* @return Escaped HTML element value.
|
|
74
74
|
*/
|
|
75
|
-
export function escapeEditableHTML(value: string): string;
|
|
75
|
+
export declare function escapeEditableHTML(value: string): string;
|
|
76
76
|
/**
|
|
77
77
|
* Returns true if the given attribute name is valid, or false otherwise.
|
|
78
78
|
*
|
|
79
|
-
* @param
|
|
79
|
+
* @param name Attribute name to test.
|
|
80
80
|
*
|
|
81
|
-
* @return
|
|
81
|
+
* @return Whether attribute is valid.
|
|
82
82
|
*/
|
|
83
|
-
export function isValidAttributeName(name: string): boolean;
|
|
83
|
+
export declare function isValidAttributeName(name: string): boolean;
|
|
84
84
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAEvD;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAE3D;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAEtD;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAIvD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAElD;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAE,KAAK,EAAE,MAAM,GAAI,MAAM,CAE1D;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAE,IAAI,EAAE,MAAM,GAAI,OAAO,CAE5D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/escape-html",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Escape HTML utils.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
|
|
37
37
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*
|
|
7
7
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
8
8
|
*
|
|
9
|
-
* @param
|
|
9
|
+
* @param value Original string.
|
|
10
10
|
*
|
|
11
|
-
* @return
|
|
11
|
+
* @return Escaped string.
|
|
12
12
|
*/
|
|
13
|
-
export default function __unstableEscapeGreaterThan( value ) {
|
|
13
|
+
export default function __unstableEscapeGreaterThan( value: string ): string {
|
|
14
14
|
return value.replace( />/g, '>' );
|
|
15
15
|
}
|
|
@@ -11,10 +11,9 @@ import __unstableEscapeGreaterThan from './escape-greater';
|
|
|
11
11
|
* and noncharacters."
|
|
12
12
|
*
|
|
13
13
|
* @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
|
|
14
|
-
*
|
|
15
|
-
* @type {RegExp}
|
|
16
14
|
*/
|
|
17
|
-
const REGEXP_INVALID_ATTRIBUTE_NAME =
|
|
15
|
+
const REGEXP_INVALID_ATTRIBUTE_NAME: RegExp =
|
|
16
|
+
/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
19
|
* Returns a string with ampersands escaped. Note that this is an imperfect
|
|
@@ -26,33 +25,33 @@ const REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
|
|
|
26
25
|
* @see https://w3c.github.io/html/syntax.html#ambiguous-ampersand
|
|
27
26
|
* @see https://w3c.github.io/html/syntax.html#named-character-references
|
|
28
27
|
*
|
|
29
|
-
* @param
|
|
28
|
+
* @param value Original string.
|
|
30
29
|
*
|
|
31
|
-
* @return
|
|
30
|
+
* @return Escaped string.
|
|
32
31
|
*/
|
|
33
|
-
export function escapeAmpersand( value ) {
|
|
32
|
+
export function escapeAmpersand( value: string ): string {
|
|
34
33
|
return value.replace( /&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi, '&' );
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* Returns a string with quotation marks replaced.
|
|
39
38
|
*
|
|
40
|
-
* @param
|
|
39
|
+
* @param value Original string.
|
|
41
40
|
*
|
|
42
|
-
* @return
|
|
41
|
+
* @return Escaped string.
|
|
43
42
|
*/
|
|
44
|
-
export function escapeQuotationMark( value ) {
|
|
43
|
+
export function escapeQuotationMark( value: string ): string {
|
|
45
44
|
return value.replace( /"/g, '"' );
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
/**
|
|
49
48
|
* Returns a string with less-than sign replaced.
|
|
50
49
|
*
|
|
51
|
-
* @param
|
|
50
|
+
* @param value Original string.
|
|
52
51
|
*
|
|
53
|
-
* @return
|
|
52
|
+
* @return Escaped string.
|
|
54
53
|
*/
|
|
55
|
-
export function escapeLessThan( value ) {
|
|
54
|
+
export function escapeLessThan( value: string ): string {
|
|
56
55
|
return value.replace( /</g, '<' );
|
|
57
56
|
}
|
|
58
57
|
|
|
@@ -72,11 +71,11 @@ export function escapeLessThan( value ) {
|
|
|
72
71
|
*
|
|
73
72
|
* See: https://core.trac.wordpress.org/ticket/45387
|
|
74
73
|
*
|
|
75
|
-
* @param
|
|
74
|
+
* @param value Attribute value.
|
|
76
75
|
*
|
|
77
|
-
* @return
|
|
76
|
+
* @return Escaped attribute value.
|
|
78
77
|
*/
|
|
79
|
-
export function escapeAttribute( value ) {
|
|
78
|
+
export function escapeAttribute( value: string ): string {
|
|
80
79
|
return __unstableEscapeGreaterThan(
|
|
81
80
|
escapeQuotationMark( escapeAmpersand( value ) )
|
|
82
81
|
);
|
|
@@ -90,11 +89,11 @@ export function escapeAttribute( value ) {
|
|
|
90
89
|
* "the text must not contain the character U+003C LESS-THAN SIGN (<) or an
|
|
91
90
|
* ambiguous ampersand."
|
|
92
91
|
*
|
|
93
|
-
* @param
|
|
92
|
+
* @param value Element value.
|
|
94
93
|
*
|
|
95
|
-
* @return
|
|
94
|
+
* @return Escaped HTML element value.
|
|
96
95
|
*/
|
|
97
|
-
export function escapeHTML( value ) {
|
|
96
|
+
export function escapeHTML( value: string ): string {
|
|
98
97
|
return escapeLessThan( escapeAmpersand( value ) );
|
|
99
98
|
}
|
|
100
99
|
|
|
@@ -103,21 +102,21 @@ export function escapeHTML( value ) {
|
|
|
103
102
|
* `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in
|
|
104
103
|
* order to render the content correctly on the page.
|
|
105
104
|
*
|
|
106
|
-
* @param
|
|
105
|
+
* @param value Element value.
|
|
107
106
|
*
|
|
108
|
-
* @return
|
|
107
|
+
* @return Escaped HTML element value.
|
|
109
108
|
*/
|
|
110
|
-
export function escapeEditableHTML( value ) {
|
|
109
|
+
export function escapeEditableHTML( value: string ): string {
|
|
111
110
|
return escapeLessThan( value.replace( /&/g, '&' ) );
|
|
112
111
|
}
|
|
113
112
|
|
|
114
113
|
/**
|
|
115
114
|
* Returns true if the given attribute name is valid, or false otherwise.
|
|
116
115
|
*
|
|
117
|
-
* @param
|
|
116
|
+
* @param name Attribute name to test.
|
|
118
117
|
*
|
|
119
|
-
* @return
|
|
118
|
+
* @return Whether attribute is valid.
|
|
120
119
|
*/
|
|
121
|
-
export function isValidAttributeName( name ) {
|
|
120
|
+
export function isValidAttributeName( name: string ): boolean {
|
|
122
121
|
return ! REGEXP_INVALID_ATTRIBUTE_NAME.test( name );
|
|
123
122
|
}
|
|
@@ -9,17 +9,19 @@ import {
|
|
|
9
9
|
escapeHTML,
|
|
10
10
|
isValidAttributeName,
|
|
11
11
|
escapeEditableHTML,
|
|
12
|
-
} from '
|
|
12
|
+
} from '..';
|
|
13
13
|
import __unstableEscapeGreaterThan from '../escape-greater';
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
type Implementation = ( str: string ) => string;
|
|
16
|
+
|
|
17
|
+
function testUnstableEscapeGreaterThan( implementation: Implementation ) {
|
|
16
18
|
it( 'should escape greater than', () => {
|
|
17
19
|
const result = implementation( 'Chicken > Ribs' );
|
|
18
20
|
expect( result ).toBe( 'Chicken > Ribs' );
|
|
19
21
|
} );
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
function testEscapeAmpersand( implementation ) {
|
|
24
|
+
function testEscapeAmpersand( implementation: Implementation ) {
|
|
23
25
|
it( 'should escape ampersand', () => {
|
|
24
26
|
const result = implementation(
|
|
25
27
|
'foo & bar & & baz Σ &#bad; Σ Σ vil;'
|
|
@@ -31,7 +33,7 @@ function testEscapeAmpersand( implementation ) {
|
|
|
31
33
|
} );
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
function testEscapeQuotationMark( implementation ) {
|
|
36
|
+
function testEscapeQuotationMark( implementation: Implementation ) {
|
|
35
37
|
it( 'should escape quotation mark', () => {
|
|
36
38
|
const result = implementation( '"Be gone!"' );
|
|
37
39
|
|
|
@@ -39,7 +41,7 @@ function testEscapeQuotationMark( implementation ) {
|
|
|
39
41
|
} );
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
function testEscapeLessThan( implementation ) {
|
|
44
|
+
function testEscapeLessThan( implementation: Implementation ) {
|
|
43
45
|
it( 'should escape less than', () => {
|
|
44
46
|
const result = implementation( 'Chicken < Ribs' );
|
|
45
47
|
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/escape-greater.js","./src/index.js"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"9a6a8af1f5e9cf36a730322490dfda234933349007d15f8c4fcec610b89b183b","signature":"257caae6c17ed5a600e0a31ff31cd257ebf751e3c4ab67ad62d9e12ee3e2497a"},{"version":"69ae0087a2b509f82dd58a5bb3a1da7de2f445f5e86050a121f98dece36c091a","signature":"c3c21484f2c7a50a69a76e8c593e153279856bd4620e7af60956aab942bd002c"}],"root":[70,71],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"checkJs":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[70]],"referencedMap":[[71,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[68,69,12,13,15,14,2,16,17,18,19,20,21,22,23,3,24,4,25,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,61,10,1,62,11,66,64,63,67,65,70,71],"latestChangedDtsFile":"./build-types/index.d.ts"},"version":"5.4.5"}
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/escape-greater.ts","./src/index.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"b8c7fe61b4bf1975a08df76d935df62ed7f581e39ea8e677cc906a7a47528ae0","signature":"408fcb9dc88ac8364cfddd06848e7d4bf2f66da58bc6d69b09441c9ca85bcba3"},{"version":"b3bbcb1ddf874e4d8a4e4bb9d05d5418b5a33f72d78f8e8eb4ff1d1b688f2458","signature":"4856312da8d1d12a908b5172a20c0aea8e0818c9b2d80a83d8d4b186d0c63918"}],"root":[70,71],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"checkJs":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[70]],"referencedMap":[[71,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[68,69,12,13,15,14,2,16,17,18,19,20,21,22,23,3,24,4,25,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,61,10,1,62,11,66,64,63,67,65,70,71],"latestChangedDtsFile":"./build-types/index.d.ts"},"version":"5.4.5"}
|