@office-open/xml
Advanced tools
+1
-1
@@ -219,3 +219,3 @@ import { allChildren, attr, attrBool, attrNum, childCount, childText, children, collectText, colorAttr, findChild, findDeep, hasChild, textOf } from "./utils.mjs"; | ||
| const n = Number(value); | ||
| if (!isNaN(n)) return n; | ||
| if (!isNaN(n) && String(n) === value) return n; | ||
| const lower = value.toLowerCase(); | ||
@@ -222,0 +222,0 @@ if (lower === "true") return true; |
+1
-1
| { | ||
| "name": "@office-open/xml", | ||
| "version": "0.9.6", | ||
| "version": "0.9.7", | ||
| "description": "XML parsing and serialization for Office Open XML. Zero dependencies, drop-in replacement for xml + xml-js.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
43509
0.05%