@ast-grep/napi 0.6.1 → 0.6.3
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 -0
- package/index.js +1 -1
- package/package.json +7 -7
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -17,7 +17,7 @@ function isMusl() {
|
|
|
17
17
|
// For Node 10
|
|
18
18
|
if (!process.report || typeof process.report.getReport !== 'function') {
|
|
19
19
|
try {
|
|
20
|
-
const lddPath = require('child_process').execSync('which ldd').toString().trim()
|
|
20
|
+
const lddPath = require('child_process').execSync('which ldd').toString().trim()
|
|
21
21
|
return readFileSync(lddPath, 'utf8').includes('musl')
|
|
22
22
|
} catch (e) {
|
|
23
23
|
return true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-grep/napi",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Search and Rewrite code at large scale using precise AST pattern",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "https://github.com/ast-grep/ast-grep",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
},
|
|
65
65
|
"packageManager": "yarn@3.2.3",
|
|
66
66
|
"optionalDependencies": {
|
|
67
|
-
"@ast-grep/napi-win32-x64-msvc": "0.6.
|
|
68
|
-
"@ast-grep/napi-darwin-x64": "0.6.
|
|
69
|
-
"@ast-grep/napi-linux-x64-gnu": "0.6.
|
|
70
|
-
"@ast-grep/napi-win32-ia32-msvc": "0.6.
|
|
71
|
-
"@ast-grep/napi-darwin-arm64": "0.6.
|
|
72
|
-
"@ast-grep/napi-win32-arm64-msvc": "0.6.
|
|
67
|
+
"@ast-grep/napi-win32-x64-msvc": "0.6.3",
|
|
68
|
+
"@ast-grep/napi-darwin-x64": "0.6.3",
|
|
69
|
+
"@ast-grep/napi-linux-x64-gnu": "0.6.3",
|
|
70
|
+
"@ast-grep/napi-win32-ia32-msvc": "0.6.3",
|
|
71
|
+
"@ast-grep/napi-darwin-arm64": "0.6.3",
|
|
72
|
+
"@ast-grep/napi-win32-arm64-msvc": "0.6.3"
|
|
73
73
|
}
|
|
74
74
|
}
|