@markuplint/spec-generator 4.0.0-dev.23 → 4.0.0-rc.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/lib/utils.d.ts +1 -1
- package/package.json +6 -6
package/lib/utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type HasName = {
|
|
3
3
|
readonly name: string;
|
|
4
4
|
};
|
|
5
|
-
export declare function nameCompare(a: HasName | string, b: HasName | string): 1 |
|
|
5
|
+
export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | -1 | 0;
|
|
6
6
|
export declare function sortObjectByKey<T>(o: T): T;
|
|
7
7
|
export declare function arrayUnique<T extends HasName>(array: readonly T[]): T[];
|
|
8
8
|
export declare function getThisOutline($: cheerio.Root, $start: cheerio.Cheerio): cheerio.Cheerio;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/spec-generator",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.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>",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"ajv": "^8.12.0",
|
|
26
26
|
"cheerio": "^1.0.0-rc.12",
|
|
27
27
|
"cli-progress": "^3.12.0",
|
|
28
|
-
"fast-xml-parser": "^4.3.
|
|
28
|
+
"fast-xml-parser": "^4.3.4",
|
|
29
29
|
"glob": "^10.3.6",
|
|
30
30
|
"strip-json-comments": "^5.0.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@markuplint/ml-spec": "4.0.0-
|
|
34
|
-
"@markuplint/test-tools": "4.0.0-
|
|
33
|
+
"@markuplint/ml-spec": "4.0.0-rc.0",
|
|
34
|
+
"@markuplint/test-tools": "4.0.0-rc.0",
|
|
35
35
|
"@types/cli-progress": "^3.11.5",
|
|
36
|
-
"type-fest": "^4.
|
|
36
|
+
"type-fest": "^4.10.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "3fdeb45cb69ed52b3a215a7520cea1181601443f"
|
|
39
39
|
}
|