Socket
Socket
Sign inDemoInstall

@ast-grep/napi

Package Overview
Dependencies
Maintainers
0
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ast-grep/napi - npm Package Compare versions

Comparing version 0.27.3 to 0.28.0

manual.d.ts

12

index.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc