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

@wixc3/isomorphic-worker

Package Overview
Dependencies
Maintainers
65
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/isomorphic-worker - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

dist/browser-worker.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Worker = void 0;
exports.Worker = window.Worker;
// globalThis in case of initial worker script inside a worker
exports.Worker = globalThis.Worker;
//# sourceMappingURL=browser-worker.js.map
{
"name": "@wixc3/isomorphic-worker",
"version": "1.0.3",
"version": "1.0.4",
"description": "simplified cross worker API for web workers and worker threads",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/wixplosives/isomorphic-worker",

import type { UniversalWorker } from './types';
export const Worker = window.Worker as {
// globalThis in case of initial worker script inside a worker
export const Worker = globalThis.Worker as {
new (url: string | URL, options: WorkerOptions): UniversalWorker;
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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