[PR #1216] [MERGED] deps(langgraph): upgrade to TypeScript 5.8.x #1307

Closed
opened 2026-02-15 20:15:12 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1216
Author: @dqbd
Created: 5/24/2025
Status: Merged
Merged: 5/24/2025
Merged by: @dqbd

Base: mainHead: dqbd/ts-5.8


📝 Commits (1)

  • 4bf7505 deps(langgraph): upgrade to TypeScript 5.8.x

📊 Changes

23 files changed (+32 additions, -21 deletions)

View changed files

📝 libs/checkpoint-mongodb/tsconfig.cjs.json (+1 -0)
📝 libs/checkpoint-mongodb/tsconfig.json (+1 -1)
📝 libs/checkpoint-postgres/tsconfig.cjs.json (+1 -0)
📝 libs/checkpoint-postgres/tsconfig.json (+1 -1)
📝 libs/checkpoint-sqlite/tsconfig.cjs.json (+1 -0)
📝 libs/checkpoint-sqlite/tsconfig.json (+1 -1)
📝 libs/checkpoint-validation/tsconfig.cjs.json (+1 -0)
📝 libs/checkpoint-validation/tsconfig.json (+1 -1)
📝 libs/checkpoint/tsconfig.cjs.json (+1 -0)
📝 libs/checkpoint/tsconfig.json (+1 -1)
📝 libs/langgraph-cua/tsconfig.cjs.json (+1 -0)
📝 libs/langgraph-cua/tsconfig.json (+1 -1)
📝 libs/langgraph-supervisor/tsconfig.cjs.json (+1 -0)
📝 libs/langgraph-supervisor/tsconfig.json (+1 -1)
📝 libs/langgraph-swarm/src/swarm.test.ts (+1 -1)
📝 libs/langgraph-swarm/tsconfig.cjs.json (+1 -0)
📝 libs/langgraph-swarm/tsconfig.json (+1 -1)
📝 libs/langgraph/src/constants.ts (+3 -2)
📝 libs/langgraph/src/pregel/algo.ts (+2 -0)
📝 libs/langgraph/tsconfig.cjs.json (+1 -0)

...and 3 more files

📄 Description

Turns out that moduleResolution: node10 will achieve the same result as setting src/package.json to {} (verified via git worktrees).

Also switching moduleResolution: bundler for ESM build, after which I've compared the build output of libs/checkpoint via diff -r -q.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/1216 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 5/24/2025 **Status:** ✅ Merged **Merged:** 5/24/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/ts-5.8` --- ### 📝 Commits (1) - [`4bf7505`](https://github.com/langchain-ai/langgraphjs/commit/4bf750557f6d4b0be57ed36971511b2a50401e09) deps(langgraph): upgrade to TypeScript 5.8.x ### 📊 Changes **23 files changed** (+32 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint-mongodb/tsconfig.cjs.json` (+1 -0) 📝 `libs/checkpoint-mongodb/tsconfig.json` (+1 -1) 📝 `libs/checkpoint-postgres/tsconfig.cjs.json` (+1 -0) 📝 `libs/checkpoint-postgres/tsconfig.json` (+1 -1) 📝 `libs/checkpoint-sqlite/tsconfig.cjs.json` (+1 -0) 📝 `libs/checkpoint-sqlite/tsconfig.json` (+1 -1) 📝 `libs/checkpoint-validation/tsconfig.cjs.json` (+1 -0) 📝 `libs/checkpoint-validation/tsconfig.json` (+1 -1) 📝 `libs/checkpoint/tsconfig.cjs.json` (+1 -0) 📝 `libs/checkpoint/tsconfig.json` (+1 -1) 📝 `libs/langgraph-cua/tsconfig.cjs.json` (+1 -0) 📝 `libs/langgraph-cua/tsconfig.json` (+1 -1) 📝 `libs/langgraph-supervisor/tsconfig.cjs.json` (+1 -0) 📝 `libs/langgraph-supervisor/tsconfig.json` (+1 -1) 📝 `libs/langgraph-swarm/src/swarm.test.ts` (+1 -1) 📝 `libs/langgraph-swarm/tsconfig.cjs.json` (+1 -0) 📝 `libs/langgraph-swarm/tsconfig.json` (+1 -1) 📝 `libs/langgraph/src/constants.ts` (+3 -2) 📝 `libs/langgraph/src/pregel/algo.ts` (+2 -0) 📝 `libs/langgraph/tsconfig.cjs.json` (+1 -0) _...and 3 more files_ </details> ### 📄 Description Turns out that `moduleResolution: node10` will achieve the same result as setting `src/package.json` to `{}` (verified via git worktrees). Also switching `moduleResolution: bundler` for ESM build, after which I've compared the build output of `libs/checkpoint` via `diff -r -q`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:12 -05:00
yindo closed this issue 2026-02-15 20:15:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1307