@markuplint/spec-generator 5.0.0-alpha.2 → 5.0.0-alpha.3

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 CHANGED
@@ -3,6 +3,10 @@
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
+ # [5.0.0-alpha.3](https://github.com/markuplint/markuplint/compare/v5.0.0-alpha.2...v5.0.0-alpha.3) (2026-02-26)
7
+
8
+ **Note:** Version bump only for package @markuplint/spec-generator
9
+
6
10
  # [5.0.0-alpha.2](https://github.com/markuplint/markuplint/compare/v5.0.0-alpha.1...v5.0.0-alpha.2) (2026-02-23)
7
11
 
8
12
  ### Features
package/lib/aria.js CHANGED
@@ -390,8 +390,9 @@ async function getAriaInHtml() {
390
390
  for (const $implicitProp of $implicitProps) {
391
391
  const htmlAttrName = $($implicitProp).find('th:nth-of-type(1) a').eq(0).text();
392
392
  if (htmlAttrName === 'contenteditable') {
393
- // FIXME:
394
- // Cannot design yet because the contenteditable attribute is evaluated with ancestors.
393
+ // FIXME: The contenteditable attribute's ARIA semantics depend on ancestor elements
394
+ // (an element inherits contenteditable from its parent). Evaluating this requires
395
+ // cross-element ancestor traversal which is not available during spec generation.
395
396
  continue;
396
397
  }
397
398
  const implicitProp = $($implicitProp).find('td:nth-of-type(1) code').eq(0).text();
package/lib/utils.d.ts CHANGED
@@ -14,7 +14,7 @@ type HasName = {
14
14
  * @param b - The second item to compare, either a string or an object with a `name` property
15
15
  * @returns A negative number if `a` comes before `b`, positive if after, or zero if equal
16
16
  */
17
- export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | 0 | -1;
17
+ export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | -1 | 0;
18
18
  /**
19
19
  * Creates a new object with the same key-value pairs, sorted alphabetically by key.
20
20
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/spec-generator",
3
- "version": "5.0.0-alpha.2",
3
+ "version": "5.0.0-alpha.3",
4
4
  "description": "Generates @markuplint/html-spec",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -28,15 +28,15 @@
28
28
  "ajv": "8.18.0",
29
29
  "cheerio": "1.2.0",
30
30
  "cli-progress": "3.12.0",
31
- "fast-xml-parser": "5.3.7",
31
+ "fast-xml-parser": "5.4.1",
32
32
  "glob": "13.0.6",
33
33
  "jsonc-parser": "3.3.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@markuplint/ml-spec": "5.0.0-alpha.2",
37
- "@markuplint/test-tools": "5.0.0-alpha.2",
36
+ "@markuplint/ml-spec": "5.0.0-alpha.3",
37
+ "@markuplint/test-tools": "5.0.0-alpha.3",
38
38
  "@types/cli-progress": "3.11.6",
39
39
  "type-fest": "5.4.4"
40
40
  },
41
- "gitHead": "31ccf1e81443ea3f93597d287595211f1823ddcf"
41
+ "gitHead": "2fbdf26daa3d021ac628ccc2f59f0eeae6ddd53d"
42
42
  }