feat: v0.8.5 && update dependencies && fix deprecated warning for `… (#556)

feat: v0.8.5 && update dependencies && fix `deprecated` warning for `mail-parser-wasm-worker`
This commit is contained in:
Dream Hunter
2025-01-11 18:46:46 +08:00
committed by GitHub
parent e161eb5d14
commit 9db5a00b35
12 changed files with 4404 additions and 1787 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
<!-- markdownlint-disable-file MD004 MD024 MD034 MD036 --> <!-- markdownlint-disable-file MD004 MD024 MD034 MD036 -->
# CHANGE LOG # CHANGE LOG
## main(v0.8.4) ## main(v0.8.5)
- feat: |mail-parser-wasm-worker| 修复 `initSync` 函数调用时的 `deprecated` 参数警告
## v0.8.4
- fix: |UI| 修复 admin portal 无收件人邮箱删除调用api 错误 - fix: |UI| 修复 admin portal 无收件人邮箱删除调用api 错误
- feat: |Telegram Bot| 增加 telegram bot 清理无效地址凭证命令 - feat: |Telegram Bot| 增加 telegram bot 清理无效地址凭证命令
+11 -11
View File
@@ -1,6 +1,6 @@
{ {
"name": "cloudflare_temp_email", "name": "cloudflare_temp_email",
"version": "0.8.4", "version": "0.8.5",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
@@ -19,16 +19,16 @@
"deploy:actions": "npm run build && wrangler pages deploy ./dist" "deploy:actions": "npm run build && wrangler pages deploy ./dist"
}, },
"dependencies": { "dependencies": {
"@simplewebauthn/browser": "^10.0.0", "@simplewebauthn/browser": "10.0.0",
"@unhead/vue": "^1.11.14", "@unhead/vue": "^1.11.15",
"@vueuse/core": "^12.2.0", "@vueuse/core": "^12.4.0",
"@wangeditor/editor": "^5.1.23", "@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12", "@wangeditor/editor-for-vue": "^5.1.12",
"axios": "^1.7.9", "axios": "^1.7.9",
"jszip": "^3.10.1", "jszip": "^3.10.1",
"mail-parser-wasm": "^0.2.0", "mail-parser-wasm": "^0.2.1",
"naive-ui": "^2.40.4", "naive-ui": "^2.41.0",
"postal-mime": "^2.3.2", "postal-mime": "^2.4.1",
"vooks": "^0.2.12", "vooks": "^0.2.12",
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
@@ -39,14 +39,14 @@
"@vicons/fa": "^0.13.0", "@vicons/fa": "^0.13.0",
"@vicons/material": "^0.13.0", "@vicons/material": "^0.13.0",
"@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue": "^5.2.1",
"unplugin-auto-import": "^0.19.0", "unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^0.28.0", "unplugin-vue-components": "^28.0.0",
"vite": "^6.0.6", "vite": "^6.0.7",
"vite-plugin-pwa": "^0.21.1", "vite-plugin-pwa": "^0.21.1",
"vite-plugin-top-level-await": "^1.4.4", "vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.4.1", "vite-plugin-wasm": "^3.4.1",
"workbox-build": "^7.3.0", "workbox-build": "^7.3.0",
"workbox-window": "^7.3.0", "workbox-window": "^7.3.0",
"wrangler": "^3.99.0" "wrangler": "^3.101.0"
} }
} }
+1790 -494
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "mail-parser-wasm" name = "mail-parser-wasm"
version = "0.2.0" version = "0.2.1"
edition = "2021" edition = "2021"
description = "A simple mail parser for wasm" description = "A simple mail parser for wasm"
license = "MIT" license = "MIT"
+2 -2
View File
@@ -1,12 +1,12 @@
import initAsync, { initSync, parse_message } from './mail_parser_wasm'; import initAsync, { initSync, parse_message } from './mail_parser_wasm';
import MODULE from './mail_parser_wasm_bg.wasm'; import MODULE from './mail_parser_wasm_bg.wasm';
initSync(MODULE); initSync({ module: MODULE });
export { initAsync, MODULE }; export { initAsync, MODULE };
export * from './mail_parser_wasm'; export * from './mail_parser_wasm';
export const parse_message_wrapper = (raw_message) => { export const parse_message_wrapper = (raw_message) => {
initSync(MODULE); initSync({ module: MODULE });
return parse_message(raw_message); return parse_message(raw_message);
} }
+1 -1
View File
@@ -7,7 +7,7 @@
"url": "https://github.com/dreamhunter2333/cloudflare_temp_email", "url": "https://github.com/dreamhunter2333/cloudflare_temp_email",
"directory": "mail-parser-wasm" "directory": "mail-parser-wasm"
}, },
"version": "0.2.0", "version": "0.2.1",
"license": "MIT", "license": "MIT",
"files": [ "files": [
"mail_parser_wasm_bg.wasm", "mail_parser_wasm_bg.wasm",
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "temp-email-pages", "name": "temp-email-pages",
"version": "0.8.4", "version": "0.8.5",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@@ -11,6 +11,6 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"wrangler": "^3.99.0" "wrangler": "^3.101.0"
} }
} }
+3 -3
View File
@@ -1,12 +1,12 @@
{ {
"name": "temp-mail-docs", "name": "temp-mail-docs",
"private": true, "private": true,
"version": "0.8.4", "version": "0.8.5",
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@types/node": "^22.10.2", "@types/node": "^22.10.5",
"vitepress": "^1.5.0", "vitepress": "^1.5.0",
"wrangler": "^3.99.0" "wrangler": "^3.101.0"
}, },
"scripts": { "scripts": {
"dev": "vitepress dev docs", "dev": "vitepress dev docs",
+1606 -326
View File
File diff suppressed because it is too large Load Diff
+13 -13
View File
@@ -1,6 +1,6 @@
{ {
"name": "cloudflare_temp_email", "name": "cloudflare_temp_email",
"version": "0.8.4", "version": "0.8.5",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
@@ -11,21 +11,21 @@
"build": "wrangler deploy --dry-run --outdir dist --minify" "build": "wrangler deploy --dry-run --outdir dist --minify"
}, },
"devDependencies": { "devDependencies": {
"@cloudflare/workers-types": "^4.20241224.0", "@cloudflare/workers-types": "^4.20250109.0",
"@eslint/js": "9.17.0", "@eslint/js": "9.18.0",
"@simplewebauthn/types": "^10.0.0", "@simplewebauthn/types": "10.0.0",
"eslint": "9.17.0", "eslint": "9.18.0",
"globals": "^15.14.0", "globals": "^15.14.0",
"typescript-eslint": "^8.18.2", "typescript-eslint": "^8.19.1",
"wrangler": "^3.99.0" "wrangler": "^3.101.0"
}, },
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.717.0", "@aws-sdk/client-s3": "^3.726.1",
"@aws-sdk/s3-request-presigner": "^3.717.0", "@aws-sdk/s3-request-presigner": "^3.726.1",
"@simplewebauthn/server": "^10.0.1", "@simplewebauthn/server": "10.0.1",
"hono": "^4.6.14", "hono": "^4.6.16",
"mimetext": "^3.0.24", "mimetext": "^3.0.27",
"postal-mime": "^2.3.2", "postal-mime": "^2.4.1",
"resend": "^4.0.1", "resend": "^4.0.1",
"telegraf": "4.16.3" "telegraf": "4.16.3"
}, },
+969 -932
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,5 +1,5 @@
export const CONSTANTS = { export const CONSTANTS = {
VERSION: 'v0.8.4', VERSION: 'v0.8.5',
// DB settings // DB settings
ADDRESS_BLOCK_LIST_KEY: 'address_block_list', ADDRESS_BLOCK_LIST_KEY: 'address_block_list',