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

split-require

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

split-require - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "split-require",
"description": "Bundle splitting for CommonJS and ES modules (dynamic `import()`) in browserify",
"version": "2.1.0",
"version": "2.1.1",
"bugs": {

@@ -6,0 +6,0 @@ "url": "https://github.com/goto-bus-stop/split-require/issues"

@@ -120,3 +120,3 @@ var path = require('path')

function createSplitter (b, opts) {
var outputDir = opts.dir || './'
var outputDir = opts.out || opts.dir || './' // .dir is deprecated
var fallbackBundleId = 1

@@ -123,0 +123,0 @@ var outname = opts.filename || function (bundle) {

@@ -273,3 +273,3 @@ var test = require('tape')

.plugin(splitRequirePath)
.plugin(splitRequirePlugin, { dir: output })
.plugin(splitRequirePlugin, { out: output })
.bundle()

@@ -276,0 +276,0 @@ .pipe(fs.createWriteStream(path.join(actualDir, 'bundle.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