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

1
1012

0.1.17

Diff

Changelog

Source

0.1.17

15 January 2023

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

Changelog

Source

0.1.13

18 December 2022

  • fix(deps): update rust crate serde_json to 1.0.90 #115
  • Update dependency @napi-rs/cli to v2.13.3 #114
  • feat: implement proper json output 0c031c1
  • chore: add changelog d6fc114
  • feat: add json output support f33e39f
herringtondarkholme
published 0.1.12 •

Changelog

Source

0.1.12

15 December 2022

  • Update dependency @napi-rs/cli to v2.13.2 #103
  • Update dependency typescript to v4.9.4 #104
  • Update Rust crate tree-sitter-java to 0.20.0 #105
  • Update dependency chalk to v5.2.0 #106
  • feat: use better color output for readability #111
  • feat: support version and help argument #110
  • fix: skip extremely large file #109
  • 0.1.12 bump version 5ea05eb
  • fix: use get_matcher instead of get_rule in verify 4b4ea8e
  • fix: better large file detection 293a5c8
herringtondarkholme
published 0.1.11 •

Changelog

Source

0.1.11

11 December 2022

  • 0.1.11 bump version 1ba3c13
  • feat: add get all keys in meta var env 8203945
herringtondarkholme
published 0.1.10 •

Changelog

Source

0.1.10

7 December 2022

  • Update Rust crate clap to 4.0.29 #102
  • Update Rust crate serde_json to 1.0.89 #101
  • Update Rust crate clap to 4.0.28 #100
  • Update dependency @napi-rs/cli to v2.13.0 #99
  • Update dependency ava to v5.1.0 #97
  • Update dependency typescript to v4.9.3 #98
  • Update Rust crate similar to 2.2.1 #95
  • Update dependency @napi-rs/cli to v2.12.1 #92
  • Update Rust crate clap to 4.0.23 #91
  • chore: break down matcher to smaller files and add potential kind 74e5e7d
  • feat: improve contingent rule handling 9c500af
  • feat: add augmented rules c7dc0fe
herringtondarkholme
published 0.1.9 •

Changelog

Source

0.1.9

5 November 2022

  • Update Rust crate regex to 1.7.0 #88
  • feat: add contingent rules with tests #82
  • Update Rust crate clap to 4.0.19 #83
  • Update Rust crate tree-sitter-lua to 0.0.14 #84
  • Update Rust crate num_cpus to 1.14.0 #86
  • Update Rust crate tree-sitter-rust to 0.20.3 #85
  • 0.1.9 bump version 0ddb562
herringtondarkholme
published 0.1.8 •

Changelog

Source

0.1.8

31 October 2022

  • Update robinraju/release-downloader action to v1.6 #81
  • refactor: move relational rule outside 4c5321d
  • test: add test for inside/has 428dd62
  • fix: fix precedes/follows operator 020bb3c
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