Skip to content

Commit

Permalink
langchain[patch],community[patch]: Loosen peer deps (#5583)
Browse files Browse the repository at this point in the history
* langchain[patch],community[patch]: Loosen peer deps

* loosen more deps and cut community rc

* cut rc for langchain and community again

* drop unused google pkg from langchain
  • Loading branch information
bracesproul authored May 29, 2024
1 parent 0cc732e commit 63bd7a4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
3 changes: 1 addition & 2 deletions langchain/langchain.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export const config = {
"notion-to-md/build/utils/notion.js",
"firebase-admin/app",
"firebase-admin/firestore",
"web-auth-library/google",
"@google-ai/generativelanguage/build/protos/protos.js",
"web-auth-library/google"
],
entrypoints: {
load: "load/index",
Expand Down
7 changes: 1 addition & 6 deletions langchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langchain",
"version": "0.2.2",
"version": "0.2.3-rc.0",
"description": "Typescript bindings for langchain",
"type": "module",
"engines": {
Expand Down Expand Up @@ -600,7 +600,6 @@
"@faker-js/faker": "^7.6.0",
"@gomomento/sdk": "^1.51.1",
"@gomomento/sdk-core": "^1.51.1",
"@google-ai/generativelanguage": "^2.5.0",
"@jest/globals": "^29.5.0",
"@langchain/cohere": "^0.0.8",
"@langchain/scripts": "~0.0.14",
Expand Down Expand Up @@ -687,7 +686,6 @@
"@gomomento/sdk": "^1.51.1",
"@gomomento/sdk-core": "^1.51.1",
"@gomomento/sdk-web": "^1.51.1",
"@google-ai/generativelanguage": "^2.5.0",
"@mendable/firecrawl-js": "^0.0.13",
"@notionhq/client": "^2.2.10",
"@pinecone-database/pinecone": "*",
Expand Down Expand Up @@ -757,9 +755,6 @@
"@gomomento/sdk-web": {
"optional": true
},
"@google-ai/generativelanguage": {
"optional": true
},
"@mendable/firecrawl-js": {
"optional": true
},
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-community/langchain.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const config = {
"pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js",
"web-auth-library/google",
"notion-to-md/build/utils/notion.js",
"@getzep/zep-cloud/api"
],
entrypoints: {
load: "load/index",
Expand Down
10 changes: 5 additions & 5 deletions libs/langchain-community/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@langchain/community",
"version": "0.2.3",
"version": "0.2.4-rc.1",
"description": "Third-party integrations for LangChain.js",
"type": "module",
"engines": {
Expand Down Expand Up @@ -46,7 +46,7 @@
"expr-eval": "^2.0.2",
"flat": "^5.0.2",
"js-yaml": "^4.1.0",
"langchain": "~0.2.0",
"langchain": "0.2.3-rc.0",
"langsmith": "~0.1.1",
"uuid": "^9.0.0",
"zod": "^3.22.3",
Expand Down Expand Up @@ -233,11 +233,11 @@
"@datastax/astra-db-ts": "^1.0.0",
"@elastic/elasticsearch": "^8.4.0",
"@getmetal/metal-sdk": "*",
"@getzep/zep-cloud": "~1.0.0",
"@getzep/zep-cloud": "*",
"@getzep/zep-js": "^0.9.0",
"@gomomento/sdk": "^1.51.1",
"@gomomento/sdk-core": "^1.51.1",
"@google-ai/generativelanguage": "^2.5.0",
"@google-ai/generativelanguage": "*",
"@google-cloud/storage": "^6.10.1 || ^7.7.0",
"@gradientai/nodejs-sdk": "^1.2.0",
"@huggingface/inference": "^2.6.4",
Expand Down Expand Up @@ -293,7 +293,7 @@
"epub2": "^3.0.1",
"faiss-node": "^0.5.1",
"firebase-admin": "^11.9.0 || ^12.0.0",
"google-auth-library": "^9.10.0",
"google-auth-library": "*",
"googleapis": "^126.0.1",
"hnswlib-node": "^3.0.0",
"html-to-text": "^9.0.5",
Expand Down
14 changes: 5 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9195,7 +9195,7 @@ __metadata:
js-yaml: ^4.1.0
jsdom: ^22.1.0
jsonwebtoken: ^9.0.2
langchain: ~0.2.0
langchain: 0.2.3-rc.0
langsmith: ~0.1.1
llmonitor: ^0.5.9
lodash: ^4.17.21
Expand Down Expand Up @@ -9254,11 +9254,11 @@ __metadata:
"@datastax/astra-db-ts": ^1.0.0
"@elastic/elasticsearch": ^8.4.0
"@getmetal/metal-sdk": "*"
"@getzep/zep-cloud": ~1.0.0
"@getzep/zep-cloud": "*"
"@getzep/zep-js": ^0.9.0
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@google-ai/generativelanguage": ^2.5.0
"@google-ai/generativelanguage": "*"
"@google-cloud/storage": ^6.10.1 || ^7.7.0
"@gradientai/nodejs-sdk": ^1.2.0
"@huggingface/inference": ^2.6.4
Expand Down Expand Up @@ -9314,7 +9314,7 @@ __metadata:
epub2: ^3.0.1
faiss-node: ^0.5.1
firebase-admin: ^11.9.0 || ^12.0.0
google-auth-library: ^9.10.0
google-auth-library: "*"
googleapis: ^126.0.1
hnswlib-node: ^3.0.0
html-to-text: ^9.0.5
Expand Down Expand Up @@ -27428,7 +27428,7 @@ __metadata:
languageName: node
linkType: hard

"langchain@workspace:*, langchain@workspace:langchain, langchain@~0.2.0":
"langchain@0.2.3-rc.0, langchain@workspace:*, langchain@workspace:langchain":
version: 0.0.0-use.local
resolution: "langchain@workspace:langchain"
dependencies:
Expand All @@ -27443,7 +27443,6 @@ __metadata:
"@faker-js/faker": ^7.6.0
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@google-ai/generativelanguage": ^2.5.0
"@jest/globals": ^29.5.0
"@langchain/cohere": ^0.0.8
"@langchain/core": ~0.2.0
Expand Down Expand Up @@ -27545,7 +27544,6 @@ __metadata:
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@gomomento/sdk-web": ^1.51.1
"@google-ai/generativelanguage": ^2.5.0
"@mendable/firecrawl-js": ^0.0.13
"@notionhq/client": ^2.2.10
"@pinecone-database/pinecone": "*"
Expand Down Expand Up @@ -27605,8 +27603,6 @@ __metadata:
optional: true
"@gomomento/sdk-web":
optional: true
"@google-ai/generativelanguage":
optional: true
"@mendable/firecrawl-js":
optional: true
"@notionhq/client":
Expand Down

0 comments on commit 63bd7a4

Please sign in to comment.