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