@rimbu/sorted
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -5,3 +5,3 @@ import { Token } from '@rimbu/base'; | ||
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom'; | ||
import { SortedIndex, SortedBuilder } from '../../common'; | ||
import { SortedBuilder, SortedIndex } from '../../common'; | ||
export class SortedMapBuilder extends SortedBuilder { | ||
@@ -8,0 +8,0 @@ constructor(context, source, _entries, _children, size) { |
@@ -5,3 +5,3 @@ import { Arr, Entry, RimbuError, Token } from '@rimbu/base'; | ||
import { isEmptyStreamSourceInstance } from '@rimbu/stream/custom'; | ||
import { SortedIndex, innerDeleteMax, innerDeleteMin, innerDropInternal, innerGetAtIndex, innerMutateGetFromLeft, innerMutateGetFromRight, innerMutateGiveToLeft, innerMutateGiveToRight, innerMutateJoinLeft, innerMutateJoinRight, innerMutateSplitRight, innerNormalizeDownsizeChild, innerNormalizeIncreaseChild, innerStreamSliceIndex, innerTakeInternal, leafDeleteMax, leafDeleteMin, leafMutateGetFromLeft, leafMutateGetFromRight, leafMutateGiveToLeft, leafMutateGiveToRight, leafMutateJoinLeft, leafMutateJoinRight, leafMutateSplitRight, SortedEmpty, SortedNonEmptyBase, } from '../../common'; | ||
import { SortedEmpty, SortedIndex, SortedNonEmptyBase, innerDeleteMax, innerDeleteMin, innerDropInternal, innerGetAtIndex, innerMutateGetFromLeft, innerMutateGetFromRight, innerMutateGiveToLeft, innerMutateGiveToRight, innerMutateJoinLeft, innerMutateJoinRight, innerMutateSplitRight, innerNormalizeDownsizeChild, innerNormalizeIncreaseChild, innerStreamSliceIndex, innerTakeInternal, leafDeleteMax, leafDeleteMin, leafMutateGetFromLeft, leafMutateGetFromRight, leafMutateGiveToLeft, leafMutateGiveToRight, leafMutateJoinLeft, leafMutateJoinRight, leafMutateSplitRight, } from '../../common'; | ||
export class SortedMapEmpty extends SortedEmpty { | ||
@@ -8,0 +8,0 @@ constructor(context) { |
{ | ||
"name": "@rimbu/sorted", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Immutable SortedMap and SortedSet implementations for TypeScript", | ||
@@ -72,7 +72,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@rimbu/base": "^0.11.0", | ||
"@rimbu/collection-types": "^0.10.0", | ||
"@rimbu/common": "^0.12.0", | ||
"@rimbu/stream": "^0.13.0", | ||
"tslib": "^2.4.0" | ||
"@rimbu/base": "^0.11.1", | ||
"@rimbu/collection-types": "^0.10.1", | ||
"@rimbu/common": "^0.12.1", | ||
"@rimbu/stream": "^0.13.1", | ||
"tslib": "^2.5.0" | ||
}, | ||
@@ -82,3 +82,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "442ffd299583458d458e9bbe3dd02c67828707f3" | ||
"gitHead": "f7a7662f81e9246b244cab22c14776617652833f" | ||
} |
@@ -7,5 +7,5 @@ import { Token } from '@rimbu/base'; | ||
import type { SortedMap } from '@rimbu/sorted/map'; | ||
import type { SortedMapNode, SortedMapContext } from '@rimbu/sorted/map-custom'; | ||
import type { SortedMapContext, SortedMapNode } from '@rimbu/sorted/map-custom'; | ||
import { SortedIndex, SortedBuilder } from '../../common'; | ||
import { SortedBuilder, SortedIndex } from '../../common'; | ||
@@ -332,3 +332,3 @@ export class SortedMapBuilder<K, V> | ||
const newValue = OptLazyOr(options.ifNew, Token); | ||
const newValue = OptLazyOr<V, Token>(options.ifNew, Token); | ||
@@ -335,0 +335,0 @@ if (Token === newValue) return false; |
@@ -24,3 +24,5 @@ import { Arr, Entry, RimbuError, Token } from '@rimbu/base'; | ||
import { | ||
SortedEmpty, | ||
SortedIndex, | ||
SortedNonEmptyBase, | ||
innerDeleteMax, | ||
@@ -50,4 +52,2 @@ innerDeleteMin, | ||
leafMutateSplitRight, | ||
SortedEmpty, | ||
SortedNonEmptyBase, | ||
} from '../../common'; | ||
@@ -142,3 +142,3 @@ | ||
if (undefined !== options.ifNew) { | ||
const value = OptLazyOr(options.ifNew, Token); | ||
const value = OptLazyOr<V, Token>(options.ifNew, Token); | ||
@@ -577,3 +577,3 @@ if (Token === value) return this; | ||
const newValue = OptLazyOr(options.ifNew, Token); | ||
const newValue = OptLazyOr<V, Token>(options.ifNew, Token); | ||
@@ -580,0 +580,0 @@ if (Token === newValue) return this; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
589963
Updated@rimbu/base@^0.11.1
Updated@rimbu/common@^0.12.1
Updated@rimbu/stream@^0.13.1
Updatedtslib@^2.5.0