You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@ast-grep/napi

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
23
11
Next

0.25.4

Diff

Changelog

Source

0.25.4

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
herringtondarkholme
published 0.25.2 •

Changelog

Source

0.25.2

18 July 2024

  • fix: only present code action when there are truly fixable diagnostic #1327
  • refactor: move some function out of lsp 1e6b477
  • fix: use fix in data for fix all command d358d45
  • fix: update fix all lsp b760b9b
herringtondarkholme
published 0.25.1 •

Changelog

Source

0.25.1

14 July 2024

  • fix: make config file work outside of workspace root #1326
  • fix: fix napi musl bde7f34
  • fix: debug napi 2d87fc5
herringtondarkholme
published 0.25.0 •

Changelog

Source

0.25.0

13 July 2024

  • Fix Python 3.10 macOS ast-grep-py build #1315
  • feat: support multiple doc in scan #1310
  • fix: fix testing #1305
  • feat: support searching injected code in specified lang #1307
  • feat: improve HTML language extraction for ts/scss #1301
  • fix: use relative path in lsp #1272
  • fix: use match info in lsp message #1271
  • feat: support arm64 musl #1227
  • fix(deps): update dependency @babel/core to v7.24.8 624aa70
  • feat: support multiple regions in run 07ef11f
  • refactor: move Html out 4a0c177
herringtondarkholme
published 0.24.1 •

Changelog

Source

0.24.1

26 June 2024

  • fix: skip missing node in pattern #1256
  • doc: add cli help text for debug format 1754382
herringtondarkholme
published 0.24.0 •

Changelog

Source

0.24.0

23 June 2024

  • feat: add debug ast and cst #1218
  • feat: add strictness in PyO3 #1246
  • feat: add strictness flag in cli #1243
  • test: add test for different strictness #1241
  • feat: add strictness to YAML #1239
  • Breaking change: fix: update API for fix 4971ac2
  • Breaking change: fix: change deletedLength to endPos in napi c0e9a65
  • feat: add colorized output 22f279c
herringtondarkholme
published 0.23.1 •

Changelog

Source

0.23.1

22 June 2024

  • fix: all should not pollute env #1225
  • Breaking change: feat: use new pattern struct f219b43
  • refactor: move match_node impl out 27c918a
  • refactor: factor out match_ellipsis logic 407d2a8
herringtondarkholme
published 0.23.0 •

Changelog

Source

0.23.0

11 June 2024

  • feat: add typings for pyo3 #676
  • refactor: remove unused old code 3ffd1d9
  • fix(deps): update babel monorepo to v7.24.7 b4aebaf
  • refactor: add new abstraction for match_tree 079bc7d
herringtondarkholme
published 0.22.6 •

Changelog

Source

0.22.6

4 June 2024

  • fix: add Edit to export list #1186
  • feat: add modify edit range feature in pyo3 1e31253
  • test: add test for modifying edit 7044811
  • fix: addClass Edit in pyo3 d81c6c3
23
11
Next
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