@rkmodules/rules 0.0.52 → 0.0.53

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.esm.js CHANGED
@@ -790,6 +790,8 @@ var divide = {
790
790
  return __generator(this, function (_a) {
791
791
  return [2 /*return*/, {
792
792
  quotient: binaryOnTree(inputs.a, inputs.b, function (itemA, itemB) {
793
+ if (itemB === 0)
794
+ return DISCARD;
793
795
  return itemA / itemB;
794
796
  }, true),
795
797
  }];