From 271f2a2a904925f8c14577ba23aff62c7d84945e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 21 Aug 2024 07:22:44 +0000 Subject: [PATCH] fix: upgrade langchain from 0.2.11 to 0.2.12 Snyk has created this PR to upgrade langchain from 0.2.11 to 0.2.12. See this package in npm: langchain See this project in Snyk: https://app.snyk.io/org/prathik2401/project/11631ac9-6f0c-4c9c-99a3-dfe284d826ff?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 85 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 42 insertions(+), 45 deletions(-) diff --git a/package-lock.json b/package-lock.json index eb7da43..a10aa01 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@langchain/core": "^0.2.12", "@langchain/google-genai": "^0.0.23", "@prisma/client": "^5.17.0", - "langchain": "^0.2.11", + "langchain": "^0.2.12", "next": "14.2.5", "react": "^18", "react-dom": "^18", @@ -5716,9 +5716,9 @@ } }, "node_modules/langchain": { - "version": "0.2.11", - "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.2.11.tgz", - "integrity": "sha512-6FQWKNAXuTmwuhHHMOmurLo8pydSRu5C/FwCYvYbR4ulCLqcsj+jre/kfXvA5BdHOZHNo6oQn0/5kxDNnhxMUA==", + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.2.12.tgz", + "integrity": "sha512-ZHtJrHUpridZ7IQu7N/wAQ6iMAAO7VLzkupHqKP79S6p+alrPbn1BjRnh+PeGm92YiY5DafTCuvchmujxx7bCQ==", "license": "MIT", "dependencies": { "@langchain/core": ">=0.2.11 <0.3.0", @@ -5742,14 +5742,14 @@ "node": ">=18" }, "peerDependencies": { - "@aws-sdk/client-s3": "^3.310.0", - "@aws-sdk/client-sagemaker-runtime": "^3.310.0", - "@aws-sdk/client-sfn": "^3.310.0", - "@aws-sdk/credential-provider-node": "^3.388.0", - "@azure/storage-blob": "^12.15.0", + "@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": "^1.51.1", - "@gomomento/sdk-core": "^1.51.1", + "@gomomento/sdk": "*", + "@gomomento/sdk-core": "*", "@gomomento/sdk-web": "^1.51.1", "@langchain/anthropic": "*", "@langchain/aws": "*", @@ -5760,46 +5760,46 @@ "@langchain/groq": "*", "@langchain/mistralai": "*", "@langchain/ollama": "*", - "@mendable/firecrawl-js": "^0.0.13", - "@notionhq/client": "^2.2.10", + "@mendable/firecrawl-js": "*", + "@notionhq/client": "*", "@pinecone-database/pinecone": "*", - "@supabase/supabase-js": "^2.10.0", - "@vercel/kv": "^0.2.3", - "@xata.io/client": "^0.28.0", - "apify-client": "^2.7.1", - "assemblyai": "^4.6.0", + "@supabase/supabase-js": "*", + "@vercel/kv": "*", + "@xata.io/client": "*", + "apify-client": "*", + "assemblyai": "*", "axios": "*", - "cheerio": "^1.0.0-rc.12", + "cheerio": "*", "chromadb": "*", - "convex": "^1.3.1", - "couchbase": "^4.3.0", - "d3-dsv": "^2.0.0", - "epub2": "^3.0.1", + "convex": "*", + "couchbase": "*", + "d3-dsv": "*", + "epub2": "*", "fast-xml-parser": "*", "handlebars": "^4.7.8", - "html-to-text": "^9.0.5", - "ignore": "^5.2.0", - "ioredis": "^5.3.2", + "html-to-text": "*", + "ignore": "*", + "ioredis": "*", "jsdom": "*", - "mammoth": "^1.6.0", - "mongodb": ">=5.2.0", + "mammoth": "*", + "mongodb": "*", "node-llama-cpp": "*", - "notion-to-md": "^3.1.0", - "officeparser": "^4.0.4", - "pdf-parse": "1.1.1", + "notion-to-md": "*", + "officeparser": "*", + "pdf-parse": "*", "peggy": "^3.0.2", - "playwright": "^1.32.1", - "puppeteer": "^19.7.2", + "playwright": "*", + "puppeteer": "*", "pyodide": "^0.24.1", - "redis": "^4.6.4", - "sonix-speech-recognition": "^2.1.1", - "srt-parser-2": "^1.2.3", - "typeorm": "^0.3.20", + "redis": "*", + "sonix-speech-recognition": "*", + "srt-parser-2": "*", + "typeorm": "*", "weaviate-ts-client": "*", - "web-auth-library": "^1.0.3", - "ws": "^8.14.2", - "youtube-transcript": "^1.0.6", - "youtubei.js": "^9.1.0" + "web-auth-library": "*", + "ws": "*", + "youtube-transcript": "*", + "youtubei.js": "*" }, "peerDependenciesMeta": { "@aws-sdk/client-s3": { @@ -5847,9 +5847,6 @@ "@langchain/google-vertexai": { "optional": true }, - "@langchain/google-vertexai-web": { - "optional": true - }, "@langchain/groq": { "optional": true }, diff --git a/package.json b/package.json index 325afac..3f5bc2c 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@langchain/google-genai": "^0.0.23", "@langchain/core": "^0.2.12", "@clerk/nextjs": "^5.2.8", - "langchain": "^0.2.11", + "langchain": "^0.2.12", "@prisma/client": "^5.17.0", "next": "14.2.5", "react": "^18",