@langchain/anthropic 1.3.27 → 1.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/chat_models.cjs +1 -1
- package/dist/chat_models.js +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @langchain/anthropic
|
|
2
2
|
|
|
3
|
+
## 1.3.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#10776](https://github.com/langchain-ai/langchainjs/pull/10776) [`20a9abe`](https://github.com/langchain-ai/langchainjs/commit/20a9abea23ffacf4ae8dc9a7aeec217143bbdeb6) Thanks [@hntrl](https://github.com/hntrl)! - fix(deps): remediate uuid vulnerability by removing direct uuid usage
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`20a9abe`](https://github.com/langchain-ai/langchainjs/commit/20a9abea23ffacf4ae8dc9a7aeec217143bbdeb6)]:
|
|
10
|
+
- @langchain/core@1.1.42
|
|
11
|
+
|
|
3
12
|
## 1.3.27
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/chat_models.cjs
CHANGED
|
@@ -650,7 +650,7 @@ var ChatAnthropicMessages = class extends _langchain_core_language_models_chat_m
|
|
|
650
650
|
model: modelOrFields
|
|
651
651
|
} : modelOrFields ?? {};
|
|
652
652
|
super(fields ?? {});
|
|
653
|
-
this._addVersion("@langchain/anthropic", "1.3.
|
|
653
|
+
this._addVersion("@langchain/anthropic", "1.3.28");
|
|
654
654
|
this.anthropicApiKey = fields?.apiKey ?? fields?.anthropicApiKey ?? (0, _langchain_core_utils_env.getEnvironmentVariable)("ANTHROPIC_API_KEY");
|
|
655
655
|
if (!this.anthropicApiKey && !fields?.createClient) throw new Error("Anthropic API key not found");
|
|
656
656
|
this.clientOptions = fields?.clientOptions ?? {};
|
package/dist/chat_models.js
CHANGED
|
@@ -649,7 +649,7 @@ var ChatAnthropicMessages = class extends BaseChatModel {
|
|
|
649
649
|
model: modelOrFields
|
|
650
650
|
} : modelOrFields ?? {};
|
|
651
651
|
super(fields ?? {});
|
|
652
|
-
this._addVersion("@langchain/anthropic", "1.3.
|
|
652
|
+
this._addVersion("@langchain/anthropic", "1.3.28");
|
|
653
653
|
this.anthropicApiKey = fields?.apiKey ?? fields?.anthropicApiKey ?? getEnvironmentVariable("ANTHROPIC_API_KEY");
|
|
654
654
|
if (!this.anthropicApiKey && !fields?.createClient) throw new Error("Anthropic API key not found");
|
|
655
655
|
this.clientOptions = fields?.clientOptions ?? {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/anthropic",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.28",
|
|
4
4
|
"description": "Anthropic integrations for LangChain.js",
|
|
5
5
|
"author": "LangChain",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"zod": "^3.25.76 || ^4"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@langchain/core": "^1.1.
|
|
21
|
+
"@langchain/core": "^1.1.42"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@anthropic-ai/vertex-sdk": "^0.14.4",
|
|
@@ -29,9 +29,8 @@
|
|
|
29
29
|
"dpdm": "^3.14.0",
|
|
30
30
|
"rimraf": "^6.1.3",
|
|
31
31
|
"typescript": "~5.8.3",
|
|
32
|
-
"uuid": "^13.0.0",
|
|
33
32
|
"vitest": "^4.1.2",
|
|
34
|
-
"@langchain/core": "^1.1.
|
|
33
|
+
"@langchain/core": "^1.1.42",
|
|
35
34
|
"@langchain/standard-tests": "0.0.23",
|
|
36
35
|
"@langchain/tsconfig": "0.0.1"
|
|
37
36
|
},
|