mirror of
https://github.com/Mail-0/Zero.git
synced 2026-06-29 07:16:19 +00:00
Introduced `sanitizeTipTapHtml` to sanitize email content before sending or drafting messages. Updated relevant components and dependencies to support safe rendering and improve email security.
168 lines
5.2 KiB
JSON
168 lines
5.2 KiB
JSON
{
|
|
"name": "@zero/mail",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbo",
|
|
"dev:turbo": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint . --cache --cache-location ./node_modules/.cache/eslint",
|
|
"scripts": "bun run ./scripts/run.ts"
|
|
},
|
|
"dependencies": {
|
|
"@11labs/react": "^0.1.3",
|
|
"@ai-sdk/google": "^1.2.14",
|
|
"@ai-sdk/groq": "^1.2.8",
|
|
"@ai-sdk/openai": "^1.3.17",
|
|
"@better-fetch/fetch": "^1.1.18",
|
|
"@coinbase/cookie-manager": "1.1.8",
|
|
"@css-inline/css-inline": "^0.14.3",
|
|
"@dnd-kit/core": "6.3.1",
|
|
"@dnd-kit/modifiers": "9.0.0",
|
|
"@dnd-kit/sortable": "10.0.0",
|
|
"@dnd-kit/utilities": "3.2.2",
|
|
"@flags-sdk/statsig": "^0.2.2",
|
|
"@floating-ui/react-dom": "^2.1.2",
|
|
"@hookform/resolvers": "4.1.2",
|
|
"@langchain/core": "^0.3.49",
|
|
"@langchain/groq": "^0.2.2",
|
|
"@langchain/openai": "^0.5.5",
|
|
"@microsoft/microsoft-graph-client": "^3.0.7",
|
|
"@microsoft/microsoft-graph-types": "^2.40.0",
|
|
"@radix-ui/react-accordion": "1.2.3",
|
|
"@radix-ui/react-avatar": "1.1.3",
|
|
"@radix-ui/react-checkbox": "^1.2.3",
|
|
"@radix-ui/react-collapsible": "1.1.3",
|
|
"@radix-ui/react-context-menu": "2.2.6",
|
|
"@radix-ui/react-dialog": "1.1.6",
|
|
"@radix-ui/react-dropdown-menu": "2.1.6",
|
|
"@radix-ui/react-label": "2.1.2",
|
|
"@radix-ui/react-popover": "1.1.6",
|
|
"@radix-ui/react-progress": "1.1.2",
|
|
"@radix-ui/react-radio-group": "1.2.3",
|
|
"@radix-ui/react-scroll-area": "1.2.3",
|
|
"@radix-ui/react-select": "2.1.6",
|
|
"@radix-ui/react-separator": "1.1.2",
|
|
"@radix-ui/react-slot": "1.1.2",
|
|
"@radix-ui/react-switch": "1.1.3",
|
|
"@radix-ui/react-tabs": "1.1.3",
|
|
"@radix-ui/react-toggle": "1.1.2",
|
|
"@radix-ui/react-toggle-group": "1.1.2",
|
|
"@radix-ui/react-tooltip": "1.1.8",
|
|
"@radix-ui/react-visually-hidden": "1.1.2",
|
|
"@react-email/components": "^0.0.36",
|
|
"@react-email/html": "^0.0.11",
|
|
"@react-email/render": "^1.0.6",
|
|
"@tiptap/core": "2.11.5",
|
|
"@tiptap/extension-bold": "2.11.5",
|
|
"@tiptap/extension-document": "2.11.5",
|
|
"@tiptap/extension-link": "2.11.5",
|
|
"@tiptap/extension-paragraph": "2.11.5",
|
|
"@tiptap/extension-placeholder": "2.11.5",
|
|
"@tiptap/extension-text": "2.11.5",
|
|
"@tiptap/html": "2.11.5",
|
|
"@tiptap/pm": "2.11.5",
|
|
"@tiptap/react": "2.11.5",
|
|
"@tiptap/starter-kit": "2.11.5",
|
|
"@upstash/ratelimit": "2.0.5",
|
|
"@upstash/redis": "1.34.4",
|
|
"@vercel/analytics": "1.5.0",
|
|
"@vercel/functions": "2.0.0",
|
|
"@zero/db": "workspace:*",
|
|
"@zero/eslint-config": "workspace:*",
|
|
"ai": "^4.3.9",
|
|
"axios": "1.8.1",
|
|
"better-auth": "1.2.7",
|
|
"canvas-confetti": "1.9.3",
|
|
"cheerio": "1.0.0",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"cmdk": "1.0.0",
|
|
"color": "5.0.0",
|
|
"date-fns": "4.1.0",
|
|
"date-fns-tz": "^3.2.0",
|
|
"deepmerge": "4.3.1",
|
|
"dexie": "4.0.11",
|
|
"dompurify": "^3.2.5",
|
|
"drizzle-orm": "0.39.3",
|
|
"email-addresses": "5.0.0",
|
|
"flags": "^3.2.0",
|
|
"googleapis": "144.0.0",
|
|
"he": "1.2.0",
|
|
"husky": "9.1.7",
|
|
"input-otp": "1.4.2",
|
|
"jotai": "2.12.1",
|
|
"jsonrepair": "^3.12.0",
|
|
"lucide-react": "0.474.0",
|
|
"lz-string": "1.5.0",
|
|
"mimetext": "^3.0.27",
|
|
"motion": "12.4.7",
|
|
"next": "15.3.1",
|
|
"next-intl": "3.26.5",
|
|
"next-themes": "0.4.4",
|
|
"novel": "1.0.2",
|
|
"nuqs": "2.4.0",
|
|
"pluralize": "^8.0.0",
|
|
"postgres": "3.4.5",
|
|
"posthog-js": "1.236.6",
|
|
"react": "19.0.0",
|
|
"react-colorful": "^5.6.1",
|
|
"react-day-picker": "8.10.1",
|
|
"react-dom": "19.0.0",
|
|
"react-hook-form": "7.54.2",
|
|
"react-hotkeys-hook": "^5.0.1",
|
|
"react-resizable-panels": "2.1.7",
|
|
"react-use": "^17.6.0",
|
|
"react-virtuoso": "4.12.5",
|
|
"react-wrap-balancer": "^1.1.1",
|
|
"recharts": "^2.15.1",
|
|
"resend": "4.1.2",
|
|
"sanitize-html": "^2.16.0",
|
|
"sonner": "1.7.4",
|
|
"swr": "2.3.2",
|
|
"tailwind-merge": "3.0.2",
|
|
"tailwindcss-animate": "1.0.7",
|
|
"tiptap-extension-auto-joiner": "0.1.3",
|
|
"tiptap-extension-global-drag-handle": "0.1.18",
|
|
"tiptap-markdown": "0.8.10",
|
|
"usehooks-ts": "^3.1.1",
|
|
"vaul": "1.1.2",
|
|
"zod": "3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "3.3.0",
|
|
"@radix-ui/react-navigation-menu": "^1.2.10",
|
|
"@radix-ui/react-slot": "^1.2.0",
|
|
"@tailwindcss/typography": "0.5.16",
|
|
"@types/canvas-confetti": "1.9.0",
|
|
"@types/he": "1.2.3",
|
|
"@types/node": "22.13.8",
|
|
"@types/pluralize": "^0.0.33",
|
|
"@types/prompts": "2.4.9",
|
|
"@types/react": "19.0.10",
|
|
"@types/react-dom": "19.0.4",
|
|
"@types/sanitize-html": "2.13.0",
|
|
"@typescript-eslint/eslint-plugin": "8.26.1",
|
|
"@typescript-eslint/parser": "8.26.1",
|
|
"@zero/tsconfig": "workspace:*",
|
|
"cmd-ts": "^0.13.0",
|
|
"dotenv": "16.4.7",
|
|
"drizzle-kit": "0.30.5",
|
|
"enquirer": "2.4.1",
|
|
"eslint": "9.22.0",
|
|
"eslint-config-next": "15.2.0",
|
|
"eslint-plugin-react": "7.33.2",
|
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
"p-all": "^5.0.0",
|
|
"postcss": "8.5.3",
|
|
"prettier": "3.5.3",
|
|
"prettier-plugin-sort-imports": "1.8.6",
|
|
"prettier-plugin-tailwindcss": "0.6.11",
|
|
"prompts": "^2.4.2",
|
|
"remeda": "2.21.3",
|
|
"tailwindcss": "3.4.17",
|
|
"typescript": "5.7.3"
|
|
}
|
|
}
|