Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rimbu/sorted

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/sorted - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

4

dist/types/base.d.ts

@@ -14,3 +14,3 @@ import { CustomBase } from '@rimbu/collection-types';

abstract getAtIndex<O>(index: number, otherwise?: OptLazy<O>): E | O;
abstract readonly entries: readonly E[];
abstract get entries(): readonly E[];
abstract takeInternal(amount: number): TS;

@@ -100,3 +100,3 @@ abstract dropInternal(amount: number): TS;

export declare abstract class SortedBuilder<E> {
abstract readonly context: {
abstract get context(): {
minEntries: number;

@@ -103,0 +103,0 @@ maxEntries: number;

@@ -54,4 +54,4 @@ import { Token } from '@rimbu/base';

export declare abstract class SortedMapNode<K, V> extends SortedNonEmptyBase<readonly [K, V], SortedMapNode<K, V>> implements SortedMap.NonEmpty<K, V> {
abstract readonly context: SortedMapContext<K>;
abstract readonly size: number;
abstract get context(): SortedMapContext<K>;
abstract get size(): number;
abstract stream(): Stream.NonEmpty<readonly [K, V]>;

@@ -58,0 +58,0 @@ abstract streamSliceIndex(range: IndexRange): Stream<readonly [K, V]>;

@@ -26,4 +26,4 @@ import { ArrayNonEmpty, IndexRange, OptLazy, Range, RelatedTo, ToJSON, TraverseState } from '@rimbu/common';

export declare abstract class SortedSetNode<T> extends SortedNonEmptyBase<T, SortedSetNode<T>> implements SortedSet.NonEmpty<T> {
abstract readonly context: SortedSetContext<T>;
abstract readonly size: number;
abstract get context(): SortedSetContext<T>;
abstract get size(): number;
abstract stream(): Stream.NonEmpty<T>;

@@ -30,0 +30,0 @@ abstract streamSliceIndex(range: IndexRange): Stream<T>;

{
"name": "@rimbu/sorted",
"version": "0.6.1",
"version": "0.6.2",
"description": "Immutable SortedMap and SortedSet implementations for TypeScript",

@@ -62,6 +62,6 @@ "keywords": [

"dependencies": {
"@rimbu/base": "^0.6.1",
"@rimbu/collection-types": "^0.6.1",
"@rimbu/common": "^0.6.1",
"@rimbu/stream": "^0.6.1"
"@rimbu/base": "^0.6.2",
"@rimbu/collection-types": "^0.7.0",
"@rimbu/common": "^0.7.0",
"@rimbu/stream": "^0.7.0"
},

@@ -74,3 +74,3 @@ "publishConfig": {

},
"gitHead": "ebcf6f5f730b10fd78f14d8886e0b50eb186d5ad"
"gitHead": "28453a94283b4f6bcdac1a07737b2bd58ece3658"
}

@@ -40,3 +40,3 @@ import { Arr, RimbuError } from '@rimbu/base';

// internal
abstract readonly entries: readonly E[];
abstract get entries(): readonly E[];

@@ -655,3 +655,3 @@ abstract takeInternal(amount: number): TS;

export abstract class SortedBuilder<E> {
abstract readonly context: { minEntries: number; maxEntries: number };
abstract get context(): { minEntries: number; maxEntries: number };
abstract source?: {

@@ -658,0 +658,0 @@ min<O>(otherwise?: OptLazy<O>): E | O;

@@ -223,4 +223,4 @@ import { Arr, Entry, RimbuError, Token } from '@rimbu/base';

{
abstract readonly context: SortedMapContext<K>;
abstract readonly size: number;
abstract get context(): SortedMapContext<K>;
abstract get size(): number;
abstract stream(): Stream.NonEmpty<readonly [K, V]>;

@@ -227,0 +227,0 @@ abstract streamSliceIndex(range: IndexRange): Stream<readonly [K, V]>;

@@ -123,4 +123,4 @@ import { Arr, RimbuError } from '@rimbu/base';

{
abstract readonly context: SortedSetContext<T>;
abstract readonly size: number;
abstract get context(): SortedSetContext<T>;
abstract get size(): number;
abstract stream(): Stream.NonEmpty<T>;

@@ -127,0 +127,0 @@ abstract streamSliceIndex(range: IndexRange): Stream<T>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc