acorn-class-fields
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -0,1 +1,5 @@ | ||
## 0.3.3 (2020-05-20) | ||
* Support numeric field names | ||
## 0.3.2 (2020-04-24) | ||
@@ -2,0 +6,0 @@ |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25900