@domql/utils 2.5.45 → 2.5.48

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.
Files changed (3) hide show
  1. package/dist/cjs/tags.js +12 -20
  2. package/package.json +2 -2
  3. package/tags.js +12 -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
- "base",
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",
@@ -56,6 +58,7 @@ const HTML_TAGS = {
56
58
  "center",
57
59
  "cite",
58
60
  "code",
61
+ "search",
59
62
  "col",
60
63
  "colgroup",
61
64
  "data",
@@ -80,14 +83,16 @@ const HTML_TAGS = {
80
83
  "frame",
81
84
  "frameset",
82
85
  "h1",
86
+ "h2",
87
+ "h3",
88
+ "h4",
89
+ "h5",
90
+ "h6",
83
91
  "head",
84
92
  "header",
85
- "hgroup",
86
93
  "hr",
87
- "html",
88
94
  "i",
89
95
  "iframe",
90
- "image",
91
96
  "img",
92
97
  "input",
93
98
  "ins",
@@ -99,14 +104,8 @@ const HTML_TAGS = {
99
104
  "main",
100
105
  "map",
101
106
  "mark",
102
- "marquee",
103
- "menu",
104
- "menuitem",
105
- "meta",
106
107
  "meter",
107
108
  "nav",
108
- "nobr",
109
- "noembed",
110
109
  "noframes",
111
110
  "noscript",
112
111
  "object",
@@ -117,29 +116,23 @@ const HTML_TAGS = {
117
116
  "p",
118
117
  "param",
119
118
  "picture",
120
- "plaintext",
121
- "portal",
122
119
  "pre",
123
120
  "progress",
121
+ "hgroup",
124
122
  "q",
125
- "rb",
126
123
  "rp",
127
124
  "rt",
128
- "rtc",
129
125
  "ruby",
130
126
  "s",
131
127
  "samp",
132
128
  "script",
133
- "search",
134
129
  "section",
135
130
  "select",
136
- "slot",
137
131
  "small",
138
132
  "source",
139
133
  "span",
140
134
  "strike",
141
135
  "strong",
142
- "style",
143
136
  "sub",
144
137
  "summary",
145
138
  "sup",
@@ -147,12 +140,12 @@ const HTML_TAGS = {
147
140
  "tbody",
148
141
  "td",
149
142
  "template",
143
+ "hgroup",
150
144
  "textarea",
151
145
  "tfoot",
152
146
  "th",
153
147
  "thead",
154
148
  "time",
155
- "title",
156
149
  "tr",
157
150
  "track",
158
151
  "tt",
@@ -161,7 +154,6 @@ const HTML_TAGS = {
161
154
  "var",
162
155
  "video",
163
156
  "wbr",
164
- "xmp",
165
157
  // SVG
166
158
  "svg",
167
159
  "path"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/utils",
3
- "version": "2.5.45",
3
+ "version": "2.5.48",
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": "d27f2c6a7f03bf170b68c5bfb2c45bddb8bf5e94",
26
+ "gitHead": "68ea5ab143d09bdb009664526b638e7c804480c6",
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
- 'base',
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',
@@ -36,6 +38,7 @@ export const HTML_TAGS = {
36
38
  'center',
37
39
  'cite',
38
40
  'code',
41
+ 'search',
39
42
  'col',
40
43
  'colgroup',
41
44
  'data',
@@ -60,14 +63,16 @@ export const HTML_TAGS = {
60
63
  'frame',
61
64
  'frameset',
62
65
  'h1',
66
+ 'h2',
67
+ 'h3',
68
+ 'h4',
69
+ 'h5',
70
+ 'h6',
63
71
  'head',
64
72
  'header',
65
- 'hgroup',
66
73
  'hr',
67
- 'html',
68
74
  'i',
69
75
  'iframe',
70
- 'image',
71
76
  'img',
72
77
  'input',
73
78
  'ins',
@@ -79,14 +84,8 @@ export const HTML_TAGS = {
79
84
  'main',
80
85
  'map',
81
86
  'mark',
82
- 'marquee',
83
- 'menu',
84
- 'menuitem',
85
- 'meta',
86
87
  'meter',
87
88
  'nav',
88
- 'nobr',
89
- 'noembed',
90
89
  'noframes',
91
90
  'noscript',
92
91
  'object',
@@ -97,29 +96,23 @@ export const HTML_TAGS = {
97
96
  'p',
98
97
  'param',
99
98
  'picture',
100
- 'plaintext',
101
- 'portal',
102
99
  'pre',
103
100
  'progress',
101
+ 'hgroup',
104
102
  'q',
105
- 'rb',
106
103
  'rp',
107
104
  'rt',
108
- 'rtc',
109
105
  'ruby',
110
106
  's',
111
107
  'samp',
112
108
  'script',
113
- 'search',
114
109
  'section',
115
110
  'select',
116
- 'slot',
117
111
  'small',
118
112
  'source',
119
113
  'span',
120
114
  'strike',
121
115
  'strong',
122
- 'style',
123
116
  'sub',
124
117
  'summary',
125
118
  'sup',
@@ -127,12 +120,12 @@ export const HTML_TAGS = {
127
120
  'tbody',
128
121
  'td',
129
122
  'template',
123
+ 'hgroup',
130
124
  'textarea',
131
125
  'tfoot',
132
126
  'th',
133
127
  'thead',
134
128
  'time',
135
- 'title',
136
129
  'tr',
137
130
  'track',
138
131
  'tt',
@@ -141,7 +134,6 @@ export const HTML_TAGS = {
141
134
  'var',
142
135
  'video',
143
136
  'wbr',
144
- 'xmp',
145
137
 
146
138
  // SVG
147
139
  'svg',