@shgysk8zer0/polyfills 0.0.2
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 +7 -0
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/abort.js +194 -0
- package/all.js +30 -0
- package/animation.js +33 -0
- package/aom.js +43 -0
- package/appBadge.js +27 -0
- package/array.js +258 -0
- package/assets/CookieStore.js +230 -0
- package/assets/Lock.js +31 -0
- package/assets/LockManager.js +278 -0
- package/assets/Sanitizer.js +59 -0
- package/assets/SanitizerConfig.js +348 -0
- package/assets/SanitizerConfigBase.js +18 -0
- package/assets/SanitizerConfigEdge.js +335 -0
- package/assets/SanitizerConfigW3C.js +766 -0
- package/assets/Scheduler.js +124 -0
- package/assets/TextDecoder.js +83 -0
- package/assets/TextEncoder.js +41 -0
- package/assets/TrustedTypes.js +595 -0
- package/assets/attributes.js +15 -0
- package/assets/csp.js +29 -0
- package/assets/error.js +8 -0
- package/assets/sanitizerUtils.js +270 -0
- package/assets/trust.js +190 -0
- package/assets/utility.js +101 -0
- package/cookieStore.js +2 -0
- package/crypto.js +8 -0
- package/dialog.js +63 -0
- package/element.js +171 -0
- package/elementInternals.js +616 -0
- package/errors.js +21 -0
- package/function.js +31 -0
- package/globalThis.js +36 -0
- package/iterator.js +197 -0
- package/legacy/array.js +15 -0
- package/legacy/element.js +140 -0
- package/legacy/map.js +168 -0
- package/legacy/object.js +42 -0
- package/legacy.js +9 -0
- package/locks.js +33 -0
- package/map.js +32 -0
- package/match-media.js +58 -0
- package/math.js +69 -0
- package/navigator.js +55 -0
- package/number.js +14 -0
- package/package.json +52 -0
- package/performance.js +36 -0
- package/promise.js +70 -0
- package/sanitizer.js +3 -0
- package/scheduler.js +5 -0
- package/secure-context.js +31 -0
- package/set.js +73 -0
- package/share.js +17 -0
- package/symbols.js +9 -0
- package/textEncoder.js +16 -0
- package/trustedTypes.js +3 -0
- package/weakMap.js +28 -0
- package/window.js +85 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright 2023 Chris Zuber <admin@kernvalley.us>
|
|
3
|
+
*/
|
|
4
|
+
import { allowComments, blockElements, dropElements, allowUnknownMarkup } from './SanitizerConfigBase.js';
|
|
5
|
+
import { events } from './attributes.js';
|
|
6
|
+
export const allowAttributes = {
|
|
7
|
+
'abbr': ['*'],
|
|
8
|
+
// 'accept': ['*'],
|
|
9
|
+
// 'accept-charset': ['*'],
|
|
10
|
+
'accesskey': ['*'],
|
|
11
|
+
'action': ['form'],
|
|
12
|
+
// 'align': ['*'],
|
|
13
|
+
// 'alink': ['*'],
|
|
14
|
+
'allow': ['iframe'],
|
|
15
|
+
'allowfullscreen': ['iframe'],
|
|
16
|
+
'alt': ['img'],
|
|
17
|
+
// 'anchor': ['*'],
|
|
18
|
+
// 'archive': ['*'],
|
|
19
|
+
'as': ['link'],
|
|
20
|
+
'async': ['script'],
|
|
21
|
+
'autocapitalize': ['form', 'input', 'textarea'],
|
|
22
|
+
'autocomplete': ['input', 'select', 'textarea'],
|
|
23
|
+
'autocorrect': ['form', 'input', 'textarea'],
|
|
24
|
+
'autofocus': ['*'],
|
|
25
|
+
'autopictureinpicture': ['video'],
|
|
26
|
+
'autoplay': ['audio', 'video'],
|
|
27
|
+
// 'axis': ['*'],
|
|
28
|
+
// 'background': ['*'],
|
|
29
|
+
// 'behavior': ['*'],
|
|
30
|
+
// 'bgcolor': ['*'],
|
|
31
|
+
'border': ['*'],
|
|
32
|
+
// 'bordercolor': ['*'],
|
|
33
|
+
// 'capture': ['*'],
|
|
34
|
+
'cellpadding': ['*'],
|
|
35
|
+
'cellspacing': ['*'],
|
|
36
|
+
// 'challenge': ['*'],
|
|
37
|
+
// 'char': ['*'],
|
|
38
|
+
// 'charoff': ['*'],
|
|
39
|
+
// 'charset': ['*'],
|
|
40
|
+
'checked': ['input'],
|
|
41
|
+
'cite': ['blockquote'],
|
|
42
|
+
'class': ['*'],
|
|
43
|
+
// 'classid': ['*'],
|
|
44
|
+
// 'clear': ['*'],
|
|
45
|
+
// 'code': ['*'],
|
|
46
|
+
// 'codebase': ['*'],
|
|
47
|
+
// 'codetype': ['*'],
|
|
48
|
+
// 'color': ['*'],
|
|
49
|
+
'cols': ['*'],
|
|
50
|
+
'colspan': ['*'],
|
|
51
|
+
// 'compact': ['*'],
|
|
52
|
+
'content': ['meta'],
|
|
53
|
+
'contenteditable': ['*'],
|
|
54
|
+
'controls': ['audio', 'video'],
|
|
55
|
+
// 'controlslist': ['*'],
|
|
56
|
+
// 'conversiondestination': ['*'],
|
|
57
|
+
// 'coords': ['*'],
|
|
58
|
+
'crossorigin': ['script', 'link', 'img', 'audio', 'video'],
|
|
59
|
+
'csp': ['iframe'],
|
|
60
|
+
'data': ['*'],
|
|
61
|
+
'datetime': ['time'],
|
|
62
|
+
// 'declare': ['*'],
|
|
63
|
+
'decoding': ['img'],
|
|
64
|
+
'default': ['input'],
|
|
65
|
+
'defer': ['script'],
|
|
66
|
+
'dir': ['*'],
|
|
67
|
+
// 'direction': ['*'],
|
|
68
|
+
'dirname': ['*'],
|
|
69
|
+
'disabled': ['button', 'input', 'fieldset'],
|
|
70
|
+
'disablepictureinpicture': ['*'],
|
|
71
|
+
'disableremoteplayback': ['*'],
|
|
72
|
+
'download': ['a'],
|
|
73
|
+
'draggable': ['*'],
|
|
74
|
+
// 'elementtiming': ['*'],
|
|
75
|
+
'enctype': ['form'],
|
|
76
|
+
// 'end': ['*'],
|
|
77
|
+
'enterkeyhint': ['input', 'button'],
|
|
78
|
+
// 'event': ['*'],
|
|
79
|
+
// 'exportparts': ['*'],
|
|
80
|
+
// 'face': ['*'],
|
|
81
|
+
'for': ['label', 'output'],
|
|
82
|
+
// 'form': ['*'],
|
|
83
|
+
// 'formaction': ['*'],
|
|
84
|
+
// 'formenctype': ['*'],
|
|
85
|
+
// 'formmethod': ['*'],
|
|
86
|
+
// 'formnovalidate': ['*'],
|
|
87
|
+
// 'formtarget': ['*'],
|
|
88
|
+
// 'frame': ['*'],
|
|
89
|
+
'frameborder': ['iframe'],
|
|
90
|
+
// 'headers': ['*'],
|
|
91
|
+
'height': ['img', 'iframe', 'video'],
|
|
92
|
+
'hidden': ['*'],
|
|
93
|
+
// 'high': ['*'],
|
|
94
|
+
'href': ['a', 'link'],
|
|
95
|
+
'hreflang': ['*'],
|
|
96
|
+
// 'hreftranslate': ['*'],
|
|
97
|
+
// 'hspace': ['*'],
|
|
98
|
+
// 'http-equiv': ['*'],
|
|
99
|
+
'id': ['*'],
|
|
100
|
+
// 'imagesizes': ['*'],
|
|
101
|
+
// 'imagesrcset': ['*'],
|
|
102
|
+
'importance': ['*'],
|
|
103
|
+
// 'impressiondata': ['*'],
|
|
104
|
+
// 'impressionexpiry': ['*'],
|
|
105
|
+
'incremental': ['*'],
|
|
106
|
+
'inert': ['*'],
|
|
107
|
+
'inputmode': ['*'],
|
|
108
|
+
'integrity': ['link', 'script'],
|
|
109
|
+
'invisible': ['*'],
|
|
110
|
+
'is': ['*'],
|
|
111
|
+
// 'ismap': ['*'],
|
|
112
|
+
// 'keytype': ['*'],
|
|
113
|
+
// 'kind': ['*'],
|
|
114
|
+
'label': ['*'],
|
|
115
|
+
'lang': ['*'],
|
|
116
|
+
'language': ['*'],
|
|
117
|
+
// 'latencyhint': ['*'],
|
|
118
|
+
// 'leftmargin': ['*'],
|
|
119
|
+
'link': ['*'],
|
|
120
|
+
'list': ['input', 'textarea'],
|
|
121
|
+
'loading': ['img', 'iframe'],
|
|
122
|
+
// 'longdesc': ['*'],
|
|
123
|
+
// 'loop': ['*'],
|
|
124
|
+
// 'low': ['*'],
|
|
125
|
+
// 'lowsrc': ['*'],
|
|
126
|
+
// 'manifest': ['*'],
|
|
127
|
+
// 'marginheight': ['*'],
|
|
128
|
+
// 'marginwidth': ['*'],
|
|
129
|
+
'max': ['input'],
|
|
130
|
+
'maxlength': ['input', 'textarea'],
|
|
131
|
+
// 'mayscript': ['*'],
|
|
132
|
+
'media': ['link'],
|
|
133
|
+
'method': ['form'],
|
|
134
|
+
'min': ['input'],
|
|
135
|
+
'minlength': ['input', 'textarea'],
|
|
136
|
+
'multiple': ['input', 'select'],
|
|
137
|
+
'muted': ['audio', 'video'],
|
|
138
|
+
'name': ['*'],
|
|
139
|
+
// 'nohref': ['*'],
|
|
140
|
+
'nomodule': ['script'],
|
|
141
|
+
'nonce': ['script', 'link'],
|
|
142
|
+
'noresize': ['*'],
|
|
143
|
+
// 'noshade': ['*'],
|
|
144
|
+
'novalidate': ['*'],
|
|
145
|
+
'nowrap': ['*'],
|
|
146
|
+
'object': ['*'],
|
|
147
|
+
'open': ['details', 'dialog'],
|
|
148
|
+
// 'optimum': ['*'],
|
|
149
|
+
'part': ['*'],
|
|
150
|
+
'pattern': ['input', 'teaxarea'],
|
|
151
|
+
// 'ping': ['*'],
|
|
152
|
+
'placeholder': ['input', 'textarea'],
|
|
153
|
+
'playsinline': ['*'],
|
|
154
|
+
// 'policy': ['*'],
|
|
155
|
+
'poster': ['video'],
|
|
156
|
+
'preload': ['*'],
|
|
157
|
+
// 'pseudo': ['*'],
|
|
158
|
+
'readonly': ['input', 'textarea', 'select'],
|
|
159
|
+
'referrerpolicy': ['script', 'link', 'img', 'video', 'source', 'iframe'],
|
|
160
|
+
'rel': ['a', 'link'],
|
|
161
|
+
// 'reportingorigin': ['*'],
|
|
162
|
+
'required': ['input', 'textarea', 'select'],
|
|
163
|
+
// 'resources': ['*'],
|
|
164
|
+
'rev': ['*'],
|
|
165
|
+
'reversed': ['*'],
|
|
166
|
+
'role': ['*'],
|
|
167
|
+
'rows': ['*'],
|
|
168
|
+
'rowspan': ['*'],
|
|
169
|
+
'rules': ['*'],
|
|
170
|
+
'sandbox': ['iframe'],
|
|
171
|
+
// 'scheme': ['*'],
|
|
172
|
+
// 'scope': ['*'],
|
|
173
|
+
// 'scopes': ['*'],
|
|
174
|
+
// 'scrollamount': ['*'],
|
|
175
|
+
// 'scrolldelay': ['*'],
|
|
176
|
+
'scrolling': ['iframe'],
|
|
177
|
+
// 'select': ['*'],
|
|
178
|
+
'selected': ['option'],
|
|
179
|
+
'shadowroot': ['template'],
|
|
180
|
+
// 'shadowrootdelegatesfocus': ['*'],
|
|
181
|
+
// 'shape': ['*'],
|
|
182
|
+
'size': ['*'],
|
|
183
|
+
'sizes': ['img'],
|
|
184
|
+
'slot': ['*'],
|
|
185
|
+
'span': ['*'],
|
|
186
|
+
'spellcheck': ['*'],
|
|
187
|
+
'src': ['img', 'script', 'source', 'audio', 'video'],
|
|
188
|
+
// 'srcdoc': ['iframe'],
|
|
189
|
+
'srclang': ['*'],
|
|
190
|
+
'srcset': ['img'],
|
|
191
|
+
// 'standby': ['*'],
|
|
192
|
+
// 'start': ['*'],
|
|
193
|
+
'step': ['input'],
|
|
194
|
+
// 'style': ['*'],
|
|
195
|
+
// 'summary': ['*'],
|
|
196
|
+
'tabindex': ['*'],
|
|
197
|
+
'target': ['a', 'form'],
|
|
198
|
+
'text': ['*'],
|
|
199
|
+
'title': ['*'],
|
|
200
|
+
// 'topmargin': ['*'],
|
|
201
|
+
// 'translate': ['*'],
|
|
202
|
+
// 'truespeed': ['*'],
|
|
203
|
+
// 'trusttoken': ['*'],
|
|
204
|
+
'type': ['script', 'input'],
|
|
205
|
+
// 'usemap': ['*'],
|
|
206
|
+
// 'valign': ['*'],
|
|
207
|
+
'value': ['input'],
|
|
208
|
+
// 'valuetype': ['*'],
|
|
209
|
+
// 'version': ['*'],
|
|
210
|
+
// 'virtualkeyboardpolicy': ['*'],
|
|
211
|
+
// 'vlink': ['*'],
|
|
212
|
+
// 'vspace': ['*'],
|
|
213
|
+
'webkitdirectory': ['*'],
|
|
214
|
+
'width': ['img', 'iframe', 'video'],
|
|
215
|
+
'wrap': ['*'],
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export const allowCustomElements = true;
|
|
219
|
+
|
|
220
|
+
export const allowElements = [
|
|
221
|
+
'a',
|
|
222
|
+
'abbr',
|
|
223
|
+
'acronym',
|
|
224
|
+
'address',
|
|
225
|
+
'area',
|
|
226
|
+
'article',
|
|
227
|
+
'aside',
|
|
228
|
+
'audio',
|
|
229
|
+
'b',
|
|
230
|
+
'bdi',
|
|
231
|
+
'bdo',
|
|
232
|
+
'big',
|
|
233
|
+
'blockquote',
|
|
234
|
+
'body',
|
|
235
|
+
'br',
|
|
236
|
+
'button',
|
|
237
|
+
'canvas',
|
|
238
|
+
'caption',
|
|
239
|
+
'center',
|
|
240
|
+
'cite',
|
|
241
|
+
'code',
|
|
242
|
+
'col',
|
|
243
|
+
'colgroup',
|
|
244
|
+
'datalist',
|
|
245
|
+
'dd',
|
|
246
|
+
'del',
|
|
247
|
+
'details',
|
|
248
|
+
'dialog',
|
|
249
|
+
'dfn',
|
|
250
|
+
'dir',
|
|
251
|
+
'div',
|
|
252
|
+
'dl',
|
|
253
|
+
'dt',
|
|
254
|
+
'em',
|
|
255
|
+
'fieldset',
|
|
256
|
+
'figcaption',
|
|
257
|
+
'figure',
|
|
258
|
+
'font',
|
|
259
|
+
'footer',
|
|
260
|
+
'form',
|
|
261
|
+
'h1',
|
|
262
|
+
'h2',
|
|
263
|
+
'h3',
|
|
264
|
+
'h4',
|
|
265
|
+
'h5',
|
|
266
|
+
'h6',
|
|
267
|
+
'head',
|
|
268
|
+
'header',
|
|
269
|
+
'hgroup',
|
|
270
|
+
'hr',
|
|
271
|
+
'html',
|
|
272
|
+
'i',
|
|
273
|
+
'img',
|
|
274
|
+
'input',
|
|
275
|
+
'ins',
|
|
276
|
+
'kbd',
|
|
277
|
+
'keygen',
|
|
278
|
+
'label',
|
|
279
|
+
'legend',
|
|
280
|
+
'li',
|
|
281
|
+
'link',
|
|
282
|
+
'listing',
|
|
283
|
+
'map',
|
|
284
|
+
'mark',
|
|
285
|
+
'menu',
|
|
286
|
+
'meta',
|
|
287
|
+
'meter',
|
|
288
|
+
'nav',
|
|
289
|
+
'nobr',
|
|
290
|
+
'ol',
|
|
291
|
+
'optgroup',
|
|
292
|
+
'option',
|
|
293
|
+
'output',
|
|
294
|
+
'p',
|
|
295
|
+
'picture',
|
|
296
|
+
'pre',
|
|
297
|
+
'progress',
|
|
298
|
+
'q',
|
|
299
|
+
'rb',
|
|
300
|
+
'rp',
|
|
301
|
+
'rt',
|
|
302
|
+
'rtc',
|
|
303
|
+
'ruby',
|
|
304
|
+
's',
|
|
305
|
+
'samp',
|
|
306
|
+
'section',
|
|
307
|
+
'select',
|
|
308
|
+
'slot',
|
|
309
|
+
'small',
|
|
310
|
+
'source',
|
|
311
|
+
'span',
|
|
312
|
+
'strike',
|
|
313
|
+
'strong',
|
|
314
|
+
'sub',
|
|
315
|
+
'summary',
|
|
316
|
+
'sup',
|
|
317
|
+
'svg',
|
|
318
|
+
'style',
|
|
319
|
+
'table',
|
|
320
|
+
'template',
|
|
321
|
+
'tbody',
|
|
322
|
+
'td',
|
|
323
|
+
'textarea',
|
|
324
|
+
'tfoot',
|
|
325
|
+
'th',
|
|
326
|
+
'thead',
|
|
327
|
+
'time',
|
|
328
|
+
'tr',
|
|
329
|
+
'track',
|
|
330
|
+
'tt',
|
|
331
|
+
'u',
|
|
332
|
+
'ul',
|
|
333
|
+
'var',
|
|
334
|
+
'video',
|
|
335
|
+
'wbr'
|
|
336
|
+
];
|
|
337
|
+
|
|
338
|
+
export const dropAttributes = {
|
|
339
|
+
'style': ['*'],
|
|
340
|
+
...Object.fromEntries(events.map(ev => [ev, ['*']])),
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export const SanitizerConfig = {
|
|
344
|
+
allowAttributes, allowComments, allowElements, allowCustomElements,
|
|
345
|
+
blockElements, dropAttributes, dropElements,
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export { allowComments, blockElements, dropElements, allowUnknownMarkup };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright 2023 Chris Zuber <admin@kernvalley.us>
|
|
3
|
+
*/
|
|
4
|
+
import { events } from './attributes.js';
|
|
5
|
+
|
|
6
|
+
export const allowAttributes = undefined;
|
|
7
|
+
export const allowComments = false;
|
|
8
|
+
export const allowCustomElements = false;
|
|
9
|
+
export const allowElements = undefined;
|
|
10
|
+
export const blockElements = ['frame'];
|
|
11
|
+
export const dropAttributes = Object.fromEntries(events.map(event => [event, ['*']]));
|
|
12
|
+
export const dropElements = ['script', 'link', 'title', 'noscript', 'head', 'body', 'object', 'embed', 'param', 'iframe','base'];
|
|
13
|
+
export const allowUnknownMarkup = false;
|
|
14
|
+
|
|
15
|
+
export const SanitizerConfig = {
|
|
16
|
+
allowAttributes, allowComments, allowElements, allowCustomElements,
|
|
17
|
+
blockElements, dropAttributes, dropElements, allowUnknownMarkup,
|
|
18
|
+
};
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright 2023 Chris Zuber <admin@kernvalley.us>
|
|
3
|
+
*/
|
|
4
|
+
export const SanitizerConfig = {
|
|
5
|
+
allowAttributes: {
|
|
6
|
+
'abbr': ['*'],
|
|
7
|
+
'accept': ['*'],
|
|
8
|
+
'accept-charset': ['*'],
|
|
9
|
+
'accesskey': ['*'],
|
|
10
|
+
'action': ['*'],
|
|
11
|
+
'align': ['*'],
|
|
12
|
+
'alink': ['*'],
|
|
13
|
+
'allow': ['*'],
|
|
14
|
+
'allowfullscreen': ['*'],
|
|
15
|
+
'alt': ['*'],
|
|
16
|
+
'anchor': ['*'],
|
|
17
|
+
'archive': ['*'],
|
|
18
|
+
'as': ['*'],
|
|
19
|
+
'async': ['*'],
|
|
20
|
+
'autocapitalize': ['*'],
|
|
21
|
+
'autocomplete': ['*'],
|
|
22
|
+
'autocorrect': ['*'],
|
|
23
|
+
'autofocus': ['*'],
|
|
24
|
+
'autopictureinpicture': ['*'],
|
|
25
|
+
'autoplay': ['audio', 'video'],
|
|
26
|
+
'axis': ['*'],
|
|
27
|
+
'background': ['*'],
|
|
28
|
+
'behavior': ['*'],
|
|
29
|
+
'bgcolor': ['*'],
|
|
30
|
+
'border': ['*'],
|
|
31
|
+
'bordercolor': ['*'],
|
|
32
|
+
'capture': ['*'],
|
|
33
|
+
'cellpadding': ['*'],
|
|
34
|
+
'cellspacing': ['*'],
|
|
35
|
+
'challenge': ['*'],
|
|
36
|
+
'char': ['*'],
|
|
37
|
+
'charoff': ['*'],
|
|
38
|
+
'charset': ['*'],
|
|
39
|
+
'checked': ['*'],
|
|
40
|
+
'cite': ['*'],
|
|
41
|
+
'class': ['*'],
|
|
42
|
+
'classid': ['*'],
|
|
43
|
+
'clear': ['*'],
|
|
44
|
+
'code': ['*'],
|
|
45
|
+
'codebase': ['*'],
|
|
46
|
+
'codetype': ['*'],
|
|
47
|
+
'color': ['*'],
|
|
48
|
+
'cols': ['*'],
|
|
49
|
+
'colspan': ['*'],
|
|
50
|
+
'compact': ['*'],
|
|
51
|
+
'content': ['*'],
|
|
52
|
+
'contenteditable': ['*'],
|
|
53
|
+
'controls': ['*'],
|
|
54
|
+
'controlslist': ['*'],
|
|
55
|
+
'conversiondestination': ['*'],
|
|
56
|
+
'coords': ['*'],
|
|
57
|
+
'crossorigin': ['*'],
|
|
58
|
+
'csp': ['*'],
|
|
59
|
+
'data': ['*'],
|
|
60
|
+
'datetime': ['*'],
|
|
61
|
+
'declare': ['*'],
|
|
62
|
+
'decoding': ['*'],
|
|
63
|
+
'default': ['*'],
|
|
64
|
+
'defer': ['*'],
|
|
65
|
+
'dir': ['*'],
|
|
66
|
+
'direction': ['*'],
|
|
67
|
+
'dirname': ['*'],
|
|
68
|
+
'disabled': ['*'],
|
|
69
|
+
'disablepictureinpicture': ['*'],
|
|
70
|
+
'disableremoteplayback': ['*'],
|
|
71
|
+
'download': ['*'],
|
|
72
|
+
'draggable': ['*'],
|
|
73
|
+
'elementtiming': ['*'],
|
|
74
|
+
'enctype': ['*'],
|
|
75
|
+
'end': ['*'],
|
|
76
|
+
'enterkeyhint': ['*'],
|
|
77
|
+
'event': ['*'],
|
|
78
|
+
'exportparts': ['*'],
|
|
79
|
+
'face': ['*'],
|
|
80
|
+
'for': ['*'],
|
|
81
|
+
'form': ['*'],
|
|
82
|
+
'formaction': ['*'],
|
|
83
|
+
'formenctype': ['*'],
|
|
84
|
+
'formmethod': ['*'],
|
|
85
|
+
'formnovalidate': ['*'],
|
|
86
|
+
'formtarget': ['*'],
|
|
87
|
+
'frame': ['*'],
|
|
88
|
+
'frameborder': ['*'],
|
|
89
|
+
'headers': ['*'],
|
|
90
|
+
'height': ['*'],
|
|
91
|
+
'hidden': ['*'],
|
|
92
|
+
'high': ['*'],
|
|
93
|
+
'href': ['*'],
|
|
94
|
+
'hreflang': ['*'],
|
|
95
|
+
'hreftranslate': ['*'],
|
|
96
|
+
'hspace': ['*'],
|
|
97
|
+
'http-equiv': ['*'],
|
|
98
|
+
'id': ['*'],
|
|
99
|
+
'imagesizes': ['*'],
|
|
100
|
+
'imagesrcset': ['*'],
|
|
101
|
+
'importance': ['*'],
|
|
102
|
+
'impressiondata': ['*'],
|
|
103
|
+
'impressionexpiry': ['*'],
|
|
104
|
+
'incremental': ['*'],
|
|
105
|
+
'inert': ['*'],
|
|
106
|
+
'inputmode': ['*'],
|
|
107
|
+
'integrity': ['*'],
|
|
108
|
+
'invisible': ['*'],
|
|
109
|
+
'is': ['*'],
|
|
110
|
+
'ismap': ['*'],
|
|
111
|
+
'keytype': ['*'],
|
|
112
|
+
'kind': ['*'],
|
|
113
|
+
'label': ['*'],
|
|
114
|
+
'lang': ['*'],
|
|
115
|
+
'language': ['*'],
|
|
116
|
+
'latencyhint': ['*'],
|
|
117
|
+
'leftmargin': ['*'],
|
|
118
|
+
'link': ['*'],
|
|
119
|
+
'list': ['*'],
|
|
120
|
+
'loading': ['*'],
|
|
121
|
+
'longdesc': ['*'],
|
|
122
|
+
'loop': ['*'],
|
|
123
|
+
'low': ['*'],
|
|
124
|
+
'lowsrc': ['*'],
|
|
125
|
+
'manifest': ['*'],
|
|
126
|
+
'marginheight': ['*'],
|
|
127
|
+
'marginwidth': ['*'],
|
|
128
|
+
'max': ['*'],
|
|
129
|
+
'maxlength': ['*'],
|
|
130
|
+
'mayscript': ['*'],
|
|
131
|
+
'media': ['*'],
|
|
132
|
+
'method': ['*'],
|
|
133
|
+
'min': ['*'],
|
|
134
|
+
'minlength': ['*'],
|
|
135
|
+
'multiple': ['*'],
|
|
136
|
+
'muted': ['*'],
|
|
137
|
+
'name': ['*'],
|
|
138
|
+
'nohref': ['*'],
|
|
139
|
+
'nomodule': ['*'],
|
|
140
|
+
'nonce': ['*'],
|
|
141
|
+
'noresize': ['*'],
|
|
142
|
+
'noshade': ['*'],
|
|
143
|
+
'novalidate': ['*'],
|
|
144
|
+
'nowrap': ['*'],
|
|
145
|
+
'object': ['*'],
|
|
146
|
+
'open': ['*'],
|
|
147
|
+
'optimum': ['*'],
|
|
148
|
+
'part': ['*'],
|
|
149
|
+
'pattern': ['*'],
|
|
150
|
+
'ping': ['*'],
|
|
151
|
+
'placeholder': ['*'],
|
|
152
|
+
'playsinline': ['*'],
|
|
153
|
+
'policy': ['*'],
|
|
154
|
+
'poster': ['*'],
|
|
155
|
+
'preload': ['*'],
|
|
156
|
+
'pseudo': ['*'],
|
|
157
|
+
'readonly': ['*'],
|
|
158
|
+
'referrerpolicy': ['*'],
|
|
159
|
+
'rel': ['*'],
|
|
160
|
+
'reportingorigin': ['*'],
|
|
161
|
+
'required': ['*'],
|
|
162
|
+
'resources': ['*'],
|
|
163
|
+
'rev': ['*'],
|
|
164
|
+
'reversed': ['*'],
|
|
165
|
+
'role': ['*'],
|
|
166
|
+
'rows': ['*'],
|
|
167
|
+
'rowspan': ['*'],
|
|
168
|
+
'rules': ['*'],
|
|
169
|
+
'sandbox': ['*'],
|
|
170
|
+
'scheme': ['*'],
|
|
171
|
+
'scope': ['*'],
|
|
172
|
+
'scopes': ['*'],
|
|
173
|
+
'scrollamount': ['*'],
|
|
174
|
+
'scrolldelay': ['*'],
|
|
175
|
+
'scrolling': ['*'],
|
|
176
|
+
'select': ['*'],
|
|
177
|
+
'selected': ['*'],
|
|
178
|
+
'shadowroot': ['*'],
|
|
179
|
+
'shadowrootdelegatesfocus': ['*'],
|
|
180
|
+
'shape': ['*'],
|
|
181
|
+
'size': ['*'],
|
|
182
|
+
'sizes': ['*'],
|
|
183
|
+
'slot': ['*'],
|
|
184
|
+
'span': ['*'],
|
|
185
|
+
'spellcheck': ['*'],
|
|
186
|
+
'src': ['*'],
|
|
187
|
+
'srcdoc': ['*'],
|
|
188
|
+
'srclang': ['*'],
|
|
189
|
+
'srcset': ['*'],
|
|
190
|
+
'standby': ['*'],
|
|
191
|
+
'start': ['*'],
|
|
192
|
+
'step': ['*'],
|
|
193
|
+
'style': ['*'],
|
|
194
|
+
'summary': ['*'],
|
|
195
|
+
'tabindex': ['*'],
|
|
196
|
+
'target': ['*'],
|
|
197
|
+
'text': ['*'],
|
|
198
|
+
'title': ['*'],
|
|
199
|
+
'topmargin': ['*'],
|
|
200
|
+
'translate': ['*'],
|
|
201
|
+
'truespeed': ['*'],
|
|
202
|
+
'trusttoken': ['*'],
|
|
203
|
+
'type': ['*'],
|
|
204
|
+
'usemap': ['*'],
|
|
205
|
+
'valign': ['*'],
|
|
206
|
+
'value': ['*'],
|
|
207
|
+
'valuetype': ['*'],
|
|
208
|
+
'version': ['*'],
|
|
209
|
+
'virtualkeyboardpolicy': ['*'],
|
|
210
|
+
'vlink': ['*'],
|
|
211
|
+
'vspace': ['*'],
|
|
212
|
+
'webkitdirectory': ['*'],
|
|
213
|
+
'width': ['*'],
|
|
214
|
+
'wrap': ['*'],
|
|
215
|
+
},
|
|
216
|
+
allowCustomElements: false,
|
|
217
|
+
allowUnknownMarkup: false,
|
|
218
|
+
allowElements: [
|
|
219
|
+
'a',
|
|
220
|
+
'abbr',
|
|
221
|
+
'acronym',
|
|
222
|
+
'address',
|
|
223
|
+
'area',
|
|
224
|
+
'article',
|
|
225
|
+
'aside',
|
|
226
|
+
'audio',
|
|
227
|
+
'b',
|
|
228
|
+
'bdi',
|
|
229
|
+
'bdo',
|
|
230
|
+
'big',
|
|
231
|
+
'blockquote',
|
|
232
|
+
'body',
|
|
233
|
+
'br',
|
|
234
|
+
'button',
|
|
235
|
+
'canvas',
|
|
236
|
+
'caption',
|
|
237
|
+
'center',
|
|
238
|
+
'cite',
|
|
239
|
+
'code',
|
|
240
|
+
'col',
|
|
241
|
+
'colgroup',
|
|
242
|
+
'datalist',
|
|
243
|
+
'dd',
|
|
244
|
+
'del',
|
|
245
|
+
'details',
|
|
246
|
+
'dialog',
|
|
247
|
+
'dfn',
|
|
248
|
+
'dir',
|
|
249
|
+
'div',
|
|
250
|
+
'dl',
|
|
251
|
+
'dt',
|
|
252
|
+
'em',
|
|
253
|
+
'fieldset',
|
|
254
|
+
'figcaption',
|
|
255
|
+
'figure',
|
|
256
|
+
'font',
|
|
257
|
+
'footer',
|
|
258
|
+
'form',
|
|
259
|
+
'h1',
|
|
260
|
+
'h2',
|
|
261
|
+
'h3',
|
|
262
|
+
'h4',
|
|
263
|
+
'h5',
|
|
264
|
+
'h6',
|
|
265
|
+
'head',
|
|
266
|
+
'header',
|
|
267
|
+
'hgroup',
|
|
268
|
+
'hr',
|
|
269
|
+
'html',
|
|
270
|
+
'i',
|
|
271
|
+
'img',
|
|
272
|
+
'input',
|
|
273
|
+
'ins',
|
|
274
|
+
'kbd',
|
|
275
|
+
'keygen',
|
|
276
|
+
'label',
|
|
277
|
+
'legend',
|
|
278
|
+
'li',
|
|
279
|
+
'link',
|
|
280
|
+
'listing',
|
|
281
|
+
'map',
|
|
282
|
+
'mark',
|
|
283
|
+
'menu',
|
|
284
|
+
'meta',
|
|
285
|
+
'meter',
|
|
286
|
+
'nav',
|
|
287
|
+
'nobr',
|
|
288
|
+
'ol',
|
|
289
|
+
'optgroup',
|
|
290
|
+
'option',
|
|
291
|
+
'output',
|
|
292
|
+
'p',
|
|
293
|
+
'picture',
|
|
294
|
+
'pre',
|
|
295
|
+
'progress',
|
|
296
|
+
'q',
|
|
297
|
+
'rb',
|
|
298
|
+
'rp',
|
|
299
|
+
'rt',
|
|
300
|
+
'rtc',
|
|
301
|
+
'ruby',
|
|
302
|
+
's',
|
|
303
|
+
'samp',
|
|
304
|
+
'section',
|
|
305
|
+
'select',
|
|
306
|
+
'small',
|
|
307
|
+
'source',
|
|
308
|
+
'span',
|
|
309
|
+
'strike',
|
|
310
|
+
'strong',
|
|
311
|
+
'sub',
|
|
312
|
+
'summary',
|
|
313
|
+
'sup',
|
|
314
|
+
'style',
|
|
315
|
+
'table',
|
|
316
|
+
'tbody',
|
|
317
|
+
'td',
|
|
318
|
+
'textarea',
|
|
319
|
+
'tfoot',
|
|
320
|
+
'th',
|
|
321
|
+
'thead',
|
|
322
|
+
'time',
|
|
323
|
+
'tr',
|
|
324
|
+
'track',
|
|
325
|
+
'tt',
|
|
326
|
+
'u',
|
|
327
|
+
'ul',
|
|
328
|
+
'var',
|
|
329
|
+
'video',
|
|
330
|
+
'wbr'
|
|
331
|
+
],
|
|
332
|
+
blockElements: [],
|
|
333
|
+
dropAttributes: [],
|
|
334
|
+
dropElements: [],
|
|
335
|
+
};
|