New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mos-connection

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mos-connection - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="0.6.3"></a>
## [0.6.3](https://github.com/nrkno/tv-automation-mos-connection/compare/0.6.2...0.6.3) (2018-11-06)
### Bug Fixes
* method called with wrong context ([4768757](https://github.com/nrkno/tv-automation-mos-connection/commit/4768757))
* proper handling of empty string ([22d8da6](https://github.com/nrkno/tv-automation-mos-connection/commit/22d8da6))
<a name="0.6.2"></a>

@@ -7,0 +18,0 @@ ## [0.6.2](https://github.com/nrkno/tv-automation-mos-connection/compare/0.6.1...0.6.2) (2018-10-11)

6

dist/config/connectionConfig.d.ts

@@ -33,5 +33,5 @@ /** Config object for creating a MOS-device */

accepsConnectionsFrom: string[];
debug?: boolean;
openRelay?: boolean;
offspecFailover?: boolean;
debug: boolean;
openRelay: boolean;
offspecFailover: boolean;
private _profiles;

@@ -38,0 +38,0 @@ constructor(init: IConnectionConfig);

@@ -64,3 +64,3 @@ "use strict";

this._client.on('data', (data) => this._onData(data));
this._client.on('error', this._onError);
this._client.on('error', (error) => this._onError(error));
}

@@ -67,0 +67,0 @@ // connect:

@@ -6,4 +6,12 @@ "use strict";

constructor(str) {
if (typeof str === 'object' && str.text) {
this.string = str.text;
if (typeof str === 'object') {
if (str.text) {
this.string = str.text;
}
else if (Object.keys(str).length === 0) { // is empty?
this.string = '';
}
else {
this.string = JSON.stringify(str);
}
}

@@ -10,0 +18,0 @@ else {

{
"name": "mos-connection",
"version": "0.6.2",
"version": "0.6.3",
"description": "MOS compliant TCP/IP Socket connection.",

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

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