@netlify/build 35.8.1 → 35.8.2

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.
@@ -34,7 +34,7 @@ const getDeployUtils = ({ deployEnvVars }) => {
34
34
  normalizedScopes = new Set(
35
35
  // If the user did not specify scopes, we assume they mean all valid scopes. Secrets are
36
36
  // not permitted in the post-processing scope.
37
- isSecret ? ['builds', 'functions', 'runtime'] : ['builds', 'functions', 'post_processing', 'runtime']);
37
+ isSecret ? ['functions', 'runtime'] : ['functions', 'post_processing', 'runtime']);
38
38
  }
39
39
  if (isSecret && normalizedScopes.has('post_processing')) {
40
40
  throw new Error(`utils.deploy.env.add() failed: The "post_processing" scope cannot be used with isSecret=true.`);
@@ -1,7 +1,7 @@
1
1
  export interface NetlifyPluginDeployUtilEnv {
2
2
  add(key: string, value: string, options?: {
3
3
  isSecret?: boolean;
4
- scopes?: ('builds' | 'functions' | 'post_processing' | 'runtime')[];
4
+ scopes?: ('functions' | 'post_processing' | 'runtime')[];
5
5
  }): this;
6
6
  }
7
7
  export interface NetlifyPluginDeployUtil {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "35.8.1",
3
+ "version": "35.8.2",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -152,5 +152,5 @@
152
152
  "engines": {
153
153
  "node": ">=18.14.0"
154
154
  },
155
- "gitHead": "0e726c9159c64a5f000104faacca5ad09a4eb27b"
155
+ "gitHead": "ac41524fa8778a85cd6eb630f64d9b8309373a6b"
156
156
  }