Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packages #261

Merged
merged 3 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
20.15.0
12 changes: 7 additions & 5 deletions docs/.vuepress/components/Comparison.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<div v-if="loading"><b>Currently comparing passwords...</b></div>
<div v-if="isLoading"><b>Currently comparing passwords...</b></div>
<table class="result" v-else>
<tr>
<td></td>
Expand Down Expand Up @@ -66,12 +66,14 @@ const passwords = [
]

const data = ref([])
const loading = ref(true)
const isLoading = ref(true)
const zxcvbnTs = ref(null)

onMounted(() => {
setOptions()
setData()
setTimeout(() => {
setData()
}, 1000)
})

const setOptions = () => {
Expand All @@ -87,7 +89,7 @@ const setOptions = () => {
}

const setData = async () => {
loading.value = true
isLoading.value = true
for (const password of passwords) {
const zxcvbnResult = zxcvbn(password)
const zxcvbnTsResult = await zxcvbnTs.value.checkAsync(password)
Expand All @@ -104,6 +106,6 @@ const setData = async () => {
},
})
}
loading.value = false
isLoading.value = false
}
</script>
41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,31 @@
"docs:build": "vuepress build docs"
},
"devDependencies": {
"@babel/cli": "7.24.5",
"@babel/core": "7.24.5",
"@babel/preset-env": "7.24.5",
"@babel/cli": "7.24.7",
"@babel/core": "7.24.7",
"@babel/preset-env": "7.24.7",
"@rollup/plugin-alias": "5.1.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-replace": "5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@swc/core": "1.5.7",
"@swc/core": "1.6.13",
"@swc/jest": "0.2.36",
"@types/byline": "4.2.36",
"@types/jest": "29.5.12",
"@types/sprintf-js": "1.1.4",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@vuepress/plugin-register-components": "2.0.0-rc.30",
"@vuepress/theme-default": "2.0.0-rc.30",
"@vuepress/bundler-vite": "2.0.0-rc.11",
"axios": "1.6.8",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/plugin-register-components": "2.0.0-rc.37",
"@vuepress/theme-default": "2.0.0-rc.37",
"axios": "1.7.2",
"byline": "5.0.0",
"cross-fetch": "4.0.0",
"esbuild": "0.21.3",
"esbuild": "0.23.0",
"esbuild-register": "3.5.0",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
Expand All @@ -64,7 +64,7 @@
"eslint-import-resolver-webpack": "0.13.8",
"eslint-plugin-compat": "4.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "28.5.0",
"eslint-plugin-jest": "28.6.0",
"eslint-plugin-prettier": "5.1.3",
"esm": "3.2.25",
"glob-all": "3.3.1",
Expand All @@ -73,16 +73,15 @@
"jszip": "^3.10.1",
"kuroshiro": "1.2.0",
"kuroshiro-analyzer-kuromoji": "1.1.0",
"lerna": "8.1.3",
"natural": "7.0.5",
"prettier": "3.2.5",
"rollup": "4.17.2",
"lerna": "8.1.6",
"natural": "7.1.0",
"prettier": "3.3.2",
"rollup": "4.18.1",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-delete": "2.0.0",
"sprintf-js": "1.1.3",
"ts-jest": "29.1.2",
"typescript": "5.4.5",
"vuepress": "2.0.0-rc.11",
"typescript": "5.5.3",
"vuepress": "2.0.0-rc.14",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
"yarn-audit-fix": "10.0.7",
"zxcvbn": "4.4.2"
Expand Down
Loading