Socket
Socket
Sign inDemoInstall

browserify

Package Overview
Dependencies
161
Maintainers
41
Versions
484
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 16.4.0 to 16.5.0

11

index.js

@@ -86,3 +86,5 @@ var path = require('path');

self._ticked = false;
self._bresolve = opts.browserField === false
var browserField = opts.browserField
self._bresolve = browserField === false
? function (id, opts, cb) {

@@ -92,3 +94,8 @@ if (!opts.basedir) opts.basedir = path.dirname(opts.filename)

}
: bresolve
: typeof browserField === 'string'
? function (id, opts, cb) {
opts.browser = browserField
bresolve(id, opts, cb)
}
: bresolve
;

@@ -95,0 +102,0 @@ self._syntaxCache = {};

2

package.json
{
"name": "browserify",
"version": "16.4.0",
"version": "16.5.0",
"description": "browser-side require() the node way",

@@ -5,0 +5,0 @@ "main": "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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc