Socket
Socket
Sign inDemoInstall

espree

Package Overview
Dependencies
Maintainers
2
Versions
96
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 7.2.0 to 7.3.0

5

CHANGELOG.md

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

v7.3.0 - August 22, 2020
* [`4ba3eef`](https://github.com/eslint/espree/commit/4ba3eefdc4b32784565822b34f11977e99ca1a19) Chore: move to GitHub Actions (#449) (Kai Cataldo)
* [`bd0a405`](https://github.com/eslint/espree/commit/bd0a405ffbe4962bcf5aa225ed3861a6a15cb827) Update: support logical assignment and numeric separators (#448) (Toru Nagashima)
v7.2.0 - July 17, 2020

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

3

lib/options.js

@@ -21,3 +21,4 @@ /**

10,
11
11,
12
];

@@ -24,0 +25,0 @@

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

"main": "espree.js",
"version": "7.2.0",
"version": "7.3.0",
"files": [

@@ -22,3 +22,3 @@ "lib",

"dependencies": {
"acorn": "^7.3.1",
"acorn": "^7.4.0",
"acorn-jsx": "^5.2.0",

@@ -25,0 +25,0 @@ "eslint-visitor-keys": "^1.3.0"

@@ -133,4 +133,4 @@ [![npm version](https://img.shields.io/npm/v/espree.svg)](https://www.npmjs.com/package/espree)

// Set to 3, 5 (default), 6, 7, 8, 9, or 10 to specify the version of ECMAScript syntax you want to use.
// You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), or 2020 (same as 11) to use the year-based naming.
// Set to 3, 5 (default), 6, 7, 8, 9, 10, 11, or 12 to specify the version of ECMAScript syntax you want to use.
// You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11), or 2021 (same as 12) to use the year-based naming.
ecmaVersion: 5,

@@ -221,37 +221,15 @@

### What ECMAScript 6 features do you support?
### What ECMAScript features do you support?
All of them.
Espree supports all ECMAScript 2020 features and partially supports ECMAScript 2021 features.
### What ECMAScript 7/2016 features do you support?
Because ECMAScript 2021 is still under development, we are implementing features as they are finalized. Currently, Espree supports:
There is only one ECMAScript 2016 syntax change: the exponentiation operator. Espree supports this.
* [Logical Assignment Operators](https://github.com/tc39/proposal-logical-assignment)
* [Numeric Separators](https://github.com/tc39/proposal-numeric-separator)
### What ECMAScript 2017 features do you support?
See [finished-proposals.md](https://github.com/tc39/proposals/blob/master/finished-proposals.md) to know what features are finalized.
There are two ECMAScript 2017 syntax changes: `async` functions, and trailing commas in function declarations and calls. Espree supports both of them.
### What ECMAScript 2018 features do you support?
There are seven ECMAScript 2018 syntax changes:
* Invalid escape sequences in tagged template literals
* Rest/spread properties
* Async iteration
* RegExp `s` flag
* RegExp named capture groups
* RegExp lookbehind assertions
* RegExp Unicode property escapes
Espree supports all of them.
### What ECMAScript 2019 features do you support?
Because ECMAScript 2019 is still under development, we are implementing features as they are finalized. Currently, Espree supports:
* Optional `catch` binding
* JSON superset (`\u2028` and `\u2029` in string literals)
### How do you determine which experimental features to support?
In general, we do not support experimental JavaScript features. We may make exceptions from time to time depending on the maturity of the features.
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