@thi.ng/associative
Advanced tools
Comparing version 6.3.1 to 6.3.2
@@ -26,3 +26,3 @@ var ArraySet_1; | ||
*/ | ||
export let ArraySet = ArraySet_1 = class ArraySet extends Set { | ||
let ArraySet = ArraySet_1 = class ArraySet extends Set { | ||
constructor(vals, opts = {}) { | ||
@@ -133,2 +133,3 @@ super(); | ||
], ArraySet); | ||
export { ArraySet }; | ||
export const defArraySet = (vals, opts) => new ArraySet(vals, opts); |
# Change Log | ||
- **Last updated**: 2023-08-22T14:39:27Z | ||
- **Last updated**: 2023-08-27T11:20:58Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
### [6.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/associative@6.3.2) (2023-08-27) | ||
#### ♻️ Refactoring | ||
- update internal types (TS 5.2 update) ([3f686d0](https://github.com/thi-ng/umbrella/commit/3f686d0)) | ||
## [6.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/associative@6.3.0) (2023-08-22) | ||
@@ -14,0 +20,0 @@ |
@@ -14,3 +14,3 @@ var EquivMap_1; | ||
const __map = (map) => __private.get(map).map; | ||
export let EquivMap = EquivMap_1 = class EquivMap extends Map { | ||
let EquivMap = EquivMap_1 = class EquivMap extends Map { | ||
/** | ||
@@ -139,4 +139,5 @@ * Creates a new instance with optional initial key-value pairs and provided | ||
], EquivMap); | ||
export { EquivMap }; | ||
export function defEquivMap(src, opts) { | ||
return new EquivMap(isPlainObject(src) ? pairs(src) : src, opts); | ||
} |
@@ -40,3 +40,3 @@ var HashMap_1; | ||
*/ | ||
export let HashMap = HashMap_1 = class HashMap extends Map { | ||
let HashMap = HashMap_1 = class HashMap extends Map { | ||
constructor(pairs, opts) { | ||
@@ -206,2 +206,3 @@ super(); | ||
], HashMap); | ||
export { HashMap }; | ||
export function defHashMap(src, opts) { | ||
@@ -208,0 +209,0 @@ if (isPlainObject(src)) { |
@@ -27,3 +27,3 @@ var LLSet_1; | ||
*/ | ||
export let LLSet = LLSet_1 = class LLSet extends Set { | ||
let LLSet = LLSet_1 = class LLSet extends Set { | ||
constructor(vals, opts = {}) { | ||
@@ -144,2 +144,3 @@ super(); | ||
], LLSet); | ||
export { LLSet }; | ||
export const defLLSet = (vals, opts) => new LLSet(vals, opts); |
{ | ||
"name": "@thi.ng/associative", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "Alternative Map and Set implementations with customizable equality semantics & supporting operations, plain object utilities", | ||
@@ -37,21 +37,21 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.9.4", | ||
"@thi.ng/arrays": "^2.5.20", | ||
"@thi.ng/binary": "^3.3.32", | ||
"@thi.ng/checks": "^3.4.4", | ||
"@thi.ng/compare": "^2.1.37", | ||
"@thi.ng/dcons": "^3.2.54", | ||
"@thi.ng/equiv": "^2.1.29", | ||
"@thi.ng/errors": "^2.3.4", | ||
"@thi.ng/random": "^3.6.2", | ||
"@thi.ng/transducers": "^8.6.1", | ||
"tslib": "^2.6.1" | ||
"@thi.ng/api": "^8.9.5", | ||
"@thi.ng/arrays": "^2.5.21", | ||
"@thi.ng/binary": "^3.3.33", | ||
"@thi.ng/checks": "^3.4.5", | ||
"@thi.ng/compare": "^2.1.38", | ||
"@thi.ng/dcons": "^3.2.55", | ||
"@thi.ng/equiv": "^2.1.30", | ||
"@thi.ng/errors": "^2.3.5", | ||
"@thi.ng/random": "^3.6.3", | ||
"@thi.ng/transducers": "^8.6.2", | ||
"tslib": "^2.6.2" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.36.4", | ||
"@thi.ng/testament": "^0.3.22", | ||
"@thi.ng/testament": "^0.3.23", | ||
"rimraf": "^5.0.1", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.1.6" | ||
"typedoc": "^0.25.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -200,3 +200,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "04f545c7be1811ed24be1a6824d867b1ea9bded1\n" | ||
"gitHead": "5929dd20497668496af13415cdf784a4d6f69aa3\n" | ||
} |
@@ -34,3 +34,3 @@ var SortedMap_1; | ||
*/ | ||
export let SortedMap = SortedMap_1 = class SortedMap extends Map { | ||
let SortedMap = SortedMap_1 = class SortedMap extends Map { | ||
constructor(pairs, opts = {}) { | ||
@@ -343,2 +343,3 @@ super(); | ||
], SortedMap); | ||
export { SortedMap }; | ||
export function defSortedMap(src, opts) { | ||
@@ -345,0 +346,0 @@ return isPlainObject(src) |
@@ -31,3 +31,3 @@ var SortedSet_1; | ||
*/ | ||
export let SortedSet = SortedSet_1 = class SortedSet extends Set { | ||
let SortedSet = SortedSet_1 = class SortedSet extends Set { | ||
/** | ||
@@ -134,2 +134,3 @@ * Creates new instance with optional given values and/or | ||
], SortedSet); | ||
export { SortedSet }; | ||
export const defSortedSet = (vals, opts) => new SortedSet(vals, opts); |
@@ -17,3 +17,3 @@ import { __decorate } from "tslib"; | ||
*/ | ||
export let ASparseSet = class ASparseSet extends Set { | ||
let ASparseSet = class ASparseSet extends Set { | ||
constructor(dense, sparse) { | ||
@@ -129,2 +129,3 @@ super(); | ||
], ASparseSet); | ||
export { ASparseSet }; | ||
export class SparseSet8 extends ASparseSet { | ||
@@ -131,0 +132,0 @@ constructor(n, sparse) { |
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
175901
4025
Updated@thi.ng/api@^8.9.5
Updated@thi.ng/arrays@^2.5.21
Updated@thi.ng/binary@^3.3.33
Updated@thi.ng/checks@^3.4.5
Updated@thi.ng/compare@^2.1.38
Updated@thi.ng/dcons@^3.2.55
Updated@thi.ng/equiv@^2.1.30
Updated@thi.ng/errors@^2.3.5
Updated@thi.ng/random@^3.6.3
Updated@thi.ng/transducers@^8.6.2
Updatedtslib@^2.6.2