diff --git a/package-lock.json b/package-lock.json index 8911fa0..9b5e9ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@langchain/community": "^0.2.4", + "@langchain/community": "^0.3.0", "glob": "^11.0.0", "zod": "^3.23.8" }, @@ -1045,19 +1045,18 @@ } }, "node_modules/@langchain/community": { - "version": "0.2.31", - "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.2.31.tgz", - "integrity": "sha512-UayfsFyxHBLGnc9nODLupC46lvTMssYkfmFalMKqWAWQLWPEKOcDriy8Dg8+0MBME/y7SzqlCniEeEvml16hog==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.4.tgz", + "integrity": "sha512-CLHjqxjWQnujofE40JNGsZuEruf0JCUxplbqNJoLKxbyx9JUD6kUnOpdoIuyywZWyBKwbLWZdCymlGzjokt3XQ==", "license": "MIT", "dependencies": { - "@langchain/core": ">=0.2.21 <0.3.0", - "@langchain/openai": ">=0.2.0 <0.3.0", + "@langchain/openai": ">=0.2.0 <0.4.0", "binary-extensions": "^2.2.0", "expr-eval": "^2.0.2", "flat": "^5.0.2", "js-yaml": "^4.1.0", - "langchain": "~0.2.3", - "langsmith": "~0.1.30", + "langchain": ">=0.2.3 <0.4.0", + "langsmith": "~0.1.56", "uuid": "^10.0.0", "zod": "^3.22.3", "zod-to-json-schema": "^3.22.5" @@ -1066,6 +1065,7 @@ "node": ">=18" }, "peerDependencies": { + "@arcjet/redact": "^v1.0.0-alpha.23", "@aws-crypto/sha256-js": "^5.0.0", "@aws-sdk/client-bedrock-agent-runtime": "^3.583.0", "@aws-sdk/client-bedrock-runtime": "^3.422.0", @@ -1092,10 +1092,10 @@ "@google-cloud/storage": "^6.10.1 || ^7.7.0", "@gradientai/nodejs-sdk": "^1.2.0", "@huggingface/inference": "^2.6.4", - "@langchain/langgraph": "*", + "@langchain/core": ">=0.2.21 <0.4.0", "@layerup/layerup-security": "^1.5.12", "@mendable/firecrawl-js": "^0.0.13", - "@mlc-ai/web-llm": "0.2.46", + "@mlc-ai/web-llm": "*", "@mozilla/readability": "*", "@neondatabase/serverless": "*", "@notionhq/client": "^2.2.10", @@ -1115,7 +1115,7 @@ "@tensorflow-models/universal-sentence-encoder": "*", "@tensorflow/tfjs-converter": "*", "@tensorflow/tfjs-core": "*", - "@upstash/ratelimit": "^1.1.3", + "@upstash/ratelimit": "^1.1.3 || ^2.0.3", "@upstash/redis": "^1.20.6", "@upstash/vector": "^1.1.1", "@vercel/kv": "^0.2.3", @@ -1136,7 +1136,6 @@ "closevector-web": "0.1.6", "cohere-ai": "*", "convex": "^1.3.1", - "couchbase": "^4.3.0", "crypto-js": "^4.2.0", "d3-dsv": "^2.0.0", "discord.js": "^14.14.1", @@ -1162,7 +1161,6 @@ "mongodb": ">=5.2.0", "mysql2": "^3.9.8", "neo4j-driver": "*", - "node-llama-cpp": "*", "notion-to-md": "^3.1.0", "officeparser": "^4.0.4", "pdf-parse": "1.1.1", @@ -1172,6 +1170,7 @@ "playwright": "^1.32.1", "portkey-ai": "^0.1.11", "puppeteer": "*", + "pyodide": ">=0.24.1 <0.27.0", "redis": "*", "replicate": "^0.29.4", "sonix-speech-recognition": "^2.1.1", @@ -1188,6 +1187,9 @@ "youtubei.js": "^9.1.0" }, "peerDependenciesMeta": { + "@arcjet/redact": { + "optional": true + }, "@aws-crypto/sha256-js": { "optional": true }, @@ -1266,9 +1268,6 @@ "@huggingface/inference": { "optional": true }, - "@langchain/langgraph": { - "optional": true - }, "@layerup/layerup-security": { "optional": true }, @@ -1398,9 +1397,6 @@ "convex": { "optional": true }, - "couchbase": { - "optional": true - }, "crypto-js": { "optional": true }, @@ -1476,9 +1472,6 @@ "neo4j-driver": { "optional": true }, - "node-llama-cpp": { - "optional": true - }, "notion-to-md": { "optional": true }, @@ -1506,6 +1499,9 @@ "puppeteer": { "optional": true }, + "pyodide": { + "optional": true + }, "redis": { "optional": true }, @@ -1551,19 +1547,21 @@ } }, "node_modules/@langchain/community/node_modules/@langchain/openai": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.2.7.tgz", - "integrity": "sha512-f2XDXbExJf4SYsy17QSiq0YY/UWJXhJwoiS8uRi/gBa20zBQ8+bBFRnb9vPdLkOkGiaTy+yXZVFro3a9iW2r3w==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.3.7.tgz", + "integrity": "sha512-3Jhyy2uKkymYu1iVK18sG2ASZVg0EQcmtTuEPVnrrFGYJ0EIPufejm6bE1ebOHZRc50kSxQwRFCAGrMatNtUiQ==", "license": "MIT", "dependencies": { - "@langchain/core": ">=0.2.26 <0.3.0", "js-tiktoken": "^1.0.12", - "openai": "^4.55.0", + "openai": "^4.67.2", "zod": "^3.22.4", "zod-to-json-schema": "^3.22.3" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@langchain/core": ">=0.2.26 <0.4.0" } }, "node_modules/@langchain/community/node_modules/js-yaml": { @@ -1884,9 +1882,10 @@ "dev": true }, "node_modules/@types/uuid": { - "version": "9.0.8", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", - "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", + "license": "MIT" }, "node_modules/@types/yargs": { "version": "17.0.32", @@ -4202,30 +4201,22 @@ "integrity": "sha512-WnKI4g9kU2bHQP136orXr2bcRdgz9iiTBpTN0jWt9IlScUKnJBoD0aa2HOzHURQKeQDnt2JwqVmQ6Depf5uDLQ==" }, "node_modules/langsmith": { - "version": "0.1.45", - "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.1.45.tgz", - "integrity": "sha512-ufgPYOTsZDYIYCStHx8gGJX5jLbk1GhFDxEDyycCicPFxlG40et53J9tYdaZ+MTBUCMexs9eKXCmvxBaUt9wrg==", + "version": "0.1.63", + "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.1.63.tgz", + "integrity": "sha512-9YEwBxc0B0P3BUUYnPYfrr64daWQkjfSqq+7otT+05zc72su493egRlzhALd38AQeHJAKVgyGqwKWiJC4JQWtQ==", "license": "MIT", "dependencies": { - "@types/uuid": "^9.0.1", + "@types/uuid": "^10.0.0", "commander": "^10.0.1", "p-queue": "^6.6.2", "p-retry": "4", "semver": "^7.6.3", - "uuid": "^9.0.0" + "uuid": "^10.0.0" }, "peerDependencies": { - "@langchain/core": "*", - "langchain": "*", "openai": "*" }, "peerDependenciesMeta": { - "@langchain/core": { - "optional": true - }, - "langchain": { - "optional": true - }, "openai": { "optional": true } @@ -4243,6 +4234,19 @@ "node": ">=10" } }, + "node_modules/langsmith/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", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -4715,9 +4719,9 @@ } }, "node_modules/openai": { - "version": "4.55.3", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.55.3.tgz", - "integrity": "sha512-/IUDdK5w3aB1Kd88Ml7w5F+EkVM5aXlrY+lSpWXdIPL18CmGkC7lV9HFJ7beR0OUSFLFT0qmWvMynqtbMF06/Q==", + "version": "4.67.3", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.67.3.tgz", + "integrity": "sha512-HT2tZgjLgRqbLQNKmYtjdF/4TQuiBvg1oGvTDhwpSEQzxo6/oM1us8VQ53vBK2BiKvCxFuq6gKGG70qfwrNhKg==", "license": "Apache-2.0", "dependencies": { "@types/node": "^18.11.18", diff --git a/package.json b/package.json index 3655cec..d1e7cfe 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "markdownlint-cli2": "^0.13.0" }, "dependencies": { - "@langchain/community": "^0.2.4", + "@langchain/community": "^0.3.0", "glob": "^11.0.0", "zod": "^3.23.8" }