@bitcobblers/wod-wiki-lang 0.48.2172 → 0.48.2174

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.cjs CHANGED
@@ -8691,7 +8691,11 @@ var CalcUnitError = class extends Error {
8691
8691
  }
8692
8692
  };
8693
8693
  function composeMulUnit(a, aDim, b, bDim, resultDim) {
8694
- if (dimEquals(resultDim, DIM_ZERO)) return void 0;
8694
+ if (dimEquals(resultDim, DIM_ZERO)) {
8695
+ if (a && !b) return a;
8696
+ if (b && !a) return b;
8697
+ return dimEquals(aDim, bDim) ? a ?? b : void 0;
8698
+ }
8695
8699
  const parts = [];
8696
8700
  for (const [u, d] of [[a, aDim], [b, bDim]]) {
8697
8701
  if (!u || dimEquals(d, DIM_ZERO)) continue;