From d916fcd14a2b5941c11d4bbda6dc252b50990e74 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Thu, 22 Aug 2024 11:57:26 -0700 Subject: [PATCH] community[patch]: Relax LangGraph dep (#6596) --- libs/langchain-community/package.json | 2 +- .../tests/checkpointer.int.test.ts | 2 ++ yarn.lock | 20 +++++++++---------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/libs/langchain-community/package.json b/libs/langchain-community/package.json index 697618778bf8..39547db6b2db 100644 --- a/libs/langchain-community/package.json +++ b/libs/langchain-community/package.json @@ -78,7 +78,7 @@ "@gradientai/nodejs-sdk": "^1.2.0", "@huggingface/inference": "^2.6.4", "@jest/globals": "^29.5.0", - "@langchain/langgraph": "<0.1.0", + "@langchain/langgraph": "*", "@langchain/scripts": "^0.0.23", "@langchain/standard-tests": "0.0.0", "@layerup/layerup-security": "^1.5.12", diff --git a/libs/langchain-community/src/langgraph/checkpointers/tests/checkpointer.int.test.ts b/libs/langchain-community/src/langgraph/checkpointers/tests/checkpointer.int.test.ts index 5037115f7e16..59596040080a 100644 --- a/libs/langchain-community/src/langgraph/checkpointers/tests/checkpointer.int.test.ts +++ b/libs/langchain-community/src/langgraph/checkpointers/tests/checkpointer.int.test.ts @@ -20,6 +20,7 @@ const checkpoint1: Checkpoint = { someKey4: 1, }, }, + pending_sends: [], }; const checkpoint2: Checkpoint = { @@ -37,6 +38,7 @@ const checkpoint2: Checkpoint = { someKey4: 2, }, }, + pending_sends: [], }; describe("VercelKVSaver", () => { diff --git a/yarn.lock b/yarn.lock index 9614b9c2b4bf..c2c007140bf3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11179,7 +11179,7 @@ __metadata: "@huggingface/inference": ^2.6.4 "@jest/globals": ^29.5.0 "@langchain/core": ">=0.2.21 <0.3.0" - "@langchain/langgraph": <0.1.0 + "@langchain/langgraph": "*" "@langchain/openai": ">=0.2.0 <0.3.0" "@langchain/scripts": ^0.0.23 "@langchain/standard-tests": 0.0.0 @@ -12010,11 +12010,11 @@ __metadata: languageName: unknown linkType: soft -"@langchain/langgraph@npm:0.0.28, @langchain/langgraph@npm:^0.0.28": - version: 0.0.28 - resolution: "@langchain/langgraph@npm:0.0.28" +"@langchain/langgraph@npm:*": + version: 0.0.34 + resolution: "@langchain/langgraph@npm:0.0.34" dependencies: - "@langchain/core": ">=0.2.16 <0.3.0" + "@langchain/core": ">=0.2.20 <0.3.0" uuid: ^10.0.0 zod: ^3.23.8 peerDependencies: @@ -12022,13 +12022,13 @@ __metadata: peerDependenciesMeta: better-sqlite3: optional: true - checksum: 1465791026ccd6eaa13a2f2d03b8fb9f0972a8c23b9da1cfd581074f413ea60ef860de6d704c6a3b49f7425f23d6ba49c23255167ae83ab7d70dc00cc0560ce2 + checksum: efa3c6b4eb40fdeb696531fe63f1f8e2b5d23b7adfc9404103cc9265db4aab6caee7de9ba1e01e14f2765d98a8b536bfbc473795543b0314e84c72b3b349a258 languageName: node linkType: hard -"@langchain/langgraph@npm:<0.1.0": - version: 0.0.29 - resolution: "@langchain/langgraph@npm:0.0.29" +"@langchain/langgraph@npm:0.0.28, @langchain/langgraph@npm:^0.0.28": + version: 0.0.28 + resolution: "@langchain/langgraph@npm:0.0.28" dependencies: "@langchain/core": ">=0.2.16 <0.3.0" uuid: ^10.0.0 @@ -12038,7 +12038,7 @@ __metadata: peerDependenciesMeta: better-sqlite3: optional: true - checksum: 5a5ed8106efb7b623c26537d7dcb3762b86fdeb2004ebd3dbbe79c6036da318a2bebe904730a7d5376b78d0e03e523e31070824899716d1fa583bed1d05c14e4 + checksum: 1465791026ccd6eaa13a2f2d03b8fb9f0972a8c23b9da1cfd581074f413ea60ef860de6d704c6a3b49f7425f23d6ba49c23255167ae83ab7d70dc00cc0560ce2 languageName: node linkType: hard