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

@relaycorp/ws-mock

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relaycorp/ws-mock - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

4

build/main/lib/MockWebSocket.js

@@ -94,4 +94,4 @@ "use strict";

this.on('message', (message) => duplex.push(message));
this.on('close', () => duplex.push(null));
this.on('error', (error) => duplex.destroy(error));
this.once('close', () => duplex.destroy());
this.once('error', (error) => duplex.destroy(error));
return duplex;

@@ -98,0 +98,0 @@ }

@@ -88,4 +88,4 @@ import { EventEmitter } from 'events';

this.on('message', (message) => duplex.push(message));
this.on('close', () => duplex.push(null));
this.on('error', (error) => duplex.destroy(error));
this.once('close', () => duplex.destroy());
this.once('error', (error) => duplex.destroy(error));
return duplex;

@@ -92,0 +92,0 @@ }

{
"name": "@relaycorp/ws-mock",
"version": "2.3.0",
"version": "2.4.0",
"author": {

@@ -5,0 +5,0 @@ "email": "no-reply@relaycorp.tech",

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