@thi.ng/associative
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -1,2 +0,2 @@ | ||
import { Pair } from "@thi.ng/api"; | ||
import { Fn3, Pair } from "@thi.ng/api"; | ||
import { EquivSetOpts, IEquivSet } from "./api"; | ||
@@ -35,3 +35,3 @@ /** | ||
equiv(o: any): boolean; | ||
forEach(fn: (val: T, val2: T, set: Set<T>) => void, thisArg?: any): void; | ||
forEach(fn: Fn3<T, T, Set<T>, void>, thisArg?: any): void; | ||
entries(): IterableIterator<Pair<T, T>>; | ||
@@ -38,0 +38,0 @@ keys(): IterableIterator<any>; |
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.8...@thi.ng/associative@1.0.9) (2019-03-10) | ||
**Note:** Version bump only for package @thi.ng/associative | ||
## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.7...@thi.ng/associative@1.0.8) (2019-03-03) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ICopy, IEmpty, IEquiv, IObjectOf, Pair } from "@thi.ng/api"; | ||
import { Fn3, ICopy, IEmpty, IEquiv, IObjectOf, Pair } from "@thi.ng/api"; | ||
import { EquivMapOpts } from "./api"; | ||
@@ -30,3 +30,3 @@ export declare class EquivMap<K, V> extends Map<K, V> implements Iterable<Pair<K, V>>, ICopy<EquivMap<K, V>>, IEmpty<EquivMap<K, V>>, IEquiv { | ||
dissoc(...keys: K[]): this; | ||
forEach(fn: (val: V, key: K, map: Map<K, V>) => void, thisArg?: any): void; | ||
forEach(fn: Fn3<V, K, Map<K, V>, void>, thisArg?: any): void; | ||
get(key: K, notFound?: any): any; | ||
@@ -33,0 +33,0 @@ has(key: K): boolean; |
@@ -1,2 +0,2 @@ | ||
import { Pair } from "@thi.ng/api"; | ||
import { Fn3, Pair } from "@thi.ng/api"; | ||
import { EquivSetOpts, IEquivSet } from "./api"; | ||
@@ -35,3 +35,3 @@ /** | ||
equiv(o: any): boolean; | ||
forEach(fn: (val: T, val2: T, set: Set<T>) => void, thisArg?: any): void; | ||
forEach(fn: Fn3<T, T, Set<T>, void>, thisArg?: any): void; | ||
entries(): IterableIterator<Pair<T, T>>; | ||
@@ -38,0 +38,0 @@ keys(): IterableIterator<any>; |
@@ -1,3 +0,3 @@ | ||
import { IObjectOf } from "@thi.ng/api"; | ||
export declare const mergeMapWith: <K, V>(f: (a: V, b: V) => V, dest: Map<K, V>, ...xs: Map<K, V>[]) => Map<K, V>; | ||
export declare const mergeObjWith: <T>(f: (a: T, b: T) => T, dest: IObjectOf<T>, ...xs: IObjectOf<T>[]) => IObjectOf<T>; | ||
import { Fn2, IObjectOf } from "@thi.ng/api"; | ||
export declare const mergeMapWith: <K, V>(f: Fn2<V, V, V>, dest: Map<K, V>, ...xs: Map<K, V>[]) => Map<K, V>; | ||
export declare const mergeObjWith: <T>(f: Fn2<T, T, T>, dest: IObjectOf<T>, ...xs: IObjectOf<T>[]) => IObjectOf<T>; |
{ | ||
"name": "@thi.ng/associative", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Alternative Set & Map data type implementations with customizable equality semantics & supporting operations", | ||
@@ -35,9 +35,9 @@ "module": "./index.js", | ||
"dependencies": { | ||
"@thi.ng/api": "^5.0.3", | ||
"@thi.ng/api": "^5.1.0", | ||
"@thi.ng/checks": "^2.1.1", | ||
"@thi.ng/compare": "^1.0.3", | ||
"@thi.ng/dcons": "^2.0.8", | ||
"@thi.ng/dcons": "^2.0.9", | ||
"@thi.ng/equiv": "^1.0.3", | ||
"@thi.ng/errors": "^1.0.3", | ||
"@thi.ng/transducers": "^5.1.2" | ||
"@thi.ng/transducers": "^5.2.0" | ||
}, | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"gitHead": "ce74afc55215fee990748c9e7d555a839adcec69" | ||
"gitHead": "794f0b6f07f6eef99f6f244d6c52c1d5de34675f" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { ICompare, ICopy, IEmpty, IEquiv, IObjectOf, Pair } from "@thi.ng/api"; | ||
import { Fn3, ICompare, ICopy, IEmpty, IEquiv, IObjectOf, Pair } from "@thi.ng/api"; | ||
import { IReducible, ReductionFn } from "@thi.ng/transducers"; | ||
@@ -43,3 +43,3 @@ import { SortedMapOpts } from "./api"; | ||
first(): Pair<K, V>; | ||
forEach(fn: (val: V, key: K, map: Map<K, V>) => void, thisArg?: any): void; | ||
forEach(fn: Fn3<V, K, Map<K, V>, void>, thisArg?: any): void; | ||
set(key: K, value: V): this; | ||
@@ -46,0 +46,0 @@ delete(key: K): boolean; |
@@ -1,2 +0,2 @@ | ||
import { ICompare, Pair } from "@thi.ng/api"; | ||
import { Fn3, ICompare, Pair } from "@thi.ng/api"; | ||
import { IReducible, ReductionFn } from "@thi.ng/transducers"; | ||
@@ -46,3 +46,3 @@ import { IEquivSet, SortedSetOpts } from "./api"; | ||
disj(xs: Iterable<T>): this; | ||
forEach(fn: (val: T, val2: T, set: Set<T>) => void, thisArg?: any): void; | ||
forEach(fn: Fn3<T, T, Set<T>, void>, thisArg?: any): void; | ||
has(value: T): boolean; | ||
@@ -49,0 +49,0 @@ get(value: T, notFound?: any): any; |
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
212044
Updated@thi.ng/api@^5.1.0
Updated@thi.ng/dcons@^2.0.9
Updated@thi.ng/transducers@^5.2.0