@mos-connection/model
Advanced tools
Comparing version 4.2.0-alpha.1 to 4.2.0
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
63189
0