@vdhewei/xlsx-template-lib 1.3.5 → 1.4.2

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.js CHANGED
@@ -3698,7 +3698,7 @@ var compileWorkSheet = async function(data, sheetName, options) {
3698
3698
  var fetchAlias = (m) => {
3699
3699
  let sv;
3700
3700
  const alias = /* @__PURE__ */ new Map();
3701
- if (!(m instanceof Map) && m.rules !== void 0) {
3701
+ if (m !== void 0 && m !== null && !(m instanceof Map) && m?.rules !== void 0) {
3702
3702
  sv = m.rules;
3703
3703
  } else if (m instanceof Map) {
3704
3704
  if (m.size <= 0 || !m.has("alias" /* AliasToken */)) {