Socket
Socket
Sign inDemoInstall

acorn-class-fields

Package Overview
Dependencies
2
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.0.0

Diff

Changelog

Source

1.0.0 (2021-02-08)

  • Update AST node names to match ESTree
adrianheine
published 0.3.7 •

Changelog

Source

0.3.7 (2020-08-13)

  • Don't break methods with line break after name
  • Mark as compatible with acorn@8
  • Support await in field initializers
adrianheine
published 0.3.6 •

Changelog

Source

0.3.6 (2020-06-11)

  • Don't break acorn's optional chaining support
adrianheine
published 0.3.5 •

Changelog

Source

0.3.5 (2020-06-11)

  • Don't break keyword method names
adrianheine
published 0.3.4 •

Changelog

Source

0.3.4 (2020-05-21)

  • Allow keyword field names
adrianheine
published 0.3.3 •

Changelog

Source

0.3.3 (2020-05-20)

  • Support numeric field names
adrianheine
published 0.3.2 •

Changelog

Source

0.3.2 (2020-04-24)

  • Make compatible with acorn@7
  • Use injected acorn instance if available
  • Evaluate class heritage with outer private environment
  • Don't allow private element access on super
  • Uses Object.getPrototypeOf if available instead of __proto__
  • Fix usage of super in field initializers
adrianheine
published 0.3.1 •

Changelog

Source

0.3.1 (2019-02-09)

  • Restore compatibility with acorn-private-methods
adrianheine
published 0.3.0 •

Changelog

Source

0.3.0 (2019-02-09)

  • Require acorn >= 6.1.0
adrianheine
published 0.2.1 •

Changelog

Source

0.2.1 (2018-11-06)

  • Adapt to changes in acorn 6.0.3
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc