Socket
Socket
Sign inDemoInstall

@ast-grep/napi

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ast-grep/napi - npm Package Versions

23
12

0.27.0

Diff

Changelog

Source

0.27.0

herringtondarkholme
published 0.26.3 •

Changelog

Source

0.26.3

  • fix: fix wrong transformation indentation #1405
  • fix: compare only kind for unnamed nodes #1419
  • fix(deps): update dependency @swc/core to v1.7.18 9ecb02c
  • fix(deps): update dependency @swc/core to v1.7.14 459d20a
  • test: add test for transformation indentation e0bfaf2
herringtondarkholme
published 0.26.2 •

Changelog

Source

0.26.2

18 August 2024

  • fix: readopt matched metavar in napi #1380
  • chore: update napi definition 07e084a
  • fix(deps): update dependency @swc/core to v1.7.11 835b06f
  • fix(deps): update dependency @swc/core to v1.7.10 d7a3820
herringtondarkholme
published 0.26.1 •

Changelog

Source

0.26.1

9 August 2024

  • feat: support dynamic language in pyo3 #1143
  • test: add test for load dynamic lang in python 236f4ab
  • feat: add py_lang registration function 43e74e7
  • feat: add pytype for register language 8b660cf
herringtondarkholme
published 0.26.0 •

Changelog

Source

0.26.0

7 August 2024

  • feat: Additional impls for language types #1379
  • feat: append note to error message if available #1384
  • fix: LSP should skip files outside the workspace root #1382
  • fix(deps): update dependency @babel/core to v7.25.2 3b0be88
  • refactor: split two macros b760eb8
  • refactor: simplify visitor 5ae03ae
herringtondarkholme
published 0.25.7 •

Changelog

Source

0.25.7

5 August 2024

  • feat: add charCount to split lines #1381
  • chore(deps): update dependency @types/node to v20.14.14 bca7e7b
  • fix(deps): update rust crate clap to v4.5.13 c143464
  • fix(deps): update rust crate toml_edit to v0.22.20 170da4c
herringtondarkholme
published 0.25.6 •

Changelog

Source

0.25.6

4 August 2024

  • feat: add --selector in sg run #1378
  • fix: fix clippy new complaints a4cc793
  • fix(deps): update dependency @swc/core to v1.7.5 d3ee100
  • chore(deps): update rust crate tree-sitter to v0.22.2 93d684a
herringtondarkholme
published 0.25.5 •

Changelog

Source

0.25.5

1 August 2024

  • feat: support using transform in rule message #1366
  • test: add test for skipping multiple ellipsis #1365
  • feat: Support ast-grep-ignore comment on same line as violation #1347
  • Revert "feat: add wasm engine support" 78b1633
  • feat: add wasm engine support ff77914
  • refactor: remove old find/scan 58a3646
herringtondarkholme
published 0.25.4 •

Changelog

Source

0.25.4

  • feat: support sql experimentally #1300
  • feat: consistent file path for search by removing ./ prefix #1343
  • feat: allow multiple tests in a single YAML file #1344
  • refactor: use HarnessBuilder c41ffa8
  • refactor: move out some files dfa38f2
  • test: add test for deserde tests 76796e4
herringtondarkholme
published 0.25.3 •

Changelog

Source

0.25.3

  • feat: support custom language injection #1309
  • feat: register embedded language 416e28e
  • fix(deps): update dependency @babel/core to v7.24.9 8c5dd00
  • fix(deps): update dependency @swc/core to v1.7.0 61f6a14
23
12
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc