@domql/utils 2.5.45 → 2.5.46
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/dist/cjs/tags.js +11 -20
- package/package.json +2 -2
- package/tags.js +11 -20
package/dist/cjs/tags.js
CHANGED
|
@@ -34,21 +34,23 @@ const HTML_TAGS = {
|
|
|
34
34
|
"style"
|
|
35
35
|
],
|
|
36
36
|
body: [
|
|
37
|
+
"string",
|
|
38
|
+
"fragment",
|
|
37
39
|
"a",
|
|
38
40
|
"abbr",
|
|
39
41
|
"acronym",
|
|
40
42
|
"address",
|
|
43
|
+
"applet",
|
|
41
44
|
"area",
|
|
42
45
|
"article",
|
|
43
46
|
"aside",
|
|
44
47
|
"audio",
|
|
45
48
|
"b",
|
|
46
|
-
"
|
|
49
|
+
"basefont",
|
|
47
50
|
"bdi",
|
|
48
51
|
"bdo",
|
|
49
52
|
"big",
|
|
50
53
|
"blockquote",
|
|
51
|
-
"body",
|
|
52
54
|
"br",
|
|
53
55
|
"button",
|
|
54
56
|
"canvas",
|
|
@@ -80,14 +82,16 @@ const HTML_TAGS = {
|
|
|
80
82
|
"frame",
|
|
81
83
|
"frameset",
|
|
82
84
|
"h1",
|
|
85
|
+
"h2",
|
|
86
|
+
"h3",
|
|
87
|
+
"h4",
|
|
88
|
+
"h5",
|
|
89
|
+
"h6",
|
|
83
90
|
"head",
|
|
84
91
|
"header",
|
|
85
|
-
"hgroup",
|
|
86
92
|
"hr",
|
|
87
|
-
"html",
|
|
88
93
|
"i",
|
|
89
94
|
"iframe",
|
|
90
|
-
"image",
|
|
91
95
|
"img",
|
|
92
96
|
"input",
|
|
93
97
|
"ins",
|
|
@@ -99,14 +103,8 @@ const HTML_TAGS = {
|
|
|
99
103
|
"main",
|
|
100
104
|
"map",
|
|
101
105
|
"mark",
|
|
102
|
-
"marquee",
|
|
103
|
-
"menu",
|
|
104
|
-
"menuitem",
|
|
105
|
-
"meta",
|
|
106
106
|
"meter",
|
|
107
107
|
"nav",
|
|
108
|
-
"nobr",
|
|
109
|
-
"noembed",
|
|
110
108
|
"noframes",
|
|
111
109
|
"noscript",
|
|
112
110
|
"object",
|
|
@@ -117,29 +115,23 @@ const HTML_TAGS = {
|
|
|
117
115
|
"p",
|
|
118
116
|
"param",
|
|
119
117
|
"picture",
|
|
120
|
-
"plaintext",
|
|
121
|
-
"portal",
|
|
122
118
|
"pre",
|
|
123
119
|
"progress",
|
|
120
|
+
"hgroup",
|
|
124
121
|
"q",
|
|
125
|
-
"rb",
|
|
126
122
|
"rp",
|
|
127
123
|
"rt",
|
|
128
|
-
"rtc",
|
|
129
124
|
"ruby",
|
|
130
125
|
"s",
|
|
131
126
|
"samp",
|
|
132
127
|
"script",
|
|
133
|
-
"search",
|
|
134
128
|
"section",
|
|
135
129
|
"select",
|
|
136
|
-
"slot",
|
|
137
130
|
"small",
|
|
138
131
|
"source",
|
|
139
132
|
"span",
|
|
140
133
|
"strike",
|
|
141
134
|
"strong",
|
|
142
|
-
"style",
|
|
143
135
|
"sub",
|
|
144
136
|
"summary",
|
|
145
137
|
"sup",
|
|
@@ -147,12 +139,12 @@ const HTML_TAGS = {
|
|
|
147
139
|
"tbody",
|
|
148
140
|
"td",
|
|
149
141
|
"template",
|
|
142
|
+
"hgroup",
|
|
150
143
|
"textarea",
|
|
151
144
|
"tfoot",
|
|
152
145
|
"th",
|
|
153
146
|
"thead",
|
|
154
147
|
"time",
|
|
155
|
-
"title",
|
|
156
148
|
"tr",
|
|
157
149
|
"track",
|
|
158
150
|
"tt",
|
|
@@ -161,7 +153,6 @@ const HTML_TAGS = {
|
|
|
161
153
|
"var",
|
|
162
154
|
"video",
|
|
163
155
|
"wbr",
|
|
164
|
-
"xmp",
|
|
165
156
|
// SVG
|
|
166
157
|
"svg",
|
|
167
158
|
"path"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/utils",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.46",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"build": "yarn build:cjs",
|
|
24
24
|
"prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "9204dcaa75cdcc20bcb434451fe81b473194e009",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "^7.12.0"
|
|
29
29
|
}
|
package/tags.js
CHANGED
|
@@ -14,21 +14,23 @@ export const HTML_TAGS = {
|
|
|
14
14
|
],
|
|
15
15
|
|
|
16
16
|
body: [
|
|
17
|
+
'string',
|
|
18
|
+
'fragment',
|
|
17
19
|
'a',
|
|
18
20
|
'abbr',
|
|
19
21
|
'acronym',
|
|
20
22
|
'address',
|
|
23
|
+
'applet',
|
|
21
24
|
'area',
|
|
22
25
|
'article',
|
|
23
26
|
'aside',
|
|
24
27
|
'audio',
|
|
25
28
|
'b',
|
|
26
|
-
'
|
|
29
|
+
'basefont',
|
|
27
30
|
'bdi',
|
|
28
31
|
'bdo',
|
|
29
32
|
'big',
|
|
30
33
|
'blockquote',
|
|
31
|
-
'body',
|
|
32
34
|
'br',
|
|
33
35
|
'button',
|
|
34
36
|
'canvas',
|
|
@@ -60,14 +62,16 @@ export const HTML_TAGS = {
|
|
|
60
62
|
'frame',
|
|
61
63
|
'frameset',
|
|
62
64
|
'h1',
|
|
65
|
+
'h2',
|
|
66
|
+
'h3',
|
|
67
|
+
'h4',
|
|
68
|
+
'h5',
|
|
69
|
+
'h6',
|
|
63
70
|
'head',
|
|
64
71
|
'header',
|
|
65
|
-
'hgroup',
|
|
66
72
|
'hr',
|
|
67
|
-
'html',
|
|
68
73
|
'i',
|
|
69
74
|
'iframe',
|
|
70
|
-
'image',
|
|
71
75
|
'img',
|
|
72
76
|
'input',
|
|
73
77
|
'ins',
|
|
@@ -79,14 +83,8 @@ export const HTML_TAGS = {
|
|
|
79
83
|
'main',
|
|
80
84
|
'map',
|
|
81
85
|
'mark',
|
|
82
|
-
'marquee',
|
|
83
|
-
'menu',
|
|
84
|
-
'menuitem',
|
|
85
|
-
'meta',
|
|
86
86
|
'meter',
|
|
87
87
|
'nav',
|
|
88
|
-
'nobr',
|
|
89
|
-
'noembed',
|
|
90
88
|
'noframes',
|
|
91
89
|
'noscript',
|
|
92
90
|
'object',
|
|
@@ -97,29 +95,23 @@ export const HTML_TAGS = {
|
|
|
97
95
|
'p',
|
|
98
96
|
'param',
|
|
99
97
|
'picture',
|
|
100
|
-
'plaintext',
|
|
101
|
-
'portal',
|
|
102
98
|
'pre',
|
|
103
99
|
'progress',
|
|
100
|
+
'hgroup',
|
|
104
101
|
'q',
|
|
105
|
-
'rb',
|
|
106
102
|
'rp',
|
|
107
103
|
'rt',
|
|
108
|
-
'rtc',
|
|
109
104
|
'ruby',
|
|
110
105
|
's',
|
|
111
106
|
'samp',
|
|
112
107
|
'script',
|
|
113
|
-
'search',
|
|
114
108
|
'section',
|
|
115
109
|
'select',
|
|
116
|
-
'slot',
|
|
117
110
|
'small',
|
|
118
111
|
'source',
|
|
119
112
|
'span',
|
|
120
113
|
'strike',
|
|
121
114
|
'strong',
|
|
122
|
-
'style',
|
|
123
115
|
'sub',
|
|
124
116
|
'summary',
|
|
125
117
|
'sup',
|
|
@@ -127,12 +119,12 @@ export const HTML_TAGS = {
|
|
|
127
119
|
'tbody',
|
|
128
120
|
'td',
|
|
129
121
|
'template',
|
|
122
|
+
'hgroup',
|
|
130
123
|
'textarea',
|
|
131
124
|
'tfoot',
|
|
132
125
|
'th',
|
|
133
126
|
'thead',
|
|
134
127
|
'time',
|
|
135
|
-
'title',
|
|
136
128
|
'tr',
|
|
137
129
|
'track',
|
|
138
130
|
'tt',
|
|
@@ -141,7 +133,6 @@ export const HTML_TAGS = {
|
|
|
141
133
|
'var',
|
|
142
134
|
'video',
|
|
143
135
|
'wbr',
|
|
144
|
-
'xmp',
|
|
145
136
|
|
|
146
137
|
// SVG
|
|
147
138
|
'svg',
|