fix: showPassword (#193)

This commit is contained in:
Dream Hunter
2024-05-04 00:09:46 +08:00
committed by GitHub
parent 91a01784db
commit 854e4665b9
6 changed files with 812 additions and 817 deletions

View File

@@ -18,24 +18,24 @@
"@wangeditor/editor-for-vue": "^5.1.12",
"axios": "^1.6.8",
"mail-parser-wasm": "^0.1.6",
"naive-ui": "^2.38.1",
"naive-ui": "^2.38.2",
"postal-mime": "^2.2.5",
"vooks": "^0.2.12",
"vue": "^3.4.25",
"vue": "^3.4.26",
"vue-clipboard3": "^2.0.0",
"vue-i18n": "^9.13.1",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@vicons/fa": "^0.12.0",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue": "^5.0.4",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.2.10",
"unplugin-vue-components": "^0.27.0",
"vite": "^5.2.11",
"vite-plugin-pwa": "^0.19.8",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"workbox-window": "^7.1.0",
"wrangler": "^3.52.0"
"wrangler": "^3.53.1"
}
}

1545
frontend/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -60,6 +60,8 @@ const { t } = useI18n({
copied: 'Copied',
fetchAddressError: 'Login password is invalid or account not exist, it may be network connection issue, please try again later.',
mailV1Alert: 'You have some mails in v1, please click here to login and visit your history mails.',
password: 'Password',
passwordTip: 'Please copy the password and you can use it to login to your email account.',
},
zh: {
title: 'Cloudflare 临时邮件',
@@ -77,6 +79,8 @@ const { t } = useI18n({
copied: '已复制',
fetchAddressError: '登录密码无效或账号不存在,也可能是网络连接异常,请稍后再尝试。',
mailV1Alert: '你有一些 v1 版本的邮件,请点击此处登录查看。',
password: '密码',
passwordTip: '请复制密码,你可以使用它登录你的邮箱。',
}
}
});

View File

