Comparing version 11.1.1 to 12.0.0
@@ -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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35941
227
+ Added@eslint-community/eslint-utils@4.4.1(transitive)
+ Added@eslint-community/regexpp@4.12.1(transitive)
+ Added@eslint/eslintrc@2.1.4(transitive)
+ Added@eslint/js@8.57.1(transitive)
+ Added@humanwhocodes/config-array@0.13.0(transitive)
+ Added@humanwhocodes/module-importer@1.0.1(transitive)
+ Added@humanwhocodes/object-schema@2.0.3(transitive)
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@nodelib/fs.stat@2.0.5(transitive)
+ Added@nodelib/fs.walk@1.2.8(transitive)
+ Added@ungap/structured-clone@1.2.1(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedcore_d@4.0.0(transitive)
+ Addedeslint@8.57.1(transitive)
+ Addedeslint-scope@7.2.2(transitive)
+ Addedeslint-visitor-keys@3.4.3(transitive)
+ Addedespree@9.6.1(transitive)
+ Addedfastq@1.17.1(transitive)
+ Addedfind-up@5.0.0(transitive)
+ Addedglob-parent@6.0.2(transitive)
+ Addedgraphemer@1.4.0(transitive)
+ Addedignore@5.3.2(transitive)
+ Addedis-path-inside@3.0.3(transitive)
+ Addedjs-yaml@4.1.0(transitive)
+ Addedlocate-path@6.0.0(transitive)
+ Addedp-limit@3.1.0(transitive)
+ Addedp-locate@5.0.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedreusify@1.0.4(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedyocto-queue@0.1.0(transitive)
- Removed@babel/code-frame@7.12.11(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/highlight@7.25.9(transitive)
- Removed@eslint/eslintrc@0.4.3(transitive)
- Removed@humanwhocodes/config-array@0.5.0(transitive)
- Removed@humanwhocodes/object-schema@1.2.1(transitive)
- Removedacorn@7.4.1(transitive)
- Removedajv@8.17.1(transitive)
- Removedansi-colors@4.1.3(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedargparse@1.0.10(transitive)
- Removedastral-regex@2.0.0(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcore_d@3.2.0(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedenquirer@2.4.1(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedeslint@7.32.0(transitive)
- Removedeslint-scope@5.1.1(transitive)
- Removedeslint-utils@2.1.0(transitive)
- Removedeslint-visitor-keys@1.3.02.1.0(transitive)
- Removedespree@7.3.1(transitive)
- Removedesprima@4.0.1(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedfast-uri@3.0.3(transitive)
- Removedfunctional-red-black-tree@1.0.1(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedignore@4.0.6(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedjson-schema-traverse@1.0.0(transitive)
- Removedlodash.truncate@4.4.2(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedprogress@2.0.3(transitive)
- Removedregexpp@3.2.0(transitive)
- Removedrequire-from-string@2.0.2(transitive)
- Removedsemver@7.6.3(transitive)
- Removedslice-ansi@4.0.0(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtable@6.9.0(transitive)
- Removedv8-compile-cache@2.4.0(transitive)
Updatedcore_d@^4.0.0
Updatedeslint@^8.12.0