From 1414c9d93a0f7a1212c82e916e5cc8687e83dc53 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:48:17 +0000 Subject: [PATCH] fix(deps): update dependency langchain to v0.3.2 --- apps/core/package.json | 2 +- pnpm-lock.yaml | 156 ++--------------------------------------- 2 files changed, 8 insertions(+), 150 deletions(-) diff --git a/apps/core/package.json b/apps/core/package.json index 1ae1f01d9af..6ef3b02d48f 100644 --- a/apps/core/package.json +++ b/apps/core/package.json @@ -103,7 +103,7 @@ "json5": "2.2.3", "jsonwebtoken": "9.0.2", "jszip": "3.10.1", - "langchain": "0.2.20", + "langchain": "0.3.2", "linkedom": "0.18.5", "lodash": "^4.17.21", "lru-cache": "11.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 64ab53d92cd..2fab58dfe07 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -229,8 +229,8 @@ importers: specifier: 3.10.1 version: 3.10.1 langchain: - specifier: 0.2.20 - version: 0.2.20(@aws-sdk/client-s3@3.654.0)(@aws-sdk/credential-provider-node@3.654.0(@aws-sdk/client-sso-oidc@3.654.0(@aws-sdk/client-sts@3.654.0))(@aws-sdk/client-sts@3.654.0))(axios@1.7.7)(encoding@0.1.13)(fast-xml-parser@4.4.1)(ignore@5.3.2)(ioredis@5.4.1)(mongodb@6.9.0(socks@2.8.3))(openai@4.61.1(encoding@0.1.13)(zod@3.23.8))(ws@8.17.1) + specifier: 0.3.2 + version: 0.3.2(@langchain/core@0.3.3(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)))(axios@1.7.7)(encoding@0.1.13)(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)) linkedom: specifier: 0.18.5 version: 0.18.5 @@ -4575,87 +4575,25 @@ packages: keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} - langchain@0.2.20: - resolution: {integrity: sha512-tbels6Rr524iMM3VOQ4aTGnEOOjAA1BQuBR8u/8gJ2yT48lMtIQRAN32Y4KVjKK+hEWxHHlmLBrtgLpTphFjNA==} + langchain@0.3.2: + resolution: {integrity: sha512-kd2kz1cS/PIVrLEDFlrZsAasQfPLbY1UqCZbRKa3/QcpB33/n6xPDvXSMfBuKhvNj0bjW6MXDR9HZTduXjJBgg==} engines: {node: '>=18'} peerDependencies: - '@aws-sdk/client-s3': '*' - '@aws-sdk/client-sagemaker-runtime': '*' - '@aws-sdk/client-sfn': '*' - '@aws-sdk/credential-provider-node': '*' - '@azure/storage-blob': '*' - '@browserbasehq/sdk': '*' - '@gomomento/sdk': '*' - '@gomomento/sdk-core': '*' - '@gomomento/sdk-web': ^1.51.1 '@langchain/anthropic': '*' '@langchain/aws': '*' '@langchain/cohere': '*' + '@langchain/core': '>=0.2.21 <0.4.0' '@langchain/google-genai': '*' '@langchain/google-vertexai': '*' '@langchain/groq': '*' '@langchain/mistralai': '*' '@langchain/ollama': '*' - '@mendable/firecrawl-js': '*' - '@notionhq/client': '*' - '@pinecone-database/pinecone': '*' - '@supabase/supabase-js': '*' - '@vercel/kv': '*' - '@xata.io/client': '*' - apify-client: '*' - assemblyai: '*' axios: '*' cheerio: '*' - chromadb: '*' - convex: '*' - couchbase: '*' - d3-dsv: '*' - epub2: '*' - faiss-node: '*' - fast-xml-parser: '*' handlebars: ^4.7.8 - html-to-text: '*' - ignore: '*' - ioredis: '*' - jsdom: '*' - mammoth: '*' - mongodb: 6.9.0 - node-llama-cpp: '*' - notion-to-md: '*' - officeparser: '*' - pdf-parse: '*' peggy: ^3.0.2 - playwright: '*' - puppeteer: '*' - pyodide: '>=0.24.1 <0.27.0' - redis: '*' - sonix-speech-recognition: '*' - srt-parser-2: '*' typeorm: '*' - weaviate-ts-client: '*' - web-auth-library: '*' - ws: '*' - youtube-transcript: '*' - youtubei.js: '*' peerDependenciesMeta: - '@aws-sdk/client-s3': - optional: true - '@aws-sdk/client-sagemaker-runtime': - optional: true - '@aws-sdk/client-sfn': - optional: true - '@aws-sdk/credential-provider-node': - optional: true - '@azure/storage-blob': - optional: true - '@browserbasehq/sdk': - optional: true - '@gomomento/sdk': - optional: true - '@gomomento/sdk-core': - optional: true - '@gomomento/sdk-web': - optional: true '@langchain/anthropic': optional: true '@langchain/aws': @@ -4672,88 +4610,16 @@ packages: optional: true '@langchain/ollama': optional: true - '@mendable/firecrawl-js': - optional: true - '@notionhq/client': - optional: true - '@pinecone-database/pinecone': - optional: true - '@supabase/supabase-js': - optional: true - '@vercel/kv': - optional: true - '@xata.io/client': - optional: true - apify-client: - optional: true - assemblyai: - optional: true axios: optional: true cheerio: optional: true - chromadb: - optional: true - convex: - optional: true - couchbase: - optional: true - d3-dsv: - optional: true - epub2: - optional: true - faiss-node: - optional: true - fast-xml-parser: - optional: true handlebars: optional: true - html-to-text: - optional: true - ignore: - optional: true - ioredis: - optional: true - jsdom: - optional: true - mammoth: - optional: true - mongodb: - optional: true - node-llama-cpp: - optional: true - notion-to-md: - optional: true - officeparser: - optional: true - pdf-parse: - optional: true peggy: optional: true - playwright: - optional: true - puppeteer: - optional: true - pyodide: - optional: true - redis: - optional: true - sonix-speech-recognition: - optional: true - srt-parser-2: - optional: true typeorm: optional: true - weaviate-ts-client: - optional: true - web-auth-library: - optional: true - ws: - optional: true - youtube-transcript: - optional: true - youtubei.js: - optional: true langsmith@0.1.56: resolution: {integrity: sha512-uli1q9zm0tCCPh4iQShjoI+642QGcGL8r1xcKl+/5dO6OzOxtsF7m7UiSkGMs410tWcAHIuQq257AxYB50NslA==} @@ -11663,12 +11529,11 @@ snapshots: dependencies: json-buffer: 3.0.1 - langchain@0.2.20(@aws-sdk/client-s3@3.654.0)(@aws-sdk/credential-provider-node@3.654.0(@aws-sdk/client-sso-oidc@3.654.0(@aws-sdk/client-sts@3.654.0))(@aws-sdk/client-sts@3.654.0))(axios@1.7.7)(encoding@0.1.13)(fast-xml-parser@4.4.1)(ignore@5.3.2)(ioredis@5.4.1)(mongodb@6.9.0(socks@2.8.3))(openai@4.61.1(encoding@0.1.13)(zod@3.23.8))(ws@8.17.1): + langchain@0.3.2(@langchain/core@0.3.3(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)))(axios@1.7.7)(encoding@0.1.13)(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)): dependencies: - '@langchain/core': 0.2.34(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)) + '@langchain/core': 0.3.3(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)) '@langchain/openai': 0.2.11(encoding@0.1.13) '@langchain/textsplitters': 0.0.3(openai@4.61.1(encoding@0.1.13)(zod@3.23.8)) - binary-extensions: 2.3.0 js-tiktoken: 1.0.14 js-yaml: 4.1.0 jsonpointer: 5.0.1 @@ -11680,14 +11545,7 @@ snapshots: zod: 3.23.8 zod-to-json-schema: 3.23.2(zod@3.23.8) optionalDependencies: - '@aws-sdk/client-s3': 3.654.0 - '@aws-sdk/credential-provider-node': 3.654.0(@aws-sdk/client-sso-oidc@3.654.0(@aws-sdk/client-sts@3.654.0))(@aws-sdk/client-sts@3.654.0) axios: 1.7.7 - fast-xml-parser: 4.4.1 - ignore: 5.3.2 - ioredis: 5.4.1 - mongodb: 6.9.0(socks@2.8.3) - ws: 8.17.1 transitivePeerDependencies: - encoding - openai