@ast-grep/napi 0.6.4 → 0.6.6

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.
Files changed (2) hide show
  1. package/index.d.ts +1 -0
  2. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -26,6 +26,7 @@ export interface NapiConfig {
26
26
  rule: any
27
27
  constraints?: any
28
28
  language?: FrontEndLanguage
29
+ transform?: any
29
30
  utils?: any
30
31
  }
31
32
  export function parseFiles(paths: string[], callback: (err: null | Error, result: SgRoot) => void): Promise<number>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ast-grep/napi",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
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",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@napi-rs/cli": "2.16.1",
47
- "ava": "5.3.0",
47
+ "ava": "5.3.1",
48
48
  "chalk": "5.2.0",
49
49
  "ts-node": "10.9.1",
50
50
  "typescript": "5.1.3"
@@ -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.4",
68
- "@ast-grep/napi-darwin-x64": "0.6.4",
69
- "@ast-grep/napi-linux-x64-gnu": "0.6.4",
70
- "@ast-grep/napi-win32-ia32-msvc": "0.6.4",
71
- "@ast-grep/napi-darwin-arm64": "0.6.4",
72
- "@ast-grep/napi-win32-arm64-msvc": "0.6.4"
67
+ "@ast-grep/napi-win32-x64-msvc": "0.6.6",
68
+ "@ast-grep/napi-darwin-x64": "0.6.6",
69
+ "@ast-grep/napi-linux-x64-gnu": "0.6.6",
70
+ "@ast-grep/napi-win32-ia32-msvc": "0.6.6",
71
+ "@ast-grep/napi-darwin-arm64": "0.6.6",
72
+ "@ast-grep/napi-win32-arm64-msvc": "0.6.6"
73
73
  }
74
74
  }