@thi.ng/cache 2.3.57 → 2.3.59

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/lru.js +4 -4
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 210 standalone projects, maintained as part
10
+ > This is one of 211 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/lru.js CHANGED
@@ -31,13 +31,13 @@ class LRUCache {
31
31
  return this.entries();
32
32
  }
33
33
  *entries() {
34
- for (let e of this.items) yield [e.k, e];
34
+ for (const e of this.items) yield [e.k, e];
35
35
  }
36
36
  *keys() {
37
- for (let e of this.items) yield e.k;
37
+ for (const e of this.items) yield e.k;
38
38
  }
39
39
  *values() {
40
- for (let e of this.items) yield e.v;
40
+ for (const e of this.items) yield e.v;
41
41
  }
42
42
  copy() {
43
43
  const c = this.empty();
@@ -85,7 +85,7 @@ class LRUCache {
85
85
  return value;
86
86
  }
87
87
  into(pairs) {
88
- for (let p of pairs) {
88
+ for (const p of pairs) {
89
89
  this.set(p[0], p[1]);
90
90
  }
91
91
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cache",
3
- "version": "2.3.57",
3
+ "version": "2.3.59",
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",
@@ -39,8 +39,8 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.12.8",
43
- "@thi.ng/dcons": "^3.2.176"
42
+ "@thi.ng/api": "^8.12.10",
43
+ "@thi.ng/dcons": "^3.2.178"
44
44
  },
45
45
  "devDependencies": {
46
46
  "esbuild": "^0.27.0",
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "year": 2018
93
93
  },
94
- "gitHead": "be6e7657b1e5c54d7d648d1b52888a7297e95a17\n"
94
+ "gitHead": "824bf9047b5a10f777c5c5b4aeecf0c750a22c75\n"
95
95
  }