Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@langchain/anthropic

Package Overview
Dependencies
Maintainers
8
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/anthropic - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

4

dist/chat_models.js

@@ -408,3 +408,5 @@ import { Anthropic } from "@anthropic-ai/sdk";

}
else if (Array.isArray(chunk.content) && "input" in chunk.content[0]) {
else if (Array.isArray(chunk.content) &&
chunk.content.length >= 1 &&
"input" in chunk.content[0]) {
return typeof chunk.content[0].input === "string"

@@ -411,0 +413,0 @@ ? chunk.content[0].input

{
"name": "@langchain/anthropic",
"version": "0.2.7",
"version": "0.2.8",
"description": "Anthropic integrations for LangChain.js",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc