update js dependencies

This commit is contained in:
Sam
2023-05-29 09:51:53 +02:00
parent 3cf203c901
commit fa94476d13
3 changed files with 212 additions and 181 deletions

View File

@ -41,10 +41,10 @@ export const setZxcvbnOptions = async (language: string) => {
)
const zxcvbnLanguagePackage = await loadLanguagePackage(language)
const options = {
graphs: zxcvbnCommonPackage.default.adjacencyGraphs,
graphs: zxcvbnCommonPackage.adjacencyGraphs,
dictionary: {
...zxcvbnCommonPackage.default.dictionary,
...zxcvbnLanguagePackage.default.dictionary,
...zxcvbnCommonPackage.dictionary,
...zxcvbnLanguagePackage.dictionary,
},
}
zxcvbnOptions.setOptions(options)