@mos-connection/helper
Advanced tools
Comparing version 3.0.0-nightly-feat-mono-repo-20230104-080359-17f8d94.0 to 3.0.0-nightly-feat-mono-repo-20230127-144135-8037b58.0
@@ -6,2 +6,24 @@ # Change Log | ||
# [3.0.0-alpha.2](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.0...v3.0.0-alpha.2) (2023-01-27) | ||
### Bug Fixes | ||
* add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa)) | ||
# [3.0.0-alpha.1](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.0-alpha.0...3.0.0-alpha.1) (2023-01-27) | ||
### Bug Fixes | ||
* add stringifyMosObject, an utility-function used to convert objects containing IMOSString128 etc to strings ([f3806ab](https://github.com/nrkno/sofie-mos-connection/commit/f3806ab4e72a02b450e91ab19fbbfca34c605caa)) | ||
# [v3.0.0-alpha.0](https://github.com/nrkno/sofie-mos-connection/compare/2.0.1...v3.0.0-alpha.0) (2022-12-09) | ||
@@ -8,0 +30,0 @@ |
export * from '@mos-connection/model'; | ||
export { pad, xml2js, addTextElement, xmlToObject, } from './utils/Utils'; | ||
export * as MosModel from './mosModel'; | ||
export * from './stringify/stringifyMosObject'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,2 +13,3 @@ "use strict"; | ||
exports.MosModel = require("./mosModel"); | ||
tslib_1.__exportStar(require("./stringify/stringifyMosObject"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -184,8 +184,5 @@ "use strict"; | ||
else if (text !== undefined) { | ||
if (mosTypes.mosString128.is(text)) | ||
txt = mosTypes.mosString128.stringify(text); | ||
else if (mosTypes.mosTime.is(text)) | ||
txt = mosTypes.mosTime.stringify(text); | ||
else if (mosTypes.mosDuration.is(text)) | ||
txt = mosTypes.mosDuration.stringify(text); | ||
const stringified = (0, model_1.stringifyMosType)(text, mosTypes); | ||
if (stringified.isMosType) | ||
txt = stringified.stringValue; | ||
else | ||
@@ -192,0 +189,0 @@ txt = text.toString(); |
{ | ||
"name": "@mos-connection/helper", | ||
"version": "3.0.0-nightly-feat-mono-repo-20230104-080359-17f8d94.0", | ||
"version": "3.0.0-nightly-feat-mono-repo-20230127-144135-8037b58.0", | ||
"description": "Helper functions for the MOS-connection library", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.js", | ||
"build": "rimraf dist && yarn build:main", | ||
"build:main": "tsc -p tsconfig.json", | ||
"build:main": "tsc -p tsconfig.build.json", | ||
"test": "jest", | ||
@@ -30,3 +30,3 @@ "precommit": "lint-staged" | ||
"dependencies": { | ||
"@mos-connection/model": "3.0.0-nightly-feat-mono-repo-20230104-080359-17f8d94.0", | ||
"@mos-connection/model": "3.0.0-nightly-feat-mono-repo-20230127-144135-8037b58.0", | ||
"iconv-lite": "^0.6.2", | ||
@@ -64,3 +64,3 @@ "tslib": "^2.2.0", | ||
}, | ||
"gitHead": "92b8ca52d6f1ff7e81bca91d28e8feb8e03631cc" | ||
"gitHead": "709499e01e974bd9dde79c0c0785137a06aaf917" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
214082
180
2566