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

rollup-plugin-worker-factory

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-worker-factory - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

7

CHANGELOG.md

@@ -0,1 +1,8 @@

<a name="0.5.7"></a>
## [0.5.7](https://github.com/brandonocasey/rollup-plugin-worker-factory/compare/v0.5.6...v0.5.7) (2021-07-02)
### Bug Fixes
* mock worker dispatchEvent should use onmessage, add type_ debugging aide ([3afd219](https://github.com/brandonocasey/rollup-plugin-worker-factory/commit/3afd219))
<a name="0.5.6"></a>

@@ -2,0 +9,0 @@ ## [0.5.6](https://github.com/brandonocasey/rollup-plugin-worker-factory/compare/v0.5.5...v0.5.6) (2021-06-24)

2

package.json
{
"name": "rollup-plugin-worker-factory",
"version": "0.5.6",
"version": "0.5.7",
"description": "Bundle web workers that work in nodejs and the browser, without a separate build target.",

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

class MockWorker {
constructor() {
this.listeners_ = [];
this.onmessage = null;
this.remote_ = null;

@@ -31,2 +32,5 @@ }

if (this.onmessage) {
this.onmessage(event);
}
this.listeners_.forEach(function(fn) {

@@ -74,4 +78,6 @@ fn(event);

client.type_ = 'window api';
client.remote_ = worker;
worker.remote_ = client;
worker.type_ = 'web worker';

@@ -78,0 +84,0 @@ fn(worker);

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