Socket
Socket
Sign inDemoInstall

@surma/rollup-plugin-off-main-thread

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@surma/rollup-plugin-off-main-thread - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "@surma/rollup-plugin-off-main-thread",
"version": "1.4.0",
"version": "1.4.1",
"description": "Use Rollup with workers and ES6 modules today.",

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

@@ -17,7 +17,9 @@ /**

const url = URL.createObjectURL(blob);
let supportsModuleWorker =
"type" in
new Worker(url, {
type: "module"
});
let supportsModuleWorker = false;
const options = {
get type() {
supportsModuleWorker = true;
}
};
new Worker(url, options).terminate();
URL.revokeObjectURL(url);

@@ -24,0 +26,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