@rkmodules/rules 0.0.60 → 0.0.61

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
@@ -257,14 +257,14 @@ function getBranch(tree, path) {
257
257
  * @returns
258
258
  */
259
259
  function mapTree(tree, fn) {
260
- return nAryOnTree([tree], function (_a, _b, index) {
260
+ return nAryOnTree([tree], function mapTreeCallback(_a, _b, index) {
261
261
  var _c = __read(_a, 1), item = _c[0];
262
262
  var _d = __read(_b, 1), path = _d[0];
263
263
  return fn(item, path, index);
264
264
  });
265
265
  }
266
266
  function mapTreeBranch(tree, fn) {
267
- return nAryOnTreeBranch([tree], function (_a, _b) {
267
+ return nAryOnTreeBranch([tree], function mapTreeBranchCallback(_a, _b) {
268
268
  var _c = __read(_a, 1), branch = _c[0];
269
269
  var _d = __read(_b, 1), path = _d[0];
270
270
  return fn(branch, path);
@@ -317,7 +317,7 @@ function nAryOnTreeBranch(trees, fn) {
317
317
  * @returns
318
318
  */
319
319
  function nAryOnTree(trees, fn, fill) {
320
- return nAryOnTreeBranch(trees, function (branches, paths) {
320
+ return nAryOnTreeBranch(trees, function nAryOnTreeCallback(branches, paths) {
321
321
  var maxLength = Math.max.apply(Math, __spreadArray([], __read(branches.map(function (b) { return b.length; })), false));
322
322
  if (maxLength === 0)
323
323
  return; // Skip empty branches
@@ -354,7 +354,7 @@ function nAryOnTree(trees, fn, fill) {
354
354
  * @returns
355
355
  */
356
356
  function binaryOnTreeBranch(treeA, treeB, fn) {
357
- return nAryOnTreeBranch([treeA, treeB], function (_a, _b) {
357
+ return nAryOnTreeBranch([treeA, treeB], function binaryOnTreeBranchCallback(_a, _b) {
358
358
  var _c = __read(_a, 2), branchA = _c[0], branchB = _c[1];
359
359
  var _d = __read(_b, 2), pathA = _d[0], pathB = _d[1];
360
360
  return fn(branchA, branchB, pathA, pathB);
@@ -373,7 +373,7 @@ function binaryOnTreeBranch(treeA, treeB, fn) {
373
373
  * @returns
374
374
  */
375
375
  function binaryOnTree(treeA, treeB, fn, fill) {
376
- return nAryOnTree([treeA, treeB], function (_a, _b, index) {
376
+ return nAryOnTree([treeA, treeB], function binaryOnTreeCallback(_a, _b, index) {
377
377
  var _c = __read(_a, 2), itemA = _c[0], itemB = _c[1];
378
378
  var _d = __read(_b, 2), pathA = _d[0], pathB = _d[1];
379
379
  return fn(itemA, itemB, pathA, pathB, index);