utiller 1.0.377 → 1.0.378
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/lib/utiller/index.js
CHANGED
|
@@ -4271,10 +4271,9 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
4271
4271
|
usedCodes.add(code);
|
|
4272
4272
|
return code;
|
|
4273
4273
|
};
|
|
4274
|
-
return _lodash["default"].transform(array, function (result,
|
|
4275
|
-
var key = rawKey;
|
|
4274
|
+
return _lodash["default"].transform(array, function (result, key) {
|
|
4276
4275
|
if (usedKeys.has(key)) {
|
|
4277
|
-
throw new Error("Duplicate key detected: \"".concat(key, "\"
|
|
4276
|
+
throw new Error("23125453 Duplicate key detected: \"".concat(key, "\""));
|
|
4278
4277
|
}
|
|
4279
4278
|
usedKeys.add(key);
|
|
4280
4279
|
result[key] = generateRandomCode();
|
package/package.json
CHANGED