@thi.ng/associative
Advanced tools
Comparing version 6.3.17 to 6.3.18
@@ -6,2 +6,5 @@ import { isString } from "@thi.ng/checks/is-string"; | ||
export class BidirIndex { | ||
fwd; | ||
rev; | ||
nextID; | ||
constructor(keys, opts = {}) { | ||
@@ -8,0 +11,0 @@ this.nextID = opts.start || 0; |
# Change Log | ||
- **Last updated**: 2023-10-30T14:31:56Z | ||
- **Last updated**: 2023-11-09T10:02:12Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
### [6.3.18](https://github.com/thi-ng/umbrella/tree/@thi.ng/associative@6.3.18) (2023-11-09) | ||
#### ♻️ Refactoring | ||
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4)) | ||
### [6.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/associative@6.3.2) (2023-08-27) | ||
@@ -14,0 +20,0 @@ |
@@ -5,6 +5,8 @@ import { isArray } from "@thi.ng/checks/is-array"; | ||
export class MultiTrie { | ||
opts; | ||
next = {}; | ||
vals; | ||
n = 0; | ||
constructor(pairs, opts) { | ||
this.opts = opts; | ||
this.next = {}; | ||
this.n = 0; | ||
pairs && this.into(pairs); | ||
@@ -11,0 +13,0 @@ } |
{ | ||
"name": "@thi.ng/associative", | ||
"version": "6.3.17", | ||
"version": "6.3.18", | ||
"description": "Alternative Map and Set implementations with customizable equality semantics & supporting operations, plain object utilities", | ||
@@ -31,26 +31,25 @@ "type": "module", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose", | ||
"doc:readme": "yarn doc:stats && tools:readme", | ||
"doc:stats": "tools:module-stats", | ||
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts", | ||
"pub": "yarn npm publish --access public", | ||
"test": "testament test" | ||
"test": "bun test" | ||
}, | ||
"dependencies": { | ||
"@thi.ng/api": "^8.9.6", | ||
"@thi.ng/arrays": "^2.7.2", | ||
"@thi.ng/binary": "^3.3.35", | ||
"@thi.ng/checks": "^3.4.6", | ||
"@thi.ng/compare": "^2.2.2", | ||
"@thi.ng/dcons": "^3.2.70", | ||
"@thi.ng/equiv": "^2.1.31", | ||
"@thi.ng/errors": "^2.4.0", | ||
"@thi.ng/random": "^3.6.12", | ||
"@thi.ng/transducers": "^8.8.8", | ||
"@thi.ng/api": "^8.9.7", | ||
"@thi.ng/arrays": "^2.7.3", | ||
"@thi.ng/binary": "^3.3.36", | ||
"@thi.ng/checks": "^3.4.7", | ||
"@thi.ng/compare": "^2.2.3", | ||
"@thi.ng/dcons": "^3.2.71", | ||
"@thi.ng/equiv": "^2.1.32", | ||
"@thi.ng/errors": "^2.4.1", | ||
"@thi.ng/random": "^3.6.13", | ||
"@thi.ng/transducers": "^8.8.9", | ||
"tslib": "^2.6.2" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.38.0", | ||
"@thi.ng/testament": "^0.3.24", | ||
"@microsoft/api-extractor": "^7.38.2", | ||
"@thi.ng/testament": "^0.4.0", | ||
"rimraf": "^5.0.5", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.25.2", | ||
"typedoc": "^0.25.3", | ||
"typescript": "^5.2.2" | ||
@@ -200,3 +199,3 @@ }, | ||
}, | ||
"gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n" | ||
"gitHead": "9f4d8ad79bca1d68214fbc9bbc5fb55f5a445f7e\n" | ||
} |
@@ -187,3 +187,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
Package sizes (brotli'd, pre-treeshake): ESM: 6.77 KB | ||
Package sizes (brotli'd, pre-treeshake): ESM: 6.89 KB | ||
@@ -190,0 +190,0 @@ ## Dependencies |
@@ -13,2 +13,9 @@ var SortedMap_1; | ||
class Node { | ||
k; | ||
v; | ||
level; | ||
next; | ||
prev; | ||
up; | ||
down; | ||
constructor(k, v, level = 0) { | ||
@@ -15,0 +22,0 @@ this.k = k; |
import { vals } from "@thi.ng/transducers/vals"; | ||
export class TrieMap { | ||
next = {}; | ||
val; | ||
n = 0; | ||
constructor(pairs) { | ||
this.next = {}; | ||
this.n = 0; | ||
pairs && this.into(pairs); | ||
@@ -7,0 +8,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
176552
4038
Updated@thi.ng/api@^8.9.7
Updated@thi.ng/arrays@^2.7.3
Updated@thi.ng/binary@^3.3.36
Updated@thi.ng/checks@^3.4.7
Updated@thi.ng/compare@^2.2.3
Updated@thi.ng/dcons@^3.2.71
Updated@thi.ng/equiv@^2.1.32
Updated@thi.ng/errors@^2.4.1
Updated@thi.ng/random@^3.6.13
Updated@thi.ng/transducers@^8.8.9