@thi.ng/cache 2.1.75 → 2.1.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-10-30T14:31:56Z
3
+ - **Last updated**: 2023-11-09T10:28:18Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.76](https://github.com/thi-ng/umbrella/tree/@thi.ng/cache@2.1.76) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
17
+
12
18
  ### [2.1.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/cache@2.1.12) (2022-07-19)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -75,7 +75,7 @@ For Node.js REPL:
75
75
  const cache = await import("@thi.ng/cache");
76
76
  ```
77
77
 
78
- Package sizes (brotli'd, pre-treeshake): ESM: 986 bytes
78
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.06 KB
79
79
 
80
80
  ## Dependencies
81
81
 
package/lru.js CHANGED
@@ -1,6 +1,10 @@
1
1
  import { DCons } from "@thi.ng/dcons/dcons";
2
2
  import { map } from "@thi.ng/transducers/map";
3
3
  export class LRUCache {
4
+ map;
5
+ items;
6
+ opts;
7
+ _size;
4
8
  constructor(pairs, opts) {
5
9
  const _opts = Object.assign({
6
10
  maxlen: Infinity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cache",
3
- "version": "2.1.75",
3
+ "version": "2.1.77",
4
4
  "description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,22 +28,21 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
29
29
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
30
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && tools:readme",
32
- "doc:stats": "tools:module-stats",
31
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
33
32
  "pub": "yarn npm publish --access public",
34
- "test": "testament test"
33
+ "test": "bun test"
35
34
  },
36
35
  "dependencies": {
37
- "@thi.ng/api": "^8.9.6",
38
- "@thi.ng/dcons": "^3.2.70",
39
- "@thi.ng/transducers": "^8.8.8"
36
+ "@thi.ng/api": "^8.9.8",
37
+ "@thi.ng/dcons": "^3.2.72",
38
+ "@thi.ng/transducers": "^8.8.10"
40
39
  },
41
40
  "devDependencies": {
42
- "@microsoft/api-extractor": "^7.38.0",
43
- "@thi.ng/testament": "^0.3.24",
41
+ "@microsoft/api-extractor": "^7.38.2",
42
+ "@thi.ng/testament": "^0.4.1",
44
43
  "rimraf": "^5.0.5",
45
44
  "tools": "^0.0.1",
46
- "typedoc": "^0.25.2",
45
+ "typedoc": "^0.25.3",
47
46
  "typescript": "^5.2.2"
48
47
  },
49
48
  "keywords": [
@@ -90,5 +89,5 @@
90
89
  ],
91
90
  "year": 2018
92
91
  },
93
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
92
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
94
93
  }