html-validate 7.1.1 → 7.1.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/{LICENCE → LICENSE} +0 -0
- package/dist/cjs/core.js +17 -17
- package/dist/cjs/core.js.map +1 -1
- package/dist/es/core.js +17 -17
- package/dist/es/core.js.map +1 -1
- package/elements/html5.js +6 -0
- package/package.json +26 -31
package/elements/html5.js
CHANGED
|
@@ -1516,6 +1516,12 @@ module.exports = {
|
|
|
1516
1516
|
embedded: true,
|
|
1517
1517
|
},
|
|
1518
1518
|
|
|
1519
|
+
/* while not part of HTML 5 specification these two elements are handled as
|
|
1520
|
+
* special cases to allow them as accessible text and to avoid issues with
|
|
1521
|
+
* "no-unknown-elements" they are added here */
|
|
1522
|
+
"svg:desc": {},
|
|
1523
|
+
"svg:title": {},
|
|
1524
|
+
|
|
1519
1525
|
table: {
|
|
1520
1526
|
flow: true,
|
|
1521
1527
|
permittedContent: ["@script", "caption?", "colgroup", "tbody", "tfoot?", "thead?", "tr"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-validate",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.2",
|
|
4
4
|
"description": "Offline html5 validator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html",
|
|
@@ -116,9 +116,6 @@
|
|
|
116
116
|
]
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
-
"lint-staged": {
|
|
120
|
-
"*.{ts,js,json,html,md,scss,yml}": "prettier --write"
|
|
121
|
-
},
|
|
122
119
|
"prettier": "@html-validate/prettier-config",
|
|
123
120
|
"release": {
|
|
124
121
|
"extends": "@html-validate/semantic-release-config"
|
|
@@ -158,36 +155,36 @@
|
|
|
158
155
|
"semver": "^7.0.0"
|
|
159
156
|
},
|
|
160
157
|
"devDependencies": {
|
|
161
|
-
"@babel/core": "7.18.
|
|
162
|
-
"@babel/preset-env": "7.18.
|
|
163
|
-
"@html-validate/commitlint-config": "3.0.
|
|
164
|
-
"@html-validate/eslint-config": "5.4.
|
|
165
|
-
"@html-validate/eslint-config-jest": "5.4.
|
|
166
|
-
"@html-validate/eslint-config-typescript": "5.4.
|
|
158
|
+
"@babel/core": "7.18.6",
|
|
159
|
+
"@babel/preset-env": "7.18.6",
|
|
160
|
+
"@html-validate/commitlint-config": "3.0.4",
|
|
161
|
+
"@html-validate/eslint-config": "5.4.14",
|
|
162
|
+
"@html-validate/eslint-config-jest": "5.4.11",
|
|
163
|
+
"@html-validate/eslint-config-typescript": "5.4.14",
|
|
167
164
|
"@html-validate/eslint-config-typescript-typeinfo": "5.4.1",
|
|
168
|
-
"@html-validate/jest-config": "3.3.
|
|
169
|
-
"@html-validate/prettier-config": "2.
|
|
170
|
-
"@html-validate/release-scripts": "3.
|
|
165
|
+
"@html-validate/jest-config": "3.3.3",
|
|
166
|
+
"@html-validate/prettier-config": "2.3.0",
|
|
167
|
+
"@html-validate/release-scripts": "3.5.1",
|
|
171
168
|
"@lodder/grunt-postcss": "3.1.1",
|
|
172
169
|
"@rollup/plugin-json": "4.1.0",
|
|
173
170
|
"@rollup/plugin-replace": "4.0.0",
|
|
174
|
-
"@rollup/plugin-typescript": "8.3.
|
|
171
|
+
"@rollup/plugin-typescript": "8.3.3",
|
|
175
172
|
"@rollup/plugin-virtual": "2.1.0",
|
|
176
173
|
"@types/babar": "0.2.1",
|
|
177
174
|
"@types/babel__code-frame": "7.0.3",
|
|
178
|
-
"@types/estree": "0.0.
|
|
175
|
+
"@types/estree": "0.0.52",
|
|
179
176
|
"@types/glob": "7.2.0",
|
|
180
|
-
"@types/jest": "
|
|
177
|
+
"@types/jest": "28.1.4",
|
|
181
178
|
"@types/minimist": "1.2.2",
|
|
182
|
-
"@types/node": "14.18.
|
|
179
|
+
"@types/node": "14.18.21",
|
|
183
180
|
"@types/prompts": "2.0.14",
|
|
184
|
-
"@types/semver": "7.3.
|
|
181
|
+
"@types/semver": "7.3.10",
|
|
185
182
|
"autoprefixer": "10.4.7",
|
|
186
183
|
"babar": "0.2.2",
|
|
187
184
|
"babelify": "10.0.0",
|
|
188
185
|
"bootstrap-sass": "3.4.3",
|
|
189
186
|
"canonical-path": "1.0.0",
|
|
190
|
-
"cssnano": "5.1.
|
|
187
|
+
"cssnano": "5.1.12",
|
|
191
188
|
"dgeni": "0.4.14",
|
|
192
189
|
"dgeni-front-matter": "4.0.0",
|
|
193
190
|
"dgeni-packages": "0.29.3",
|
|
@@ -201,26 +198,24 @@
|
|
|
201
198
|
"grunt-sass": "3.1.0",
|
|
202
199
|
"highlight.js": "11.5.1",
|
|
203
200
|
"husky": "8.0.1",
|
|
204
|
-
"jest": "28.1.
|
|
205
|
-
"jest-diff": "28.1.
|
|
206
|
-
"jest-environment-jsdom": "28.1.
|
|
207
|
-
"jest-snapshot": "28.1.
|
|
201
|
+
"jest": "28.1.2",
|
|
202
|
+
"jest-diff": "28.1.1",
|
|
203
|
+
"jest-environment-jsdom": "28.1.2",
|
|
204
|
+
"jest-snapshot": "28.1.2",
|
|
208
205
|
"jquery": "3.6.0",
|
|
209
|
-
"lint-staged": "12.4.1",
|
|
210
206
|
"load-grunt-tasks": "5.1.0",
|
|
211
207
|
"marked": "2.1.3",
|
|
212
|
-
"npm-pkg-lint": "1.11.
|
|
208
|
+
"npm-pkg-lint": "1.11.1",
|
|
213
209
|
"npm-run-all": "4.1.5",
|
|
214
210
|
"postcss": "8.4.14",
|
|
215
|
-
"
|
|
216
|
-
"rollup": "2.74.1",
|
|
211
|
+
"rollup": "2.75.7",
|
|
217
212
|
"rollup-plugin-copy": "3.4.0",
|
|
218
|
-
"rollup-plugin-dts": "4.2.
|
|
219
|
-
"sass": "1.
|
|
213
|
+
"rollup-plugin-dts": "4.2.2",
|
|
214
|
+
"sass": "1.53.0",
|
|
220
215
|
"serve-static": "1.15.0",
|
|
221
216
|
"stringmap": "0.2.2",
|
|
222
|
-
"ts-jest": "28.0.
|
|
223
|
-
"typescript": "4.
|
|
217
|
+
"ts-jest": "28.0.5",
|
|
218
|
+
"typescript": "4.7.4"
|
|
224
219
|
},
|
|
225
220
|
"peerDependencies": {
|
|
226
221
|
"jest": "^25.1 || ^26 || ^27.1 || ^28",
|