Socket
Socket
Sign inDemoInstall

sane

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sane - npm Package Compare versions

Comparing version 1.3.5 to 1.4.0

src/utils/recrawl-warning-dedupe.js

5

package.json
{
"name": "sane",
"version": "1.3.5",
"version": "1.4.0",
"description": "Sane aims to be fast, small, and reliable file system watcher.",

@@ -12,3 +12,4 @@ "main": "index.js",

"prepublish": "jshint --config=.jshintrc src/ index.js && mocha --bail",
"test": "jshint --config=.jshintrc src/ index.js && mocha --bail"
"test": "jshint --config=.jshintrc src/ index.js && mocha --bail",
"test:debug": "mocha debug --bail"
},

@@ -15,0 +16,0 @@ "bin": "./src/cli.js",

4

src/watchman_watcher.js

@@ -9,2 +9,3 @@ 'use strict';

var EventEmitter = require('events').EventEmitter;
var RecrawlWarning = require('./utils/recrawl-warning-dedupe');

@@ -305,2 +306,5 @@ /**

if ('warning' in resp) {
if (RecrawlWarning.isRecrawlWarningDupe(resp.warning)) {
return true;
}
console.warn(resp.warning);

@@ -307,0 +311,0 @@ return true;

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