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

espree

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

espree - npm Package Compare versions

Comparing version 4.0.0-alpha.0 to 4.0.0-alpha.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

v4.0.0-alpha.1 - May 28, 2018
* 56c5a9c Fix: remove workarounds for acorn < 4 (#372) (Rouven Weßling)
* fd305e5 Upgrade: eslint-release to v0.11.1 (#376) (Teddy Katz)
v4.0.0-alpha.0 - March 30, 2018

@@ -2,0 +7,0 @@

12

espree.js

@@ -187,9 +187,2 @@ /**

// https://github.com/marijnh/acorn/issues/323
if (result.type === "TryStatement") {
delete result.guardedHandlers;
} else if (result.type === "CatchClause") {
delete result.guard;
}
// Acorn doesn't count the opening and closing backticks as part of templates

@@ -213,7 +206,2 @@ // so we have to adjust ranges/locations appropriately.

// Acorn uses undefined instead of null, which affects serialization
if (result.type === "Literal" && result.value === undefined) {
result.value = null;
}
if (extra.attachComment) {

@@ -220,0 +208,0 @@ commentAttachment.processComment(result);

4

package.json

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

"main": "espree.js",
"version": "4.0.0-alpha.0",
"version": "4.0.0-alpha.1",
"files": [

@@ -30,3 +30,3 @@ "lib",

"eslint-config-eslint": "^3.0.0",
"eslint-release": "^0.10.0",
"eslint-release": "^0.11.1",
"esprima": "latest",

@@ -33,0 +33,0 @@ "esprima-fb": "^8001.2001.0-dev-harmony-fb",

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