Socket
Socket
Sign inDemoInstall

eslint-scope

Package Overview
Dependencies
2
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0 to 7.1.0

4

lib/index.js

@@ -69,3 +69,3 @@ /*

impliedStrict: false,
sourceType: "script", // one of ['script', 'module']
sourceType: "script", // one of ['script', 'module', 'commonjs']
ecmaVersion: 5,

@@ -126,3 +126,3 @@ childVisitorKeys: null,

* (if ecmaVersion >= 5).
* @param {string} [providedOptions.sourceType='script'] the source type of the script. one of 'script' and 'module'
* @param {string} [providedOptions.sourceType='script'] the source type of the script. one of 'script', 'module', and 'commonjs'
* @param {number} [providedOptions.ecmaVersion=5] which ECMAScript version is considered

@@ -129,0 +129,0 @@ * @param {Object} [providedOptions.childVisitorKeys=null] Additional known visitor keys. See [esrecurse](https://github.com/estools/esrecurse)'s the `childVisitorKeys` option.

@@ -69,3 +69,3 @@ /*

__isNodejsScope() {
return this.__options.nodejsScope;
return this.__options.nodejsScope || this.__options.sourceType === "commonjs";
}

@@ -72,0 +72,0 @@

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

const version = "7.0.0";
const version = "7.1.0";
export default version;

@@ -14,3 +14,3 @@ {

},
"version": "7.0.0",
"version": "7.1.0",
"engines": {

@@ -17,0 +17,0 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc