@cloudbitmaps/roaring 0.18.0 → 0.18.1
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/PRIVACY.md +2 -2
- package/README.md +8 -2
- package/dist/bin/export-segments.js +4 -3
- package/dist/bin/export-segments.js.map +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -613,8 +613,9 @@ export declare class CloudRoaring {
|
|
|
613
613
|
*
|
|
614
614
|
* **Every pinned operand an output subtracts is re-checked.** An output subtracts an operand when it is in its `exclude`
|
|
615
615
|
* or under any entry of an `andNot` after the first, at any depth. Immediately before the publishes the call re-reads the
|
|
616
|
-
* registry row of each such operand and compares its generation and incarnation
|
|
617
|
-
*
|
|
616
|
+
* registry row of each such operand and compares its generation and incarnation, and the fingerprint of the current
|
|
617
|
+
* object where both reads carry one, with what was pinned (a name deleted and created again is a replacement though it
|
|
618
|
+
* is generation 0 again). If one was replaced, each output that subtracts it is
|
|
618
619
|
* not published and carries {@link StaleOperandError}; the others publish. It costs one registry read per such operand per
|
|
619
620
|
* group, and `stats.operands` carries every operand's pinned, start and end generation and whether it moved.
|
|
620
621
|
*
|
package/dist/index.js
CHANGED
|
@@ -1124,8 +1124,9 @@ var CloudRoaring = class _CloudRoaring {
|
|
|
1124
1124
|
*
|
|
1125
1125
|
* **Every pinned operand an output subtracts is re-checked.** An output subtracts an operand when it is in its `exclude`
|
|
1126
1126
|
* or under any entry of an `andNot` after the first, at any depth. Immediately before the publishes the call re-reads the
|
|
1127
|
-
* registry row of each such operand and compares its generation and incarnation
|
|
1128
|
-
*
|
|
1127
|
+
* registry row of each such operand and compares its generation and incarnation, and the fingerprint of the current
|
|
1128
|
+
* object where both reads carry one, with what was pinned (a name deleted and created again is a replacement though it
|
|
1129
|
+
* is generation 0 again). If one was replaced, each output that subtracts it is
|
|
1129
1130
|
* not published and carries {@link StaleOperandError}; the others publish. It costs one registry read per such operand per
|
|
1130
1131
|
* group, and `stats.operands` carries every operand's pinned, start and end generation and whether it moved.
|
|
1131
1132
|
*
|
|
@@ -1271,7 +1272,7 @@ var CloudRoaring = class _CloudRoaring {
|
|
|
1271
1272
|
}
|
|
1272
1273
|
fedMayBeEmpty = rest;
|
|
1273
1274
|
}
|
|
1274
|
-
if (feedIn === void 0 && (
|
|
1275
|
+
if (feedIn === void 0 && (!Array.isArray(fedMayBeEmpty) || fedMayBeEmpty.length > 0)) {
|
|
1275
1276
|
throw new ValidationError2(
|
|
1276
1277
|
"materializeMany: mayBeEmpty names fed operands, and the call has no feed"
|
|
1277
1278
|
);
|