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 1.4.2 to 1.4.3

3

build/main/lib/MockWebSocket.js

@@ -37,2 +37,5 @@ "use strict";

close(code, reason) {
if (this.ownCloseFrame) {
throw new Error('Connection closure was already initiated');
}
// tslint:disable-next-line:no-object-mutation

@@ -39,0 +42,0 @@ this.ownCloseFrame = { code, reason };

@@ -34,2 +34,5 @@ import { EventEmitter } from 'events';

close(code, reason) {
if (this.ownCloseFrame) {
throw new Error('Connection closure was already initiated');
}
// tslint:disable-next-line:no-object-mutation

@@ -36,0 +39,0 @@ this.ownCloseFrame = { code, reason };

2

package.json
{
"name": "@relaycorp/ws-mock",
"version": "1.4.2",
"version": "1.4.3",
"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