Socket
Socket
Sign inDemoInstall

worker-loader

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

worker-loader - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

0

createInlineWorker.js

@@ -0,0 +0,0 @@ // http://stackoverflow.com/questions/10343913/how-to-create-a-web-worker-from-a-string

4

index.js

@@ -13,3 +13,3 @@ var WebWorkerTemplatePlugin = require("webpack/lib/webworker/WebWorkerTemplatePlugin");

filename: "[hash].worker.js",
chunkFilename: "[i].[hash].worker.js",
chunkFilename: "[id].[hash].worker.js",
namedChunkFilename: null

@@ -23,3 +23,3 @@ };

var workerCompiler = this._compilation.createChildCompiler("worker", outputOptions);
workerCompiler.apply(new WebWorkerTemplatePlugin());
workerCompiler.apply(new WebWorkerTemplatePlugin(outputOptions));
workerCompiler.apply(new SingleEntryPlugin(this.context, "!!" + request, "main"));

@@ -26,0 +26,0 @@ if(this.options && this.options.worker && this.options.worker.plugins) {

{
"name": "worker-loader",
"version": "0.5.2",
"version": "0.5.3",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "worker loader module for webpack",

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