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

@mos-connection/model

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mos-connection/model - npm Package Compare versions

Comparing version 4.2.0-alpha.1 to 4.2.0

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [4.2.0](https://github.com/nrkno/sofie-mos-connection/compare/v4.1.0...v4.2.0) (2024-12-05)
### Bug Fixes
* parse incoming data as strings (Big Refactor) ([0f0f8d3](https://github.com/nrkno/sofie-mos-connection/commit/0f0f8d3986b3fe80153971d271742cc46c0301d1))
* update typings for mosTime, undefined was allowed in types, but not in code. ([fb2369a](https://github.com/nrkno/sofie-mos-connection/commit/fb2369abb3a876675c7e941092f96460e2da45f8))
# [4.2.0-alpha.1](https://github.com/nrkno/sofie-mos-connection/compare/v4.1.1...v4.2.0-alpha.1) (2024-08-27)

@@ -8,0 +20,0 @@

2

dist/mosTypes/mosDuration.js

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

if (typeof anyValue === 'number') {
value = anyValue;
value = anyValue; // seconds
}

@@ -11,0 +11,0 @@ else if (typeof anyValue === 'string') {

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

else {
throw new Error(`MosTime: Invalid input: "${timestamp}"`);
throw new Error(`MosTime: Invalid input: ${JSON.stringify(timestamp)}`);
}

@@ -65,3 +65,3 @@ }

if (isNaN(time.getTime())) {
throw new Error(`MosTime: Invalid timestamp: "${timestamp}"`);
throw new Error(`MosTime: Invalid timestamp: ${JSON.stringify(timestamp)}`);
}

@@ -68,0 +68,0 @@ const iMosTime = {

{
"name": "@mos-connection/model",
"version": "4.2.0-alpha.1",
"version": "4.2.0",
"description": "Types and enums for the mos-connection library",

@@ -44,3 +44,3 @@ "main": "dist/index.js",

},
"gitHead": "a43c2170fef6515207103cd766bd728bb6beffa0"
"gitHead": "9b12735cdf61dadcd8c46a66e533696f58217877"
}

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