@thi.ng/sorted-map 1.2.20 → 1.2.22

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/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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/sorted-map",
3
- "version": "1.2.20",
3
+ "version": "1.2.22",
4
4
  "description": "Skiplist-based sorted map & set implementation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,12 +39,12 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.12.9",
43
- "@thi.ng/associative": "^7.1.20",
44
- "@thi.ng/checks": "^3.7.25",
45
- "@thi.ng/compare": "^2.4.35",
46
- "@thi.ng/random": "^4.1.34",
47
- "@thi.ng/transducers": "^9.6.18"
42
+ "@thi.ng/api": "^8.12.10",
43
+ "@thi.ng/associative": "^7.1.22",
44
+ "@thi.ng/checks": "^3.8.0",
45
+ "@thi.ng/compare": "^2.4.36",
46
+ "@thi.ng/random": "^4.1.35",
47
+ "@thi.ng/transducers": "^9.6.19"
48
48
  },
49
49
  "devDependencies": {
50
50
  "esbuild": "^0.27.0",
@@ -97,5 +97,5 @@
97
97
  ],
98
98
  "year": 2018
99
99
  },
100
- "gitHead": "fdca77cabf47dd23a9ab17a5ca13e3060075c12c\n"
100
+ "gitHead": "8625a1c6383737a8fdbe7a3f96ea3cbabc957fa6\n"
101
101
  }
package/sorted-map.js CHANGED
@@ -126,7 +126,7 @@ let SortedMap = class extends Map {
126
126
  * @param max
127
127
  */
128
128
  *keys(key, max = false) {
129
- for (let p of this.entries(key, max)) {
129
+ for (const p of this.entries(key, max)) {
130
130
  yield p[0];
131
131
  }
132
132
  }
@@ -137,7 +137,7 @@ let SortedMap = class extends Map {
137
137
  * @param max
138
138
  */
139
139
  *values(key, max = false) {
140
- for (let p of this.entries(key, max)) {
140
+ for (const p of this.entries(key, max)) {
141
141
  yield p[1];
142
142
  }
143
143
  }
@@ -255,7 +255,7 @@ let SortedMap = class extends Map {
255
255
  * @param thisArg -
256
256
  */
257
257
  forEach(fn, thisArg) {
258
- for (let p of this) {
258
+ for (const p of this) {
259
259
  fn.call(thisArg, p[1], p[0], this);
260
260
  }
261
261
  }
package/sorted-set.js CHANGED
@@ -114,7 +114,7 @@ let SortedSet = class extends Set {
114
114
  return dissoc(this, keys);
115
115
  }
116
116
  forEach(fn, thisArg) {
117
- for (let p of this) {
117
+ for (const p of this) {
118
118
  fn.call(thisArg, p, p, this);
119
119
  }
120
120
  }