indexed-btree 2.1.1 → 2.1.3

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.

Potentially problematic release.


This version of indexed-btree might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/b+tree.js +1 -0
  2. package/package.json +1 -1
package/b+tree.js CHANGED
@@ -246,6 +246,7 @@ var BTree = /** @class */ (function () {
246
246
  * has data that does not affect its sort order.
247
247
  */
248
248
  BTree.prototype.set = function (key, value, overwrite) {
249
+
249
250
  if (this._root.isShared)
250
251
  this._root = this._root.clone();
251
252
  var result = this._root.set(key, value, overwrite, this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indexed-btree",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "A fast, strongly typed in-memory B+ tree designed for managing sorted key-value data, featuring a comprehensive API optimized for performance, scalability, and developer productivity.",
5
5
  "sideEffects": false,
6
6
  "main": "b+tree.js",