@markuplint/spec-generator 4.8.2 → 4.18.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 +12 -0
- package/lib/aria.js +1 -1
- package/lib/scraping.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [4.18.0](https://github.com/markuplint/markuplint/compare/v4.14.1...v4.18.0) (2026-04-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- resolve additional eslint-plugin-unicorn v63 errors ([e58a72c](https://github.com/markuplint/markuplint/commit/e58a72c17c97bbec522f9513b99777fac6904d64))
|
|
11
|
+
|
|
12
|
+
## [4.8.3](https://github.com/markuplint/markuplint/compare/@markuplint/spec-generator@4.8.2...@markuplint/spec-generator@4.8.3) (2026-04-21)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- resolve additional eslint-plugin-unicorn v63 errors ([e58a72c](https://github.com/markuplint/markuplint/commit/e58a72c17c97bbec522f9513b99777fac6904d64))
|
|
17
|
+
|
|
6
18
|
## [4.8.2](https://github.com/markuplint/markuplint/compare/@markuplint/spec-generator@4.8.1...@markuplint/spec-generator@4.8.2) (2026-02-10)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/lib/aria.js
CHANGED
|
@@ -331,7 +331,7 @@ async function getAriaInHtml() {
|
|
|
331
331
|
if (!name) {
|
|
332
332
|
continue;
|
|
333
333
|
}
|
|
334
|
-
const value = _value?.
|
|
334
|
+
const value = _value?.replaceAll(/"|'/g, '').trim() ?? null;
|
|
335
335
|
const data = {
|
|
336
336
|
name: name,
|
|
337
337
|
value: value === '...' ? null : value,
|
package/lib/scraping.js
CHANGED
|
@@ -165,7 +165,7 @@ function getAttributes(
|
|
|
165
165
|
$, id) {
|
|
166
166
|
const $section = $(`.content-section[aria-labelledby="${id}"]`);
|
|
167
167
|
const attributes = {};
|
|
168
|
-
for (const dt of $section.find('> dl > dt')
|
|
168
|
+
for (const dt of $section.find('> dl > dt')) {
|
|
169
169
|
const $dt = $(dt);
|
|
170
170
|
const name = $dt.find('code').text().trim();
|
|
171
171
|
if (!name) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/spec-generator",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.0",
|
|
4
4
|
"description": "Generates @markuplint/html-spec",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@types/cheerio": "1.0.0",
|
|
25
|
-
"ajv": "8.
|
|
25
|
+
"ajv": "8.18.0",
|
|
26
26
|
"cheerio": "1.2.0",
|
|
27
27
|
"cli-progress": "3.12.0",
|
|
28
|
-
"fast-xml-parser": "5.
|
|
29
|
-
"glob": "13.0.
|
|
28
|
+
"fast-xml-parser": "5.7.1",
|
|
29
|
+
"glob": "13.0.6",
|
|
30
30
|
"strip-json-comments": "5.0.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@markuplint/ml-spec": "4.
|
|
34
|
-
"@markuplint/test-tools": "4.
|
|
33
|
+
"@markuplint/ml-spec": "4.18.0",
|
|
34
|
+
"@markuplint/test-tools": "4.18.0",
|
|
35
35
|
"@types/cli-progress": "3.11.6",
|
|
36
|
-
"type-fest": "
|
|
36
|
+
"type-fest": "5.6.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "1885af6349def3f19df975b9e9c399dd47361de1"
|
|
39
39
|
}
|