@trezor/utils
Advanced tools
Comparing version 9.0.9 to 9.0.10
@@ -0,1 +1,10 @@ | ||
# 9.0.10 | ||
- chore(utils): optimized promiseAllSequence (971fd1d8b) | ||
- feat(utils): add createCooldown util (8294ffaf0) | ||
- fix(suite): deep-clone form values before assignment in reducer to prevent RHF bug (dc8de1075) | ||
- fix(utils): getSynchronize concurrency (a8074a5f6) | ||
- chore(utils): remove unused abortable promise (f5e57314f) | ||
- feat(utils): getSynchronize (0b988ff59) | ||
# 9.0.9 | ||
@@ -2,0 +11,0 @@ |
@@ -1,2 +0,1 @@ | ||
export * from './abortablePromise'; | ||
export * from './arrayDistinct'; | ||
@@ -9,3 +8,5 @@ export * from './arrayPartition'; | ||
export * from './capitalizeFirstLetter'; | ||
export * from './cloneObject'; | ||
export * from './countBytesInString'; | ||
export * from './createCooldown'; | ||
export * from './createDeferred'; | ||
@@ -16,2 +17,3 @@ export * from './createTimeoutPromise'; | ||
export * from './getRandomNumberInRange'; | ||
export * from './getSynchronize'; | ||
export * from './getWeakRandomId'; | ||
@@ -18,0 +20,0 @@ export * from './hasUppercaseLetter'; |
@@ -30,3 +30,2 @@ "use strict"; | ||
exports.xssFilters = exports.versionUtils = exports.enumUtils = exports.bufferUtils = void 0; | ||
__exportStar(require("./abortablePromise"), exports); | ||
__exportStar(require("./arrayDistinct"), exports); | ||
@@ -39,3 +38,5 @@ __exportStar(require("./arrayPartition"), exports); | ||
__exportStar(require("./capitalizeFirstLetter"), exports); | ||
__exportStar(require("./cloneObject"), exports); | ||
__exportStar(require("./countBytesInString"), exports); | ||
__exportStar(require("./createCooldown"), exports); | ||
__exportStar(require("./createDeferred"), exports); | ||
@@ -46,2 +47,3 @@ __exportStar(require("./createTimeoutPromise"), exports); | ||
__exportStar(require("./getRandomNumberInRange"), exports); | ||
__exportStar(require("./getSynchronize"), exports); | ||
__exportStar(require("./getWeakRandomId"), exports); | ||
@@ -48,0 +50,0 @@ __exportStar(require("./hasUppercaseLetter"), exports); |
@@ -15,6 +15,6 @@ "use strict"; | ||
const results = []; | ||
yield actions.reduce((promise, fn) => promise.then(fn).then(result => { | ||
for (let i = 0; i < actions.length; ++i) { | ||
const result = yield actions[i](); | ||
results.push(result); | ||
return result; | ||
}), Promise.resolve()); | ||
} | ||
return results; | ||
@@ -21,0 +21,0 @@ }); |
{ | ||
"name": "@trezor/utils", | ||
"version": "9.0.9", | ||
"version": "9.0.10", | ||
"author": "Trezor <info@trezor.io>", | ||
@@ -32,6 +32,6 @@ "homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/utils", | ||
"jest": "^26.6.3", | ||
"rimraf": "^4.4.1", | ||
"tsx": "^3.12.6", | ||
"rimraf": "^5.0.1", | ||
"tsx": "^3.12.7", | ||
"typescript": "4.9.5" | ||
} | ||
} |
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
42056
76
786