@netlify/build 27.19.0-rc → 27.19.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.
@@ -23,7 +23,7 @@ export const getFullErrorInfo = function ({ error, colors, debug }) {
23
23
  locationType,
24
24
  showErrorProps,
25
25
  rawStack,
26
- extraInfo,
26
+ errorMetadata,
27
27
  } = basicErrorInfo
28
28
 
29
29
  const titleA = getTitle(title, errorInfo)
@@ -43,7 +43,7 @@ export const getFullErrorInfo = function ({ error, colors, debug }) {
43
43
  pluginInfo,
44
44
  locationInfo,
45
45
  errorProps: errorPropsA,
46
- extraInfo,
46
+ errorMetadata,
47
47
  }
48
48
  }
49
49
 
@@ -60,7 +60,7 @@ const getTsConfigInfo = function (tsConfig) {
60
60
  export const parseErrorInfo = function (error) {
61
61
  const { message, stack, ...errorProps } = normalizeError(error)
62
62
  const [errorInfo, errorPropsA] = getErrorInfo(errorProps)
63
- const { extraInfo } = errorInfo
63
+ const { errorMetadata } = errorInfo
64
64
  const {
65
65
  type,
66
66
  severity,
@@ -86,7 +86,7 @@ export const parseErrorInfo = function (error) {
86
86
  showInBuildLog,
87
87
  showErrorProps,
88
88
  rawStack,
89
- extraInfo,
89
+ errorMetadata,
90
90
  }
91
91
  return basicErrorInfo
92
92
  }
@@ -1,10 +1,10 @@
1
1
  // Serialize an error object to `statuses` properties
2
2
  export const serializeErrorStatus = function ({
3
- fullErrorInfo: { title, message, locationInfo, errorProps, extraInfo },
3
+ fullErrorInfo: { title, message, locationInfo, errorProps, errorMetadata },
4
4
  state,
5
5
  }) {
6
6
  const text = getText({ locationInfo, errorProps })
7
- return { state, title, summary: message, text, extraData: extraInfo }
7
+ return { state, title, summary: message, text, extraData: errorMetadata }
8
8
  }
9
9
 
10
10
  const getText = function ({ locationInfo, errorProps }) {
@@ -28,9 +28,9 @@ export const failPluginWithWarning = function (methodName, event, message, opts)
28
28
 
29
29
  // An `error` option can be passed to keep the original error message and
30
30
  // stack trace. An additional `message` string is always required.
31
- const normalizeError = function (type, func, message, { error, extraInfo } = {}) {
31
+ const normalizeError = function (type, func, message, { error, errorMetadata } = {}) {
32
32
  const errorA = getError(error, message, func)
33
- addErrorInfo(errorA, { type, extraInfo })
33
+ addErrorInfo(errorA, { type, errorMetadata })
34
34
  return errorA
35
35
  }
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "27.19.0-rc",
3
+ "version": "27.19.1",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/core/main.js",
@@ -62,7 +62,7 @@
62
62
  "license": "MIT",
63
63
  "dependencies": {
64
64
  "@bugsnag/js": "^7.0.0",
65
- "@netlify/edge-bundler": "^2.2.0",
65
+ "@netlify/edge-bundler": "^2.4.0",
66
66
  "@netlify/cache-utils": "^4.1.5",
67
67
  "@netlify/config": "^18.2.4",
68
68
  "@netlify/functions-utils": "^4.2.10",