@netlify/build 26.3.6 → 26.3.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "26.3.6",
3
+ "version": "26.3.9",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./src/core/main.js",
@@ -63,7 +63,7 @@
63
63
  "@netlify/plugin-edge-handlers": "^3.0.6",
64
64
  "@netlify/plugins-list": "^6.13.1",
65
65
  "@netlify/run-utils": "^4.0.0",
66
- "@netlify/zip-it-and-ship-it": "5.8.0",
66
+ "@netlify/zip-it-and-ship-it": "5.9.0",
67
67
  "@sindresorhus/slugify": "^2.0.0",
68
68
  "@types/node": "^16.0.0",
69
69
  "ansi-escapes": "^5.0.0",
@@ -143,6 +143,7 @@ export const saveUpdatedConfig = async function ({
143
143
  headersPath,
144
144
  redirectsPath,
145
145
  logs,
146
+ featureFlags,
146
147
  context,
147
148
  branch,
148
149
  debug,
@@ -160,6 +161,7 @@ export const saveUpdatedConfig = async function ({
160
161
  context,
161
162
  branch,
162
163
  logs,
164
+ featureFlags,
163
165
  })
164
166
 
165
167
  await logConfigOnUpload({ logs, configPath, debug })
@@ -14,9 +14,9 @@ const getFeatureFlag = function (name) {
14
14
  // Default values for feature flags
15
15
  export const DEFAULT_FEATURE_FLAGS = {
16
16
  buildbot_build_go_functions: false,
17
- buildbot_create_functions_manifest: false,
18
17
  buildbot_es_modules_esbuild: false,
19
18
  buildbot_zisi_trace_nft: false,
20
19
  buildbot_zisi_esbuild_parser: false,
20
+ redirects_parser_normalize_status: false,
21
21
  zisi_parse_isc: false,
22
22
  }
@@ -16,6 +16,7 @@ const coreStep = async function ({
16
16
  buildbotServerSocket,
17
17
  events,
18
18
  logs,
19
+ featureFlags,
19
20
  context,
20
21
  branch,
21
22
  configMutations,
@@ -35,6 +36,7 @@ const coreStep = async function ({
35
36
  headersPath,
36
37
  redirectsPath,
37
38
  logs,
39
+ featureFlags,
38
40
  context,
39
41
  branch,
40
42
  debug,
@@ -14,8 +14,7 @@ export const getZisiParameters = ({
14
14
  repositoryRoot,
15
15
  }) => {
16
16
  const nodeVersion = childEnv.AWS_LAMBDA_JS_RUNTIME
17
- const isManifestEnabled = isRunningLocally || featureFlags.buildbot_create_functions_manifest === true
18
- const manifest = isManifestEnabled ? join(functionsDist, 'manifest.json') : undefined
17
+ const manifest = join(functionsDist, 'manifest.json')
19
18
  const config = mapObject(functionsConfig, (expression, object) => [
20
19
  expression,
21
20
  normalizeFunctionConfig({ buildDir, featureFlags, functionConfig: object, isRunningLocally, nodeVersion }),