@ai-sdk/provider-utils
Advanced tools
+1
-1
| { | ||
| "name": "@ai-sdk/provider-utils", | ||
| "version": "5.0.25", | ||
| "version": "5.0.26", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -134,3 +134,7 @@ import type * as nodeDnsModule from 'node:dns'; | ||
| function isNodeDefaultFetch(fetch: FetchFunction): boolean { | ||
| function isNodeDefaultFetch(fetch: unknown): boolean { | ||
| if (typeof fetch !== 'function') { | ||
| return false; | ||
| } | ||
| const source = Function.prototype.toString.call(fetch); | ||
@@ -137,0 +141,0 @@ return ( |
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
885916
0.04%15010
0.04%68
3.03%