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

@ast-grep/napi

Package Overview
Dependencies
Maintainers
0
Versions
122
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.4

Diff

Changelog

Source

0.2.4

29 January 2023

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

Changelog

Source

0.1.14

4 January 2023

  • chore(deps): update dependency @napi-rs/cli to v2.14.0 #149
  • fix(deps): update rust crate num_cpus to 1.15.0 #147
  • fix(deps): update rust crate clap to 4.0.32 #145
  • chore(deps): update robinraju/release-downloader action to v1.7 #146
  • fix(deps): update rust crate serde_json to 1.0.91 #136
  • fix(deps): update rust crate serde_yaml to 0.9.16 #137
  • fix(deps): update rust crate serde_yaml to 0.9.15 #116
  • feat: merge adjacent matches in match printing #134
  • feat: refactor printers to accept output destination #153
  • feat: add traversal mod for sg-core #152
  • [refactor] simplify Matcher trait #151
  • feat: move interactive printer #135
  • feat: implement better heading show #150
  • test: add test for command arg parsing #128
  • feat: support run only one rule for scanning #139
  • feat: support color control on run/scan output #131
  • fix: fix stackoverflow in find_node_impl #148
  • feat: add labels and env info to json output #121
  • refactor: abstract out scan as worker #138
  • refactor: use mpsc for non-interactive output #125
  • feature: extract out a language crate #126
  • refactor: remove some inner call #3
  • refactor: extract out two printers 9328cd7
  • feat: fix interactive print rule 17fbaf0
  • feat: migrate run with specific lang ea46263
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