@ai-sdk/provider-utils 5.0.59 → 5.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider-utils",
3
- "version": "5.0.59",
3
+ "version": "5.0.61",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@ai-sdk/provider": "4.0.27",
45
+ "@ai-sdk/provider": "4.0.28",
46
46
  "@standard-schema/spec": "^1.1.0",
47
47
  "@workflow/serde": "4.1.0",
48
48
  "eventsource-parser": "^3.0.8",
@@ -20,8 +20,7 @@ export function isUrlSupported({
20
20
  url: string;
21
21
  supportedUrls: Record<string, RegExp[]>;
22
22
  }): boolean {
23
- // standardize media type and url to lower case
24
- url = url.toLowerCase();
23
+ // standardize media type to lower case
25
24
  mediaType = mediaType.toLowerCase();
26
25
 
27
26
  const isTopLevelOnly = !mediaType.includes('/');