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

@mercuryworkshop/bare-mux

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercuryworkshop/bare-mux - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

dist/client.d.ts

@@ -58,3 +58,3 @@ import { BareHeaders, BareTransport } from './baretypes';

worker: WorkerConnection;
constructor(worker: string | Promise<MessagePort> | MessagePort);
constructor(worker?: string | Promise<MessagePort> | MessagePort);
getTransport(): Promise<string>;

@@ -61,0 +61,0 @@ setTransport(path: string, options: any[], transferables?: Transferable[]): Promise<void>;

@@ -445,5 +445,5 @@ (function (global, factory) {

let data = args[0];
// @ts-expect-error idk why it errors?
// @ts-expect-error
if (data.buffer)
data = data.buffer;
data = data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength);
channel.port1.postMessage({ type: "data", data: data }, data instanceof ArrayBuffer ? [data] : []);

@@ -450,0 +450,0 @@ };

{
"name": "@mercuryworkshop/bare-mux",
"version": "2.0.5",
"version": "2.0.6",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",

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