serializable-bptree 6.2.1 → 6.2.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/cjs/index.cjs +7 -7
- package/dist/esm/index.mjs +7 -7
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -501,13 +501,13 @@ var BPTree = class _BPTree {
|
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
503
|
verifierStartNode = {
|
|
504
|
-
gt: (v) => this.
|
|
505
|
-
gte: (v) => this.
|
|
506
|
-
lt: (v) => this.
|
|
507
|
-
lte: (v) => this.
|
|
508
|
-
equal: (v) => this.
|
|
504
|
+
gt: (v) => this.insertableNodeByPrimary(v),
|
|
505
|
+
gte: (v) => this.insertableNodeByPrimary(v),
|
|
506
|
+
lt: (v) => this.insertableNodeByPrimary(v),
|
|
507
|
+
lte: (v) => this.insertableRightestNodeByPrimary(v),
|
|
508
|
+
equal: (v) => this.insertableNodeByPrimary(v),
|
|
509
509
|
notEqual: (v) => this.leftestNode(),
|
|
510
|
-
or: (v) => this.
|
|
510
|
+
or: (v) => this.insertableNodeByPrimary(this.lowestPrimaryValue(this.ensureValues(v))),
|
|
511
511
|
primaryGt: (v) => this.insertableNodeByPrimary(v),
|
|
512
512
|
primaryGte: (v) => this.insertableNodeByPrimary(v),
|
|
513
513
|
primaryLt: (v) => this.insertableNodeByPrimary(v),
|
|
@@ -532,7 +532,7 @@ var BPTree = class _BPTree {
|
|
|
532
532
|
primaryGte: (v) => null,
|
|
533
533
|
primaryLt: (v) => null,
|
|
534
534
|
primaryLte: (v) => null,
|
|
535
|
-
primaryEqual: (v) =>
|
|
535
|
+
primaryEqual: (v) => this.insertableRightestEndNodeByPrimary(v),
|
|
536
536
|
primaryNotEqual: (v) => null,
|
|
537
537
|
primaryOr: (v) => this.insertableRightestEndNodeByPrimary(
|
|
538
538
|
this.highestPrimaryValue(this.ensureValues(v))
|
package/dist/esm/index.mjs
CHANGED
|
@@ -467,13 +467,13 @@ var BPTree = class _BPTree {
|
|
|
467
467
|
}
|
|
468
468
|
};
|
|
469
469
|
verifierStartNode = {
|
|
470
|
-
gt: (v) => this.
|
|
471
|
-
gte: (v) => this.
|
|
472
|
-
lt: (v) => this.
|
|
473
|
-
lte: (v) => this.
|
|
474
|
-
equal: (v) => this.
|
|
470
|
+
gt: (v) => this.insertableNodeByPrimary(v),
|
|
471
|
+
gte: (v) => this.insertableNodeByPrimary(v),
|
|
472
|
+
lt: (v) => this.insertableNodeByPrimary(v),
|
|
473
|
+
lte: (v) => this.insertableRightestNodeByPrimary(v),
|
|
474
|
+
equal: (v) => this.insertableNodeByPrimary(v),
|
|
475
475
|
notEqual: (v) => this.leftestNode(),
|
|
476
|
-
or: (v) => this.
|
|
476
|
+
or: (v) => this.insertableNodeByPrimary(this.lowestPrimaryValue(this.ensureValues(v))),
|
|
477
477
|
primaryGt: (v) => this.insertableNodeByPrimary(v),
|
|
478
478
|
primaryGte: (v) => this.insertableNodeByPrimary(v),
|
|
479
479
|
primaryLt: (v) => this.insertableNodeByPrimary(v),
|
|
@@ -498,7 +498,7 @@ var BPTree = class _BPTree {
|
|
|
498
498
|
primaryGte: (v) => null,
|
|
499
499
|
primaryLt: (v) => null,
|
|
500
500
|
primaryLte: (v) => null,
|
|
501
|
-
primaryEqual: (v) =>
|
|
501
|
+
primaryEqual: (v) => this.insertableRightestEndNodeByPrimary(v),
|
|
502
502
|
primaryNotEqual: (v) => null,
|
|
503
503
|
primaryOr: (v) => this.insertableRightestEndNodeByPrimary(
|
|
504
504
|
this.highestPrimaryValue(this.ensureValues(v))
|