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

newsware

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newsware - npm Package Compare versions

Comparing version 10.0.4-beta.1 to 10.0.4-beta.2

5

lib/src/wsApi.js

@@ -113,5 +113,4 @@ "use strict";

closeConnection() {
var _a, _b;
(_a = this.socket) === null || _a === void 0 ? void 0 : _a.removeAllListeners();
(_b = this.socket) === null || _b === void 0 ? void 0 : _b.close();
var _a;
(_a = this.socket) === null || _a === void 0 ? void 0 : _a.terminate();
this.closed = true;

@@ -118,0 +117,0 @@ }

2

package.json
{
"name": "newsware",
"version": "10.0.4-beta.1",
"version": "10.0.4-beta.2",
"description": "Typescript client for interacting with the Newsware API",

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

@@ -125,6 +125,5 @@ import WebSocket, { CloseEvent, ErrorEvent, MessageEvent } from "isomorphic-ws";

closeConnection() {
this.socket?.removeAllListeners()
this.socket?.close()
this.socket?.terminate()
this.closed = true
}
}

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