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

acorn-class-fields

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-class-fields - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 0.3.3 (2020-05-20)
* Support numeric field names
## 0.3.2 (2020-04-24)

@@ -2,0 +6,0 @@

2

index.js

@@ -22,3 +22,3 @@ "use strict"

parseClassElement(_constructorAllowsSuper) {
if (this.options.ecmaVersion >= 8 && (this.type == tt.name || this.type == this.privateNameToken || this.type == tt.bracketL || this.type == tt.string)) {
if (this.options.ecmaVersion >= 8 && (this.type == tt.name || this.type == this.privateNameToken || this.type == tt.bracketL || this.type == tt.string || this.type == tt.num)) {
const branch = this._branch()

@@ -25,0 +25,0 @@ if (branch.type == tt.bracketL) {

@@ -24,3 +24,3 @@ {

},
"version": "0.3.2",
"version": "0.3.3",
"devDependencies": {

@@ -31,3 +31,3 @@ "acorn": "^6.0.0 || ^7.0.0",

"mocha": "^7",
"test262": "git+https://github.com/tc39/test262.git#57fa74b170e9554bfe89a29c10de2447fe7d3b27",
"test262": "git+https://github.com/tc39/test262.git#058adfed86b1d4129996faaf50a85ea55379a66a",
"test262-parser-runner": "^0.5.0"

@@ -34,0 +34,0 @@ },

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