@ast-grep/napi 0.9.3 → 0.10.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 +15 -5
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# @ast-grep/napi
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<p align=center>
|
|
4
|
+
<img src="https://ast-grep.github.io/logo.svg" alt="ast-grep"/>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
## ast-grep(sg)
|
|
8
|
+
|
|
9
|
+
ast-grep(sg) is a CLI tool for code structural search, lint, and rewriting.
|
|
10
|
+
|
|
11
|
+
This npm package is for programmatic usage of ast-grep.
|
|
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
|
+
|
|
14
|
+
Other resources include [ast-grep's official site](https://ast-grep.github.io/) and [repository](https://github.com/ast-grep/ast-grep).
|
|
4
15
|
|
|
5
16
|
## Support matrix
|
|
6
17
|
|
|
@@ -12,13 +23,12 @@ See https://github.com/ast-grep/ast-grep
|
|
|
12
23
|
| macOS x64 | ✓ | ✓ | ✓ |
|
|
13
24
|
| macOS arm64 | ✓ | ✓ | ✓ |
|
|
14
25
|
| Linux x64 gnu | ✓ | ✓ | ✓ |
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<!-- | Linux x64 musl | ✓ | ✓ | ✓ | -->
|
|
26
|
+
| Windows x32 | ✓ | ✓ | ✓ |
|
|
27
|
+
| Windows arm64 | ✓ | ✓ | ✓ |
|
|
18
28
|
<!-- | Linux arm gnu | ✓ | ✓ | ✓ | -->
|
|
29
|
+
<!-- | Linux x64 musl | ✓ | ✓ | ✓ | -->
|
|
19
30
|
<!-- | Linux arm64 gnu | ✓ | ✓ | ✓ | -->
|
|
20
31
|
<!-- | Linux arm64 musl | ✓ | ✓ | ✓ | -->
|
|
21
32
|
<!-- | Android arm64 | ✓ | ✓ | ✓ | -->
|
|
22
33
|
<!-- | Android armv7 | ✓ | ✓ | ✓ | -->
|
|
23
34
|
<!-- | FreeBSD x64 | ✓ | ✓ | ✓ | -->
|
|
24
|
-
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-grep/napi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Search and Rewrite code at large scale using precise AST pattern",
|
|
5
|
+
"homepage": "https://ast-grep.github.io",
|
|
5
6
|
"main": "index.js",
|
|
6
7
|
"repository": "https://github.com/ast-grep/ast-grep",
|
|
7
8
|
"license": "MIT",
|
|
@@ -64,11 +65,11 @@
|
|
|
64
65
|
},
|
|
65
66
|
"packageManager": "yarn@3.6.1",
|
|
66
67
|
"optionalDependencies": {
|
|
67
|
-
"@ast-grep/napi-win32-x64-msvc": "0.
|
|
68
|
-
"@ast-grep/napi-darwin-x64": "0.
|
|
69
|
-
"@ast-grep/napi-linux-x64-gnu": "0.
|
|
70
|
-
"@ast-grep/napi-win32-ia32-msvc": "0.
|
|
71
|
-
"@ast-grep/napi-darwin-arm64": "0.
|
|
72
|
-
"@ast-grep/napi-win32-arm64-msvc": "0.
|
|
68
|
+
"@ast-grep/napi-win32-x64-msvc": "0.10.1",
|
|
69
|
+
"@ast-grep/napi-darwin-x64": "0.10.1",
|
|
70
|
+
"@ast-grep/napi-linux-x64-gnu": "0.10.1",
|
|
71
|
+
"@ast-grep/napi-win32-ia32-msvc": "0.10.1",
|
|
72
|
+
"@ast-grep/napi-darwin-arm64": "0.10.1",
|
|
73
|
+
"@ast-grep/napi-win32-arm64-msvc": "0.10.1"
|
|
73
74
|
}
|
|
74
75
|
}
|