@naturalcycles/js-lib 15.77.0 → 15.79.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/js-lib",
3
3
  "type": "module",
4
- "version": "15.77.0",
4
+ "version": "15.79.0",
5
5
  "dependencies": {
6
6
  "tslib": "^2"
7
7
  },
@@ -45,6 +45,7 @@
45
45
  "./promise": "./dist/promise/index.js",
46
46
  "./promise/*.js": "./dist/promise/*.js",
47
47
  "./nanoid": "./dist/nanoid.js",
48
+ "./qr": "./dist/qr/qr.js",
48
49
  "./semver": "./dist/semver.js",
49
50
  "./string": "./dist/string/index.js",
50
51
  "./string/*.js": "./dist/string/*.js",
@@ -151,7 +151,7 @@ export class KeySortedMap<K, V> {
151
151
  forEach(cb: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void {
152
152
  const { map } = this
153
153
  for (const k of this.#sortedKeys) {
154
- cb.call(thisArg, map.get(k)!, k, this as unknown as Map<K, V>)
154
+ cb.call(thisArg, map.get(k)!, k, this)
155
155
  }
156
156
  }
157
157
 
@@ -128,7 +128,7 @@ export class LazyKeySortedMap<K, V> {
128
128
  forEach(cb: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void {
129
129
  const { map } = this
130
130
  for (const k of this.getSortedKeys()) {
131
- cb.call(thisArg, map.get(k)!, k, this as unknown as Map<K, V>)
131
+ cb.call(thisArg, map.get(k)!, k, this)
132
132
  }
133
133
  }
134
134