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

esprint

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esprint - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

13

build/Server.js

@@ -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 @@

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