@netlify/build 29.51.4 → 29.52.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.
package/lib/core/build.js CHANGED
@@ -33,7 +33,7 @@ export const startBuild = function (flags) {
33
33
  const errorMonitor = startErrorMonitor({ flags: { debug, systemLogFile, ...flagsA }, logs, bugsnagKey });
34
34
  return { ...flagsA, debug, systemLogFile, errorMonitor, logs, timers };
35
35
  };
36
- const tExecBuild = async function ({ config, defaultConfig, cachedConfig, cachedConfigPath, outputConfigPath, cwd, packagePath, repositoryRoot, apiHost, token, siteId, context, branch, baseRelDir, env: envOpt, debug, systemLogFile, verbose, nodePath, functionsDistDir, edgeFunctionsDistDir, cacheDir, dry, mode, offline, deployId, buildId, testOpts, errorMonitor, errorParams, logs, timers, buildbotServerSocket, sendStatus, saveConfig, featureFlags, timeline, devCommand, quiet, framework, explicitSecretKeys, edgeFunctionsBootstrapURL, eventHandlers, }) {
36
+ const tExecBuild = async function ({ config, defaultConfig, cachedConfig, cachedConfigPath, outputConfigPath, cwd, packagePath, repositoryRoot, apiHost, token, siteId, accountId, context, branch, baseRelDir, env: envOpt, debug, systemLogFile, verbose, nodePath, functionsDistDir, edgeFunctionsDistDir, cacheDir, dry, mode, offline, deployId, buildId, testOpts, errorMonitor, errorParams, logs, timers, buildbotServerSocket, sendStatus, saveConfig, featureFlags, timeline, devCommand, quiet, framework, explicitSecretKeys, edgeFunctionsBootstrapURL, eventHandlers, }) {
37
37
  const configOpts = getConfigOpts({
38
38
  config,
39
39
  defaultConfig,
@@ -43,6 +43,7 @@ const tExecBuild = async function ({ config, defaultConfig, cachedConfig, cached
43
43
  apiHost,
44
44
  token,
45
45
  siteId,
46
+ accountId,
46
47
  context,
47
48
  branch,
48
49
  baseRelDir,
@@ -1,4 +1,4 @@
1
- export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }: {
1
+ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, accountId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }: {
2
2
  config: any;
3
3
  defaultConfig: any;
4
4
  cwd: any;
@@ -7,6 +7,7 @@ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, pack
7
7
  apiHost: any;
8
8
  token: any;
9
9
  siteId: any;
10
+ accountId: any;
10
11
  context: any;
11
12
  branch: any;
12
13
  baseRelDir: any;
@@ -29,6 +30,7 @@ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, pack
29
30
  host: any;
30
31
  token: any;
31
32
  siteId: any;
33
+ accountId: any;
32
34
  deployId: any;
33
35
  buildId: any;
34
36
  mode: any;
@@ -15,7 +15,7 @@ import { getUserNodeVersion } from './user_node_version.js';
15
15
  // the build
16
16
  // - If plugins change the configuration, `configMutations` is used instead
17
17
  // In both cases, almost all options should remain the same.
18
- export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }) {
18
+ export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, accountId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }) {
19
19
  return {
20
20
  config,
21
21
  defaultConfig,
@@ -28,6 +28,7 @@ export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryR
28
28
  host: apiHost,
29
29
  token,
30
30
  siteId,
31
+ accountId,
31
32
  deployId,
32
33
  buildId,
33
34
  mode,
@@ -33,6 +33,8 @@ const normalizeMessage = function (message, [regExp, replacement]) {
33
33
  const NORMALIZE_REGEXPS = [
34
34
  // Base64 URL
35
35
  [/(data:[^;]+;base64),[\w+/-=]+/g, 'dataURI'],
36
+ // Node builtins mapping - normalize it to single one so it's not dependent on Node.js version it did run on
37
+ [/(\\"[^"]+\\":\\"node:[^"]+\\",)+/g, '\\"builtins\\":\\"node:builtins\\",'],
36
38
  // File paths
37
39
  [/(["'`, ]|^)([^"'`, \n]*[/\\][^"'`, \n]*)(?=["'`, ]|$)/gm, '$1/file/path'],
38
40
  // Semantic versions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "29.51.4",
3
+ "version": "29.52.0",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -69,16 +69,16 @@
69
69
  "dependencies": {
70
70
  "@bugsnag/js": "^7.0.0",
71
71
  "@netlify/blobs": "^7.4.0",
72
- "@netlify/cache-utils": "^5.1.5",
73
- "@netlify/config": "^20.17.1",
74
- "@netlify/edge-bundler": "12.2.2",
72
+ "@netlify/cache-utils": "^5.1.6",
73
+ "@netlify/config": "^20.18.0",
74
+ "@netlify/edge-bundler": "12.2.3",
75
75
  "@netlify/framework-info": "^9.8.13",
76
- "@netlify/functions-utils": "^5.2.76",
76
+ "@netlify/functions-utils": "^5.2.77",
77
77
  "@netlify/git-utils": "^5.1.1",
78
78
  "@netlify/opentelemetry-utils": "^1.2.1",
79
79
  "@netlify/plugins-list": "^6.80.0",
80
80
  "@netlify/run-utils": "^5.1.1",
81
- "@netlify/zip-it-and-ship-it": "9.37.8",
81
+ "@netlify/zip-it-and-ship-it": "9.37.9",
82
82
  "@sindresorhus/slugify": "^2.0.0",
83
83
  "ansi-escapes": "^6.0.0",
84
84
  "chalk": "^5.0.0",
@@ -165,5 +165,5 @@
165
165
  "engines": {
166
166
  "node": "^14.16.0 || >=16.0.0"
167
167
  },
168
- "gitHead": "e3843d6a3da3c2c734b116819949eb2521fb0abd"
168
+ "gitHead": "0b81e92c8409c4c70230779dc04f55b2f28022b9"
169
169
  }