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 0.2.8 to 0.2.9

test/dnode.js

3

index.js

@@ -12,6 +12,5 @@ var fs = require('fs');

var src = exports.bundle(opts);
if (!opts.mount) opts.mount = '/browserify.js';
return function (req, res, next) {
if (req.url.split('?')[0] === opts.mount) {
if (req.url.split('?')[0] === opts.mount || '/browserify.js') {
res.writeHead(200, {

@@ -18,0 +17,0 @@ 'Last-Modified' : modified.toString(),

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

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

"traverse" : ">=0.3.1",
"backbone" : ">=0.3.3"
"backbone" : ">=0.3.3",
"dnode" : ">=0.6.2"
},

@@ -36,0 +37,0 @@ "author" : {

@@ -33,3 +33,3 @@ Browserify

server.use(connect.staticProvider(__dirname));
server.use(connect.static(__dirname));
server.use(require('browserify')({

@@ -91,3 +91,3 @@ base : __dirname + '/js',

server.use(connect.staticProvider(__dirname));
server.use(connect.static(__dirname));
server.use(require('browserify')({

@@ -212,1 +212,7 @@ mount : '/browserify.js',

`exists()` and `existsSync()`. Just `require('path')`!
protips
=======
* `npm install jquery-browserify` to have npm and browserify handle your jquery
deployment!
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