@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 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
@@ -14,7 +14,7 @@ function getOptions() {
14
14
  major: 16,
15
15
  range: '16.x',
16
16
  runtime: 'nodejs16.x',
17
- discontinueDate: new Date('2023-08-15'),
17
+ discontinueDate: new Date('2024-02-06'),
18
18
  },
19
19
  {
20
20
  major: 14,
@@ -9,7 +9,12 @@ exports.getPrefixedEnvVars = void 0;
9
9
  */
10
10
  function getPrefixedEnvVars({ envPrefix, envs, }) {
11
11
  const vercelSystemEnvPrefix = 'VERCEL_';
12
- const allowed = ['VERCEL_URL', 'VERCEL_ENV', 'VERCEL_REGION'];
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('2023-08-15'),
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 = ['VERCEL_URL', 'VERCEL_ENV', 'VERCEL_REGION'];
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "6.8.1",
3
+ "version": "6.8.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",