Socket
Socket
Sign inDemoInstall

ai

Package Overview
Dependencies
Maintainers
11
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai - npm Package Compare versions

Comparing version 3.3.11 to 3.3.12

16

package.json
{
"name": "ai",
"version": "3.3.11",
"version": "3.3.12",
"description": "Vercel AI SDK - The AI Toolkit for TypeScript and JavaScript",

@@ -61,9 +61,9 @@ "license": "Apache-2.0",

"dependencies": {
"@ai-sdk/provider": "0.0.20",
"@ai-sdk/provider-utils": "1.0.13",
"@ai-sdk/react": "0.0.46",
"@ai-sdk/solid": "0.0.36",
"@ai-sdk/svelte": "0.0.38",
"@ai-sdk/ui-utils": "0.0.33",
"@ai-sdk/vue": "0.0.38",
"@ai-sdk/provider": "0.0.21",
"@ai-sdk/provider-utils": "1.0.14",
"@ai-sdk/react": "0.0.47",
"@ai-sdk/solid": "0.0.37",
"@ai-sdk/svelte": "0.0.39",
"@ai-sdk/ui-utils": "0.0.34",
"@ai-sdk/vue": "0.0.39",
"@opentelemetry/api": "1.9.0",

@@ -70,0 +70,0 @@ "eventsource-parser": "1.1.2",

@@ -217,8 +217,2 @@ import { LanguageModelV1FinishReason, LanguageModelV1CallWarning, LanguageModelV1ProviderMetadata, LanguageModelV1 } from '@ai-sdk/provider';

/**
Additional provider-specific metadata. They are passed through
to the provider from the AI SDK and enable provider-specific
functionality that can be fully encapsulated in the provider.
*/
type ProviderMetadata = LanguageModelV1ProviderMetadata;
/**
Tool choice for the generation. It supports the following settings:

@@ -237,2 +231,9 @@

/**
Additional provider-specific metadata. They are passed through
to the provider from the AI SDK and enable provider-specific
functionality that can be fully encapsulated in the provider.
*/
type ProviderMetadata = LanguageModelV1ProviderMetadata;
/**
Data content. Can either be a base64-encoded string, a Uint8Array, an ArrayBuffer, or a Buffer.

@@ -329,7 +330,2 @@ */

/**
A message that can be used in the `messages` field of a prompt.
It can be a user message, an assistant message, or a tool message.
*/
type CoreMessage = CoreSystemMessage | CoreUserMessage | CoreAssistantMessage | CoreToolMessage;
/**
A system message. It can contain system information.

@@ -402,2 +398,7 @@

type ToolContent = Array<ToolResultPart>;
/**
A message that can be used in the `messages` field of a prompt.
It can be a user message, an assistant message, or a tool message.
*/
type CoreMessage = CoreSystemMessage | CoreUserMessage | CoreAssistantMessage | CoreToolMessage;

@@ -404,0 +405,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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