New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webworkify-webpack

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webworkify-webpack - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

5

index.js
var __webpack_require__ = arguments[2];
var sources = __webpack_require__.m;
var ENTRY_MODULE = __webpack_require__.s || "0";
// In webpack 2 the moduleId property is called `i` instead of `id`.

@@ -35,3 +36,3 @@ var webworkifyWebpackModuleId = arguments[0].id || arguments[0].i;

var moduleWrapperStrings = [];
var potentialFnModuleIds = [];
var potentialFnModuleIds = [ENTRY_MODULE];

@@ -92,3 +93,3 @@ var sourcesKeys = Object.keys(sources); // when using the CommonChunks plugin, webpacl sometimes storing sources in object instead of array

if (!(exp && (exp === fn || exp.default === fn))) {
sources[moduleId] = wrapperFuncString.substring(0, wrapperFuncString.length - 1) + '\n' + fnString.match(/function\s?(.+?)\s?\(.*/)[1] + '();\n}';
moduleWrapperStrings[moduleId] = wrapperFuncString.substring(0, wrapperFuncString.length - 1) + '\n' + fnString.match(/function\s?(.+?)\s?\(.*/)[1] + '();\n}';
}

@@ -95,0 +96,0 @@

2

package.json
{
"name": "webworkify-webpack",
"version": "1.1.6",
"version": "1.1.7",
"description": "launch a web worker that can require() in the browser with webpack",

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