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

eslint_d

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint_d - npm Package Compare versions

Comparing version 12.0.0 to 12.1.0

12

lib/eslint-path.js

@@ -12,2 +12,14 @@ 'use strict';

} catch (e) {
let useOnlyLocal;
try {
useOnlyLocal = JSON.parse(process.env.ESLINT_D_LOCAL_ESLINT_ONLY);
} catch (parseError) {
useOnlyLocal = false;
}
if (useOnlyLocal) {
return undefined;
}
// module not found

@@ -14,0 +26,0 @@ return resolver.resolve(eslint_path);

@@ -89,2 +89,7 @@ /* eslint-disable no-sync */

const absolute_eslint_path = eslint_path.resolve(cwd, eslint_path_arg);
if (!absolute_eslint_path) {
return false;
}
return eslintCache.set(cwd, {

@@ -303,2 +308,6 @@ eslint: require(absolute_eslint_path),

}
if (!cache) {
callback(null);
return;
}
cache.hash = hash;

@@ -305,0 +314,0 @@

5

package.json
{
"name": "eslint_d",
"version": "12.0.0",
"version": "12.1.0",
"description": "Makes eslint the fastest linter on the planet",

@@ -33,3 +33,4 @@ "bin": "bin/eslint_d.js",

"Shannon Moeller <me@shannonmoeller.com>",
"Dara Dermody <daradermody@gmail.com>"
"Dara Dermody <daradermody@gmail.com>",
"Oskar Grunning <oskargrunning@gmail.com>"
],

@@ -36,0 +37,0 @@ "homepage": "https://github.com/mantoni/eslint_d.js",

3

README.md

@@ -48,2 +48,5 @@ # eslint\_d

It's possible to force `eslint_d` to only resolve local `eslint` by setting the
`ESLINT_D_LOCAL_ESLINT_ONLY` environment variable to a truthy value (ie. `true` or `1`).
To keep the memory footprint low, `eslint_d` keeps only the last 10 used

@@ -50,0 +53,0 @@ instances in the internal [nanolru][] cache.

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