🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ai

Package Overview
Dependencies
Maintainers
5
Versions
1283
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
6.0.206
to
6.0.207
+2
-1
dist/internal/index.js

@@ -155,3 +155,3 @@ "use strict";

// src/version.ts
var VERSION = true ? "6.0.206" : "0.0.0-test";
var VERSION = true ? "6.0.207" : "0.0.0-test";

@@ -178,2 +178,3 @@ // src/util/download/download.ts

if (!response.ok) {
await (0, import_provider_utils2.cancelResponseBody)(response);
throw new import_provider_utils2.DownloadError({

@@ -180,0 +181,0 @@ url: urlText,

@@ -125,2 +125,3 @@ // internal/index.ts

import {
cancelResponseBody,
DownloadError,

@@ -135,3 +136,3 @@ readResponseWithSizeLimit,

// src/version.ts
var VERSION = true ? "6.0.206" : "0.0.0-test";
var VERSION = true ? "6.0.207" : "0.0.0-test";

@@ -158,2 +159,3 @@ // src/util/download/download.ts

if (!response.ok) {
await cancelResponseBody(response);
throw new DownloadError({

@@ -160,0 +162,0 @@ url: urlText,

{
"name": "ai",
"version": "6.0.206",
"version": "6.0.207",
"description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.",

@@ -48,5 +48,5 @@ "license": "Apache-2.0",

"@opentelemetry/api": "^1.9.0",
"@ai-sdk/gateway": "3.0.132",
"@ai-sdk/gateway": "3.0.133",
"@ai-sdk/provider": "3.0.10",
"@ai-sdk/provider-utils": "4.0.29"
"@ai-sdk/provider-utils": "4.0.30"
},

@@ -53,0 +53,0 @@ "devDependencies": {

import {
cancelResponseBody,
DownloadError,

@@ -45,2 +46,5 @@ readResponseWithSizeLimit,

if (!response.ok) {
// Release the connection before rejecting so an error status from an
// attacker-controlled origin cannot leak open sockets.
await cancelResponseBody(response);
throw new DownloadError({

@@ -47,0 +51,0 @@ url: urlText,

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 too big to display

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 too big to display

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