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 8.0.0-beta.0 to 8.0.0-beta.1

5

CHANGELOG.md

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

v8.0.0-beta.1 - June 24, 2021
* [`e207bd7`](https://github.com/eslint/espree/commit/e207bd703e761d5565ee59d15253260ae8e90a79) Update: Support top-level await and regexp match indices (#505) (Nicholas C. Zakas)
* [`9eff2c7`](https://github.com/eslint/espree/commit/9eff2c7b8cb18f19504afd8a97cad51d6905dfcf) Update: reset default ecmaVersion to 5 (#506) (Nicholas C. Zakas)
v8.0.0-beta.0 - June 11, 2021

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

2

lib/options.js

@@ -45,3 +45,3 @@ /**

*/
function normalizeEcmaVersion(ecmaVersion = getLatestEcmaVersion()) {
function normalizeEcmaVersion(ecmaVersion = 5) {

@@ -48,0 +48,0 @@ let version = ecmaVersion === "latest" ? getLatestEcmaVersion() : ecmaVersion;

@@ -1,3 +0,3 @@

const version = "8.0.0-beta.0";
const version = "8.0.0-beta.1";
export default version;

@@ -19,3 +19,3 @@ {

},
"version": "8.0.0-beta.0",
"version": "8.0.0-beta.1",
"files": [

@@ -35,3 +35,3 @@ "lib",

"dependencies": {
"acorn": "^8.2.2",
"acorn": "^8.4.1",
"acorn-jsx": "^5.3.1",

@@ -38,0 +38,0 @@ "eslint-visitor-keys": "^2.1.0"

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

// Set to 3, 5, 6, 7, 8, 9, 10, 11, or 12 to specify the version of ECMAScript syntax you want to use.
// Set to 3, 5 (the 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), 2021 (same as 12), or 2022 (same as 13) to use the year-based naming.
// You can also set "latest" (the default) to use the most recently supported version.
// You can also set "latest" to use the most recently supported version.
ecmaVersion: 5,

@@ -240,2 +240,4 @@

* [Class static fields, static private methods and accessors](https://github.com/tc39/proposal-static-class-features)
* [RegExp match indices](https://github.com/tc39/proposal-regexp-match-indices)
* [Top-level await](https://github.com/tc39/proposal-top-level-await)

@@ -242,0 +244,0 @@ See [finished-proposals.md](https://github.com/tc39/proposals/blob/master/finished-proposals.md) to know what features are finalized.

Sorry, the diff of this file is not supported yet

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