@vercel/build-utils 6.8.2 → 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 +6 -0
- package/dist/get-prefixed-env-vars.js +6 -1
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
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
@@ -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)
|