Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
chore: fix npm security vulnerabilities (#250)
Alex Gc9a145a6226e
diff --git a/package-lock.json b/package-lock.jsonindex 3b418a88..0fbcd457 100644--- a/package-lock.json+++ b/package-lock.json@@ -4370,39 +4370,6 @@"node": "*"}},- "node_modules/@electron/fuses": {- "version": "1.8.0",- "resolved": "https://registry.npmjs.org/@electron/fuses/-/fuses-1.8.0.tgz",- "integrity": "sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "chalk": "^4.1.1",- "fs-extra": "^9.0.1",- "minimist": "^1.2.5"- },- "bin": {- "electron-fuses": "dist/bin.js"- }- },- "node_modules/@electron/fuses/node_modules/fs-extra": {- "version": "9.1.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",- "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",- "dev": true,- "license": "MIT",- "peer": true,- "dependencies": {- "at-least-node": "^1.0.0",- "graceful-fs": "^4.2.0",- "jsonfile": "^6.0.1",- "universalify": "^2.0.0"- },- "engines": {- "node": ">=10"- }- },"node_modules/@electron/get": {"version": "3.1.0","resolved": "https://registry.npmjs.org/@electron/get/-/get-3.1.0.tgz",@@ -5760,30 +5727,6 @@"ipaddr.js": "^2.1.0"}},- "node_modules/@fastify/swagger": {- "version": "9.5.1",- "resolved": "https://registry.npmjs.org/@fastify/swagger/-/swagger-9.5.1.tgz",- "integrity": "sha512-EGjYLA7vDmCPK7XViAYMF6y4+K3XUy5soVTVxsyXolNe/Svb4nFQxvtuQvvoQb2Gzc9pxiF3+ZQN/iZDHhKtTg==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/fastify"- },- {- "type": "opencollective",- "url": "https://opencollective.com/fastify"- }- ],- "license": "MIT",- "peer": true,- "dependencies": {- "fastify-plugin": "^5.0.0",- "json-schema-resolver": "^3.0.0",- "openapi-types": "^12.1.3",- "rfdc": "^1.3.1",- "yaml": "^2.4.2"- }- },"node_modules/@fastify/websocket": {"version": "11.2.0","resolved": "https://registry.npmjs.org/@fastify/websocket/-/websocket-11.2.0.tgz",@@ -10729,11 +10672,11 @@}},"node_modules/@tailwindcss/oxide/node_modules/tar": {- "version": "7.5.1",- "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.1.tgz",- "integrity": "sha512-nlGpxf+hv0v7GkWBK2V9spgactGOp0qvfWRxUMjqHyzrt3SgwE48DIv/FhqPHJYLHpgW1opq3nERbz5Anq7n1g==",+ "version": "7.5.2",+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz",+ "integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==","dev": true,- "license": "ISC",+ "license": "BlueOak-1.0.0","dependencies": {"@isaacs/fs-minipass": "^4.0.0","chownr": "^3.0.0",@@ -10892,21 +10835,6 @@"@tiptap/core": "^3.7.0"}},- "node_modules/@tiptap/extension-code-block": {- "version": "3.7.0",- "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-3.7.0.tgz",- "integrity": "sha512-srX0XzRaIt+hM61AH/xGMJLilcfSZpNxEGyT6ukzgLWR1yR32uG0oSw1vhipVcVI3Zv/DjjxJZ2T+BPseMkKGA==",- "license": "MIT",- "peer": true,- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "^3.7.0",- "@tiptap/pm": "^3.7.0"- }- },"node_modules/@tiptap/extension-code-block-lowlight": {"version": "3.7.0","resolved": "https://registry.npmjs.org/@tiptap/extension-code-block-lowlight/-/extension-code-block-lowlight-3.7.0.tgz",@@ -11532,16 +11460,6 @@"@types/node": "*"}},- "node_modules/@types/hast": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",- "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",- "license": "MIT",- "peer": true,- "dependencies": {- "@types/unist": "*"- }- },"node_modules/@types/http-cache-semantics": {"version": "4.0.4","resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz",@@ -11639,7 +11557,7 @@"version": "24.7.2","resolved": "https://registry.npmjs.org/@types/node/-/node-24.7.2.tgz","integrity": "sha512-/NbVmcGTP+lj5oa4yiYxxeBjRivKQ5Ns1eSZeB99ExsEQ6rX5XYU1Zy/gGxY/ilqtD4Etx9mKyrPxZRetiahhA==",- "devOptional": true,+ "dev": true,"license": "MIT","dependencies": {"undici-types": "~7.14.0"@@ -11672,6 +11590,7 @@"version": "19.2.2","resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.2.tgz","integrity": "sha512-6mDvHUFSjyT2B2yeNx2nUgMxh9LtOWvkhIU3uePn2I2oyNymUAX1NIsdgviM4CH+JSrp2D2hsMvJOkxY+0wNRA==",+ "dev": true,"license": "MIT","dependencies": {"csstype": "^3.0.2"@@ -11681,6 +11600,7 @@"version": "19.2.2","resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.2.tgz","integrity": "sha512-9KQPoO6mZCi7jcIStSnlOWn2nEF3mNmyr3rIAsGnAbQKYbRLyqmeSc39EVgtxXVia+LMT8j3knZLAZAh+xLmrw==",+ "dev": true,"license": "MIT","peerDependencies": {"@types/react": "^19.2.0"@@ -11741,13 +11661,6 @@"dev": true,"license": "MIT"},- "node_modules/@types/unist": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",- "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",- "license": "MIT",- "peer": true- },"node_modules/@types/use-sync-external-store": {"version": "0.0.6","resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz",@@ -14238,6 +14151,7 @@"version": "3.1.3","resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz","integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",+ "dev": true,"license": "MIT"},"node_modules/custom-error-instance": {@@ -14522,20 +14436,6 @@"integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==","license": "MIT"},- "node_modules/devlop": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",- "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",- "license": "MIT",- "peer": true,- "dependencies": {- "dequal": "^2.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/dir-compare": {"version": "4.2.0","resolved": "https://registry.npmjs.org/dir-compare/-/dir-compare-4.2.0.tgz",@@ -15364,6 +15264,7 @@"version": "0.1.13","resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz","integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",+ "dev": true,"license": "MIT","optional": true,"dependencies": {@@ -17580,16 +17481,6 @@"node": ">= 0.4"}},- "node_modules/highlight.js": {- "version": "11.11.1",- "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",- "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",- "license": "BSD-3-Clause",- "peer": true,- "engines": {- "node": ">=12.0.0"- }- },"node_modules/hoist-non-react-statics": {"version": "3.3.2","resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",@@ -17683,6 +17574,7 @@"version": "0.6.3","resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz","integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "dev": true,"license": "MIT","optional": true,"dependencies": {@@ -18733,24 +18625,6 @@"dequal": "^2.0.3"}},- "node_modules/json-schema-resolver": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/json-schema-resolver/-/json-schema-resolver-3.0.0.tgz",- "integrity": "sha512-HqMnbz0tz2DaEJ3ntsqtx3ezzZyDE7G56A/pPY/NGmrPu76UzsWquOpHFRAf5beTNXoH2LU5cQePVvRli1nchA==",- "license": "MIT",- "peer": true,- "dependencies": {- "debug": "^4.1.1",- "fast-uri": "^3.0.5",- "rfdc": "^1.1.4"- },- "engines": {- "node": ">=20"- },- "funding": {- "url": "https://github.com/Eomm/json-schema-resolver?sponsor=1"- }- },"node_modules/json-schema-traverse": {"version": "0.4.1","resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",@@ -18892,126 +18766,6 @@"node": ">=20.0.0"}},- "node_modules/langchain": {- "version": "0.3.35",- "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.3.35.tgz",- "integrity": "sha512-OkPstP43L3rgaAk72UAVcXy4BzJSiyzXfJsHRBTx9xD3rRtgrAu/jsWpMcsbFAoNO3iGerK+ULzkTzaBJBz6kg==",- "license": "MIT",- "peer": true,- "dependencies": {- "@langchain/openai": ">=0.1.0 <0.7.0",- "@langchain/textsplitters": ">=0.0.0 <0.2.0",- "js-tiktoken": "^1.0.12",- "js-yaml": "^4.1.0",- "jsonpointer": "^5.0.1",- "langsmith": "^0.3.67",- "openapi-types": "^12.1.3",- "p-retry": "4",- "uuid": "^10.0.0",- "yaml": "^2.2.1",- "zod": "^3.25.32"- },- "engines": {- "node": ">=18"- },- "peerDependencies": {- "@langchain/anthropic": "*",- "@langchain/aws": "*",- "@langchain/cerebras": "*",- "@langchain/cohere": "*",- "@langchain/core": ">=0.3.58 <0.4.0",- "@langchain/deepseek": "*",- "@langchain/google-genai": "*",- "@langchain/google-vertexai": "*",- "@langchain/google-vertexai-web": "*",- "@langchain/groq": "*",- "@langchain/mistralai": "*",- "@langchain/ollama": "*",- "@langchain/xai": "*",- "axios": "*",- "cheerio": "*",- "handlebars": "^4.7.8",- "peggy": "^3.0.2",- "typeorm": "*"- },- "peerDependenciesMeta": {- "@langchain/anthropic": {- "optional": true- },- "@langchain/aws": {- "optional": true- },- "@langchain/cerebras": {- "optional": true- },- "@langchain/cohere": {- "optional": true- },- "@langchain/deepseek": {- "optional": true- },- "@langchain/google-genai": {- "optional": true- },- "@langchain/google-vertexai": {- "optional": true- },- "@langchain/google-vertexai-web": {- "optional": true- },- "@langchain/groq": {- "optional": true- },- "@langchain/mistralai": {- "optional": true- },- "@langchain/ollama": {- "optional": true- },- "@langchain/xai": {- "optional": true- },- "axios": {- "optional": true- },- "cheerio": {- "optional": true- },- "handlebars": {- "optional": true- },- "peggy": {- "optional": true- },- "typeorm": {- "optional": true- }- }- },- "node_modules/langchain/node_modules/uuid": {- "version": "10.0.0",- "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",- "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",- "funding": [- "https://github.com/sponsors/broofa",- "https://github.com/sponsors/ctavan"- ],- "license": "MIT",- "peer": true,- "bin": {- "uuid": "dist/bin/uuid"- }- },- "node_modules/langchain/node_modules/zod": {- "version": "3.25.76",- "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",- "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",- "license": "MIT",- "peer": true,- "funding": {- "url": "https://github.com/sponsors/colinhacks"- }- },"node_modules/langfuse": {"version": "3.38.5","resolved": "https://registry.npmjs.org/langfuse/-/langfuse-3.38.5.tgz",@@ -19218,13 +18972,11 @@"cpu": ["arm64"],- "dev": true,"license": "MPL-2.0","optional": true,"os": ["darwin"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19240,13 +18992,11 @@"cpu": ["x64"],- "dev": true,"license": "MPL-2.0","optional": true,"os": ["darwin"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19268,7 +19018,6 @@"os": ["freebsd"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19290,7 +19039,6 @@"os": ["linux"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19312,7 +19060,6 @@"os": ["linux"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19334,7 +19081,6 @@"os": ["linux"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19350,13 +19096,11 @@"cpu": ["x64"],- "dev": true,"license": "MPL-2.0","optional": true,"os": ["linux"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19372,13 +19116,11 @@"cpu": ["x64"],- "dev": true,"license": "MPL-2.0","optional": true,"os": ["linux"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19400,7 +19142,6 @@"os": ["win32"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19416,13 +19157,11 @@"cpu": ["x64"],- "dev": true,"license": "MPL-2.0","optional": true,"os": ["win32"],- "peer": true,"engines": {"node": ">= 12.0.0"},@@ -19781,22 +19520,6 @@"node": ">=8"}},- "node_modules/lowlight": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-3.3.0.tgz",- "integrity": "sha512-0JNhgFoPvP6U6lE/UdVsSq99tn6DhjjpAj5MxG49ewd2mOBVtwWYIT8ClyABhq198aXXODMU6Ox8DrGy/CpTZQ==",- "license": "MIT",- "peer": true,- "dependencies": {- "@types/hast": "^3.0.0",- "devlop": "^1.0.0",- "highlight.js": "~11.11.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/lru-cache": {"version": "10.4.3","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",@@ -23160,7 +22883,7 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz","integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",- "devOptional": true,+ "dev": true,"license": "MIT"},"node_modules/sax": {@@ -25596,7 +25319,7 @@"version": "7.14.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.14.0.tgz","integrity": "sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==",- "devOptional": true,+ "dev": true,"license": "MIT"},"node_modules/unicode-canonical-property-names-ecmascript": {@@ -25909,9 +25632,9 @@}},"node_modules/vite": {- "version": "7.1.10",- "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.10.tgz",- "integrity": "sha512-CmuvUBzVJ/e3HGxhg6cYk88NGgTnBoOo7ogtfJJ0fefUWAxN/WDSUa50o+oVBxuIhO8FoEZW0j2eW7sfjs5EtA==",+ "version": "7.2.2",+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz",+ "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==","dev": true,"license": "MIT","dependencies": {