@netlify/build 26.2.3 → 26.2.4-rc

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.2.3",
3
+ "version": "26.2.4-rc",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./src/core/main.js",
@@ -60,39 +60,39 @@
60
60
  "@netlify/config": "^17.0.0",
61
61
  "@netlify/functions-utils": "^4.0.0",
62
62
  "@netlify/git-utils": "^4.0.0",
63
- "@netlify/plugin-edge-handlers": "^3.0.4",
64
- "@netlify/plugins-list": "^6.6.0",
63
+ "@netlify/plugin-edge-handlers": "^3.0.6",
64
+ "@netlify/plugins-list": "^6.9.0",
65
65
  "@netlify/run-utils": "^4.0.0",
66
- "@netlify/zip-it-and-ship-it": "5.5.2",
66
+ "@netlify/zip-it-and-ship-it": "5.7.1",
67
67
  "@sindresorhus/slugify": "^1.1.0",
68
68
  "@types/node": "^16.0.0",
69
69
  "ansi-escapes": "^4.3.2",
70
- "chalk": "^4.1.2",
70
+ "chalk": "^5.0.0",
71
71
  "clean-stack": "^3.0.1",
72
- "execa": "^5.1.1",
72
+ "execa": "^6.0.0",
73
73
  "figures": "^3.2.0",
74
- "filter-obj": "^2.0.1",
74
+ "filter-obj": "^3.0.0",
75
75
  "got": "^10.0.0",
76
76
  "indent-string": "^4.0.0",
77
- "is-plain-obj": "^3.0.0",
77
+ "is-plain-obj": "^4.0.0",
78
78
  "js-yaml": "^4.0.0",
79
79
  "keep-func-props": "^3.0.0",
80
- "locate-path": "^6.0.0",
80
+ "locate-path": "^7.0.0",
81
81
  "log-process-errors": "^6.0.0",
82
- "map-obj": "^4.0.0",
82
+ "map-obj": "^5.0.0",
83
83
  "memoize-one": "^6.0.0",
84
84
  "os-name": "^4.0.1",
85
85
  "p-event": "^4.1.0",
86
86
  "p-every": "^2.0.0",
87
- "p-filter": "^2.1.0",
88
- "p-locate": "^5.0.0",
87
+ "p-filter": "^3.0.0",
88
+ "p-locate": "^6.0.0",
89
89
  "p-reduce": "^2.1.0",
90
- "path-exists": "^4.0.0",
90
+ "path-exists": "^5.0.0",
91
91
  "path-type": "^4.0.0",
92
92
  "pkg-dir": "^5.0.0",
93
93
  "pretty-ms": "^7.0.0",
94
94
  "ps-list": "^7.0.0",
95
- "read-pkg-up": "^7.0.1",
95
+ "read-pkg-up": "^9.0.0",
96
96
  "readdirp": "^3.4.0",
97
97
  "resolve": "^2.0.0-next.1",
98
98
  "rfdc": "^1.3.0",
@@ -100,10 +100,10 @@
100
100
  "semver": "^7.0.0",
101
101
  "statsd-client": "0.4.7",
102
102
  "string-width": "^4.2.0",
103
- "strip-ansi": "^6.0.0",
103
+ "strip-ansi": "^7.0.0",
104
104
  "supports-color": "^8.0.0",
105
105
  "tmp-promise": "^3.0.2",
106
- "ts-node": "^10.4.0",
106
+ "ts-node": "10.4.0",
107
107
  "typescript": "^4.5.4",
108
108
  "update-notifier": "^5.0.0",
109
109
  "uuid": "^8.0.0",
@@ -116,7 +116,7 @@
116
116
  "cpy": "^8.1.0",
117
117
  "del": "^6.0.0",
118
118
  "fast-safe-stringify": "^2.0.7",
119
- "get-bin-path": "^5.1.0",
119
+ "get-bin-path": "^6.0.0",
120
120
  "get-node": "^11.0.2",
121
121
  "get-port": "^5.1.1",
122
122
  "get-stream": "^6.0.0",
@@ -2,7 +2,7 @@ import { relative, normalize } from 'path'
2
2
 
3
3
  import { getCacheDir } from '@netlify/cache-utils'
4
4
  import mapObj from 'map-obj'
5
- import pathExists from 'path-exists'
5
+ import { pathExists } from 'path-exists'
6
6
 
7
7
  import { ROOT_PACKAGE_JSON } from '../utils/json.js'
8
8
 
@@ -1,6 +1,6 @@
1
1
  import { relative } from 'path'
2
2
 
3
- import pathExists from 'path-exists'
3
+ import { pathExists } from 'path-exists'
4
4
 
5
5
  import { logMissingSideFile } from '../log/messages/core.js'
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { version as currentVersion, execPath } from 'process'
2
2
 
3
- import execa from 'execa'
3
+ import { execa } from 'execa'
4
4
  import semver from 'semver'
