Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: bump langchain anthropic (#9087)

Hassieb Pakzad2e698c8ec060
diff --git a/packages/shared/package.json b/packages/shared/package.json
index e8e682e8c2..c138d7a90b 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -63,7 +63,7 @@
"@azure/storage-blob": "^12.26.0",
"@clickhouse/client": "^1.12.1",
"@google-cloud/storage": "^7.17.0",
- "@langchain/anthropic": "^0.3.22",
+ "@langchain/anthropic": "^0.3.27",
"@langchain/aws": "^0.1.11",
"@langchain/core": "^0.3.58",
"@langchain/google-genai": "^0.2.12",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d60edface4..816bf34713 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -110,7 +110,7 @@ importers:
'@vercel/style-guide':
specifier: ^6.0.0
eslint-config-next:
specifier: ^14.2.15
@@ -156,8 +156,8 @@ importers:
specifier: ^7.17.0
version: 7.17.0
'@langchain/anthropic':
- specifier: ^0.3.22
+ specifier: ^0.3.27
'@langchain/aws':
specifier: ^0.1.11
@@ -226,10 +226,10 @@ importers:
version: 0.27.4
langchain:
specifier: ^0.3.28
langfuse-langchain:
specifier: 3.38.4
lodash:
specifier: ^4.17.21
version: 4.17.21
@@ -614,7 +614,7 @@ importers:
version: 0.27.4
langchain:
specifier: ^0.3.28
lodash:
specifier: ^4.17.21
version: 4.17.21
@@ -762,7 +762,7 @@ importers:
'@testing-library/jest-dom':
specifier: ^6.4.6
'@testing-library/react':
specifier: ^15.0.7
@@ -1129,8 +1129,9 @@ packages:
resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==}
- '@anthropic-ai/[email protected]':
- resolution: {integrity: sha512-eMyDIPRZbt1CCLErRCi3exlAvNkBtRe+kW5vvJyef93PmNr/clstYgHhtvmkxN82nlKgzyGPCyGxrm0JQ1ZIdg==}
+ '@anthropic-ai/[email protected]':
+ resolution: {integrity: sha512-SLCB8M8+VMg1cpCucnA1XWHGWqVSZtIWzmOdDOEu3eTFZMB+A0sGZ1ESO5MHDnqrNTXz3safMrWx9x4rMZSOqA==}
+ hasBin: true
'@anthropic-ai/[email protected]':
resolution: {integrity: sha512-EHRKbxlxlc8W4KCBEseByJ7YwyYCmgu9OyN59H9+IYIGPoKv8tXyQXinkeGDI+cI8Tiuz9wk2jZb/kK7AyvL7g==}
@@ -2681,8 +2682,8 @@ packages:
peerDependencies:
jsep: ^0.4.0||^1.0.0
- '@langchain/[email protected]':
- resolution: {integrity: sha512-3vLuGzWkUC1pGNtu2vyKThiv7jZ063KGYSb2Y89D+NT5iPo5fjmujmgGo5fyoTRpSOUWLgPr7ST+8D35Wmx44g==}
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-d4YUwZRjUGAMHTrv7U1jKqsvDrmns9/Ua2I/8BUPbCEBTswowGZUb0Om1KcjXG7MqehrJ03Gd78plckQ8Q7qfw==}
engines: {node: '>=18'}
peerDependencies:
'@langchain/core': '>=0.3.58 <0.4.0'
@@ -12783,17 +12784,7 @@ snapshots:
'@antfu/[email protected]': {}
- '@anthropic-ai/[email protected]':
- dependencies:
- '@types/node': 18.19.123
- '@types/node-fetch': 2.6.13
- abort-controller: 3.0.0
- agentkeepalive: 4.6.0
- form-data-encoder: 1.7.2
- formdata-node: 4.4.1
- node-fetch: 2.7.0
- transitivePeerDependencies:
- - encoding
+ '@anthropic-ai/[email protected]': {}
'@anthropic-ai/[email protected]':
dependencies:
@@ -15303,13 +15294,11 @@ snapshots:
dependencies:
jsep: 1.4.0
dependencies:
- '@anthropic-ai/sdk': 0.39.0
+ '@anthropic-ai/sdk': 0.56.0
'@langchain/core': 0.3.58([email protected]([email protected]))
- fast-xml-parser: 4.5.0
- transitivePeerDependencies:
- - encoding
+ fast-xml-parser: 4.5.3
dependencies:
@@ -18363,7 +18352,7 @@ snapshots:
lz-string: 1.5.0
pretty-format: 27.5.1
dependencies:
'@adobe/css-tools': 4.4.0
'@babel/runtime': 7.24.7
@@ -19046,7 +19035,7 @@ snapshots:
'@ungap/[email protected]': {}
dependencies:
'@babel/core': 7.24.3
'@babel/eslint-parser': 7.24.1(@babel/[email protected])([email protected])
@@ -19054,19 +19043,19 @@ snapshots:
'@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint-config-prettier: 9.1.0([email protected])
+ eslint-import-resolver-alias: 1.1.2([email protected])
eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
eslint-plugin-jsx-a11y: 6.8.0([email protected])
eslint-plugin-react: 7.34.1([email protected])
eslint-plugin-react-hooks: 4.6.0([email protected])
eslint-plugin-testing-library: 6.2.0([email protected])([email protected])
eslint-plugin-tsdoc: 0.2.17
eslint-plugin-unicorn: 51.0.1([email protected])
prettier-plugin-packagejson: 2.4.12([email protected])
optionalDependencies:
'@next/eslint-plugin-next': 14.2.15
@@ -21202,7 +21191,7 @@ snapshots:
eslint-plugin-turbo: 2.5.6([email protected])([email protected])
turbo: 2.5.6
dependencies:
@@ -21219,7 +21208,7 @@ snapshots:
debug: 4.4.1
enhanced-resolve: 5.17.1
eslint: 8.57.0
fast-glob: 3.3.3
get-tsconfig: 4.10.1
@@ -21236,7 +21225,7 @@ snapshots:
debug: 4.4.1
enhanced-resolve: 5.17.1
eslint: 8.57.0
fast-glob: 3.3.3
get-tsconfig: 4.10.1
@@ -21265,7 +21254,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -21276,36 +21265,25 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- debug: 3.2.7
- optionalDependencies:
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
- eslint: 8.57.0
- eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
- transitivePeerDependencies:
- - supports-color
-
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -21322,7 +21300,7 @@ snapshots:
eslint: 8.57.0
ignore: 5.3.2
dependencies:
array-includes: 3.1.7
array.prototype.findlastindex: 1.2.4
@@ -21349,6 +21327,33 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
+ dependencies:
+ array-includes: 3.1.7
+ array.prototype.findlastindex: 1.2.4
+ array.prototype.flat: 1.3.2
+ array.prototype.flatmap: 1.3.2
+ debug: 3.2.7
+ doctrine: 2.1.0
+ eslint: 8.57.0
+ eslint-import-resolver-node: 0.3.9
+ hasown: 2.0.2
+ is-core-module: 2.15.1
+ is-glob: 4.0.3
+ minimatch: 3.1.2
+ object.fromentries: 2.0.8
+ object.groupby: 1.0.3
+ object.values: 1.2.0
+ semver: 6.3.1
+ tsconfig-paths: 3.15.0
+ optionalDependencies:
+ '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
+ transitivePeerDependencies:
+ - eslint-import-resolver-typescript
+ - eslint-import-resolver-webpack
+ - supports-color
+
dependencies:
'@rtsao/scc': 1.1.0
@@ -21360,7 +21365,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -21378,7 +21383,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@typescript-eslint/utils': 5.62.0([email protected])([email protected])
eslint: 8.57.0
@@ -21445,12 +21450,12 @@ snapshots:
dependencies:
eslint: 8.57.0
globals: 13.24.0
optionalDependencies:
dependencies:
@@ -21559,7 +21564,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/utils': 7.3.1([email protected])([email protected])
eslint: 8.57.0
@@ -23397,7 +23402,7 @@ snapshots:
dependencies:
'@langchain/core': 0.3.58([email protected]([email protected]))
'@langchain/openai': 0.5.13(@langchain/[email protected]([email protected]([email protected])))
@@ -23412,7 +23417,7 @@ snapshots:
yaml: 2.5.1
zod: 3.25.62
optionalDependencies:
- '@langchain/anthropic': 0.3.22(@langchain/[email protected]([email protected]([email protected])))
+ '@langchain/anthropic': 0.3.27(@langchain/[email protected]([email protected]([email protected])))
'@langchain/aws': 0.1.11(@langchain/[email protected]([email protected]([email protected])))
'@langchain/google-genai': 0.2.12(@langchain/[email protected]([email protected]([email protected])))
'@langchain/google-vertexai': 0.2.12(@langchain/[email protected]([email protected]([email protected])))([email protected])
@@ -23428,9 +23433,9 @@ snapshots:
dependencies:
mustache: 4.2.0
dependencies:
langfuse: 3.38.4
langfuse-core: 3.38.4