@ohos-npm-ports/ast-grep-napi 0.51.2-1 → 0.51.3-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/README.md +2 -2
- package/ast-grep-napi.openharmony-arm64.node +0 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
ast-grep(sg) is a CLI tool for code structural search, lint, and rewriting.
|
|
10
10
|
|
|
11
|
-
This npm package is for programmatic usage of ast-grep.
|
|
11
|
+
This npm package is for programmatic usage of ast-grep and requires Node.js 20 or later.
|
|
12
12
|
Please see the [API usage guide](https://ast-grep.github.io/guide/api-usage.html) and [API reference](https://ast-grep.github.io/reference/api.html).
|
|
13
13
|
|
|
14
14
|
Other resources include [ast-grep's official site](https://ast-grep.github.io/) and [repository](https://github.com/ast-grep/ast-grep).
|
|
@@ -17,7 +17,7 @@ Other resources include [ast-grep's official site](https://ast-grep.github.io/)
|
|
|
17
17
|
|
|
18
18
|
### Operating Systems
|
|
19
19
|
|
|
20
|
-
| |
|
|
20
|
+
| | node20 | node22 | node24 |
|
|
21
21
|
| ---------------- | ------ | ------ | ------ |
|
|
22
22
|
| Windows x64 | ✓ | ✓ | ✓ |
|
|
23
23
|
| macOS x64 | ✓ | ✓ | ✓ |
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-npm-ports/ast-grep-napi",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.3-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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
]
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
42
|
+
"node": ">= 20.0.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"typegen": "tsimp scripts/generateTypes.ts"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@ast-grep/napi": "0.51.
|
|
61
|
+
"@ast-grep/napi": "0.51.2",
|
|
62
62
|
"@napi-rs/cli": "3.10.12",
|
|
63
63
|
"@types/node": "^26.0.0",
|
|
64
64
|
"oxlint": "1.93.0",
|
|
@@ -83,14 +83,14 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"optionalDependencies": {
|
|
86
|
-
"@ast-grep/napi-linux-x64-gnu": "0.51.
|
|
87
|
-
"@ast-grep/napi-win32-x64-msvc": "0.51.
|
|
88
|
-
"@ast-grep/napi-darwin-x64": "0.51.
|
|
89
|
-
"@ast-grep/napi-win32-ia32-msvc": "0.51.
|
|
90
|
-
"@ast-grep/napi-darwin-arm64": "0.51.
|
|
91
|
-
"@ast-grep/napi-win32-arm64-msvc": "0.51.
|
|
92
|
-
"@ast-grep/napi-linux-arm64-gnu": "0.51.
|
|
93
|
-
"@ast-grep/napi-linux-arm64-musl": "0.51.
|
|
94
|
-
"@ast-grep/napi-linux-x64-musl": "0.51.
|
|
86
|
+
"@ast-grep/napi-linux-x64-gnu": "0.51.3",
|
|
87
|
+
"@ast-grep/napi-win32-x64-msvc": "0.51.3",
|
|
88
|
+
"@ast-grep/napi-darwin-x64": "0.51.3",
|
|
89
|
+
"@ast-grep/napi-win32-ia32-msvc": "0.51.3",
|
|
90
|
+
"@ast-grep/napi-darwin-arm64": "0.51.3",
|
|
91
|
+
"@ast-grep/napi-win32-arm64-msvc": "0.51.3",
|
|
92
|
+
"@ast-grep/napi-linux-arm64-gnu": "0.51.3",
|
|
93
|
+
"@ast-grep/napi-linux-arm64-musl": "0.51.3",
|
|
94
|
+
"@ast-grep/napi-linux-x64-musl": "0.51.3"
|
|
95
95
|
}
|
|
96
96
|
}
|