Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ast-grep/napi

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ast-grep/napi - npm Package Versions

1
13

0.2.5

Diff

Changelog

Source

0.2.5

4 February 2023

herringtondarkholme
published 0.2.4 •

Changelog

Source

0.2.4

29 January 2023

  • perf: use potential_kinds for more scenarios #221
  • refactor: remove var_matchers from MetaVarEnv #218
  • refactor: remove get meta_var_matchers in Matcher #218
  • refactor: split scan and run bf1e7e2
  • Revert "perf: use potential_kinds for more scenarios" c264e32
  • refactor: remove duplicate MatchUnit/filter_file ab2222e
herringtondarkholme
published 0.2.3 •

Changelog

Source

0.2.3

27 January 2023

  • feat: make inside util inclusive #205
  • feat: support search multiple paths #207
  • fix: use return number for napi #205
  • 0.2.3 bump version 753e972
  • refactor: use stop_by for all relational rule 279edeb
  • refactor: cleaner StopBy matching 974a307
herringtondarkholme
published 0.2.2 •

Changelog

Source

0.2.2

25 January 2023

herringtondarkholme
published 0.2.1 •

Changelog

Source

0.2.1

24 January 2023

herringtondarkholme
published 0.2.0 •

Changelog

Source

0.2.0

24 January 2023

  • feat: support multi node pattern #199
  • [refactor] Extract a match node iterator function in matcher_tree #199
  • feat: print out serialized rule message #200
  • fix: fix nested leaf match crash in non-entrant traversal #197
  • feat: add Dart support #172
  • fix: fix wrong line number in diff #192
  • feat: support inclusive until #191
  • feat: allow shorthands to combine all rule kinds 51f72db
  • refactor: refactor deser for better error message f28f964
  • 0.2.0 bump version e580932
herringtondarkholme
published 0.1.18 •

Changelog

Source

0.1.18

16 January 2023

  • fix: revert write env for unmatched pattern #190
  • fix: fix Has relation #188
  • feat: add rule info to config fixer #122
  • refactor: deduplicate json printer code #185
  • feat: add regex matcher 0a40ed2
  • 0.1.18 bump version bfdde22
  • feat: add debugging assert 5b17e8b
herringtondarkholme
published 0.1.17 •

Changelog

Source

0.1.17

15 January 2023

  • feat: add error handling for parsing RuleConfig #182
  • feat: better error handling in constraints config #181
  • feat: improve error handling in config #181
  • 0.1.17 bump version 0a638f1
  • feat: add try_new for pattern creation a9510d2
  • refactor: cleanup public API 875ef1e
herringtondarkholme
published 0.1.16 •

Changelog

Source

0.1.16

14 January 2023

  • fix(deps): update rust crate ignore to 0.4.19 #165
  • fix(deps): update rust crate globset to 0.4.10 #164
  • feat: support --no-ignore for scan/test #162
  • fix: fix two adjacent sticking but not overlapping matches #171
  • feat: add source 1a23b6a
  • 0.1.16 bump version 8cc6765
  • feat: add adopt method to safely create Node 6ea01ae
herringtondarkholme
published 0.1.15 •

Changelog

Source

0.1.15

8 January 2023

  • feat: make tree-sitter-* parsers optional dependencies #160
  • 0.1.15 bump version fa56cf1
  • refactor: use macro to abstract away repetitive lang method impl fb58b15
  • feat: edit cargo toml 1611af5
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