@flint.fyi/json-language 0.19.0 → 0.20.1
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/dist/index.d.mts +1 -2
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AnyNode, DocumentNode, ValueNode } from "@humanwhocodes/momoa";
|
|
2
2
|
import { CharacterReportRange, Language, WithExitKeys } from "@flint.fyi/core";
|
|
3
|
-
|
|
4
3
|
//#region src/getNodeRange.d.ts
|
|
5
4
|
declare function getNodeRange(node: AnyNode): CharacterReportRange;
|
|
6
5
|
//#endregion
|
|
@@ -8,7 +7,7 @@ declare function getNodeRange(node: AnyNode): CharacterReportRange;
|
|
|
8
7
|
declare function getNodeText(node: ValueNode, sourceText: string): string;
|
|
9
8
|
//#endregion
|
|
10
9
|
//#region src/nodes.d.ts
|
|
11
|
-
type JsonNodesByName = { [Node in AnyNode as Node["type"]]: Node };
|
|
10
|
+
type JsonNodesByName = { [Node in AnyNode as Node["type"]]: Node; };
|
|
12
11
|
type JsonNodeVisitors = WithExitKeys<JsonNodesByName>;
|
|
13
12
|
type JsonVisitorKey = AnyNode["type"];
|
|
14
13
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flint.fyi/json-language",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "[Experimental] JSON language for Flint.",
|
|
5
5
|
"homepage": "https://flint.fyi",
|
|
6
6
|
"repository": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"dist/"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
25
|
+
"@flint.fyi/core": "^0.26.0",
|
|
26
|
+
"@humanwhocodes/momoa": "^3.3.10"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
29
|
+
"@flint.fyi/build": "^0.1.0",
|
|
30
|
+
"tsdown": "0.22.14",
|
|
31
|
+
"vitest": "4.1.11"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=26.1.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|