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

abstract-syntax-tree

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-syntax-tree - npm Package Versions

1
57

2.5.0

Diff

Changelog

Source

2.5.0

  • edit: change cherow to meriyah
emilos
published 2.4.0 •

emilos
published 2.3.0 •

Changelog

Source

2.3.0

  • edit: append and prepend mutate existing arrays
emilos
published 2.2.0 •

Changelog

Source

2.2.0

  • add: possibility to create a new abstract syntax tree instance without params
  • add: append and prepend accept string as input
  • update: ava
emilos
published 2.1.3 •

Changelog

Source

2.1.3

  • edit: update nyc
emilos
published 2.1.2 •

Changelog

Source

2.1.2

  • add: reduce method
emilos
published 2.1.1 •

Changelog

Source

2.1.1

  • edit: update deps
emilos
published 2.1.0 •

Changelog

Source

2.1.0

  • add: support object selector in the find, has and count methods
  • edit: better performance for the remove method (string selector)
  • remove: obsolete config.js file
emilos
published 2.0.1 •

Changelog

Source

2.0.1

  • edit: remove nodes only if null is returned in the replace method
emilos
published 2.0.0 •

Changelog

Source

2.0.0

  • add: static methods: find, each, first, last, count, has, remove, equal and traverse
  • add: getters -> type, body, source and map
  • edit: replace method now accepts options object instead of a callback
  • edit: removed the is method, please use static equal method instead
  • edit: ast property has been replaced with _tree
  • remove: minify and beautify methods
  • remove: toSource, toSourceMap and toString methods
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