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

nsfw

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nsfw - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

README.md

9

lib/src/index.js

@@ -8,3 +8,4 @@ 'use strict';

var path = require('path');
var _ = require('lodash');
var _isInteger = require('lodash.isinteger');
var _isUndefined = require('lodash.isundefined');

@@ -50,7 +51,7 @@ var _private = {};

if (_.isInteger(debounceMS)) {
if (_isInteger(debounceMS)) {
if (debounceMS < 1) {
throw new Error('Minimum debounce is 1ms.');
}
} else if (_.isUndefined(debounceMS)) {
} else if (_isUndefined(debounceMS)) {
debounceMS = 500;

@@ -61,3 +62,3 @@ } else {

if (_.isUndefined(errorCallback)) {
if (_isUndefined(errorCallback)) {
errorCallback = function errorCallback(nsfwError) {

@@ -64,0 +65,0 @@ throw nsfwError;

{
"name": "nsfw",
"version": "1.0.15",
"version": "1.0.16",
"description": "A simple file watcher for Node",

@@ -32,3 +32,4 @@ "main": "lib/src/index.js",

"fs-extra": "^0.26.5",
"lodash": "^4.6.1",
"lodash.isinteger": "^4.0.4",
"lodash.isundefined": "^3.0.1",
"nan": "^2.0.0",

@@ -35,0 +36,0 @@ "promisify-node": "^0.3.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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