@ast-grep/napi 0.29.0 → 0.30.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/index.d.ts +1 -2
- package/package.json +14 -14
package/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface FindConfig {
|
|
|
39
39
|
*/
|
|
40
40
|
languageGlobs?: Array<string>
|
|
41
41
|
}
|
|
42
|
-
export
|
|
42
|
+
export enum Lang {
|
|
43
43
|
Html = 'Html',
|
|
44
44
|
JavaScript = 'JavaScript',
|
|
45
45
|
Tsx = 'Tsx',
|
|
@@ -49,7 +49,6 @@ export const enum Lang {
|
|
|
49
49
|
C = 'C',
|
|
50
50
|
Cpp = 'Cpp',
|
|
51
51
|
CSharp = 'CSharp',
|
|
52
|
-
Dart = 'Dart',
|
|
53
52
|
Go = 'Go',
|
|
54
53
|
Elixir = 'Elixir',
|
|
55
54
|
Haskell = 'Haskell',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-grep/napi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"description": "Search and Rewrite code at large scale using precise AST pattern",
|
|
5
5
|
"homepage": "https://ast-grep.github.io",
|
|
6
6
|
"main": "index.js",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"artifacts": "napi artifacts",
|
|
44
|
-
"build": "napi build --platform --release",
|
|
45
|
-
"build:debug": "napi build --platform",
|
|
44
|
+
"build": "napi build --no-const-enum --platform --release",
|
|
45
|
+
"build:debug": "napi build --no-const-enum --platform",
|
|
46
46
|
"prepublishOnly": "napi prepublish -t npm --skip-gh-release",
|
|
47
47
|
"test": "ava",
|
|
48
48
|
"version": "napi version"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@napi-rs/cli": "2.18.4",
|
|
52
|
-
"ava": "6.
|
|
52
|
+
"ava": "6.2.0",
|
|
53
53
|
"chalk": "5.3.0",
|
|
54
54
|
"ts-node": "10.9.2",
|
|
55
|
-
"typescript": "5.
|
|
55
|
+
"typescript": "5.7.2"
|
|
56
56
|
},
|
|
57
57
|
"ava": {
|
|
58
58
|
"require": [
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"optionalDependencies": {
|
|
71
|
-
"@ast-grep/napi-win32-x64-msvc": "0.
|
|
72
|
-
"@ast-grep/napi-darwin-x64": "0.
|
|
73
|
-
"@ast-grep/napi-linux-x64-gnu": "0.
|
|
74
|
-
"@ast-grep/napi-win32-ia32-msvc": "0.
|
|
75
|
-
"@ast-grep/napi-darwin-arm64": "0.
|
|
76
|
-
"@ast-grep/napi-win32-arm64-msvc": "0.
|
|
77
|
-
"@ast-grep/napi-linux-arm64-gnu": "0.
|
|
78
|
-
"@ast-grep/napi-linux-arm64-musl": "0.
|
|
79
|
-
"@ast-grep/napi-linux-x64-musl": "0.
|
|
71
|
+
"@ast-grep/napi-win32-x64-msvc": "0.30.1",
|
|
72
|
+
"@ast-grep/napi-darwin-x64": "0.30.1",
|
|
73
|
+
"@ast-grep/napi-linux-x64-gnu": "0.30.1",
|
|
74
|
+
"@ast-grep/napi-win32-ia32-msvc": "0.30.1",
|
|
75
|
+
"@ast-grep/napi-darwin-arm64": "0.30.1",
|
|
76
|
+
"@ast-grep/napi-win32-arm64-msvc": "0.30.1",
|
|
77
|
+
"@ast-grep/napi-linux-arm64-gnu": "0.30.1",
|
|
78
|
+
"@ast-grep/napi-linux-arm64-musl": "0.30.1",
|
|
79
|
+
"@ast-grep/napi-linux-x64-musl": "0.30.1"
|
|
80
80
|
}
|
|
81
81
|
}
|