Socket
Socket
Sign inDemoInstall

browserify

Package Overview
Dependencies
Maintainers
0
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

16

index.js

@@ -57,8 +57,12 @@ var wrap = require('./lib/wrap');

if (typeof opts.watch === 'object') {
fs.watchFile(file, opts.watch, watcher);
}
else {
fs.watchFile(file, watcher);
}
process.nextTick(function () {
if (w.files[file] && w.files[file].synthetic) return;
if (typeof opts.watch === 'object') {
fs.watchFile(file, opts.watch, watcher);
}
else {
fs.watchFile(file, watcher);
}
});

@@ -65,0 +69,0 @@ return body;

@@ -206,5 +206,9 @@ var detective = require('detective');

Wrap.prototype.include = function (file, target, body) {
var synthetic = !file;
if (!file) file = Math.floor(Math.random() * Math.pow(2,32)).toString(16);
this.files[file] = {
body : this.wrap(target, body),
target : target
target : target,
synthetic : synthetic
};

@@ -211,0 +215,0 @@ return this;

{
"name" : "browserify",
"version" : "1.2.6",
"version" : "1.2.7",
"description" : "Browser-side require() for js directories and npm modules",

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