@vscode/tree-sitter-wasm 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vscode/tree-sitter-wasm",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.3",
|
4
4
|
"description": "Pre-built WASM files for Tree-Sitter and Tree-Sitter languages that VS Code uses",
|
5
5
|
"scripts": {
|
6
|
-
"build-wasm": "ts-node ./build/main.ts"
|
6
|
+
"build-wasm": "ts-node ./build/main.ts",
|
7
|
+
"install-emsdk": "sudo rm -rf /opt/dev/emsdk && sudo ./build/setup-emsdk.sh"
|
7
8
|
},
|
8
9
|
"author": "Visual Studio Code Team",
|
9
10
|
"license": "MIT",
|
@@ -14,11 +15,12 @@
|
|
14
15
|
"SECURITY.md",
|
15
16
|
"cgmanifest.json"
|
16
17
|
],
|
18
|
+
"main": "wasm/tree-sitter.js",
|
17
19
|
"types": "wasm/tree-sitter-web.d.ts",
|
18
20
|
"devDependencies": {
|
19
21
|
"@types/node": "^20.14.6",
|
20
|
-
"tree-sitter-cli": "^0.
|
21
|
-
"tree-sitter-typescript": "^0.
|
22
|
+
"tree-sitter-cli": "^0.23.0",
|
23
|
+
"tree-sitter-typescript": "^0.23.0",
|
22
24
|
"ts-node": "^10.9.2"
|
23
25
|
},
|
24
26
|
"repository": {
|
Binary file
|
@@ -95,8 +95,8 @@
|
|
95
95
|
childForFieldName(fieldName: string): SyntaxNode | null;
|
96
96
|
childForFieldId(fieldId: number): SyntaxNode | null;
|
97
97
|
fieldNameForChild(childIndex: number): string | null;
|
98
|
-
childrenForFieldName(fieldName: string
|
99
|
-
childrenForFieldId(fieldId: number
|
98
|
+
childrenForFieldName(fieldName: string): Array<SyntaxNode>;
|
99
|
+
childrenForFieldId(fieldId: number): Array<SyntaxNode>;
|
100
100
|
firstChildForIndex(index: number): SyntaxNode | null;
|
101
101
|
firstNamedChildForIndex(index: number): SyntaxNode | null;
|
102
102
|
|