@thi.ng/cache 2.1.27 → 2.1.29
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 +8 -8
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -44,9 +44,9 @@ and/or version bumps of transitive dependencies.
|
|
|
44
44
|
|
|
45
45
|
#### ♻️ Refactoring
|
|
46
46
|
|
|
47
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
48
47
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
49
48
|
- add .js suffix for all relative imports
|
|
49
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
50
50
|
|
|
51
51
|
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/cache@2.0.0) (2021-10-12)
|
|
52
52
|
|
|
@@ -72,10 +72,10 @@ and/or version bumps of transitive dependencies.
|
|
|
72
72
|
|
|
73
73
|
#### ♻️ Refactoring
|
|
74
74
|
|
|
75
|
-
- update imports (transducers) ([09fb93e](https://github.com/thi-ng/umbrella/commit/09fb93e))
|
|
76
|
-
- update imports ([d02461f](https://github.com/thi-ng/umbrella/commit/d02461f))
|
|
77
75
|
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
78
76
|
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
77
|
+
- update imports ([d02461f](https://github.com/thi-ng/umbrella/commit/d02461f))
|
|
78
|
+
- update imports (transducers) ([09fb93e](https://github.com/thi-ng/umbrella/commit/09fb93e))
|
|
79
79
|
|
|
80
80
|
### [1.0.63](https://github.com/thi-ng/umbrella/tree/@thi.ng/cache@1.0.63) (2020-12-07)
|
|
81
81
|
|
|
@@ -162,20 +162,20 @@ and/or version bumps of transitive dependencies.
|
|
|
162
162
|
|
|
163
163
|
#### 🚀 Features
|
|
164
164
|
|
|
165
|
-
- add TLRUCache ([574b5d9](https://github.com/thi-ng/umbrella/commit/574b5d9))
|
|
166
|
-
- add MRUCache, update package & readme ([26c4cfd](https://github.com/thi-ng/umbrella/commit/26c4cfd))
|
|
167
165
|
- initial import [@thi.ng/cache](https://github.com/thi-ng/umbrella/tree/main/packages/cache) package ([7bbbfa8](https://github.com/thi-ng/umbrella/commit/7bbbfa8))
|
|
166
|
+
- add MRUCache, update package & readme ([26c4cfd](https://github.com/thi-ng/umbrella/commit/26c4cfd))
|
|
167
|
+
- add TLRUCache ([574b5d9](https://github.com/thi-ng/umbrella/commit/574b5d9))
|
|
168
168
|
|
|
169
169
|
#### 🩹 Bug fixes
|
|
170
170
|
|
|
171
|
-
- recompute size in LRUCache.delete(), extract removeEntry() ([c4a9c07](https://github.com/thi-ng/umbrella/commit/c4a9c07))
|
|
172
171
|
- don't insert new val if > maxsize ([3947419](https://github.com/thi-ng/umbrella/commit/3947419))
|
|
172
|
+
- recompute size in LRUCache.delete(), extract removeEntry() ([c4a9c07](https://github.com/thi-ng/umbrella/commit/c4a9c07))
|
|
173
173
|
|
|
174
174
|
#### ♻️ Refactoring
|
|
175
175
|
|
|
176
|
+
- update/extend ICache & LRUCache, update readme ([d37a91e](https://github.com/thi-ng/umbrella/commit/d37a91e))
|
|
176
177
|
- make LRU ops O(1), update/remove (some) interfaces ([00ca831](https://github.com/thi-ng/umbrella/commit/00ca831))
|
|
177
178
|
- use Map to index dcons cells
|
|
178
179
|
- update CachOpts (add map ctor option)
|
|
179
180
|
- remove LRUEntry
|
|
180
181
|
- update LRU entries iterator
|
|
181
|
-
- update/extend ICache & LRUCache, update readme ([d37a91e](https://github.com/thi-ng/umbrella/commit/d37a91e))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/cache",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.29",
|
|
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",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/dcons": "^3.2.
|
|
39
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.5.0",
|
|
38
|
+
"@thi.ng/dcons": "^3.2.24",
|
|
39
|
+
"@thi.ng/transducers": "^8.3.24"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@microsoft/api-extractor": "^7.33.5",
|
|
43
|
-
"@thi.ng/testament": "^0.3.
|
|
43
|
+
"@thi.ng/testament": "^0.3.5",
|
|
44
44
|
"rimraf": "^3.0.2",
|
|
45
45
|
"tools": "^0.0.1",
|
|
46
|
-
"typedoc": "^0.23.
|
|
46
|
+
"typedoc": "^0.23.20",
|
|
47
47
|
"typescript": "^4.8.4"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"node": ">=12.7"
|
|
65
65
|
},
|
|
66
66
|
"files": [
|
|
67
|
-
"
|
|
68
|
-
"
|
|
67
|
+
"./*.js",
|
|
68
|
+
"./*.d.ts"
|
|
69
69
|
],
|
|
70
70
|
"exports": {
|
|
71
71
|
".": {
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
],
|
|
91
91
|
"year": 2018
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
|
|
94
94
|
}
|