Socket
Socket
Sign inDemoInstall

acorn-private-class-elements

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-private-class-elements - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

CHANGELOG.md

@@ -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]) {

2

package.json

@@ -23,3 +23,3 @@ {

},
"version": "0.2.3",
"version": "0.2.4",
"devDependencies": {

@@ -26,0 +26,0 @@ "acorn": "^7.0.0",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc