@thi.ng/associative
Advanced tools
Comparing version 6.2.37 to 6.2.38
@@ -26,3 +26,3 @@ var ArraySet_1; | ||
*/ | ||
let ArraySet = ArraySet_1 = class ArraySet extends Set { | ||
export let ArraySet = ArraySet_1 = class ArraySet extends Set { | ||
constructor(vals, opts = {}) { | ||
@@ -133,3 +133,2 @@ super(); | ||
], ArraySet); | ||
export { ArraySet }; | ||
export const defArraySet = (vals, opts) => new ArraySet(vals, opts); |
# Change Log | ||
- **Last updated**: 2023-05-11T12:16:33Z | ||
- **Last updated**: 2023-06-14T07:58:51Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
@@ -14,3 +14,3 @@ var EquivMap_1; | ||
const __map = (map) => __private.get(map).map; | ||
let EquivMap = EquivMap_1 = class EquivMap extends Map { | ||
export let EquivMap = EquivMap_1 = class EquivMap extends Map { | ||
/** | ||
@@ -139,5 +139,4 @@ * 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; | ||
*/ | ||
let HashMap = HashMap_1 = class HashMap extends Map { | ||
export let HashMap = HashMap_1 = class HashMap extends Map { | ||
constructor(pairs, opts) { | ||
@@ -206,3 +206,2 @@ super(); | ||
], HashMap); | ||
export { HashMap }; | ||
export function defHashMap(src, opts) { | ||
@@ -209,0 +208,0 @@ if (isPlainObject(src)) { |
@@ -27,3 +27,3 @@ var LLSet_1; | ||
*/ | ||
let LLSet = LLSet_1 = class LLSet extends Set { | ||
export let LLSet = LLSet_1 = class LLSet extends Set { | ||
constructor(vals, opts = {}) { | ||
@@ -144,3 +144,2 @@ super(); | ||
], LLSet); | ||
export { LLSet }; | ||
export const defLLSet = (vals, opts) => new LLSet(vals, opts); |
{ | ||
"name": "@thi.ng/associative", | ||
"version": "6.2.37", | ||
"version": "6.2.38", | ||
"description": "Alternative Map and Set implementations with customizable equality semantics & supporting operations", | ||
@@ -37,21 +37,21 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.8.1", | ||
"@thi.ng/arrays": "^2.5.12", | ||
"@thi.ng/binary": "^3.3.25", | ||
"@thi.ng/checks": "^3.3.13", | ||
"@thi.ng/compare": "^2.1.31", | ||
"@thi.ng/dcons": "^3.2.44", | ||
"@thi.ng/equiv": "^2.1.23", | ||
"@thi.ng/errors": "^2.2.16", | ||
"@thi.ng/random": "^3.4.1", | ||
"@thi.ng/transducers": "^8.4.5", | ||
"tslib": "^2.5.0" | ||
"@thi.ng/api": "^8.8.2", | ||
"@thi.ng/arrays": "^2.5.13", | ||
"@thi.ng/binary": "^3.3.26", | ||
"@thi.ng/checks": "^3.3.14", | ||
"@thi.ng/compare": "^2.1.32", | ||
"@thi.ng/dcons": "^3.2.45", | ||
"@thi.ng/equiv": "^2.1.24", | ||
"@thi.ng/errors": "^2.2.17", | ||
"@thi.ng/random": "^3.4.2", | ||
"@thi.ng/transducers": "^8.4.6", | ||
"tslib": "^2.5.3" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.34.8", | ||
"@thi.ng/testament": "^0.3.16", | ||
"rimraf": "^5.0.0", | ||
"@microsoft/api-extractor": "^7.35.3", | ||
"@thi.ng/testament": "^0.3.17", | ||
"rimraf": "^5.0.1", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.24.6", | ||
"typescript": "^5.0.4" | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.1.3" | ||
}, | ||
@@ -193,3 +193,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "20ab11b687a13228f6a8cecdc5f05ba9105122ea\n" | ||
"gitHead": "54e825a976c72067a244cff8725ca98f5416d26d\n" | ||
} |
@@ -34,3 +34,3 @@ var SortedMap_1; | ||
*/ | ||
let SortedMap = SortedMap_1 = class SortedMap extends Map { | ||
export let SortedMap = SortedMap_1 = class SortedMap extends Map { | ||
constructor(pairs, opts = {}) { | ||
@@ -343,3 +343,2 @@ super(); | ||
], SortedMap); | ||
export { SortedMap }; | ||
export function defSortedMap(src, opts) { | ||
@@ -346,0 +345,0 @@ return isPlainObject(src) |
@@ -31,3 +31,3 @@ var SortedSet_1; | ||
*/ | ||
let SortedSet = SortedSet_1 = class SortedSet extends Set { | ||
export let SortedSet = SortedSet_1 = class SortedSet extends Set { | ||
/** | ||
@@ -134,3 +134,2 @@ * 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"; | ||
*/ | ||
let ASparseSet = class ASparseSet extends Set { | ||
export let ASparseSet = class ASparseSet extends Set { | ||
constructor(dense, sparse) { | ||
@@ -129,3 +129,2 @@ super(); | ||
], ASparseSet); | ||
export { ASparseSet }; | ||
export class SparseSet8 extends ASparseSet { | ||
@@ -132,0 +131,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
169979
3890
Updated@thi.ng/api@^8.8.2
Updated@thi.ng/arrays@^2.5.13
Updated@thi.ng/binary@^3.3.26
Updated@thi.ng/checks@^3.3.14
Updated@thi.ng/compare@^2.1.32
Updated@thi.ng/dcons@^3.2.45
Updated@thi.ng/equiv@^2.1.24
Updated@thi.ng/errors@^2.2.17
Updated@thi.ng/random@^3.4.2
Updated@thi.ng/transducers@^8.4.6
Updatedtslib@^2.5.3