Comparing version 1.0.0 to 1.1.0
@@ -8,4 +8,2 @@ "use strict"; | ||
var _chokidar = _interopRequireDefault(require("chokidar")); | ||
var _glob = _interopRequireDefault(require("glob")); | ||
@@ -17,2 +15,4 @@ | ||
var _sane = _interopRequireDefault(require("sane")); | ||
var _LintRunner = _interopRequireDefault(require("./LintRunner")); | ||
@@ -71,9 +71,8 @@ | ||
_setupWatcher(root, paths, ignored) { | ||
const watcher = _chokidar.default.watch(paths, { | ||
disableGlobbing: true, | ||
const watcher = (0, _sane.default)(root, { | ||
glob: paths, | ||
ignored: ignored, | ||
ignoreInitial: true, | ||
ignorePermissionErrors: true | ||
dot: true, | ||
watchman: process.env.NODE_ENV !== 'test' | ||
}); | ||
watcher.on('ready', () => { | ||
@@ -80,0 +79,0 @@ process.send({ |
{ | ||
"name": "esprint", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Parallelized eslint", | ||
@@ -27,6 +27,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"chokidar": "^3.4.3", | ||
"fb-watchman": "^2.0.1", | ||
"glob": "^7.1.6", | ||
"jayson": "^3.3.4", | ||
"jest-worker": "^26.6.2", | ||
"sane": "^4.1.0", | ||
"yargs": "^16.2.0" | ||
@@ -33,0 +34,0 @@ }, |
@@ -1,5 +0,5 @@ | ||
import chokidar from 'chokidar'; | ||
import glob from 'glob'; | ||
import jayson from 'jayson'; | ||
import path from 'path'; | ||
import sane from 'sane'; | ||
import LintRunner from './LintRunner'; | ||
@@ -53,7 +53,7 @@ import { CLIEngine } from 'eslint'; | ||
_setupWatcher(root, paths, ignored) { | ||
const watcher = chokidar.watch(paths, { | ||
disableGlobbing: true, | ||
const watcher = sane(root, { | ||
glob: paths, | ||
ignored: ignored, | ||
ignoreInitial: true, | ||
ignorePermissionErrors: true, | ||
dot: true, | ||
watchman: process.env.NODE_ENV !== 'test', | ||
}); | ||
@@ -60,0 +60,0 @@ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
62942
7
12
+ Addedfb-watchman@^2.0.1
+ Addedsane@^4.1.0
+ Added@cnakazawa/watch@1.0.4(transitive)
+ Addedanymatch@2.0.0(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-flatten@1.1.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedarray-unique@0.3.2(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedatob@2.1.2(transitive)
+ Addedbase@0.11.2(transitive)
+ Addedbraces@2.3.2(transitive)
+ Addedbser@2.1.1(transitive)
+ Addedcache-base@1.0.1(transitive)
+ Addedcapture-exit@2.0.0(transitive)
+ Addedclass-utils@0.3.6(transitive)
+ Addedcollection-visit@1.0.0(transitive)
+ Addedcomponent-emitter@1.3.1(transitive)
+ Addedcopy-descriptor@0.1.1(transitive)
+ Addedcross-spawn@6.0.6(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddecode-uri-component@0.2.2(transitive)
+ Addeddefine-property@0.2.51.0.02.0.2(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexec-sh@0.3.6(transitive)
+ Addedexeca@1.0.0(transitive)
+ Addedexpand-brackets@2.1.4(transitive)
+ Addedextend-shallow@2.0.13.0.2(transitive)
+ Addedextglob@2.0.4(transitive)
+ Addedfb-watchman@2.0.2(transitive)
+ Addedfill-range@4.0.0(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfragment-cache@0.2.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-stream@4.1.0(transitive)
+ Addedget-value@2.0.6(transitive)
+ Addedhas-value@0.3.11.0.0(transitive)
+ Addedhas-values@0.1.41.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-accessor-descriptor@1.0.1(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-data-descriptor@1.0.1(transitive)
+ Addedis-descriptor@0.1.71.0.3(transitive)
+ Addedis-extendable@0.1.11.0.1(transitive)
+ Addedis-number@3.0.0(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@2.1.03.0.1(transitive)
+ Addedkind-of@3.2.24.0.06.0.3(transitive)
+ Addedmakeerror@1.0.12(transitive)
+ Addedmap-cache@0.2.2(transitive)
+ Addedmap-visit@1.0.0(transitive)
+ Addedmicromatch@3.1.10(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmixin-deep@1.3.2(transitive)
+ Addedms@2.0.0(transitive)
+ Addednanomatch@1.2.13(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addednode-int64@0.4.0(transitive)
+ Addednormalize-path@2.1.1(transitive)
+ Addednpm-run-path@2.0.2(transitive)
+ Addedobject-copy@0.1.0(transitive)
+ Addedobject-visit@1.0.1(transitive)
+ Addedobject.pick@1.3.0(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedpascalcase@0.1.1(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedposix-character-classes@0.1.1(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedregex-not@1.0.2(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedrepeat-element@1.1.4(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedresolve-url@0.2.1(transitive)
+ Addedret@0.1.15(transitive)
+ Addedrsvp@4.8.5(transitive)
+ Addedsafe-regex@1.1.0(transitive)
+ Addedsane@4.1.0(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedset-value@2.0.1(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsnapdragon@0.8.2(transitive)
+ Addedsnapdragon-node@2.1.1(transitive)
+ Addedsnapdragon-util@3.0.1(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedsource-map-resolve@0.5.3(transitive)
+ Addedsource-map-url@0.4.1(transitive)
+ Addedsplit-string@3.1.0(transitive)
+ Addedstatic-extend@0.1.2(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedtmpl@1.0.5(transitive)
+ Addedto-object-path@0.3.0(transitive)
+ Addedto-regex@3.0.2(transitive)
+ Addedto-regex-range@2.1.1(transitive)
+ Addedunion-value@1.0.1(transitive)
+ Addedunset-value@1.0.0(transitive)
+ Addedurix@0.1.0(transitive)
+ Addeduse@3.1.1(transitive)
+ Addedwalker@1.0.8(transitive)
+ Addedwhich@1.3.1(transitive)
- Removedchokidar@^3.4.3
- Removedanymatch@3.1.3(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-number@7.0.0(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedto-regex-range@5.0.1(transitive)