Socket
Socket
Sign inDemoInstall

@ast-grep/napi

Package Overview
Dependencies
0
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
11Next

0.22.0

Diff

Changelog

Source

0.22.0

8 May 2024

herringtondarkholme
published 0.21.4 •

Changelog

Source

0.21.4

6 May 2024

  • fix: build from source #1125
  • doc: update how to install via cargo #1118
  • feat: report undefined util rules #1106
  • Breaking change: feat: separate RuleCoreError and RuleConfigError d96efa9
  • refactor: move Transformation into a standalone module b51cc95
  • fix(deps): update dependency @babel/core to v7.24.5 77ea8bd
herringtondarkholme
published 0.21.3 •

Changelog

Source

0.21.3

2 May 2024

  • feat: make pattern more permissive #1087
  • refactor: further simplify test case 8188473
  • refactor: make rewrite test simplier 5a754ef
  • test: add test for contextual pattern defined var 2d6bae8
herringtondarkholme
published 0.21.2 •

Changelog

Source

0.21.2

1 May 2024

  • feat: Allow to use meta variable captured outside of rewrite rule inside the rewriter #1072
  • refactor: move rule_core test out of rule_core 1e8af4c
  • feat: move check variable usage out to a standalone file f086d10
  • refactor: move check var around cfe3529
herringtondarkholme
published 0.21.1 •

Changelog

Source

0.21.1

24 April 2024

  • feat: find defined vars in utils cbc6534
  • fix: add referent rule stack overflow test case f7f24e1
  • feat: add utils defined vars 59001eb
herringtondarkholme
published 0.21.0 •

Changelog

Source

0.21.0

24 April 2024

  • feat: report unused rewriters #1064
  • feat: report undefined error in fix #1070
  • feat: define the resolution order of meta variables #1068
  • feat: export used meta-var in transform #1069
  • feat: export meta variables defined in transform #1066
  • feat: export meta variables defined in constraints/rules #1067
  • test: add test for Pattern::defined_vars method #1065
  • feat: analyze meta variables defined in pattern #1065
  • feat: add field id Error for relational rule #1059
  • feat: support rewrtier check in sub-rule eb4c47c
  • test: add undefined rewriter test d56ad74
  • feat: add used_vars in TemplateFix 641d3b4
herringtondarkholme
published 0.20.5 •

Changelog

Source

0.20.5

10 April 2024

herringtondarkholme
published 0.20.4 •

Changelog

Source

0.20.4

8 April 2024

  • fix: fix new deprecation note of Rust 2024 a70565e
  • fix: fix quickfix fef3dfc
  • fix: better fix message e0b5875
herringtondarkholme
published 0.20.3 •

Changelog

Source

0.20.3

7 April 2024

  • feat(lsp): run "source.fixAll.ast-grep" onsave #1021
  • test: move the integration-test to test folder f2ff77a
  • chore: cargo update 83394e9
  • refactor: move logging and io out of on_apply_all_fix cd79cda
herringtondarkholme
published 0.20.2 •

Changelog

Source

0.20.2

27 March 2024

  • feat: make test --update-all not report error #771
  • fix: fix update cases f8132a4
  • refactor: less indentation for interactive reporter 203bd35
  • feat: improve accept 441a548
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc