@ast-grep/napi
Advanced tools
Comparing version 0.27.3 to 0.28.0
@@ -12,8 +12,11 @@ /* tslint:disable */ | ||
/** The rule object, see https://ast-grep.github.io/reference/rule.html */ | ||
rule: any | ||
rule: import('./manual').Rule | ||
/** See https://ast-grep.github.io/guide/rule-config.html#constraints */ | ||
constraints?: any | ||
constraints?: Record<string, import('./manual').Rule> | ||
/** Available languages: html, css, js, jsx, ts, tsx */ | ||
language?: Lang | ||
/** https://ast-grep.github.io/reference/yaml.html#transform */ | ||
/** | ||
* transform is NOT useful in JavaScript. You can use JS code to directly transform the result. | ||
* https://ast-grep.github.io/reference/yaml.html#transform | ||
*/ | ||
transform?: any | ||
@@ -64,3 +67,4 @@ /** https://ast-grep.github.io/guide/rule-config/utility-rule.html */ | ||
Sql = 'Sql', | ||
Swift = 'Swift' | ||
Swift = 'Swift', | ||
Yaml = 'Yaml' | ||
} | ||
@@ -67,0 +71,0 @@ export interface Edit { |
{ | ||
"name": "@ast-grep/napi", | ||
"version": "0.27.3", | ||
"version": "0.28.0", | ||
"description": "Search and Rewrite code at large scale using precise AST pattern", | ||
@@ -17,2 +17,3 @@ "homepage": "https://ast-grep.github.io", | ||
"files": [ | ||
"manual.d.ts", | ||
"index.d.ts", | ||
@@ -71,12 +72,12 @@ "index.js" | ||
"optionalDependencies": { | ||
"@ast-grep/napi-win32-x64-msvc": "0.27.3", | ||
"@ast-grep/napi-darwin-x64": "0.27.3", | ||
"@ast-grep/napi-linux-x64-gnu": "0.27.3", | ||
"@ast-grep/napi-win32-ia32-msvc": "0.27.3", | ||
"@ast-grep/napi-darwin-arm64": "0.27.3", | ||
"@ast-grep/napi-win32-arm64-msvc": "0.27.3", | ||
"@ast-grep/napi-linux-arm64-gnu": "0.27.3", | ||
"@ast-grep/napi-linux-arm64-musl": "0.27.3", | ||
"@ast-grep/napi-linux-x64-musl": "0.27.3" | ||
"@ast-grep/napi-win32-x64-msvc": "0.28.0", | ||
"@ast-grep/napi-darwin-x64": "0.28.0", | ||
"@ast-grep/napi-linux-x64-gnu": "0.28.0", | ||
"@ast-grep/napi-win32-ia32-msvc": "0.28.0", | ||
"@ast-grep/napi-darwin-arm64": "0.28.0", | ||
"@ast-grep/napi-win32-arm64-msvc": "0.28.0", | ||
"@ast-grep/napi-linux-arm64-gnu": "0.28.0", | ||
"@ast-grep/napi-linux-arm64-musl": "0.28.0", | ||
"@ast-grep/napi-linux-x64-musl": "0.28.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28220
6
674