5
5
 
6
6
  import { addErrorInfo } from '../error/info.js'
@@ -1,6 +1,6 @@
1
1
  import { cwd as getCwd } from 'process'
2
2
 
3
- import pathExists from 'path-exists'
3
+ import { pathExists } from 'path-exists'
4
4
 
5
5
  import { logBuildError } from '../log/messages/core.js'
6
6
  import { logOldCliVersionError } from '../log/old_version.js'
@@ -1,7 +1,7 @@
1
1
  import { homedir } from 'os'
2
2
 
3
- import execa from 'execa'
4
- import pathExists from 'path-exists'
3
+ import { execa } from 'execa'
4
+ import { pathExists } from 'path-exists'
5
5
 
6
6
  import { addErrorInfo } from '../error/info.js'
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { promises as fs } from 'fs'
2
2
  import { normalize } from 'path'
3
3
 
4
- import pathExists from 'path-exists'
4
+ import { pathExists } from 'path-exists'
5
5
  import { isFile } from 'path-type'
6
6
 
7
7
  import { logInstallMissingPlugins } from '../log/messages/install.js'
@@ -1,7 +1,7 @@
1
1
  import { promises as fs } from 'fs'
2
2
  import { inspect } from 'util'
3
3
 
4
- import pathExists from 'path-exists'
4
+ import { pathExists } from 'path-exists'
5
5
 
6
6
  import { log, logMessage, logSubHeader } from '../logger.js'
7
7
 
@@ -1,4 +1,4 @@
1
- import locatePath from 'locate-path'
1
+ import { locatePath } from 'locate-path'
2
2
 
3
3
  import { addErrorInfo } from '../../error/info.js'
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { fileURLToPath } from 'url'
2
2
 
3
- import execa from 'execa'
3
+ import { execaNode } from 'execa'
4
4
 
5
5
  import { addErrorInfo } from '../error/info.js'
6
6
  import { logLoadingPlugins, logOutdatedPlugins, logIncompatiblePlugins } from '../log/messages/compatibility.js'
@@ -31,7 +31,7 @@ const tStartPlugins = async function ({ pluginsOptions, buildDir, childEnv, logs
31
31
  export const startPlugins = measureDuration(tStartPlugins, 'start_plugins')
32
32
 
33
33
  const startPlugin = async function ({ pluginDir, nodePath, buildDir, childEnv }) {
34
- const childProcess = execa.node(CHILD_MAIN_FILE, {
34
+ const childProcess = execaNode(CHILD_MAIN_FILE, {
35
35
  cwd: buildDir,
36
36
  preferLocal: true,
37
37
  localDir: pluginDir,
@@ -1,6 +1,6 @@
1
1
  import { platform } from 'process'
2
2
 
3
- import execa from 'execa'
3
+ import { execa } from 'execa'
4
4
 
5
5
  import { addErrorInfo } from '../error/info.js'
6
6
  import { getBuildCommandDescription } from '../log/description.js'
@@ -2,7 +2,7 @@ import { join, resolve } from 'path'
2
2
 
3
3
  import { zipFunctions } from '@netlify/zip-it-and-ship-it'
4
4
  import mapObject from 'map-obj'
5
- import pathExists from 'path-exists'
5
+ import { pathExists } from 'path-exists'
6
6
 
7
7
  import { log } from '../../log/logger.js'
8
8
  import { logBundleResults, logFunctionsNonExistingDir, logFunctionsToBundle } from '../../log/messages/core_steps.js'
@@ -1,4 +1,4 @@
1
- import pathExists from 'path-exists'
1
+ import { pathExists } from 'path-exists'
2
2
 
3
3
  import { installFunctionDependencies } from '../../install/functions.js'
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { isDeepStrictEqual } from 'util'
2
2
 
3
3
  import pFilter from 'p-filter'
4
- import pathExists from 'path-exists'
4
+ import { pathExists } from 'path-exists'
5
5
 
6
6
  import { resolveUpdatedConfig } from '../core/config.js'
7
7
  import { addErrorInfo } from '../error/info.js'
@@ -1,6 +1,6 @@
1
1
  import { dirname } from 'path'
2
2
 
3
- import readPkgUp from 'read-pkg-up'
3
+ import { readPackageUp } from 'read-pkg-up'
4
4
 
5
5
  // Retrieve `package.json` from a specific directory
6
6
  export const getPackageJson = async function (cwd, { normalize } = {}) {
@@ -16,7 +16,7 @@ export const getPackageJson = async function (cwd, { normalize } = {}) {
16
16
 
17
17
  const getPackageObj = async function ({ cwd, normalize = true }) {
18
18
  try {
19
- return await readPkgUp({ cwd, normalize })
19
+ return await readPackageUp({ cwd, normalize })
20
20
  // If the `package.json` is invalid and `normalize` is `true`, an error is
21
21
  // thrown. We return `undefined` then.
22
22
  } catch {}