@ai-sdk/provider-utils 3.0.37 → 3.0.39
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/CHANGELOG.md +13 -0
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/provider-utils
|
|
2
2
|
|
|
3
|
+
## 3.0.39
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bf29419: chore: enable dead code lint rules
|
|
8
|
+
|
|
9
|
+
## 3.0.38
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [594787e]
|
|
14
|
+
- @ai-sdk/provider@2.0.5
|
|
15
|
+
|
|
3
16
|
## 3.0.37
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function combineHeaders(...headers) {
|
|
|
105
105
|
return headers.reduce(
|
|
106
106
|
(combinedHeaders, currentHeaders) => ({
|
|
107
107
|
...combinedHeaders,
|
|
108
|
-
...currentHeaders
|
|
108
|
+
...currentHeaders
|
|
109
109
|
}),
|
|
110
110
|
{}
|
|
111
111
|
);
|
|
@@ -325,7 +325,6 @@ function validateDownloadUrl(url) {
|
|
|
325
325
|
message: `URL with IP address ${hostname} is not allowed`
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
|
-
return;
|
|
329
328
|
}
|
|
330
329
|
}
|
|
331
330
|
function validateDownloadAddress({
|
|
@@ -811,7 +810,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
811
810
|
}
|
|
812
811
|
|
|
813
812
|
// src/version.ts
|
|
814
|
-
var VERSION = true ? "3.0.
|
|
813
|
+
var VERSION = true ? "3.0.39" : "0.0.0-test";
|
|
815
814
|
|
|
816
815
|
// src/get-from-api.ts
|
|
817
816
|
var getOriginalFetch = () => globalThis.fetch;
|
|
@@ -1992,7 +1991,7 @@ var zodPatterns = {
|
|
|
1992
1991
|
/**
|
|
1993
1992
|
* `a-z` was added to replicate /i flag
|
|
1994
1993
|
*/
|
|
1995
|
-
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'
|
|
1994
|
+
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,
|
|
1996
1995
|
/**
|
|
1997
1996
|
* Constructed a valid Unicode RegExp
|
|
1998
1997
|
*
|