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

@nomicfoundation/slang

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nomicfoundation/slang - npm Package Versions

23

0.18.3

Diff

Changelog

Source

0.18.3

Patch Changes

nomic-foundation-publisher
published 0.18.2 •

Changelog

Source

0.18.2

Patch Changes

nomic-foundation-publisher
published 0.18.1 •

Changelog

Source

0.18.1

Patch Changes

nomic-foundation-publisher
published 0.18.0 •

Changelog

Source

0.18.0

Minor Changes

  • #1120 25eef3e Thanks @OmarTawfik! - migrate NAPI front-end to WASM and ESM

  • #1120 25eef3e Thanks @OmarTawfik! - add TerminalKindExtensions.is_valid() API to distinguish correctly-parsed and erroneous nodes

  • #1117 be7bb79 Thanks @OmarTawfik! - rename Language API to Parser, in preparation for introducing a multi-file compilation API.

  • #1116 c88f9b5 Thanks @OmarTawfik! - merge language, parse_error, parse_output namespaces into the parser namespace.

  • #1115 96df645 Thanks @OmarTawfik! - merge cursor, kinds, query, and text_index namespaces into the cst namespace.

  • #1120 25eef3e Thanks @OmarTawfik! - unify API methods on TerminalNode and NonTerminalNode, and add type assertions and guards to both types

  • #1120 25eef3e Thanks @OmarTawfik! - expose edges and edge labels on CST nodes via Node.children() method. This allows distinguishing between children of the same node based on their label/role in the parent, even if they have the same kind.

  • #1120 25eef3e Thanks @OmarTawfik! - add TerminalNode.id and Nonterminal.id properties to get a numeric ID that can be used in indexing/comparison at runtime.

  • #1120 25eef3e Thanks @OmarTawfik! - add TerminalKindExtensions.is_trivia() API to distinguish between trivia nodes and other contentful nodes

Patch Changes

nomic-foundation-publisher
published 0.17.0 •

Changelog

Source

0.17.0

Minor Changes

Patch Changes

  • #1086 f749e53 Thanks @AntonyBlakey! - The grammar for VersionExpressionSet has changed to more accurately model the allowed structure.
nomic-foundation-publisher
published 0.16.0 •

Changelog

Source

0.16.0

Minor Changes

  • #1030 7e467ce Thanks @ggiraldez! - Tree Query Language: queries now ignore trivia nodes.

  • #1030 7e467ce Thanks @ggiraldez! - Tree Query Language: remove the ellipsis query ... operator making it implicit, add an adjacency operator ..

Patch Changes

nomic-foundation-publisher
published 0.15.1 •

Changelog

Source

0.15.1

Patch Changes

nomic-foundation-publisher
published 0.15.0 •

Changelog

Source

0.15.0

Minor Changes

  • #975 46b1dde Thanks @OmarTawfik! - rename QueryResult to QueryMatch, and its bindings to captures.

  • #971 be943b7 Thanks @Xanewok! - Rename RuleKind to NonterminalKind, TokenKind to TerminalKind, and NodeLabel to EdgeLabel.

  • #963 a5593f9 Thanks @Xanewok! - Introduce a Diagnostic API for compiler errors, warnings etc.

Patch Changes

nomic-foundation-publisher
published 0.14.2 •

Changelog

Source

0.14.2

Patch Changes

  • #948 ce88cb7 Thanks @Xanewok! - Restrict the grammar to correctly only allow an identifier in Yul variable declaration

  • #945 e8f80d8 Thanks @Xanewok! - Support .address built-in access in Yul paths

nomic-foundation-publisher
published 0.14.1 •

Changelog

Source

0.14.1

Patch Changes

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