@netlify/build 35.4.0 → 35.5.0

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.
@@ -56,6 +56,11 @@ export const FLAGS: {
56
56
  string: boolean;
57
57
  describe: string;
58
58
  };
59
+ skewProtectionToken: {
60
+ string: boolean;
61
+ describe: string;
62
+ hidden: boolean;
63
+ };
59
64
  context: {
60
65
  string: boolean;
61
66
  describe: string;
package/lib/core/flags.js CHANGED
@@ -75,6 +75,11 @@ Default: automatically guessed`,
75
75
  describe: `Netlify Build ID.
76
76
  Default: automatically guessed`,
77
77
  },
78
+ skewProtectionToken: {
79
+ string: true,
80
+ describe: `Netlify Skew Protection token.`,
81
+ hidden: true,
82
+ },
78
83
  context: {
79
84
  string: true,
80
85
  describe: `Build context.
@@ -45,6 +45,7 @@ const getDefaultFlags = function ({ env: envOpt = {} }, combinedEnv) {
45
45
  edgeFunctionsDistDir: DEFAULT_EDGE_FUNCTIONS_DIST,
46
46
  cacheDir: DEFAULT_CACHE_DIR,
47
47
  deployId: combinedEnv.DEPLOY_ID,
48
+ skewProtectionToken: combinedEnv.NETLIFY_SKEW_PROTECTION_TOKEN,
48
49
  buildId: combinedEnv.BUILD_ID,
49
50
  debug: Boolean(combinedEnv.NETLIFY_BUILD_DEBUG),
50
51
  bugsnagKey: combinedEnv.BUGSNAG_KEY,
@@ -8,6 +8,8 @@ export type BuildCLIFlags = {
8
8
  token: string;
9
9
  /** Netlify Deploy ID */
10
10
  deployId: string;
11
+ /** Netlify Skew Protection token */
12
+ skewProtectionToken?: string;
11
13
  /**
12
14
  * Run in dry mode, i.e. printing steps without executing them
13
15
  * @default false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "35.4.0",
3
+ "version": "35.5.0",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -69,7 +69,7 @@
69
69
  "@bugsnag/js": "^8.0.0",
70
70
  "@netlify/blobs": "^10.4.1",
71
71
  "@netlify/cache-utils": "^6.0.4",
72
- "@netlify/config": "^24.0.9",
72
+ "@netlify/config": "^24.1.0",
73
73
  "@netlify/edge-bundler": "14.9.0",
74
74
  "@netlify/functions-utils": "^6.2.14",
75
75
  "@netlify/git-utils": "^6.0.2",
@@ -152,5 +152,5 @@
152
152
  "engines": {
153
153
  "node": ">=18.14.0"
154
154
  },
155
- "gitHead": "62138231cf941ffa7e3a5227be4d686a982f6e4b"
155
+ "gitHead": "b09e35f80bbcfe707d6ba47161e768c5ba359536"
156
156
  }