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

webworkify

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webworkify - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

16

index.js

@@ -49,4 +49,18 @@ var bundleFn = arguments[3];

var workerSources = {};
resolveSources(skey);
function resolveSources(key) {
workerSources[key] = true;
for (var depPath in sources[key][1]) {
var depKey = sources[key][1][depPath];
if (!workerSources[depKey]) {
resolveSources(depKey);
}
}
}
var src = '(' + bundleFn + ')({'
+ Object.keys(sources).map(function (key) {
+ Object.keys(workerSources).map(function (key) {
return stringify(key) + ':['

@@ -53,0 +67,0 @@ + sources[key][0]

2

package.json
{
"name": "webworkify",
"version": "1.3.0",
"version": "1.4.0",
"description": "launch a web worker that can require() in the browser with browserify",

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