Socket
Socket
Sign inDemoInstall

solidity-ast

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solidity-ast - npm Package Versions

23
8

0.4.59

Diff

Changelog

Source

0.4.59 (2024-09-06)

  • Added 'transient' as a possible value for VariableDeclaration.storageLocation, available since Solidity 0.8.27.
  • Added 'prague' as a possible value for InlineAssembly.evmVersion.
frangio
published 0.4.57 •

Changelog

Source

0.4.57 (2024-07-16)

  • Fixed ModifierDefinition.body: made nullable to support Solidity 0.6.7 virtual modifiers with empty body.
frangio
published 0.4.58 •

Changelog

Source

0.4.58 (2024-08-29)

  • Fixed YulFunctionDefinition.parameters and returnVariables: made optional, used when empty.
  • Fixed InlineAssembly.externalReferences[].suffix: added 'length' option.
frangio
published 0.4.56 •

Changelog

Source

0.4.56 (2024-03-14)

  • Added 'cancun' as a possible value for InlineAssembly.evmVersion.
frangio
published 0.4.55 •

Changelog

Source

0.4.55 (2023-11-25)

  • Fixed TupleExpression.components: array members are nullable.
frangio
published 0.4.54 •

Changelog

Source

0.4.54 (2023-11-23)

  • Fixed Literal.subdenomination, previously typed as null, now typed with values 'seconds', 'minutes', etc.
  • Added EnumDefinition.documentation.
frangio
published 0.4.53 •

Changelog

Source

0.4.53 (2023-11-10)

  • Added ForStatement.isSimpleCounterLoop, available since Solidity 0.8.22.
frangio
published 0.4.52 •

Changelog

Source

0.4.52 (2023-08-24)

  • Fixed behavior of findAll('*', ...) around UsingForDirective.functionList and ImportDirective.symbolAliases, which missed some identifiers and returned non-nodes.
frangio
published 0.4.51 •

Changelog

Source

0.4.51 (2023-08-19)

  • Fixed bug in AST dereferencer reading a property of null.
frangio
published 0.4.50 •

Changelog

Source

0.4.50 (2023-08-19)

  • Fixed findAll exhaustivity around objects in the AST that are not AST nodes. Affected queries for IdentifierPath nodes under UsingForDirective.functionList and for Identifier nodes under ImportDirective.symbolAliases.foreign.
  • Significantly optimized findAll and astDereferencer.
  • Added ability to enumerate all nodes with findAll('*', node) or dereference an unknown node type with deref('*', id).
  • Added SourceUnit.experimentalSolidity, available since Solidity 0.8.21.
  • Added ContractDefinition.usedEvents and ContractDefinition.internalFunctionIDs, available since Solidity 0.8.20.
  • Added StructDefinition.documentation, available since Solidity 0.8.20.
  • Added 'shanghai' as a possible value for InlineAssembly.evmVersion.
  • Added nativeSrc to Yul AST nodes.
23
8
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