@dxos/util
Advanced tools
Comparing version 2.17.1 to 2.17.2
@@ -110,3 +110,3 @@ "use strict"; | ||
var _a; | ||
return callbackfn((_a = this._values.get(primitive)) !== null && _a !== void 0 ? _a : debug_1.raise(new Error('Map corrupted')), key, this); | ||
return callbackfn((_a = this._values.get(primitive)) !== null && _a !== void 0 ? _a : debug_1.raise(new Error('Map corrupted.')), key, this); | ||
}); | ||
@@ -132,3 +132,3 @@ } | ||
for (const [primitive, key] of this._keys) { | ||
const value = (_a = this._values.get(primitive)) !== null && _a !== void 0 ? _a : debug_1.raise(new Error('Map corrupted')); | ||
const value = (_a = this._values.get(primitive)) !== null && _a !== void 0 ? _a : debug_1.raise(new Error('Map corrupted.')); | ||
yield [key, value]; | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "@dxos/util", | ||
"version": "2.17.1", | ||
"version": "2.17.2", | ||
"description": "Temporary bucket for misc functions, which should graduate into separate packages.", | ||
@@ -27,4 +27,4 @@ "bugs": { | ||
"dependencies": { | ||
"@dxos/crypto": "2.17.1", | ||
"@dxos/debug": "2.17.1", | ||
"@dxos/crypto": "2.17.2", | ||
"@dxos/debug": "2.17.2", | ||
"@types/node": "^14.0.9" | ||
@@ -31,0 +31,0 @@ }, |
@@ -140,3 +140,3 @@ // | ||
this._keys.forEach((key, primitive) => callbackfn( | ||
this._values.get(primitive) ?? raise(new Error('Map corrupted')), | ||
this._values.get(primitive) ?? raise(new Error('Map corrupted.')), | ||
key, | ||
@@ -168,3 +168,3 @@ this | ||
for (const [primitive, key] of this._keys) { | ||
const value = this._values.get(primitive) ?? raise(new Error('Map corrupted')); | ||
const value = this._values.get(primitive) ?? raise(new Error('Map corrupted.')); | ||
yield [key, value]; | ||
@@ -171,0 +171,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69392
+ Added@dxos/crypto@2.17.2(transitive)
+ Added@dxos/debug@2.17.2(transitive)
- Removed@dxos/crypto@2.17.1(transitive)
- Removed@dxos/debug@2.17.1(transitive)
Updated@dxos/crypto@2.17.2
Updated@dxos/debug@2.17.2