Skip to content

Commit 102cfce

Browse files
lionel-rowesharevb
andcommitted
Use async versions of bcrypt methods to avoid freezing browser tab (#204)
* Use async versions of bcrypt methods to avoid freezing browser tab * Update bcryptjs to 3.0.3 and remove setInterval workaround * extract tools strings enhancements * i18n plugin optimization --------- Co-authored-by: ShareVB <sharevb@gmail.com>
1 parent 58db3b3 commit 102cfce

12 files changed

Lines changed: 385 additions & 117 deletions

File tree

locales/en.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,14 @@ tools:
233233
placeholder-your-string-to-compare: Your string to compare...
234234
label-your-hash: 'Your hash: '
235235
placeholder-your-hash-to-compare: Your hash to compare...
236-
label-do-they-match: 'Do they match ? '
237236
tag-copy-hash: Copy hash
237+
hashed-string: Hashed string
238+
comparison-result: Comparison result
239+
matched: Matched
240+
no-match: No match
241+
timed-out-after-timeout-period: Timed out after {timeoutPeriod}
242+
hashed-in-elapsed-period: Hashed in {elapsedPeriod}
243+
compared-in-elapsed-period: Compared in {elapsedPeriod}
238244
crontab-generator:
239245
title: Crontab generator
240246
description: >-

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,15 @@
9494
"@zxcvbn-ts/language-en": "^3.0.2",
9595
"@zxing/library": "^0.21.3",
9696
"a11y-color-contrast": "^0.2.0",
97+
"abort-signal-polyfill": "^1.0.0",
9798
"aircodes": "^1.3.16",
9899
"ajv": "^8.17.1",
99100
"ajv-errors": "^3.0.0",
100101
"ansi-styles": "^6.2.1",
101102
"ansible-vault": "^1.3.0",
102103
"apache-md5": "^1.1.8",
103104
"arr-diff": "^4.0.0",
104-
"bcryptjs": "^2.4.3",
105+
"bcryptjs": "^3.0.3",
105106
"big.js": "^6.2.2",
106107
"braces": "^3.0.3",
107108
"bwip-js": "^4.5.1",
@@ -380,7 +381,7 @@
380381
"@types/morsee": "^1.0.2",
381382
"@types/nanoid-dictionary": "^4.2.3",
382383
"@types/netmask": "^2.0.5",
383-
"@types/node": "^22.18.11",
384+
"@types/node": "^24.10.1",
384385
"@types/node-forge": "^1.3.14",
385386
"@types/potrace": "^2.1.5",
386387
"@types/punycode": "^2.1.4",

0 commit comments

Comments
 (0)