acorn-private-class-elements
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -0,1 +1,5 @@ | ||
## 0.2.4 (2020-04-22) | ||
* Don't allow private element access on `super` | ||
## 0.2.3 (2020-04-22) | ||
@@ -2,0 +6,0 @@ |
@@ -106,2 +106,5 @@ "use strict" | ||
if (this.type == this.privateNameToken) { | ||
if (base.type == "Super") { | ||
this.raise(this.start, "Cannot access private element on super") | ||
} | ||
node.property = this.parsePrivateName() | ||
@@ -108,0 +111,0 @@ if (!this._privateBoundNamesStack.length || !this._privateBoundNamesStack[this._privateBoundNamesStack.length - 1][node.property.name]) { |
@@ -23,3 +23,3 @@ { | ||
}, | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"devDependencies": { | ||
@@ -26,0 +26,0 @@ "acorn": "^7.0.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17905
432
0