🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@langchain/langgraph

Package Overview
Dependencies
Maintainers
2
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/langgraph - npm Package Compare versions

Comparing version
1.4.7
to
1.4.8
+11
-0
dist/pregel/loop.cjs

@@ -173,2 +173,12 @@ const require_constants = require("../constants.cjs");

}
/**
* Wait for persistence work scheduled by this run up to this point.
*
* Taking a snapshot keeps the barrier scoped to the completed superstep:
* persistence scheduled later cannot extend it, while failures from the
* captured work are propagated at the superstep boundary.
*/
async _awaitCheckpointerPromises() {
await Promise.all([...this.checkpointerPromises]);
}
store;

@@ -466,2 +476,3 @@ cache;

await this._putCheckpoint({ source: "loop" });
if (this.durability === "sync") await this._awaitCheckpointerPromises();
this._emitValuesWithCheckpointMeta(valuesOutput);

@@ -468,0 +479,0 @@ if (require_algo.shouldInterrupt(this.checkpoint, this.interruptAfter, finishTaskList)) {

@@ -173,2 +173,12 @@ import { CONFIG_KEY_CHECKPOINT_ID, CONFIG_KEY_CHECKPOINT_MAP, CONFIG_KEY_CHECKPOINT_NS, CONFIG_KEY_READ, CONFIG_KEY_REPLAY_STATE, CONFIG_KEY_RESUME_MAP, CONFIG_KEY_RESUMING, CONFIG_KEY_SCRATCHPAD, CONFIG_KEY_STREAM, ERROR, INPUT, INTERRUPT, NULL_TASK_ID, PUSH, RESUME, _isOverwriteValue, _isSend, isCommand } from "../constants.js";

}
/**
* Wait for persistence work scheduled by this run up to this point.
*
* Taking a snapshot keeps the barrier scoped to the completed superstep:
* persistence scheduled later cannot extend it, while failures from the
* captured work are propagated at the superstep boundary.
*/
async _awaitCheckpointerPromises() {
await Promise.all([...this.checkpointerPromises]);
}
store;

@@ -466,2 +476,3 @@ cache;

await this._putCheckpoint({ source: "loop" });
if (this.durability === "sync") await this._awaitCheckpointerPromises();
this._emitValuesWithCheckpointMeta(valuesOutput);

@@ -468,0 +479,0 @@ if (shouldInterrupt(this.checkpoint, this.interruptAfter, finishTaskList)) {

+9
-9
{
"name": "@langchain/langgraph",
"version": "1.4.7",
"version": "1.4.8",
"description": "LangGraph",

@@ -22,3 +22,3 @@ "type": "module",

"@langchain/langgraph-checkpoint": "^1.1.3",
"@langchain/langgraph-sdk": "~1.9.25"
"@langchain/langgraph-sdk": "~1.9.26"
},

@@ -30,5 +30,5 @@ "peerDependencies": {

"devDependencies": {
"@langchain/anthropic": "^1.4.0",
"@langchain/anthropic": "^1.5.1",
"@langchain/core": "^1.2.1",
"@langchain/openai": "^1.4.7",
"@langchain/openai": "^1.5.3",
"@langchain/scripts": ">=0.1.3 <0.2.0",

@@ -41,3 +41,3 @@ "@langchain/tavily": "^1.0.0",

"@vitest/browser": "^4.1.9",
"@vitest/browser-playwright": "^4.1.8",
"@vitest/browser-playwright": "^4.1.9",
"@xenova/transformers": "^2.17.2",

@@ -47,3 +47,3 @@ "cheerio": "1.0.0-rc.12",

"dpdm": "^3.12.0",
"langchain": "^1.5.1",
"langchain": "^1.5.2",
"pg": "^8.13.0",

@@ -55,5 +55,5 @@ "playwright": "^1.55.1",

"vite-plugin-node-polyfills": "^0.28.0",
"vitest": "^4.1.0",
"@langchain/langgraph-checkpoint-sqlite": "1.0.3",
"@langchain/langgraph-checkpoint-postgres": "1.0.4"
"vitest": "^4.1.9",
"@langchain/langgraph-checkpoint-postgres": "1.0.4",
"@langchain/langgraph-checkpoint-sqlite": "1.0.3"
},

@@ -60,0 +60,0 @@ "publishConfig": {

<div align="center">
<a href="https://www.langchain.com/langgraph">
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/images/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset=".github/images/logo-light.svg">
<img alt="LangGraph Logo" src=".github/images/logo-dark.svg" width="50%">
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/langchain-ai/langgraphjs/HEAD/.github/images/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/langchain-ai/langgraphjs/HEAD/.github/images/logo-light.svg">
<img alt="LangGraph Logo" src="https://raw.githubusercontent.com/langchain-ai/langgraphjs/HEAD/.github/images/logo-dark.svg" width="50%">
</picture>

@@ -8,0 +8,0 @@ </a>

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display