@vercel/build-utils 6.8.1 → 6.8.3
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 +1 -1
- package/dist/get-prefixed-env-vars.js +6 -1
- package/dist/index.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vercel/build-utils
|
2
2
|
|
3
|
+
## 6.8.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Fix `getPrefixedEnvVars()` to handle `VERCEL_BRANCH_URL` ([#10315](https://github.com/vercel/vercel/pull/10315))
|
8
|
+
|
9
|
+
## 6.8.2
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Push back `nodejs16.x` discontinue date to `2024-02-06` ([#10209](https://github.com/vercel/vercel/pull/10209))
|
14
|
+
|
3
15
|
## 6.8.1
|
4
16
|
|
5
17
|
### Patch Changes
|
package/dist/fs/node-version.js
CHANGED
@@ -9,7 +9,12 @@ exports.getPrefixedEnvVars = void 0;
|
|
9
9
|
*/
|
10
10
|
function getPrefixedEnvVars({ envPrefix, envs, }) {
|
11
11
|
const vercelSystemEnvPrefix = 'VERCEL_';
|
12
|
-
const allowed = [
|
12
|
+
const allowed = [
|
13
|
+
'VERCEL_URL',
|
14
|
+
'VERCEL_ENV',
|
15
|
+
'VERCEL_REGION',
|
16
|
+
'VERCEL_BRANCH_URL',
|
17
|
+
];
|
13
18
|
const newEnvs = {};
|
14
19
|
if (envPrefix && envs.VERCEL_URL) {
|
15
20
|
Object.keys(envs)
|
package/dist/index.js
CHANGED
@@ -28758,7 +28758,7 @@ function getOptions() {
|
|
28758
28758
|
major: 16,
|
28759
28759
|
range: '16.x',
|
28760
28760
|
runtime: 'nodejs16.x',
|
28761
|
-
discontinueDate: new Date('
|
28761
|
+
discontinueDate: new Date('2024-02-06'),
|
28762
28762
|
},
|
28763
28763
|
{
|
28764
28764
|
major: 14,
|
@@ -29574,7 +29574,12 @@ exports.getPrefixedEnvVars = void 0;
|
|
29574
29574
|
*/
|
29575
29575
|
function getPrefixedEnvVars({ envPrefix, envs, }) {
|
29576
29576
|
const vercelSystemEnvPrefix = 'VERCEL_';
|
29577
|
-
const allowed = [
|
29577
|
+
const allowed = [
|
29578
|
+
'VERCEL_URL',
|
29579
|
+
'VERCEL_ENV',
|
29580
|
+
'VERCEL_REGION',
|
29581
|
+
'VERCEL_BRANCH_URL',
|
29582
|
+
];
|
29578
29583
|
const newEnvs = {};
|
29579
29584
|
if (envPrefix && envs.VERCEL_URL) {
|
29580
29585
|
Object.keys(envs)
|