@@ -23,8 +23,6 @@ const { t } = useI18n({
logout: "Logout",
delteAccount: "Delete Account",
showPassword: 'Show Password',
password: 'Password',
passwordTip: 'Please copy the password and you can use it to login to your email account.',
logoutConfirm: 'Are you sure to logout?',
delteAccount: "Delete Account",
delteAccountConfirm: "Are you sure to delete your account and all emails for this account?",
@@ -35,8 +33,6 @@ const { t } = useI18n({
logout: '退出登录',
delteAccount: "删除账户",
showPassword: '查看密码',
password: '密码',
passwordTip: '请复制密码,你可以使用它登录你的邮箱。',
logoutConfirm: '确定要退出登录吗?',
delteAccount: "删除账户",
delteAccountConfirm: "确定要删除你的账户和其中的所有邮件吗?",

View File

@@ -10,10 +10,10 @@
"build": "wrangler deploy src/worker.js --dry-run --outdir dist --minify"
},
"devDependencies": {
"wrangler": "^3.52.0"
"wrangler": "^3.53.1"
},
"dependencies": {
"hono": "^4.2.7",
"hono": "^4.3.0",
"mimetext": "^3.0.24"
}
}

60
worker/pnpm-lock.yaml generated
View File

@@ -9,24 +9,24 @@ importers:
.:
dependencies:
hono:
specifier: ^4.2.7
version: 4.2.7
specifier: ^4.3.0
version: 4.3.0
mimetext:
specifier: ^3.0.24
version: 3.0.24
devDependencies:
wrangler:
specifier: ^3.52.0
version: 3.52.0
specifier: ^3.53.1
version: 3.53.1
packages:
'@babel/runtime-corejs3@7.24.4':
resolution: {integrity: sha512-VOQOexSilscN24VEY810G/PqtpFvx/z6UqDIjIWbDe2368HhDLkYN5TYwaEz/+eRCUkhJ2WaNLLmQAlxzfWj4w==}
'@babel/runtime-corejs3@7.24.5':
resolution: {integrity: sha512-GWO0mgzNMLWaSYM4z4NVIuY0Cd1fl8cPnuetuddu5w/qGuvt5Y7oUi/kvvQGK9xgOkFJDQX2heIvTRn/OQ1XTg==}
engines: {node: '>=6.9.0'}
'@babel/runtime@7.24.4':
resolution: {integrity: sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==}
'@babel/runtime@7.24.5':
resolution: {integrity: sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==}
engines: {node: '>=6.9.0'}
'@cloudflare/kv-asset-handler@0.3.2':
@@ -226,8 +226,8 @@ packages:
'@types/node-forge@1.3.11':
resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==}
'@types/node@20.12.7':
resolution: {integrity: sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==}
'@types/node@20.12.8':
resolution: {integrity: sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==}
acorn-walk@8.3.2:
resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
@@ -324,8 +324,8 @@ packages:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
hono@4.2.7:
resolution: {integrity: sha512-k1xHi86tJnRIVvqhFMBDGFKJ8r5O+bEsT4P59ZK59r0F300Xd910/r237inVfuT/VmE86RQQffX4OYNda6dLXw==}
hono@4.3.0:
resolution: {integrity: sha512-rf9142VLQNMVBj+BjVLISgDWDxnJGUIuX39dvqcdySwr2gTsPfsqW1twWDUjfwQNWm9hEn40MpDu9RFGUN+e8A==}
engines: {node: '>=16.0.0'}
is-binary-path@2.1.0:
@@ -474,8 +474,8 @@ packages:
engines: {node: '>=16'}
hasBin: true
wrangler@3.52.0:
resolution: {integrity: sha512-HR06jTym+yr7+CI3Ggld3nfp1OM9vSC7h4B8vwWHwhi5K0sYg8p44rxV514Gmsv9dkFHegkRP70SM3sjuuxxpQ==}
wrangler@3.53.1:
resolution: {integrity: sha512-bdMRQdHYdvowIwOhEMFkARIZUh56aDw7HLUZ/2JreBjj760osXE4Fc4L1TCkfRRBWgB6/LKF5LA4OcvORMYmHg==}
engines: {node: '>=16.17.0'}
hasBin: true
peerDependencies:
@@ -484,8 +484,8 @@ packages:
'@cloudflare/workers-types':
optional: true
ws@8.16.0:
resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==}
ws@8.17.0:
resolution: {integrity: sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@@ -502,17 +502,17 @@ packages:
youch@3.3.3:
resolution: {integrity: sha512-qSFXUk3UZBLfggAW3dJKg0BMblG5biqSF8M34E06o5CSsZtH92u9Hqmj2RzGiHDi64fhe83+4tENFP2DB6t6ZA==}
zod@3.23.4:
resolution: {integrity: sha512-/AtWOKbBgjzEYYQRNfoGKHObgfAZag6qUJX1VbHo2PRBgS+wfWagEY2mizjfyAPcGesrJOcx/wcl0L9WnVrHFw==}
zod@3.23.6:
resolution: {integrity: sha512-RTHJlZhsRbuA8Hmp/iNL7jnfc4nZishjsanDAfEY1QpDQZCahUp3xDzl+zfweE9BklxMUcgBgS1b7Lvie/ZVwA==}
snapshots:
'@babel/runtime-corejs3@7.24.4':
'@babel/runtime-corejs3@7.24.5':
dependencies:
core-js-pure: 3.37.0
regenerator-runtime: 0.14.1
'@babel/runtime@7.24.4':
'@babel/runtime@7.24.5':
dependencies:
regenerator-runtime: 0.14.1
@@ -628,9 +628,9 @@ snapshots:
'@types/node-forge@1.3.11':
dependencies:
'@types/node': 20.12.7
'@types/node': 20.12.8
'@types/node@20.12.7':
'@types/node@20.12.8':
dependencies:
undici-types: 5.26.5
@@ -739,7 +739,7 @@ snapshots:
dependencies:
function-bind: 1.1.2
hono@4.2.7: {}
hono@4.3.0: {}
is-binary-path@2.1.0:
dependencies:
@@ -773,8 +773,8 @@ snapshots:
mimetext@3.0.24:
dependencies:
'@babel/runtime': 7.24.4
'@babel/runtime-corejs3': 7.24.4
'@babel/runtime': 7.24.5
'@babel/runtime-corejs3': 7.24.5
js-base64: 3.7.7
mime-types: 2.1.35
@@ -789,9 +789,9 @@ snapshots:
stoppable: 1.1.0
undici: 5.28.4
workerd: 1.20240419.0
ws: 8.16.0
ws: 8.17.0
youch: 3.3.3
zod: 3.23.4
zod: 3.23.6
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -881,7 +881,7 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20240419.0
'@cloudflare/workerd-windows-64': 1.20240419.0
wrangler@3.52.0:
wrangler@3.53.1:
dependencies:
'@cloudflare/kv-asset-handler': 0.3.2
'@esbuild-plugins/node-globals-polyfill': 0.2.3(esbuild@0.17.19)
@@ -904,7 +904,7 @@ snapshots:
- supports-color
- utf-8-validate
ws@8.16.0: {}
ws@8.17.0: {}
xxhash-wasm@1.0.2: {}
@@ -914,4 +914,4 @@ snapshots:
mustache: 4.2.0
stacktracey: 2.1.8
zod@3.23.4: {}
zod@3.23.6: {}