@kenjiuno/msgreader
Advanced tools
Comparing version 1.12.0-alpha.4 to 1.12.0-alpha.5
@@ -439,3 +439,3 @@ "use strict"; | ||
includeRawProps: ((_b = this.parserConfig) === null || _b === void 0 ? void 0 : _b.includeRawProps) ? true : false, | ||
ansiEncoding: (_c = this.parserConfig) === null || _c === void 0 ? void 0 : _c.ansiEncoding, | ||
ansiEncoding: (0, utils_1.emptyToNull)((_c = this.parserConfig) === null || _c === void 0 ? void 0 : _c.ansiEncoding), | ||
}); | ||
@@ -442,0 +442,0 @@ } |
@@ -42,1 +42,2 @@ /** | ||
export declare function msftUuidStringify(array: ArrayLike<number>, offset: number): string; | ||
export declare function emptyToNull(text: string): string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.msftUuidStringify = exports.toHex4 = exports.toHex2 = exports.toHex1 = exports.toHexStr = exports.uInt2int = exports.arraysEqual = void 0; | ||
exports.emptyToNull = exports.msftUuidStringify = exports.toHex4 = exports.toHex2 = exports.toHex1 = exports.toHexStr = exports.uInt2int = exports.arraysEqual = void 0; | ||
/** | ||
@@ -122,1 +122,5 @@ * @internal | ||
exports.msftUuidStringify = msftUuidStringify; | ||
function emptyToNull(text) { | ||
return (text === "") ? null : text; | ||
} | ||
exports.emptyToNull = emptyToNull; |
{ | ||
"name": "@kenjiuno/msgreader", | ||
"version": "1.12.0-alpha.4", | ||
"version": "1.12.0-alpha.5", | ||
"description": "Outlook Item File (.msg) reader in JavaScript Npm Module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
260557
7509