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 3.1.0 to 3.1.1

2

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

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

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

mappings = mappings.reduce(function (obj, x) {
obj[x.entry] = path.join(publicPath, x.filename)
obj[x.entry] = path.join(publicPath, x.filename).replace(/\\/g, '/')
if (x.integrity) sri[x.entry] = x.integrity

@@ -246,0 +246,0 @@ return obj

@@ -188,3 +188,3 @@ # split-require

#### `outname(entry)`
#### `filename(entry)`

@@ -195,3 +195,3 @@ Function that generates a name for a dynamic bundle.

```js
function outname (entry) {
function filename (entry) {
return 'bundle.' + entry.index + '.js'

@@ -198,0 +198,0 @@ }

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