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 11.1.1 to 12.0.0

6

lib/linter.js

@@ -278,3 +278,3 @@ /* eslint-disable no-sync */

*/
exports.invoke = async function (cwd, args, text, mtime, callback) {
exports.invoke = async function (cwd, args, text, hash, callback) {
process.chdir(cwd);

@@ -299,7 +299,7 @@

cache = createCache(cwd, eslint_path_arg);
} else if (mtime > cache.last_run) {
} else if (hash !== cache.hash) {
clearRequireCache(cwd);
cache = createCache(cwd, eslint_path_arg);
}
cache.last_run = Date.now();
cache.hash = hash;

@@ -306,0 +306,0 @@ const options = cache.eslint.ESLint

{
"name": "eslint_d",
"version": "11.1.1",
"version": "12.0.0",
"description": "Makes eslint the fastest linter on the planet",

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

"James Pulec <jpulec@gmail.com>",
"Shannon Moeller <me@shannonmoeller.com>"
"Shannon Moeller <me@shannonmoeller.com>",
"Dara Dermody <daradermody@gmail.com>"
],

@@ -47,3 +48,3 @@ "homepage": "https://github.com/mantoni/eslint_d.js",

"posttest": "npm run lint",
"prepare": "sh prepare.sh",
"prepare": "sh scripts/install-fixture-deps.sh",
"preversion": "npm test",

@@ -58,4 +59,4 @@ "version": "changes --commits --footer",

"dependencies": {
"core_d": "^3.2.0",
"eslint": "^7.3.0",
"core_d": "^4.0.0",
"eslint": "^8.12.0",
"nanolru": "^1.0.0",

@@ -62,0 +63,0 @@ "optionator": "^0.9.1"

@@ -59,6 +59,9 @@ # eslint\_d

**Note:** Change detection was switched from mtime to content hash with v12.
## Which versions of eslint are supported?
As of `v7.2.0`, you can use `eslint_d` with multiple projects depending on
different versions of eslint. Supported versions are 4.0+, 5.0+, 6.0+ and 7.0+.
You can use `eslint_d` with multiple projects depending on different versions
of eslint. If no local eslint is found, `eslint_d` falls back to the eslint
version that ships with `eslint_d`.

@@ -198,3 +201,4 @@ ## Commands

- `11.0.0`: eslint 4 - 8, node 12 - 16
- `12.0.0`: eslint 4 - 8, node 12 - 16 (ships with eslint 8)
- `11.0.0`: eslint 4 - 8, node 12 - 16 (ships with eslint 7)
- `10.0.0`: eslint 4 - 7, node 10 - 14 (using new `ESLint` API if available)

@@ -201,0 +205,0 @@ - `9.0.0`: eslint 4 - 7, node 10 - 14 (using `CLIEngine` API)

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