extra-lists
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
declare type Entries<K, V> = Iterable<[K, V]>; | ||
type Entries<K, V> = Iterable<[K, V]>; | ||
/** | ||
@@ -11,3 +11,3 @@ * Lists is a pair of key list and value list, with unique keys. | ||
*/ | ||
declare type Lists<K, V> = [Iterable<K>, Iterable<V>]; | ||
type Lists<K, V> = [Iterable<K>, Iterable<V>]; | ||
/** | ||
@@ -18,3 +18,3 @@ * Handle reading of a single value. | ||
*/ | ||
declare type ReadFunction<T> = () => T; | ||
type ReadFunction<T> = () => T; | ||
/** | ||
@@ -27,3 +27,3 @@ * Handle combining of two values. | ||
*/ | ||
declare type CombineFunction<T> = (a: T, b: T) => T; | ||
type CombineFunction<T> = (a: T, b: T) => T; | ||
/** | ||
@@ -36,3 +36,3 @@ * Handle comparison of two values. | ||
*/ | ||
declare type CompareFunction<T> = (a: T, b: T) => number; | ||
type CompareFunction<T> = (a: T, b: T) => number; | ||
/** | ||
@@ -45,3 +45,3 @@ * Handle processing of values in lists. | ||
*/ | ||
declare type ProcessFunction<K, V> = (v: V, k: K, x: Lists<K, V>) => void; | ||
type ProcessFunction<K, V> = (v: V, k: K, x: Lists<K, V>) => void; | ||
/** | ||
@@ -55,3 +55,3 @@ * Handle selection of values in lists. | ||
*/ | ||
declare type TestFunction<K, V> = (v: V, k: K, x: Lists<K, V>) => boolean; | ||
type TestFunction<K, V> = (v: V, k: K, x: Lists<K, V>) => boolean; | ||
/** | ||
@@ -65,3 +65,3 @@ * Handle transformation of a value to another. | ||
*/ | ||
declare type MapFunction<K, V, W> = (v: V, k: K, x: Lists<K, V>) => W; | ||
type MapFunction<K, V, W> = (v: V, k: K, x: Lists<K, V>) => W; | ||
/** | ||
@@ -76,3 +76,3 @@ * Handle reduction of multiple values into a single value. | ||
*/ | ||
declare type ReduceFunction<K, V, W> = (acc: W, v: V, k: K, x: Lists<K, V>) => W; | ||
type ReduceFunction<K, V, W> = (acc: W, v: V, k: K, x: Lists<K, V>) => W; | ||
/** | ||
@@ -84,3 +84,3 @@ * Handle ending of combined lists. | ||
*/ | ||
declare type EndFunction = (dones: boolean[]) => boolean; | ||
type EndFunction = (dones: boolean[]) => boolean; | ||
/** | ||
@@ -87,0 +87,0 @@ * Check if value is lists. |
{ | ||
"name": "extra-lists", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "A collection of functions for operating upon Lists.", | ||
@@ -114,17 +114,17 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^24.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@types/jest": "^29.2.4", | ||
"extra-array": "^3.1.14", | ||
"extra-build": "^2.2.39", | ||
"extra-entries": "^3.0.47", | ||
"extra-function": "^1.1.20", | ||
"extra-iterable": "^3.2.11", | ||
"extra-map": "^3.1.13", | ||
"extra-set": "^3.1.5", | ||
"jest": "^29.3.1", | ||
"@rollup/plugin-commonjs": "^24.1.0", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@types/jest": "^29.5.0", | ||
"extra-array": "^3.1.30", | ||
"extra-build": "^2.2.42", | ||
"extra-entries": "^3.1.3", | ||
"extra-function": "^1.1.32", | ||
"extra-iterable": "^3.2.18", | ||
"extra-map": "^3.1.14", | ||
"extra-set": "^3.1.6", | ||
"jest": "^29.5.0", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
"rollup-plugin-dts": "^5.1.0", | ||
"ts-jest": "^29.0.3" | ||
"rollup-plugin-dts": "^5.3.0", | ||
"ts-jest": "^29.1.0" | ||
} | ||
} |
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
80302