@netlify/build 35.8.0-experimental → 35.8.1

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.
@@ -29,7 +29,7 @@ const getDeployUtils = ({ deployEnvVars }) => {
29
29
  if (isReservedEnvironmentVariableKey(key)) {
30
30
  throw new Error(`utils.deploy.env.add() failed: "${key}" is a reserved environment variable in Netlify deployments. Use a different environment variable key.`);
31
31
  }
32
- let normalizedScopes = new Set(...scopes);
32
+ let normalizedScopes = new Set(scopes);
33
33
  if (normalizedScopes.size === 0) {
34
34
  normalizedScopes = new Set(
35
35
  // If the user did not specify scopes, we assume they mean all valid scopes. Secrets are
@@ -21,6 +21,7 @@ export declare const deploySiteWithBuildbotClient: ({ client, environment, event
21
21
  key: string;
22
22
  value: string;
23
23
  isSecret: boolean;
24
+ scopes: string[];
24
25
  }[];
25
26
  events: string[];
26
27
  buildDir: string;
@@ -68,7 +68,7 @@ export const deploySiteWithBuildbotClient = async function ({ client, environmen
68
68
  writePayload(client, {
69
69
  action: shouldWaitForPostProcessing(events) ? Action.DeploySiteAndWait : Action.DeploySite,
70
70
  deployDir: getDeployDir({ buildDir, repositoryRoot, constants }),
71
- environment,
71
+ environment: environment.map(({ isSecret, ...rest }) => ({ ...rest, is_secret: isSecret })),
72
72
  }),
73
73
  ]);
74
74
  if (!response.succeeded) {
@@ -44,6 +44,7 @@ export type CoreStepFunctionArgs = {
44
44
  key: string;
45
45
  value: string;
46
46
  isSecret: boolean;
47
+ scopes: string[];
47
48
  }[];
48
49
  buildbotServerSocket?: string;
49
50
  api: DynamicMethods;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "35.8.0-experimental",
3
+ "version": "35.8.1",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -70,13 +70,13 @@
70
70
  "@netlify/blobs": "^10.4.4",
71
71
  "@netlify/cache-utils": "^6.0.4",
72
72
  "@netlify/config": "^24.4.0",
73
- "@netlify/edge-bundler": "14.9.8",
74
- "@netlify/functions-utils": "^6.2.22",
73
+ "@netlify/edge-bundler": "14.9.10",
74
+ "@netlify/functions-utils": "^6.2.23",
75
75
  "@netlify/git-utils": "^6.0.3",
76
76
  "@netlify/opentelemetry-utils": "^2.0.1",
77
77
  "@netlify/plugins-list": "^6.81.2",
78
78
  "@netlify/run-utils": "^6.0.2",
79
- "@netlify/zip-it-and-ship-it": "14.3.2",
79
+ "@netlify/zip-it-and-ship-it": "14.4.0",
80
80
  "@sindresorhus/slugify": "^2.0.0",
81
81
  "ansi-escapes": "^7.0.0",
82
82
  "ansis": "^4.1.0",
@@ -151,5 +151,6 @@
151
151
  },
152
152
  "engines": {
153
153
  "node": ">=18.14.0"
154
- }
154
+ },
155
+ "gitHead": "0e726c9159c64a5f000104faacca5ad09a4eb27b"
155
156
  }