[Snyk] Security upgrade langchain from 0.0.163 to 0.1.29#17
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-EXPREVAL-13508636
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "hnswlib-node": "1.4.2", | ||
| "html-to-text": "^9.0.5", | ||
| "langchain": "^0.0.163", | ||
| "langchain": "^0.1.29", |
There was a problem hiding this comment.
Upgrade langchain to 0.1.29 without API migration breaks build
Bumping langchain to ^0.1.29 pulls in the new 0.1.x release where provider code was split into packages like @langchain/openai and @langchain/community; the old entrypoints langchain/llms/openai, embeddings/openai, vectorstores/hnswlib, and document loaders are no longer exported. The current code still imports those paths (e.g., src/index.ts lines 3–14 and src/lib/contextManager.ts lines 3–13), so installing dependencies and running the app will fail immediately with module-not-found/compile errors. Either revert to 0.0.x or migrate the imports and add the new packages before upgrading.
Useful? React with 👍 / 👎.
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-EXPREVAL-13508636
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution