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

@rimbu/hashed

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/hashed - npm Package Compare versions

Comparing version 0.8.19 to 0.8.20

8

dist/types/base/hashed-custom.d.ts

@@ -5,5 +5,5 @@ import { TraverseState } from '@rimbu/common';

export declare abstract class BlockBuilderBase<E> {
abstract source?: GenSource<E>;
abstract _entries?: E[];
abstract _entrySets?: GenBlockBuilderEntry<E>[];
abstract source?: undefined | GenSource<E>;
abstract _entries?: undefined | E[];
abstract _entrySets?: undefined | GenBlockBuilderEntry<E>[];
abstract get size(): number;

@@ -14,3 +14,3 @@ get isEmpty(): boolean;

export declare abstract class CollisionBuilderBase<E> {
abstract source?: {
abstract source?: undefined | {
size: number;

@@ -17,0 +17,0 @@ entries: List.NonEmpty<E>;

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

modifyAt: (key: K, options: {
ifNew?: OptLazyOr<V, typeof Token> | undefined;
ifExists?: ((currentValue: V, remove: Token) => V | Token) | undefined;
ifNew?: OptLazyOr<V, Token>;
ifExists?: (currentValue: V, remove: Token) => V | Token;
}, keyHash?: number) => boolean;

@@ -33,0 +33,0 @@ updateAt: <O>(key: K, update: Update<V>, otherwise?: OptLazy<O> | undefined) => V | O;

{
"name": "@rimbu/hashed",
"version": "0.8.19",
"version": "0.8.20",
"description": "Immutable HashMap and HashSet implementations for TypeScript",

@@ -72,7 +72,7 @@ "keywords": [

"dependencies": {
"@rimbu/base": "^0.9.4",
"@rimbu/collection-types": "^0.9.17",
"@rimbu/common": "^0.10.2",
"@rimbu/list": "^0.10.19",
"@rimbu/stream": "^0.12.3",
"@rimbu/base": "^0.9.5",
"@rimbu/collection-types": "^0.9.18",
"@rimbu/common": "^0.10.3",
"@rimbu/list": "^0.10.20",
"@rimbu/stream": "^0.12.4",
"tslib": "^2.4.0"

@@ -94,3 +94,3 @@ },

},
"gitHead": "0d1677b4df9c1b0f1dc337eb38eea7a99ea7fc43"
"gitHead": "c4009664c4e15f367e963d198cacd7c5fc182a4d"
}

@@ -7,5 +7,5 @@ import { TraverseState } from '@rimbu/common';

export abstract class BlockBuilderBase<E> {
abstract source?: GenSource<E>;
abstract _entries?: E[];
abstract _entrySets?: GenBlockBuilderEntry<E>[];
abstract source?: undefined | GenSource<E>;
abstract _entries?: undefined | E[];
abstract _entrySets?: undefined | GenBlockBuilderEntry<E>[];
abstract get size(): number;

@@ -42,10 +42,12 @@

export abstract class CollisionBuilderBase<E> {
abstract source?: {
size: number;
entries: List.NonEmpty<E>;
forEach(
f: (entry: E, index: number, halt: () => void) => void,
state: TraverseState
): void;
};
abstract source?:
| undefined
| {
size: number;
entries: List.NonEmpty<E>;
forEach(
f: (entry: E, index: number, halt: () => void) => void,
state: TraverseState
): void;
};
abstract _entries?: List.Builder<E> | undefined;

@@ -52,0 +54,0 @@

@@ -33,5 +33,5 @@ import { Arr, RimbuError, Token } from '@rimbu/base';

readonly context: HashMapContext<K>,
public source?: HashMapBlock<K, V>,
public _entries?: (readonly [K, V])[],
public _entrySets?: MapBlockBuilderEntry<K, V>[],
public source?: undefined | HashMapBlock<K, V>,
public _entries?: undefined | (readonly [K, V])[],
public _entrySets?: undefined | MapBlockBuilderEntry<K, V>[],
public size = source?.size ?? 0,

@@ -449,4 +449,4 @@ public level = source?.level ?? 0

readonly context: HashMapContext<K>,
public source?: HashMapCollision<K, V>,
public _entries?: List.Builder<readonly [K, V]>
public source?: undefined | HashMapCollision<K, V>,
public _entries?: undefined | List.Builder<readonly [K, V]>
) {

@@ -453,0 +453,0 @@ super();

@@ -25,5 +25,5 @@ import { Arr, RimbuError } from '@rimbu/base';

readonly context: HashSetContext<T>,
public source?: HashSetBlock<T>,
public _entries?: T[],
public _entrySets?: SetBlockBuilderEntry<T>[],
public source?: undefined | HashSetBlock<T>,
public _entries?: undefined | T[],
public _entrySets?: undefined | SetBlockBuilderEntry<T>[],
public size = source?.size ?? 0,

@@ -292,4 +292,4 @@ public level = source?.level ?? 0

readonly context: HashSetContext<T>,
public source?: HashSetCollision<T>,
public _entries?: List.Builder<T>
public source?: undefined | HashSetCollision<T>,
public _entries?: undefined | List.Builder<T>
) {

@@ -296,0 +296,0 @@ super();

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

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