@gabrielrufino/cube 1.0.23 → 1.0.24

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.
@@ -116,7 +116,7 @@ var BinarySearchTree = /** @class */ (function () {
116
116
  .slice(0, path.length - 1)
117
117
  .reduce(function (accumulator, current) { return accumulator && accumulator[current]; }, this._root);
118
118
  var child = path[path.length - 1];
119
- if ((current === null || current === void 0 ? void 0 : current.left) && (current === null || current === void 0 ? void 0 : current.right) && parent) {
119
+ if ((current === null || current === void 0 ? void 0 : current.left) && current.right && parent) {
120
120
  var head = current.right;
121
121
  while (head.left) {
122
122
  head = head.left;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gabrielrufino/cube",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Data Structures and Algorithms made in Typescript",
5
5
  "main": "build/index.js",
6
6
  "scripts": {