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

rollup-plugin-web-worker-loader

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-web-worker-loader - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

package.json
{
"name": "rollup-plugin-web-worker-loader",
"version": "1.3.0",
"version": "1.3.1",
"description": "Rollup plugin to handle Web Workers",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -14,3 +14,3 @@ const path = require('path');

});
state.plugins = plugins;
state.options.plugins = plugins;

@@ -17,0 +17,0 @@ const cwd = process.cwd();

const path = require('path');
function resolveModule(name, paths, extensions) {
const testNames = [name, ...extensions.map(extension => {
return extension.startsWith('.') ? `${name}${extension}` : `${name}.${extension}`;
})];
const testNames = [
name,
...extensions.map(extension => (extension.startsWith('.') ? `${name}${extension}` : `${name}.${extension}`)),
];

@@ -8,0 +9,0 @@ for (let i = 0, n = testNames.length; i < n; ++i) {

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