-
Good day! Recently, I have been using the react-password-strength-bar library to calculate password strength, which uses the original zxcvbn under the hood. I switched to zxcvbn-ts, as it is supposed to be a modern and optimised alternative, but it adds significantly more to the bundle size than the original, outdated library. Why is that? Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, good comparison! Zxcvbn-ts doesn't have the same dictionaries as the original one but overall they are more up to date. For example the wikipedia list from the original one is from 2016 and the one from zxcvbn-ts is from 2024. There are a ton of new words in it. But we are investigating means to reduce the bundle size of dictionaries as you can see in #254 |
Beta Was this translation helpful? Give feedback.
Hey, good comparison!
Zxcvbn-ts doesn't have the same dictionaries as the original one but overall they are more up to date. For example the wikipedia list from the original one is from 2016 and the one from zxcvbn-ts is from 2024. There are a ton of new words in it.
But we are investigating means to reduce the bundle size of dictionaries as you can see in #254