diff --git a/apps/infoalloggi/package-lock.json b/apps/infoalloggi/package-lock.json index 74847d6..180ae29 100644 --- a/apps/infoalloggi/package-lock.json +++ b/apps/infoalloggi/package-lock.json @@ -14,7 +14,7 @@ "@dnd-kit/utilities": "^3.2.2", "@fattureincloud/fattureincloud-ts-sdk": "^2.1.3", "@hookform/resolvers": "^5.2.2", - "@next/bundle-analyzer": "^16.2.3", + "@next/bundle-analyzer": "^16.2.6", "@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-scroll-area": "^1.2.10", @@ -29,17 +29,17 @@ "@tailwindcss/forms": "^0.5.11", "@tailwindcss/postcss": "^4.3.0", "@tailwindcss/typography": "^0.5.19", - "@tanstack/react-query": "^5.90.19", + "@tanstack/react-query": "^5.100.10", "@tanstack/react-table": "^8.21.3", "@tanstack/react-virtual": "^3.13.23", "@tiptap/core": "^3.22.3", "@tiptap/extension-link": "^3.22.3", "@tiptap/extension-underline": "^3.22.3", - "@tiptap/pm": "^3.22.3", + "@tiptap/pm": "^3.23.2", "@tiptap/react": "^3.22.3", "@tiptap/starter-kit": "^3.22.3", "@trpc/client": "^11.1.0", - "@trpc/next": "^11.4.3", + "@trpc/next": "^11.17.0", "@trpc/react-query": "^11.1.0", "@trpc/server": "^11.1.0", "class-variance-authority": "^0.7.1", @@ -48,6 +48,7 @@ "cookies-next": "^6.1.1", "date-fns": "^4.1.0", "embla-carousel-react": "^8.6.0", + "formidable": "^3.5.4", "framer-motion": "^12.38.0", "frimousse": "^0.3.0", "jose": "^6.2.3", @@ -56,7 +57,7 @@ "leaflet": "^1.9.4", "leaflet-defaulticon-compatibility": "^0.1.2", "lucide-react": "^1.14.0", - "next": "^16.2.4", + "next": "^16.2.6", "next-themes": "^0.4.6", "nextjs-progressbar": "^0.0.16", "nodemailer": "^8.0.7", @@ -67,10 +68,10 @@ "pg": "^8.20.0", "postcss": "^8.5.14", "radix-ui": "^1.4.3", - "react": "^19.2.3", + "react": "^19.2.6", "react-colorful": "^5.6.1", - "react-dom": "^19.2.3", - "react-hook-form": "^7.72.1", + "react-dom": "^19.2.6", + "react-hook-form": "^7.76.0", "react-hot-toast": "^2.5.2", "react-is": "^19.2.5", "react-leaflet": "^5.0.0", @@ -83,7 +84,7 @@ "sharp": "^0.34.5", "stripe": "^22.1.1", "superjson": "^2.2.6", - "tailwind-merge": "^3.5.0", + "tailwind-merge": "^3.6.0", "tailwind-scrollbar": "^4.0.2", "tailwindcss": "^4.2.2", "tunnel-rat": "^0.1.2", @@ -98,13 +99,14 @@ "@hookform/devtools": "^4.4.0", "@react-email/preview-server": "^5.2.11", "@total-typescript/ts-reset": "^0.6.1", + "@types/formidable": "^3.5.1", "@types/leaflet": "^1.9.21", - "@types/node": "^24.2.0", + "@types/node": "^25.7.0", "@types/nodemailer": "^8.0.0", "@types/nodemailer-html-to-text": "^3.1.3", "@types/papaparse": "^5.5.2", "@types/pg": "^8.20.0", - "@types/react": "^19.2.9", + "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@types/react-is": "^19.2.0", "@types/turndown": "^5.0.6", @@ -113,7 +115,7 @@ "dotenv": "^17.3.1", "jiti": "^2.7.0", "jsdom": "^29.1.1", - "kanel": "^4.0.1", + "kanel": "^4.0.2", "kanel-kysely": "^4.0.0", "kanel-zod": "^4.0.0", "knip": "^6.4.1", @@ -2155,22 +2157,24 @@ } }, "node_modules/@next/bundle-analyzer": { - "version": "16.2.3", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-16.2.6.tgz", + "integrity": "sha512-amPkVtHCTJAdBwyhhl5+qztHk24O4JlASgrWqh15AmnYi74apfZR46NGC0u4pM6BMAU1mYld4WdzD3cRBP3dOA==", "license": "MIT", "dependencies": { "webpack-bundle-analyzer": "4.10.1" } }, "node_modules/@next/env": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/env/-/env-16.2.4.tgz", - "integrity": "sha512-dKkkOzOSwFYe5RX6y26fZgkSpVAlIOJKQHIiydQcrWH6y/97+RceSOAdjZ14Qa3zLduVUy0TXcn+EiM6t4rPgw==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/env/-/env-16.2.6.tgz", + "integrity": "sha512-gd8HoHN4ufj73WmR3JmVolrpJR47ILK6LouP5xElPglaVxir6e1a7VzvTvDWkOoPXT9rkkTzyCxBu4yeZfZwcw==", "license": "MIT" }, "node_modules/@next/swc-darwin-arm64": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.2.4.tgz", - "integrity": "sha512-OXTFFox5EKN1Ym08vfrz+OXxmCcEjT4SFMbNRsWZE99dMqt2Kcusl5MqPXcW232RYkMLQTy0hqgAMEsfEd/l2A==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.2.6.tgz", + "integrity": "sha512-ZJGkkcNfYgrrMkqOdZ7zoLa1TOy0qpcMfk/z4Mh/FKUz40gVO+HNQWqmLxf67Z5WB64DRp0dhEbyHfel+6sJUg==", "cpu": [ "arm64" ], @@ -2184,9 +2188,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.2.4.tgz", - "integrity": "sha512-XhpVnUfmYWvD3YrXu55XdcAkQtOnvaI6wtQa8fuF5fGoKoxIUZ0kWPtcOfqJEWngFF/lOS9l3+O9CcownhiQxQ==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.2.6.tgz", + "integrity": "sha512-v/YLBHIY132Ced3puBJ7YJKw1lqsCrgcNo2aRJlCEyQrrCeRJlvGlnmxhPxNQI3KE3N1DN5r9TPNPvka3nq5RQ==", "cpu": [ "x64" ], @@ -2200,9 +2204,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.2.4.tgz", - "integrity": "sha512-Mx/tjlNA3G8kg14QvuGAJ4xBwPk1tUHq56JxZ8CXnZwz1Etz714soCEzGQQzVMz4bEnGPowzkV6Xrp6wAkEWOQ==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.2.6.tgz", + "integrity": "sha512-RPOvqlYBbcQjkz9VQQDZ2T2bARIjXZV1KFlt+V2Mr6SW/e4I9fcKsaA0hdyf2FHoTlsV2xnBd5Y912rP/1Ce6w==", "cpu": [ "arm64" ], @@ -2216,9 +2220,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.2.4.tgz", - "integrity": "sha512-iVMMp14514u7Nup2umQS03nT/bN9HurK8ufylC3FZNykrwjtx7V1A7+4kvhbDSCeonTVqV3Txnv0Lu+m2oDXNg==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.2.6.tgz", + "integrity": "sha512-URUTu1+dMkxJsPFgm+OeEvq9wf5sujw0EvgYy80TDGHTSLTnIHeqb0Eu8A3sC95IRgjejQL+kC4mw+4yPxiAXA==", "cpu": [ "arm64" ], @@ -2232,9 +2236,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.2.4.tgz", - "integrity": "sha512-EZOvm1aQWgnI/N/xcWOlnS3RQBk0VtVav5Zo7n4p0A7UKyTDx047k8opDbXgBpHl4CulRqRfbw3QrX2w5UOXMQ==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.2.6.tgz", + "integrity": "sha512-DOj182mPV8G3UkrayLoREM5YEYI+Dk5wv7Ox9xl1fFibAELEsFD0lDPfHIeILlutMMfdyhlzYPELG3peuKaurw==", "cpu": [ "x64" ], @@ -2248,9 +2252,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.2.4.tgz", - "integrity": "sha512-h9FxsngCm9cTBf71AR4fGznDEDx1hS7+kSEiIRjq5kO1oXWm07DxVGZjCvk0SGx7TSjlUqhI8oOyz7NfwAdPoA==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.2.6.tgz", + "integrity": "sha512-HKQ5SP/V/ub73UvF7n/zeJlxk2kLmtL7Wzrg4WfmkjmNos5onJ2tKu7yZOPdL18A6Svfn3max29ym+ry7NkK4g==", "cpu": [ "x64" ], @@ -2264,9 +2268,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.2.4.tgz", - "integrity": "sha512-3NdJV5OXMSOeJYijX+bjaLge3mJBlh4ybydbT4GFoB/2hAojWHtMhl3CYlYoMrjPuodp0nzFVi4Tj2+WaMg+Ow==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.2.6.tgz", + "integrity": "sha512-LZXpTlPyS5v7HhSmnvsLGP3iIYgYOBnc8r8ArlT55sGHV89bR2HlDdBjWQ+PY6SJMmk8TuVGFuxalnP3k/0Dwg==", "cpu": [ "arm64" ], @@ -2280,9 +2284,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.2.4.tgz", - "integrity": "sha512-kMVGgsqhO5YTYODD9IPGGhA6iprWidQckK3LmPeW08PIFENRmgfb4MjXHO+p//d+ts2rpjvK5gXWzXSMrPl9cw==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.2.6.tgz", + "integrity": "sha512-F0+4i0h9J6C4eE3EAPWsoCk7UW/dbzOjyzxY0qnDUOYFu6FFmdZ6l97/XdV3/Nz3VYyO7UWjyEJUXkGqcoXfMA==", "cpu": [ "x64" ], @@ -2295,6 +2299,18 @@ "node": ">= 10" } }, + "node_modules/@noble/hashes": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", + "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "dev": true, @@ -2954,6 +2970,15 @@ "win32" ] }, + "node_modules/@paralleldrive/cuid2": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@paralleldrive/cuid2/-/cuid2-2.3.1.tgz", + "integrity": "sha512-XO7cAxhnTZl0Yggq6jOgjiOHhbgcO4NqFqwSmQpjK3b6TEE6Uj/jfSk6wzYyemh3+I0sHirKSetjQwn5cZktFw==", + "license": "MIT", + "dependencies": { + "@noble/hashes": "^1.1.5" + } + }, "node_modules/@pdf-lib/standard-fonts": { "version": "1.0.0", "license": "MIT", @@ -5528,10 +5553,6 @@ "react-dom": "^19.0.0" } }, - "node_modules/@remirror/core-constants": { - "version": "3.0.0", - "license": "MIT" - }, "node_modules/@rolldown/binding-android-arm64": { "version": "1.0.0-rc.15", "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.15.tgz", @@ -6212,7 +6233,9 @@ } }, "node_modules/@tanstack/query-core": { - "version": "5.90.19", + "version": "5.100.10", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.100.10.tgz", + "integrity": "sha512-8UR0yJR+GiQ40m3lPhUr0xbfAupe6GSQiksSBSa9SM2NjezFyxXCIA69/lz8cSoNKZLrw1/PktIyQBJcVeMi3w==", "license": "MIT", "funding": { "type": "github", @@ -6220,11 +6243,13 @@ } }, "node_modules/@tanstack/react-query": { - "version": "5.90.19", + "version": "5.100.10", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.100.10.tgz", + "integrity": "sha512-FLaZf2RCrA/Zgp4aiu5tG3TyasTRO7aZ99skxQpr3Hg/zXOhu6yq5FZCYQ/tRaJtM9ylnoK8tFK7PolXQadv6Q==", "license": "MIT", "peer": true, "dependencies": { - "@tanstack/query-core": "5.90.19" + "@tanstack/query-core": "5.100.10" }, "funding": { "type": "github", @@ -6585,26 +6610,22 @@ } }, "node_modules/@tiptap/pm": { - "version": "3.22.3", + "version": "3.23.2", + "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-3.23.2.tgz", + "integrity": "sha512-1kvsBqGNu2ZJ0P/lkxN0pAMqSyUcpkMIzE4xwGUIyAiD0pZV6dr+OCMwGWOTLllSyrn91xI5K7OLk3pYeCPKqA==", "license": "MIT", "peer": true, "dependencies": { "prosemirror-changeset": "^2.3.0", - "prosemirror-collab": "^1.3.1", "prosemirror-commands": "^1.6.2", "prosemirror-dropcursor": "^1.8.1", "prosemirror-gapcursor": "^1.3.2", "prosemirror-history": "^1.4.1", - "prosemirror-inputrules": "^1.4.0", "prosemirror-keymap": "^1.2.2", - "prosemirror-markdown": "^1.13.1", - "prosemirror-menu": "^1.2.4", "prosemirror-model": "^1.24.1", - "prosemirror-schema-basic": "^1.2.3", "prosemirror-schema-list": "^1.5.0", "prosemirror-state": "^1.4.3", "prosemirror-tables": "^1.6.4", - "prosemirror-trailing-node": "^3.0.0", "prosemirror-transform": "^1.10.2", "prosemirror-view": "^1.38.1" }, @@ -6678,28 +6699,38 @@ "license": "MIT" }, "node_modules/@trpc/client": { - "version": "11.8.1", + "version": "11.17.0", + "resolved": "https://registry.npmjs.org/@trpc/client/-/client-11.17.0.tgz", + "integrity": "sha512-KpJBFrbKTDeVCFv/3ckL1XBBH5Yssn8hethI/rUy7GIpTj+VzjtPjykDqJpzobuVOz+d26cXCSu1t4I6MYI5Zg==", "funding": [ "https://trpc.io/sponsor" ], "license": "MIT", "peer": true, + "bin": { + "intent": "bin/intent.js" + }, "peerDependencies": { - "@trpc/server": "11.8.1", + "@trpc/server": "11.17.0", "typescript": ">=5.7.2" } }, "node_modules/@trpc/next": { - "version": "11.8.1", + "version": "11.17.0", + "resolved": "https://registry.npmjs.org/@trpc/next/-/next-11.17.0.tgz", + "integrity": "sha512-EjwMkyamGjf5aslgfYB70hMKs4cgmsjSJbMinmuXktkGvbmdW54VbV04Sk4o4QTY5b//Rns9dz+ku8DN6lVhvw==", "funding": [ "https://trpc.io/sponsor" ], "license": "MIT", + "bin": { + "intent": "bin/intent.js" + }, "peerDependencies": { "@tanstack/react-query": "^5.59.15", - "@trpc/client": "11.8.1", - "@trpc/react-query": "11.8.1", - "@trpc/server": "11.8.1", + "@trpc/client": "11.17.0", + "@trpc/react-query": "11.17.0", + "@trpc/server": "11.17.0", "next": "*", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -6715,7 +6746,9 @@ } }, "node_modules/@trpc/react-query": { - "version": "11.8.1", + "version": "11.17.0", + "resolved": "https://registry.npmjs.org/@trpc/react-query/-/react-query-11.17.0.tgz", + "integrity": "sha512-AGcl5YAF8NnhBmyJ6PqJqKb1M5VTGSoNRNqJ3orct4o4epdcg0GWhW+qT9q6gPzs/2ImIwYCdfFpgNGdZ9yLHA==", "funding": [ "https://trpc.io/sponsor" ], @@ -6723,20 +6756,24 @@ "peer": true, "peerDependencies": { "@tanstack/react-query": "^5.80.3", - "@trpc/client": "11.8.1", - "@trpc/server": "11.8.1", + "@trpc/client": "11.17.0", + "@trpc/server": "11.17.0", "react": ">=18.2.0", - "react-dom": ">=18.2.0", "typescript": ">=5.7.2" } }, "node_modules/@trpc/server": { - "version": "11.8.1", + "version": "11.17.0", + "resolved": "https://registry.npmjs.org/@trpc/server/-/server-11.17.0.tgz", + "integrity": "sha512-jbAOUe0PpUTCYqziyu+8vYXZdDXPudZgnEhWCQ2NjKnVEjfE93RqHTt1oycZJv/HNf51YlRXfEEwSIAbb161rw==", "funding": [ "https://trpc.io/sponsor" ], "license": "MIT", "peer": true, + "bin": { + "intent": "bin/intent.js" + }, "peerDependencies": { "typescript": ">=5.7.2" } @@ -6782,6 +6819,16 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/formidable": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@types/formidable/-/formidable-3.5.1.tgz", + "integrity": "sha512-aFQijSGbD8JCeEST2LEbwR7faHynbt43lojLIcTM/QhB2U06h41ZVRFVEql+Z1xdL+aKGIzm69V/P/uSW9N6XA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/geojson": { "version": "7946.0.16", "dev": true, @@ -6800,34 +6847,20 @@ "@types/geojson": "*" } }, - "node_modules/@types/linkify-it": { - "version": "5.0.0", - "license": "MIT" - }, "node_modules/@types/lodash": { "version": "4.17.23", "dev": true, "license": "MIT" }, - "node_modules/@types/markdown-it": { - "version": "14.1.2", - "license": "MIT", - "dependencies": { - "@types/linkify-it": "^5", - "@types/mdurl": "^2" - } - }, - "node_modules/@types/mdurl": { - "version": "2.0.0", - "license": "MIT" - }, "node_modules/@types/node": { - "version": "24.10.8", + "version": "25.7.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.7.0.tgz", + "integrity": "sha512-z+pdZyxE+RTQE9AcboAZCb4otwcrvgHD+GlBpPgn0emDVt0ohrTMhAwlr2Wd9nZ+nihhYFxO2pThz3C5qSu2Eg==", "devOptional": true, "license": "MIT", "peer": true, "dependencies": { - "undici-types": "~7.16.0" + "undici-types": "~7.21.0" } }, "node_modules/@types/nodemailer": { @@ -6882,7 +6915,9 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "19.2.9", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", + "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==", "license": "MIT", "peer": true, "dependencies": { @@ -7139,10 +7174,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/argparse": { - "version": "2.0.1", - "license": "Python-2.0" - }, "node_modules/aria-hidden": { "version": "1.2.6", "license": "MIT", @@ -7188,6 +7219,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "license": "MIT" + }, "node_modules/assertion-error": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", @@ -7628,10 +7665,6 @@ "version": "1.6.16", "license": "MIT" }, - "node_modules/crelt": { - "version": "1.0.6", - "license": "MIT" - }, "node_modules/cross-env": { "version": "10.1.0", "dev": true, @@ -7883,6 +7916,16 @@ "version": "1.1.0", "license": "MIT" }, + "node_modules/dezalgo": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", + "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", + "license": "ISC", + "dependencies": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, "node_modules/dom-helpers": { "version": "5.2.1", "license": "MIT", @@ -8516,6 +8559,23 @@ "node": ">=18.3.0" } }, + "node_modules/formidable": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.4.tgz", + "integrity": "sha512-YikH+7CUTOtP44ZTnUhR7Ic2UASBPOqmaRkRKxRbywPTe5VxF7RRCck4af9wutiZ/QKM5nME9Bie2fFaPz5Gug==", + "license": "MIT", + "dependencies": { + "@paralleldrive/cuid2": "^2.2.2", + "dezalgo": "^1.0.4", + "once": "^1.4.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "url": "https://ko-fi.com/tunnckoCore/commissions" + } + }, "node_modules/framer-motion": { "version": "12.38.0", "license": "MIT", @@ -9580,7 +9640,9 @@ } }, "node_modules/kanel": { - "version": "4.0.1", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/kanel/-/kanel-4.0.2.tgz", + "integrity": "sha512-6ZBdmIC3optkzIsB/zVkz5j/LTunO4kyRufv/GGoBmNrP9jFlycdc21/rINo+dO7Ke5jaOQhuTrQ1WgY2292Zg==", "dev": true, "license": "MIT", "dependencies": { @@ -10067,13 +10129,6 @@ "version": "1.2.4", "license": "MIT" }, - "node_modules/linkify-it": { - "version": "5.0.0", - "license": "MIT", - "dependencies": { - "uc.micro": "^2.0.0" - } - }, "node_modules/linkifyjs": { "version": "4.3.2", "license": "MIT" @@ -10167,21 +10222,6 @@ "url": "https://github.com/wojtekmaj/make-event-props?sponsor=1" } }, - "node_modules/markdown-it": { - "version": "14.1.1", - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1", - "entities": "^4.4.0", - "linkify-it": "^5.0.0", - "mdurl": "^2.0.0", - "punycode.js": "^2.3.1", - "uc.micro": "^2.1.0" - }, - "bin": { - "markdown-it": "bin/markdown-it.mjs" - } - }, "node_modules/marked": { "version": "15.0.12", "license": "MIT", @@ -10203,10 +10243,6 @@ "version": "2.0.14", "license": "CC0-1.0" }, - "node_modules/mdurl": { - "version": "2.0.0", - "license": "MIT" - }, "node_modules/memoize-one": { "version": "6.0.0", "license": "MIT" @@ -10399,13 +10435,13 @@ "license": "MIT" }, "node_modules/next": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/next/-/next-16.2.4.tgz", - "integrity": "sha512-kPvz56wF5frc+FxlHI5qnklCzbq53HTwORaWBGdT0vNoKh1Aya9XC8aPauH4NJxqtzbWsS5mAbctm4cr+EkQ2Q==", + "version": "16.2.6", + "resolved": "https://registry.npmjs.org/next/-/next-16.2.6.tgz", + "integrity": "sha512-qOVgKJg1+At15NpeUP+eJgCHvTCgXsogweq87Ri/Ix7PkqQHg4sdaXmSFqKlgaIXE4kW0g25LE68W87UANlHtw==", "license": "MIT", "peer": true, "dependencies": { - "@next/env": "16.2.4", + "@next/env": "16.2.6", "@swc/helpers": "0.5.15", "baseline-browser-mapping": "^2.9.19", "caniuse-lite": "^1.0.30001579", @@ -10419,14 +10455,14 @@ "node": ">=20.9.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "16.2.4", - "@next/swc-darwin-x64": "16.2.4", - "@next/swc-linux-arm64-gnu": "16.2.4", - "@next/swc-linux-arm64-musl": "16.2.4", - "@next/swc-linux-x64-gnu": "16.2.4", - "@next/swc-linux-x64-musl": "16.2.4", - "@next/swc-win32-arm64-msvc": "16.2.4", - "@next/swc-win32-x64-msvc": "16.2.4", + "@next/swc-darwin-arm64": "16.2.6", + "@next/swc-darwin-x64": "16.2.6", + "@next/swc-linux-arm64-gnu": "16.2.6", + "@next/swc-linux-arm64-musl": "16.2.6", + "@next/swc-linux-x64-gnu": "16.2.6", + "@next/swc-linux-x64-musl": "16.2.6", + "@next/swc-win32-arm64-msvc": "16.2.6", + "@next/swc-win32-x64-msvc": "16.2.6", "sharp": "^0.34.5" }, "peerDependencies": { @@ -10889,6 +10925,15 @@ ], "license": "MIT" }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, "node_modules/opener": { "version": "1.5.2", "license": "(WTFPL OR MIT)", @@ -11436,15 +11481,10 @@ "prosemirror-transform": "^1.0.0" } }, - "node_modules/prosemirror-collab": { - "version": "1.3.1", - "license": "MIT", - "dependencies": { - "prosemirror-state": "^1.0.0" - } - }, "node_modules/prosemirror-commands": { "version": "1.7.1", + "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.7.1.tgz", + "integrity": "sha512-rT7qZnQtx5c0/y/KlYaGvtG411S97UaL6gdp6RIZ23DLHanMYLyfGBV5DtSnZdthQql7W+lEVbpSfwtO8T+L2w==", "license": "MIT", "dependencies": { "prosemirror-model": "^1.0.0", @@ -11473,6 +11513,8 @@ }, "node_modules/prosemirror-history": { "version": "1.5.0", + "resolved": "https://registry.npmjs.org/prosemirror-history/-/prosemirror-history-1.5.0.tgz", + "integrity": "sha512-zlzTiH01eKA55UAf1MEjtssJeHnGxO0j4K4Dpx+gnmX9n+SHNlDqI2oO1Kv1iPN5B1dm5fsljCfqKF9nFL6HRg==", "license": "MIT", "dependencies": { "prosemirror-state": "^1.2.2", @@ -11481,14 +11523,6 @@ "rope-sequence": "^1.3.0" } }, - "node_modules/prosemirror-inputrules": { - "version": "1.5.1", - "license": "MIT", - "dependencies": { - "prosemirror-state": "^1.0.0", - "prosemirror-transform": "^1.0.0" - } - }, "node_modules/prosemirror-keymap": { "version": "1.2.3", "license": "MIT", @@ -11497,40 +11531,13 @@ "w3c-keyname": "^2.2.0" } }, - "node_modules/prosemirror-markdown": { - "version": "1.13.2", - "license": "MIT", - "dependencies": { - "@types/markdown-it": "^14.0.0", - "markdown-it": "^14.0.0", - "prosemirror-model": "^1.25.0" - } - }, - "node_modules/prosemirror-menu": { - "version": "1.2.5", - "license": "MIT", - "dependencies": { - "crelt": "^1.0.0", - "prosemirror-commands": "^1.0.0", - "prosemirror-history": "^1.0.0", - "prosemirror-state": "^1.0.0" - } - }, "node_modules/prosemirror-model": { "version": "1.25.4", "license": "MIT", - "peer": true, "dependencies": { "orderedmap": "^2.0.0" } }, - "node_modules/prosemirror-schema-basic": { - "version": "1.2.4", - "license": "MIT", - "dependencies": { - "prosemirror-model": "^1.25.0" - } - }, "node_modules/prosemirror-schema-list": { "version": "1.5.1", "license": "MIT", @@ -11543,7 +11550,6 @@ "node_modules/prosemirror-state": { "version": "1.4.4", "license": "MIT", - "peer": true, "dependencies": { "prosemirror-model": "^1.0.0", "prosemirror-transform": "^1.0.0", @@ -11561,19 +11567,6 @@ "prosemirror-view": "^1.41.4" } }, - "node_modules/prosemirror-trailing-node": { - "version": "3.0.0", - "license": "MIT", - "dependencies": { - "@remirror/core-constants": "3.0.0", - "escape-string-regexp": "^4.0.0" - }, - "peerDependencies": { - "prosemirror-model": "^1.22.1", - "prosemirror-state": "^1.4.2", - "prosemirror-view": "^1.33.8" - } - }, "node_modules/prosemirror-transform": { "version": "1.10.5", "license": "MIT", @@ -11584,7 +11577,6 @@ "node_modules/prosemirror-view": { "version": "1.41.4", "license": "MIT", - "peer": true, "dependencies": { "prosemirror-model": "^1.20.0", "prosemirror-state": "^1.0.0", @@ -11606,13 +11598,6 @@ "node": ">=6" } }, - "node_modules/punycode.js": { - "version": "2.3.1", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "dev": true, @@ -11733,7 +11718,9 @@ } }, "node_modules/react": { - "version": "19.2.3", + "version": "19.2.6", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.6.tgz", + "integrity": "sha512-sfWGGfavi0xr8Pg0sVsyHMAOziVYKgPLNrS7ig+ivMNb3wbCBw3KxtflsGBAwD3gYQlE/AEZsTLgToRrSCjb0Q==", "license": "MIT", "peer": true, "engines": { @@ -11749,14 +11736,16 @@ } }, "node_modules/react-dom": { - "version": "19.2.3", + "version": "19.2.6", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.6.tgz", + "integrity": "sha512-0prMI+hvBbPjsWnxDLxlCGyM8PN6UuWjEUCYmZhO67xIV9Xasa/r/vDnq+Xyq4Lo27g8QSbO5YzARu0D1Sps3g==", "license": "MIT", "peer": true, "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^19.2.3" + "react": "^19.2.6" } }, "node_modules/react-email": { @@ -11918,9 +11907,9 @@ } }, "node_modules/react-hook-form": { - "version": "7.74.0", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.74.0.tgz", - "integrity": "sha512-yR6wHr99p9wFv686jhRWVSFhUvDvNbdUf2dKlbno8/VKOCuoNobDGC6S+M2dua9A9Yo8vpcrp8assIYbsZCQ9g==", + "version": "7.76.0", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.76.0.tgz", + "integrity": "sha512-eKtLGgFeSgkHqQD8J59AMZ9a4uD1D83iSIzt4YlTGD7liDen5rrjcUO1rVIGd9yC1gofryjtHbv+4ny4hkLWlw==", "license": "MIT", "peer": true, "engines": { @@ -12370,6 +12359,8 @@ }, "node_modules/rope-sequence": { "version": "1.3.4", + "resolved": "https://registry.npmjs.org/rope-sequence/-/rope-sequence-1.3.4.tgz", + "integrity": "sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ==", "license": "MIT" }, "node_modules/rtl-css-js": { @@ -13058,9 +13049,9 @@ } }, "node_modules/tailwind-merge": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz", - "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.6.0.tgz", + "integrity": "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==", "license": "MIT", "funding": { "type": "github", @@ -13386,10 +13377,6 @@ "node": ">=14.17" } }, - "node_modules/uc.micro": { - "version": "2.1.0", - "license": "MIT" - }, "node_modules/uglify-js": { "version": "3.19.3", "dev": true, @@ -13449,7 +13436,9 @@ } }, "node_modules/undici-types": { - "version": "7.16.0", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.21.0.tgz", + "integrity": "sha512-w9IMgQrz4O0YN1LtB7K5P63vhlIOvC7opSmouCJ+ZywlPAlO9gIkJ+otk6LvGpAs2wg4econaCz3TvQ9xPoyuQ==", "devOptional": true, "license": "MIT" }, @@ -14002,6 +13991,12 @@ "dev": true, "license": "MIT" }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, "node_modules/ws": { "version": "8.18.3", "dev": true, diff --git a/apps/infoalloggi/package.json b/apps/infoalloggi/package.json index 5b5fc67..8dd2fb1 100644 --- a/apps/infoalloggi/package.json +++ b/apps/infoalloggi/package.json @@ -29,7 +29,7 @@ "@dnd-kit/utilities": "^3.2.2", "@fattureincloud/fattureincloud-ts-sdk": "^2.1.3", "@hookform/resolvers": "^5.2.2", - "@next/bundle-analyzer": "^16.2.3", + "@next/bundle-analyzer": "^16.2.6", "@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-scroll-area": "^1.2.10", @@ -44,17 +44,17 @@ "@tailwindcss/forms": "^0.5.11", "@tailwindcss/postcss": "^4.3.0", "@tailwindcss/typography": "^0.5.19", - "@tanstack/react-query": "^5.90.19", + "@tanstack/react-query": "^5.100.10", "@tanstack/react-table": "^8.21.3", "@tanstack/react-virtual": "^3.13.23", "@tiptap/core": "^3.22.3", "@tiptap/extension-link": "^3.22.3", "@tiptap/extension-underline": "^3.22.3", - "@tiptap/pm": "^3.22.3", + "@tiptap/pm": "^3.23.2", "@tiptap/react": "^3.22.3", "@tiptap/starter-kit": "^3.22.3", "@trpc/client": "^11.1.0", - "@trpc/next": "^11.4.3", + "@trpc/next": "^11.17.0", "@trpc/react-query": "^11.1.0", "@trpc/server": "^11.1.0", "class-variance-authority": "^0.7.1", @@ -63,6 +63,7 @@ "cookies-next": "^6.1.1", "date-fns": "^4.1.0", "embla-carousel-react": "^8.6.0", + "formidable": "^3.5.4", "framer-motion": "^12.38.0", "frimousse": "^0.3.0", "jose": "^6.2.3", @@ -71,7 +72,7 @@ "leaflet": "^1.9.4", "leaflet-defaulticon-compatibility": "^0.1.2", "lucide-react": "^1.14.0", - "next": "^16.2.4", + "next": "^16.2.6", "next-themes": "^0.4.6", "nextjs-progressbar": "^0.0.16", "nodemailer": "^8.0.7", @@ -82,10 +83,10 @@ "pg": "^8.20.0", "postcss": "^8.5.14", "radix-ui": "^1.4.3", - "react": "^19.2.3", + "react": "^19.2.6", "react-colorful": "^5.6.1", - "react-dom": "^19.2.3", - "react-hook-form": "^7.72.1", + "react-dom": "^19.2.6", + "react-hook-form": "^7.76.0", "react-hot-toast": "^2.5.2", "react-is": "^19.2.5", "react-leaflet": "^5.0.0", @@ -98,7 +99,7 @@ "sharp": "^0.34.5", "stripe": "^22.1.1", "superjson": "^2.2.6", - "tailwind-merge": "^3.5.0", + "tailwind-merge": "^3.6.0", "tailwind-scrollbar": "^4.0.2", "tailwindcss": "^4.2.2", "tunnel-rat": "^0.1.2", @@ -113,13 +114,14 @@ "@hookform/devtools": "^4.4.0", "@react-email/preview-server": "^5.2.11", "@total-typescript/ts-reset": "^0.6.1", + "@types/formidable": "^3.5.1", "@types/leaflet": "^1.9.21", - "@types/node": "^24.2.0", + "@types/node": "^25.7.0", "@types/nodemailer": "^8.0.0", "@types/nodemailer-html-to-text": "^3.1.3", "@types/papaparse": "^5.5.2", "@types/pg": "^8.20.0", - "@types/react": "^19.2.9", + "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@types/react-is": "^19.2.0", "@types/turndown": "^5.0.6", @@ -128,7 +130,7 @@ "dotenv": "^17.3.1", "jiti": "^2.7.0", "jsdom": "^29.1.1", - "kanel": "^4.0.1", + "kanel": "^4.0.2", "kanel-kysely": "^4.0.0", "kanel-zod": "^4.0.0", "knip": "^6.4.1",