feature: update dependencies (#682)

This commit is contained in:
Dream Hunter
2025-06-24 18:27:45 +08:00
committed by GitHub
parent 70109785c6
commit 9f535a0a90
12 changed files with 357 additions and 356 deletions

View File

@@ -1,6 +1,8 @@
<!-- markdownlint-disable-file MD004 MD024 MD034 MD036 -->
# CHANGE LOG
## main(v1.0.1)
## v1.0.0
- fix: |UI| 修复 User 查看收件箱,不选择地址时,关键词查询不生效

View File

@@ -1,6 +1,6 @@
{
"name": "cloudflare_temp_email",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"type": "module",
"scripts": {
@@ -32,7 +32,7 @@
"vooks": "^0.2.12",
"vue": "^3.5.17",
"vue-clipboard3": "^2.0.0",
"vue-i18n": "^11.1.6",
"vue-i18n": "^11.1.7",
"vue-router": "^4.5.1"
},
"devDependencies": {
@@ -47,7 +47,7 @@
"vite-plugin-wasm": "^3.4.1",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0",
"wrangler": "^4.20.4"
"wrangler": "^4.21.0"
},
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
}

152
frontend/pnpm-lock.yaml generated
View File

@@ -48,8 +48,8 @@ importers:
specifier: ^2.0.0
version: 2.0.0
vue-i18n:
specifier: ^11.1.6
version: 11.1.6(vue@3.5.17(typescript@5.4.5))
specifier: ^11.1.7
version: 11.1.7(vue@3.5.17(typescript@5.4.5))
vue-router:
specifier: ^4.5.1
version: 4.5.1(vue@3.5.17(typescript@5.4.5))
@@ -88,8 +88,8 @@ importers:
specifier: ^7.3.0
version: 7.3.0
wrangler:
specifier: ^4.20.4
version: 4.20.4
specifier: ^4.21.0
version: 4.21.0
packages:
@@ -1060,16 +1060,16 @@ packages:
cpu: [x64]
os: [win32]
'@intlify/core-base@11.1.6':
resolution: {integrity: sha512-gfMLnoWGiQkA1BwK6Qbrog/e3I6Lnkhqk08XObJb0lMq6sLG1Ggl2MazVaMfGnv/E1Td8pCS5UwR54Ys+fOxmQ==}
'@intlify/core-base@11.1.7':
resolution: {integrity: sha512-gYiGnQeJVp3kNBeXQ73m1uFOak0ry4av8pn+IkEWigyyPWEMGzB+xFeQdmGMFn49V+oox6294oGVff8bYOhtOw==}
engines: {node: '>= 16'}
'@intlify/message-compiler@11.1.6':
resolution: {integrity: sha512-w0LYo5sqgQZF3vEmjLlx+5PYk5EEiB+uigsBkka/DKoAIH2c5xlXcjAxhTgSw35Vrck+GOGriahFsfbHL+ZjPw==}
'@intlify/message-compiler@11.1.7':
resolution: {integrity: sha512-0ezkep1AT30NyuKj8QbRlmvMORCCRlOIIu9v8RNU8SwDjjTiFCZzczCORMns2mCH4HZ1nXgrfkKzYUbfjNRmng==}
engines: {node: '>= 16'}
'@intlify/shared@11.1.6':
resolution: {integrity: sha512-G1Pe4UILhiGOItuehRW+Pk9/NlnRaMFsdnhZ1fwBjiHvrzitmPNZdLx7Eo3GPfRrsk1mdkilZSfgH8SnM419vA==}
'@intlify/shared@11.1.7':
resolution: {integrity: sha512-4yZeMt2Aa/7n5Ehy4KalUlvt3iRLcg1tq9IBVfOgkyWFArN4oygn6WxgGIFibP3svpaH8DarbNaottq+p0gUZQ==}
engines: {node: '>= 16'}
'@jridgewell/gen-mapping@0.3.8':
@@ -1266,68 +1266,68 @@ packages:
'@surma/rollup-plugin-off-main-thread@2.2.3':
resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==}
'@swc/core-darwin-arm64@1.12.4':
resolution: {integrity: sha512-HihKfeitjZU2ab94Zf893sxzFryLKX0TweGsNXXOLNtkSMLw50auuYfpRM0BOL9/uXXtuCWgRIF6P030SAX5xQ==}
'@swc/core-darwin-arm64@1.12.6':
resolution: {integrity: sha512-yLiw+XzG+MilfFh0ON7qt67bfIr7UxB9JprhYReVOmLTBDmDVQSC3T4/vIuc+GwlX08ydnHy0ud4lIjTNW4uWg==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
'@swc/core-darwin-x64@1.12.4':
resolution: {integrity: sha512-meYCXHyYb6RDdu2N5PNAf0EelyxPBFhRcVo4kBFLuvuNb0m6EUg///VWy8MUMXq9/s9uzGS9kJVXXdRdr/d6FA==}
'@swc/core-darwin-x64@1.12.6':
resolution: {integrity: sha512-qwg8ux5x5Gd1LmSUtL4s9mbyfzAjr5M6OtjO281dKHwc/GYiSc4j1urb2jNSo9FcMkfT78oAOW2L6HQiWv+j1A==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
'@swc/core-linux-arm-gnueabihf@1.12.4':
resolution: {integrity: sha512-szfDbf7mE8V64of0q/LSqbk+em+T+TD3uqnH40Z7Qu/aL8vi5CHgyLjWG2SLkLLpyjgkAUF6AKrupgnBYcC2NA==}
'@swc/core-linux-arm-gnueabihf@1.12.6':
resolution: {integrity: sha512-pnkqH59JXBZu+MedaykMAC2or7tlUKeya7GKjzub+hkwxBP0ywWoFd+QYEdzp7QSziOt1VIHc4Wb9iZ2EfnzmA==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
'@swc/core-linux-arm64-gnu@1.12.4':
resolution: {integrity: sha512-n0IY76w+Scx8m3HIVRvLkoResuwsQgjDfAk9bxn99dq4leQO+mE0fkPl0Yw/1BIsPh+kxGfopIJH9zsZ1Z2YrA==}
'@swc/core-linux-arm64-gnu@1.12.6':
resolution: {integrity: sha512-h8+Ltx0NSEzIFHetkOYoQ+UQ59unYLuJ4wF6kCpxzS4HskRLjcngr1HgN0F/PRpptnrmJUPVQmfms/vjN8ndAQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
'@swc/core-linux-arm64-musl@1.12.4':
resolution: {integrity: sha512-wE5jmFi5cEQyLy8WmCWmNwfKETrnzy2D8YNi/xpYWpLPWqPhcelpa6tswkfYlbsMmmOh7hQNoTba1QdGu0jvHQ==}
'@swc/core-linux-arm64-musl@1.12.6':
resolution: {integrity: sha512-GZu3MnB/5qtBxKEH46hgVDaplEe4mp3ZmQ1O2UpFCv/u/Ji3Gar5w5g2wHCZoT5AOouAhP1bh7IAEqjG/fbVfg==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
'@swc/core-linux-x64-gnu@1.12.4':
resolution: {integrity: sha512-6S50Xd/7ePjEwrXyHMxpKTZ+KBrgUwMA8hQPbArUOwH4S5vHBr51heL0iXbUkppn1bkSr0J0IbOove5hzn+iqQ==}
'@swc/core-linux-x64-gnu@1.12.6':
resolution: {integrity: sha512-WwJLQFzMW9ufVjM6k3le4HUgBFNunyt2oghjcgn2YjnKj0Ka2LrrBHCxfS7lgFSCQh/shib2wIlKXUnlTEWQJw==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
'@swc/core-linux-x64-musl@1.12.4':
resolution: {integrity: sha512-hbYRyaHhC13vYKuGG5BrAG5fjjWEQFfQetuFp/4QKEoXDzdnabJoixxWTQACDL3m0JW32nJ+gUzsYIPtFYkwXg==}
'@swc/core-linux-x64-musl@1.12.6':
resolution: {integrity: sha512-rVGPNpI/sm8VVAhnB09Z/23OJP3ymouv6F4z4aYDbq/2JIwxqgpnl8gtMYP+Jw3XqabaFNjQmPiL15TvKCQaxQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
'@swc/core-win32-arm64-msvc@1.12.4':
resolution: {integrity: sha512-e6EbfjPL8GA/bb1lc9Omtxjlz+1ThTsAuBsy4Q3Kpbuh6B3jclg8KzxU/6t91v23wG593mieTyR5f3Pr7X3AWw==}
'@swc/core-win32-arm64-msvc@1.12.6':
resolution: {integrity: sha512-EKDJ1+8vaIlJGMl2yvd2HklV4GNbpKKwNQcUQid6j91tFYz4/aByw+9vh/sDVG7ZNqdmdywSnLRo317UTt0zFg==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
'@swc/core-win32-ia32-msvc@1.12.4':
resolution: {integrity: sha512-RG2FzmllBTUf4EksANlIvLckcBrLZEA0t13LIa6L213UZKQfEuDNHezqESgoVhJMg2S/tWauitATOCFgZNSmjg==}
'@swc/core-win32-ia32-msvc@1.12.6':
resolution: {integrity: sha512-jnULikZkR2fpZgFUQs7NsNIztavM1JdX+8Y+8FsfChBvMvziKxXtvUPGjeVJ8nzU1wgMnaeilJX9vrwuDGkA0Q==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
'@swc/core-win32-x64-msvc@1.12.4':
resolution: {integrity: sha512-oRHKnZlR83zaMeVUCmHENa4j5uNRAWbmEpjYbzRcfC45LPFNWKGWGAGERLx0u87XMUtTGqnVYxnBTHN/rzDHOw==}
'@swc/core-win32-x64-msvc@1.12.6':
resolution: {integrity: sha512-jL2Dcdcc/QZiQnwByP1uIE4k/mTlapzUng7owtLD2tSBBi1d+jPIdXIefdv+nccYJKRA+lKG3rRB6Tk9GrC7Kg==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
'@swc/core@1.12.4':
resolution: {integrity: sha512-hn30ebV4njAn0NAUM+3a0qCF+MJgqTNSrfA/hUAbC6TVjOQy2OYGQwkUvCu/V7S2+rZxrUsTpKOnZ7qqECZV9Q==}
'@swc/core@1.12.6':
resolution: {integrity: sha512-TEpta6Gi02X1b2yDIzBOIr7dFprvq9jD8RbEVI2OcMrwklbCUx0Dz9TrAnklSOwRvYvH5JjCx8ht9E94oWiG7A==}
engines: {node: '>=10'}
peerDependencies:
'@swc/helpers': '>=0.5.17'
@@ -1812,8 +1812,8 @@ packages:
engines: {node: '>=0.10.0'}
hasBin: true
electron-to-chromium@1.5.171:
resolution: {integrity: sha512-scWpzXEJEMrGJa4Y6m/tVotb0WuvNmasv3wWVzUAeCgKU0ToFOhUW6Z+xWnRQANMYGxN4ngJXIThgBJOqzVPCQ==}
electron-to-chromium@1.5.173:
resolution: {integrity: sha512-2bFhXP2zqSfQHugjqJIDFVwa+qIxyNApenmXTp9EjaKtdPrES5Qcn9/aSFy/NaP2E+fWG/zxKu/LBvY36p5VNQ==}
entities@4.5.0:
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
@@ -2333,8 +2333,8 @@ packages:
engines: {node: '>=10.0.0'}
hasBin: true
miniflare@4.20250617.2:
resolution: {integrity: sha512-lx/0RcyX0+/cVDZgoyvh6buuWZoo2aXVZve544hpF1G0Soms3ldleJLeLC7NE2zdFoXRysD0Nz0aaaMxUEO56A==}
miniflare@4.20250617.3:
resolution: {integrity: sha512-j+LZycT11UdlVeNdaqD0XdNnYnqAL+wXmboz+tNPFgTq6zhD489Ujj3BfSDyEHDCA9UFBLbkc5ByGWBh+pYZ5Q==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -2936,8 +2936,8 @@ packages:
vue-clipboard3@2.0.0:
resolution: {integrity: sha512-Q9S7dzWGax7LN5iiSPcu/K1GGm2gcBBlYwmMsUc5/16N6w90cbKow3FnPmPs95sungns4yvd9/+JhbAznECS2A==}
vue-i18n@11.1.6:
resolution: {integrity: sha512-+IbsW/sTZHj7U1w0rPOYJbuSB0/7DeO1nvUo3BxvO20OQgHs+ukJ3QeLqvoUA6DiLk+8SA9+djRmKC9+FC6cAg==}
vue-i18n@11.1.7:
resolution: {integrity: sha512-CDrU7Cmyh1AxJjerQmipV9nVa//exVBdhTcWGlbfcDCN8bKp/uAe7Le6IoN4//5emIikbsSKe9Uofmf/xXkhOA==}
engines: {node: '>= 16'}
peerDependencies:
vue: ^3.0.0
@@ -3042,8 +3042,8 @@ packages:
engines: {node: '>=16'}
hasBin: true
wrangler@4.20.4:
resolution: {integrity: sha512-isjMboea3G7/i2kkyTJvpvtRudgYfXZwxDWuMnfcm+v1N2fS31roEG973f3Z0udDCkcaoV3hjRCFvq3vlCk/NA==}
wrangler@4.21.0:
resolution: {integrity: sha512-37xm0CG2qMvsJUNZYQKje6HbCsJFYuE8dQSnu7981iDRT4DLrEIL1DAUnZJG9HiXteKPvrSj96AkZyomi5sYHw==}
engines: {node: '>=18.0.0'}
hasBin: true
peerDependencies:
@@ -4001,17 +4001,17 @@ snapshots:
'@img/sharp-win32-x64@0.33.5':
optional: true
'@intlify/core-base@11.1.6':
'@intlify/core-base@11.1.7':
dependencies:
'@intlify/message-compiler': 11.1.6
'@intlify/shared': 11.1.6
'@intlify/message-compiler': 11.1.7
'@intlify/shared': 11.1.7
'@intlify/message-compiler@11.1.6':
'@intlify/message-compiler@11.1.7':
dependencies:
'@intlify/shared': 11.1.6
'@intlify/shared': 11.1.7
source-map-js: 1.2.1
'@intlify/shared@11.1.6': {}
'@intlify/shared@11.1.7': {}
'@jridgewell/gen-mapping@0.3.8':
dependencies:
@@ -4167,51 +4167,51 @@ snapshots:
magic-string: 0.25.9
string.prototype.matchall: 4.0.12
'@swc/core-darwin-arm64@1.12.4':
'@swc/core-darwin-arm64@1.12.6':
optional: true
'@swc/core-darwin-x64@1.12.4':
'@swc/core-darwin-x64@1.12.6':
optional: true
'@swc/core-linux-arm-gnueabihf@1.12.4':
'@swc/core-linux-arm-gnueabihf@1.12.6':
optional: true
'@swc/core-linux-arm64-gnu@1.12.4':
'@swc/core-linux-arm64-gnu@1.12.6':
optional: true
'@swc/core-linux-arm64-musl@1.12.4':
'@swc/core-linux-arm64-musl@1.12.6':
optional: true
'@swc/core-linux-x64-gnu@1.12.4':
'@swc/core-linux-x64-gnu@1.12.6':
optional: true
'@swc/core-linux-x64-musl@1.12.4':
'@swc/core-linux-x64-musl@1.12.6':
optional: true
'@swc/core-win32-arm64-msvc@1.12.4':
'@swc/core-win32-arm64-msvc@1.12.6':
optional: true
'@swc/core-win32-ia32-msvc@1.12.4':
'@swc/core-win32-ia32-msvc@1.12.6':
optional: true
'@swc/core-win32-x64-msvc@1.12.4':
'@swc/core-win32-x64-msvc@1.12.6':
optional: true
'@swc/core@1.12.4':
'@swc/core@1.12.6':
dependencies:
'@swc/counter': 0.1.3
'@swc/types': 0.1.23
optionalDependencies:
'@swc/core-darwin-arm64': 1.12.4
'@swc/core-darwin-x64': 1.12.4
'@swc/core-linux-arm-gnueabihf': 1.12.4
'@swc/core-linux-arm64-gnu': 1.12.4
'@swc/core-linux-arm64-musl': 1.12.4
'@swc/core-linux-x64-gnu': 1.12.4
'@swc/core-linux-x64-musl': 1.12.4
'@swc/core-win32-arm64-msvc': 1.12.4
'@swc/core-win32-ia32-msvc': 1.12.4
'@swc/core-win32-x64-msvc': 1.12.4
'@swc/core-darwin-arm64': 1.12.6
'@swc/core-darwin-x64': 1.12.6
'@swc/core-linux-arm-gnueabihf': 1.12.6
'@swc/core-linux-arm64-gnu': 1.12.6
'@swc/core-linux-arm64-musl': 1.12.6
'@swc/core-linux-x64-gnu': 1.12.6
'@swc/core-linux-x64-musl': 1.12.6
'@swc/core-win32-arm64-msvc': 1.12.6
'@swc/core-win32-ia32-msvc': 1.12.6
'@swc/core-win32-x64-msvc': 1.12.6
'@swc/counter@0.1.3': {}
@@ -4597,7 +4597,7 @@ snapshots:
browserslist@4.25.0:
dependencies:
caniuse-lite: 1.0.30001724
electron-to-chromium: 1.5.171
electron-to-chromium: 1.5.173
node-releases: 2.0.19
update-browserslist-db: 1.1.3(browserslist@4.25.0)
@@ -4769,7 +4769,7 @@ snapshots:
dependencies:
jake: 10.9.2
electron-to-chromium@1.5.171: {}
electron-to-chromium@1.5.173: {}
entities@4.5.0: {}
@@ -5359,7 +5359,7 @@ snapshots:
mime@3.0.0: {}
miniflare@4.20250617.2:
miniflare@4.20250617.3:
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.14.0
@@ -6049,7 +6049,7 @@ snapshots:
vite-plugin-top-level-await@1.5.0(rollup@2.79.2)(vite@6.3.5(@types/node@22.10.5)(terser@5.43.1)):
dependencies:
'@rollup/plugin-virtual': 3.0.2(rollup@2.79.2)
'@swc/core': 1.12.4
'@swc/core': 1.12.6
uuid: 10.0.0
vite: 6.3.5(@types/node@22.10.5)(terser@5.43.1)
transitivePeerDependencies:
@@ -6082,10 +6082,10 @@ snapshots:
dependencies:
clipboard: 2.0.11
vue-i18n@11.1.6(vue@3.5.17(typescript@5.4.5)):
vue-i18n@11.1.7(vue@3.5.17(typescript@5.4.5)):
dependencies:
'@intlify/core-base': 11.1.6
'@intlify/shared': 11.1.6
'@intlify/core-base': 11.1.7
'@intlify/shared': 11.1.7
'@vue/devtools-api': 6.6.4
vue: 3.5.17(typescript@5.4.5)
@@ -6289,13 +6289,13 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20250617.0
'@cloudflare/workerd-windows-64': 1.20250617.0
wrangler@4.20.4:
wrangler@4.21.0:
dependencies:
'@cloudflare/kv-asset-handler': 0.4.0
'@cloudflare/unenv-preset': 2.3.3(unenv@2.0.0-rc.17)(workerd@1.20250617.0)
blake3-wasm: 2.1.5
esbuild: 0.25.4
miniflare: 4.20250617.2
miniflare: 4.20250617.3
path-to-regexp: 6.3.0
unenv: 2.0.0-rc.17
workerd: 1.20250617.0

View File

@@ -1,6 +1,6 @@
{
"name": "temp-email-pages",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
@@ -11,7 +11,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"wrangler": "^4.20.4"
"wrangler": "^4.21.0"
},
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
}

View File

@@ -1,12 +1,12 @@
{
"name": "temp-mail-docs",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"devDependencies": {
"@types/node": "^24.0.3",
"vitepress": "^1.6.3",
"wrangler": "^4.20.4"
"wrangler": "^4.21.0"
},
"scripts": {
"dev": "vitepress dev docs",

View File

@@ -19,8 +19,8 @@ importers:
specifier: ^1.6.3
version: 1.6.3(@algolia/client-search@5.29.0)(@types/node@24.0.3)(postcss@8.5.6)(search-insights@2.13.0)(typescript@5.4.5)
wrangler:
specifier: ^4.20.4
version: 4.20.4
specifier: ^4.21.0
version: 4.21.0
packages:
@@ -478,8 +478,8 @@ packages:
resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==}
engines: {node: '>=14'}
'@iconify-json/simple-icons@1.2.39':
resolution: {integrity: sha512-XlhW73c4dHvUrwWckVY76HDjnaZ2fWKD6hNZtd5kuv23GC0g3Lu0MXnYscpkIYOeiXO+Gtlw8FM53J7C84mCtA==}
'@iconify-json/simple-icons@1.2.40':
resolution: {integrity: sha512-sr2fbrS8rRhJNap41ucTStctxTcWQ3lcsHkY3loc4Yt1KNOne6D+l1JTOQCDj9f/VrUktVIEdaRQoYTvqfuSSw==}
'@iconify/types@2.0.0':
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
@@ -1031,8 +1031,8 @@ packages:
engines: {node: '>=10.0.0'}
hasBin: true
miniflare@4.20250617.2:
resolution: {integrity: sha512-lx/0RcyX0+/cVDZgoyvh6buuWZoo2aXVZve544hpF1G0Soms3ldleJLeLC7NE2zdFoXRysD0Nz0aaaMxUEO56A==}
miniflare@4.20250617.3:
resolution: {integrity: sha512-j+LZycT11UdlVeNdaqD0XdNnYnqAL+wXmboz+tNPFgTq6zhD489Ujj3BfSDyEHDCA9UFBLbkc5ByGWBh+pYZ5Q==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -1271,8 +1271,8 @@ packages:
engines: {node: '>=16'}
hasBin: true
wrangler@4.20.4:
resolution: {integrity: sha512-isjMboea3G7/i2kkyTJvpvtRudgYfXZwxDWuMnfcm+v1N2fS31roEG973f3Z0udDCkcaoV3hjRCFvq3vlCk/NA==}
wrangler@4.21.0:
resolution: {integrity: sha512-37xm0CG2qMvsJUNZYQKje6HbCsJFYuE8dQSnu7981iDRT4DLrEIL1DAUnZJG9HiXteKPvrSj96AkZyomi5sYHw==}
engines: {node: '>=18.0.0'}
hasBin: true
peerDependencies:
@@ -1626,7 +1626,7 @@ snapshots:
'@fastify/busboy@2.1.1': {}
'@iconify-json/simple-icons@1.2.39':
'@iconify-json/simple-icons@1.2.40':
dependencies:
'@iconify/types': 2.0.0
@@ -2181,7 +2181,7 @@ snapshots:
mime@3.0.0: {}
miniflare@4.20250617.2:
miniflare@4.20250617.3:
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.14.0
@@ -2438,7 +2438,7 @@ snapshots:
dependencies:
'@docsearch/css': 3.8.2
'@docsearch/js': 3.8.2(@algolia/client-search@5.29.0)(search-insights@2.13.0)
'@iconify-json/simple-icons': 1.2.39
'@iconify-json/simple-icons': 1.2.40
'@shikijs/core': 2.5.0
'@shikijs/transformers': 2.5.0
'@shikijs/types': 2.5.0
@@ -2501,13 +2501,13 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20250617.0
'@cloudflare/workerd-windows-64': 1.20250617.0
wrangler@4.20.4:
wrangler@4.21.0:
dependencies:
'@cloudflare/kv-asset-handler': 0.4.0
'@cloudflare/unenv-preset': 2.3.3(unenv@2.0.0-rc.17)(workerd@1.20250617.0)
blake3-wasm: 2.1.5
esbuild: 0.25.4
miniflare: 4.20250617.2
miniflare: 4.20250617.3
path-to-regexp: 6.3.0
unenv: 2.0.0-rc.17
workerd: 1.20250617.0

View File

@@ -1,6 +1,6 @@
{
"name": "cloudflare_temp_email",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"type": "module",
"scripts": {
@@ -17,14 +17,14 @@
"@types/node": "^22.15.32",
"eslint": "9.18.0",
"globals": "^15.15.0",
"typescript-eslint": "^8.34.1",
"wrangler": "^4.20.4"
"typescript-eslint": "^8.35.0",
"wrangler": "^4.21.0"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.832.0",
"@aws-sdk/s3-request-presigner": "^3.832.0",
"@aws-sdk/client-s3": "^3.835.0",
"@aws-sdk/s3-request-presigner": "^3.835.0",
"@simplewebauthn/server": "10.0.1",
"hono": "^4.8.1",
"hono": "^4.8.2",
"jsonpath-plus": "^10.3.0",
"mimetext": "^3.0.27",
"postal-mime": "^2.4.3",

462
worker/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -40,6 +40,23 @@ const getNameRegex = (c: Context<HonoCustomType>): RegExp => {
return DEFAULT_NAME_REGEX;
}
export async function updateAddressUpdatedAt(
c: Context<HonoCustomType>,
address: string | undefined | null
): Promise<void> {
if (!address) {
return;
}
// update address updated_at
try {
await c.env.DB.prepare(
`UPDATE address SET updated_at = datetime('now') where name = ?`
).bind(address).run();
} catch (e) {
console.warn("Failed to update address updated_at", e);
}
}
export const newAddress = async (
c: Context<HonoCustomType>,
{
@@ -108,6 +125,7 @@ export const newAddress = async (
if (!success) {
throw new Error("Failed to create address")
}
await updateAddressUpdatedAt(c, name);
} catch (e) {
const message = (e as Error).message;
if (message && message.includes("UNIQUE")) {

View File

@@ -1,5 +1,5 @@
export const CONSTANTS = {
VERSION: 'v' + '1.0.0',
VERSION: 'v' + '1.0.1',
// DB Version
DB_VERSION_KEY: 'db_version',

View File

@@ -2,7 +2,7 @@ import { Context, Hono } from 'hono'
import i18n from '../i18n';
import { getBooleanValue, getJsonSetting, checkCfTurnstile, getStringValue, getSplitStringListValue } from '../utils';
import { newAddress, handleListQuery, deleteAddressWithData, getAddressPrefix, getAllowDomains } from '../common'
import { newAddress, handleListQuery, deleteAddressWithData, getAddressPrefix, getAllowDomains, updateAddressUpdatedAt } from '../common'
import { CONSTANTS } from '../constants'
import auto_reply from './auto_reply'
import webhook_settings from './webhook_settings';
@@ -20,27 +20,6 @@ api.post('/api/attachment/delete', s3_attachment.deleteKey)
api.post('/api/attachment/put_url', s3_attachment.getSignedPutUrl)
api.post('/api/attachment/get_url', s3_attachment.getSignedGetUrl)
export async function updateAddressUpdatedAt(
c: Context<HonoCustomType>,
address: string | undefined | null
): Promise<void> {
if (!address) {
return;
}
// update address updated_at
try {
if (address) {
await c.env.DB.prepare(
`UPDATE address SET updated_at = datetime('now') where name = ?`
).bind(address).run();
}
} catch (e) {
console.warn("Failed to update address updated_at")
}
}
api.get('/api/mails', async (c) => {
const { address } = c.get("jwtPayload")
if (!address) {

View File

@@ -6,6 +6,7 @@ import { getJsonSetting } from "../utils"
import { CONSTANTS } from "../constants";
import { unbindTelegramByAddress } from '../telegram_api/common';
import i18n from '../i18n';
import { updateAddressUpdatedAt } from '../common';
const UserBindAddressModule = {
bind: async (c: Context<HonoCustomType>) => {
@@ -237,6 +238,7 @@ const UserBindAddressModule = {
if (!newAddressSuccess) {
throw new Error("Failed to create address")
}
await updateAddressUpdatedAt(c, address);
// find new address id
const new_address_id = await c.env.DB.prepare(
`SELECT id FROM address WHERE name = ?`