Socket
Socket
Sign inDemoInstall

espree

Package Overview
Dependencies
Maintainers
3
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 9.3.0 to 9.3.1

18

espree.js

@@ -61,3 +61,2 @@ /**

import jsx from "acorn-jsx";
import astNodeTypes from "./lib/ast-node-types.js";
import espree from "./lib/espree.js";

@@ -145,4 +144,8 @@ import espreeVersion from "./lib/version.js";

/* istanbul ignore next */
export const VisitorKeys = (function() {
return visitorKeys.KEYS;
}());
// Deep copy.
// Derive node types from VisitorKeys
/* istanbul ignore next */

@@ -157,5 +160,5 @@ export const Syntax = (function() {

for (name in astNodeTypes) {
if (Object.hasOwnProperty.call(astNodeTypes, name)) {
types[name] = astNodeTypes[name];
for (name in VisitorKeys) {
if (Object.hasOwnProperty.call(VisitorKeys, name)) {
types[name] = name;
}

@@ -171,9 +174,4 @@ }

/* istanbul ignore next */
export const VisitorKeys = (function() {
return visitorKeys.KEYS;
}());
export const latestEcmaVersion = getLatestEcmaVersion();
export const supportedEcmaVersions = getSupportedEcmaVersions();

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

const version = "9.3.0";
const version = "9.3.1";
export default version;

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

},
"version": "9.3.0",
"version": "9.3.1",
"files": [

@@ -37,3 +37,3 @@ "lib",

"acorn-jsx": "^5.3.1",
"eslint-visitor-keys": "^3.1.0"
"eslint-visitor-keys": "^3.3.0"
},

@@ -44,2 +44,3 @@ "devDependencies": {

"@rollup/plugin-node-resolve": "^11.2.0",
"c8": "^7.11.0",
"chai": "^4.3.4",

@@ -56,3 +57,2 @@ "eslint": "^7.22.0",

"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"regenerate": "^1.4.0",

@@ -74,3 +74,3 @@ "rollup": "^2.41.2",

"unit": "npm-run-all -s unit:*",
"unit:esm": "nyc mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
"unit:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
"unit:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",

@@ -77,0 +77,0 @@ "test": "npm-run-all -p unit lint",

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