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

watchify

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchify - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

example/x.js

6

index.js

@@ -41,2 +41,3 @@ var through = require('through');

var fwatchers = {};
var fwatcherFiles = {};
b.on('bundle', function (bundle) {

@@ -46,3 +47,4 @@ bundle.on('transform', function (tr, mfile) {

if (!fwatchers[mfile]) fwatchers[mfile] = [];
if (!fwatcherFiles[mfile]) fwatcherFiles[mfile] = [];
tr.on('file', function (file) {

@@ -57,2 +59,3 @@ if (fwatchers[mfile].indexOf(file) >= 0) return;

fwatchers[mfile].push(w);
fwatcherFiles[mfile].push(file);
});

@@ -83,2 +86,3 @@ });

delete fwatchers[id];
delete fwatcherFiles[id];
}

@@ -85,0 +89,0 @@ queuedCloses[id] = watchers[id];

2

package.json
{
"name": "watchify",
"version": "0.6.0",
"version": "0.6.1",
"description": "watch mode for browserify builds",

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

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