New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@langchain/anthropic

Package Overview
Dependencies
Maintainers
0
Versions
71
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.3.11 to 0.3.12

8

dist/utils/message_inputs.js

@@ -104,2 +104,10 @@ /**

}
else if (contentPart.type === "document") {
// PDF
return {
type: "document",
source: contentPart.source,
...(cacheControl ? { cache_control: cacheControl } : {}),
};
}
else if (textTypes.find((t) => t === contentPart.type) &&

@@ -106,0 +114,0 @@ "text" in contentPart) {

2

package.json
{
"name": "@langchain/anthropic",
"version": "0.3.11",
"version": "0.3.12",
"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