Socket
Socket
Sign inDemoInstall

acorn

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 4.0.1 (2016-08-08)
### Bug fixes
Fix false positives in duplicated export name errors.
## 4.0.0 (2016-08-07)

@@ -2,0 +8,0 @@

2

package.json

@@ -7,3 +7,3 @@ {

"jsnext:main": "dist/acorn.es.js",
"version": "4.0.0",
"version": "4.0.1",
"engines": {

@@ -10,0 +10,0 @@ "node": ">=0.4.0"

@@ -39,3 +39,3 @@ // Acorn is a tiny, fast JavaScript parser written in JavaScript.

export const version = "4.0.0"
export const version = "4.0.1"

@@ -42,0 +42,0 @@ // The main exported interface (under `self.acorn` when in the

@@ -568,3 +568,3 @@ import {types as tt} from "./tokentype"

if (this.eat(tt._default)) { // export default ...
pp.checkExport(exports, "default", this.lastTokStart)
this.checkExport(exports, "default", this.lastTokStart)
let parens = this.type == tt.parenL

@@ -664,4 +664,4 @@ let expr = this.parseMaybeAssign()

node.local = this.parseIdent(this.type === tt._default)
this.checkExport(exports, node.local.name, node.local.start)
node.exported = this.eatContextual("as") ? this.parseIdent(true) : node.local
this.checkExport(exports, node.exported.name, node.exported.start)
nodes.push(this.finishNode(node, "ExportSpecifier"))

@@ -668,0 +668,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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