@office-open/xml 0.9.6 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -216,7 +216,7 @@ function unescapeXml(str) {
|
|
|
216
216
|
function nativeTypeValue(value) {
|
|
217
217
|
if (value === "") return value;
|
|
218
218
|
const n = Number(value);
|
|
219
|
-
if (!isNaN(n)) return n;
|
|
219
|
+
if (!isNaN(n) && String(n) === value) return n;
|
|
220
220
|
const lower = value.toLowerCase();
|
|
221
221
|
if (lower === "true") return true;
|
|
222
222
|
if (lower === "false") return false;
|