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.4 to 1.0.5

14

lib/spec/index-spec.js

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

var watch = void 0;
var errorRestart = Promise.resolve();

@@ -466,3 +467,5 @@ return nsfw(stressRepoPath, function () {

}, {
errorCallback: function errorCallback() {}
errorCallback: function errorCallback() {
errorRestart = watch.stop().then(watch.start);
}
}).then(function (_w) {

@@ -474,2 +477,4 @@ watch = _w;

}).then(function () {
return errorRestart;
}).then(function () {
expect(count).toBeGreaterThan(0);

@@ -485,3 +490,5 @@ return watch.stop();

}, {
errorCallback: function errorCallback() {}
errorCallback: function errorCallback() {
errorRestart = watch.stop().then(watch.start);
}
});

@@ -491,2 +498,3 @@ }).then(function (_w) {

count = 0;
errorRestart = Promise.resolve();
return watch.start();

@@ -504,2 +512,4 @@ }).then(function () {

}).then(function () {
return errorRestart;
}).then(function () {
expect(count).toBeGreaterThan(0);

@@ -506,0 +516,0 @@ count = 0;

2

package.json
{
"name": "nsfw",
"version": "1.0.4",
"version": "1.0.5",
"description": "A simple file watcher for Node",

@@ -5,0 +5,0 @@ "main": "lib/src/index.js",

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