@vercel/build-utils 8.4.3 → 8.4.5
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 +12 -0
- package/dist/fs/node-version.js +6 -0
- package/dist/index.js +6 -0
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vercel/build-utils
|
2
2
|
|
3
|
+
## 8.4.5
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [build-utils] add types for `images.remotePatterns.search` to vercel.json ([#12158](https://github.com/vercel/vercel/pull/12158))
|
8
|
+
|
9
|
+
## 8.4.4
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Allow Node.js v22 behind env var feature flag ([#12159](https://github.com/vercel/vercel/pull/12159))
|
14
|
+
|
3
15
|
## 8.4.3
|
4
16
|
|
5
17
|
### Patch Changes
|
package/dist/fs/node-version.js
CHANGED
@@ -74,6 +74,12 @@ const NODE_VERSIONS = [
|
|
74
74
|
}
|
75
75
|
];
|
76
76
|
function getOptions() {
|
77
|
+
if (process.env.VERCEL_ALLOW_NODEJS22 === "1") {
|
78
|
+
return [
|
79
|
+
{ major: 22, range: "22.x", runtime: "nodejs22.x" },
|
80
|
+
...NODE_VERSIONS
|
81
|
+
];
|
82
|
+
}
|
77
83
|
return NODE_VERSIONS;
|
78
84
|
}
|
79
85
|
function isNodeVersionAvailable(version) {
|
package/dist/index.js
CHANGED
@@ -23292,6 +23292,12 @@ var NODE_VERSIONS = [
|
|
23292
23292
|
}
|
23293
23293
|
];
|
23294
23294
|
function getOptions() {
|
23295
|
+
if (process.env.VERCEL_ALLOW_NODEJS22 === "1") {
|
23296
|
+
return [
|
23297
|
+
{ major: 22, range: "22.x", runtime: "nodejs22.x" },
|
23298
|
+
...NODE_VERSIONS
|
23299
|
+
];
|
23300
|
+
}
|
23295
23301
|
return NODE_VERSIONS;
|
23296
23302
|
}
|
23297
23303
|
function isNodeVersionAvailable(version) {
|
package/dist/types.d.ts
CHANGED
@@ -361,6 +361,11 @@ export type RemotePattern = {
|
|
361
361
|
* Double `**` matches any number of path segments.
|
362
362
|
*/
|
363
363
|
pathname?: string;
|
364
|
+
/**
|
365
|
+
* Can be literal query string such as `?v=1` or
|
366
|
+
* empty string meaning no query string.
|
367
|
+
*/
|
368
|
+
search?: string;
|
364
369
|
};
|
365
370
|
export interface Images {
|
366
371
|
domains: string[];
|