@@ -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, |
+3
-3
| { | ||
| "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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
6672651
0.04%63217
0.02%+ Added
+ Added
- Removed
- Removed
Updated