@netlify/build 26.2.4-rc → 26.2.7

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.4-rc",
3
+ "version": "26.2.7",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./src/core/main.js",
@@ -61,37 +61,37 @@
61
61
  "@netlify/functions-utils": "^4.0.0",
62
62
  "@netlify/git-utils": "^4.0.0",
63
63
  "@netlify/plugin-edge-handlers": "^3.0.6",
64
- "@netlify/plugins-list": "^6.9.0",
64
+ "@netlify/plugins-list": "^6.10.1",
65
65
  "@netlify/run-utils": "^4.0.0",
66
- "@netlify/zip-it-and-ship-it": "5.7.1",
67
- "@sindresorhus/slugify": "^1.1.0",
66
+ "@netlify/zip-it-and-ship-it": "5.7.4",
67
+ "@sindresorhus/slugify": "^2.0.0",
68
68
  "@types/node": "^16.0.0",
69
- "ansi-escapes": "^4.3.2",
69
+ "ansi-escapes": "^5.0.0",
70
70
  "chalk": "^5.0.0",
71
- "clean-stack": "^3.0.1",
71
+ "clean-stack": "^4.0.0",
72
72
  "execa": "^6.0.0",
73
- "figures": "^3.2.0",
73
+ "figures": "^4.0.0",
74
74
  "filter-obj": "^3.0.0",
75
75
  "got": "^10.0.0",
76
- "indent-string": "^4.0.0",
76
+ "indent-string": "^5.0.0",
77
77
  "is-plain-obj": "^4.0.0",
78
78
  "js-yaml": "^4.0.0",
79
- "keep-func-props": "^3.0.0",
79
+ "keep-func-props": "^4.0.0",
80
80
  "locate-path": "^7.0.0",
81
- "log-process-errors": "^6.0.0",
81
+ "log-process-errors": "^7.0.0",
82
82
  "map-obj": "^5.0.0",
83
83
  "memoize-one": "^6.0.0",
84
- "os-name": "^4.0.1",
85
- "p-event": "^4.1.0",
84
+ "os-name": "^5.0.0",
85
+ "p-event": "^5.0.0",
86
86
  "p-every": "^2.0.0",
87
87
  "p-filter": "^3.0.0",
88
88
  "p-locate": "^6.0.0",
89
- "p-reduce": "^2.1.0",
89
+ "p-reduce": "^3.0.0",
90
90
  "path-exists": "^5.0.0",
91
- "path-type": "^4.0.0",
92
- "pkg-dir": "^5.0.0",
91
+ "path-type": "^5.0.0",
92
+ "pkg-dir": "^6.0.0",
93
93
  "pretty-ms": "^7.0.0",
94
- "ps-list": "^7.0.0",
94
+ "ps-list": "^8.0.0",
95
95
  "read-pkg-up": "^9.0.0",
96
96
  "readdirp": "^3.4.0",
97
97
  "resolve": "^2.0.0-next.1",
@@ -99,9 +99,9 @@
99
99
  "safe-json-stringify": "^1.2.0",
100
100
  "semver": "^7.0.0",
101
101
  "statsd-client": "0.4.7",
102
- "string-width": "^4.2.0",
102
+ "string-width": "^5.0.0",
103
103
  "strip-ansi": "^7.0.0",
104
- "supports-color": "^8.0.0",
104
+ "supports-color": "^9.0.0",
105
105
  "tmp-promise": "^3.0.2",
106
106
  "ts-node": "10.4.0",
107
107
  "typescript": "^4.5.4",
@@ -117,14 +117,14 @@
117
117
  "del": "^6.0.0",
118
118
  "fast-safe-stringify": "^2.0.7",
119
119
  "get-bin-path": "^6.0.0",
120
- "get-node": "^11.0.2",
121
- "get-port": "^5.1.1",
120
+ "get-node": "^12.0.0",
121
+ "get-port": "^6.0.0",
122
122
  "get-stream": "^6.0.0",
123
- "has-ansi": "^4.0.0",
123
+ "has-ansi": "^5.0.0",
124
124
  "is-ci": "^3.0.0",
125
125
  "moize": "^6.0.0",
126
- "path-key": "^3.1.1",
127
- "process-exists": "^4.0.0",
126
+ "path-key": "^4.0.0",
127
+ "process-exists": "^5.0.0",
128
128
  "sinon": "^13.0.0",
129
129
  "yarn": "^1.22.4"
130
130
  },
@@ -1,4 +1,4 @@
1
- import pkgDir from 'pkg-dir'
1
+ import { packageDirectory } from 'pkg-dir'
2
2
 
3
3
  import { logInstallLocalPluginsDeps } from '../log/messages/install.js'
4
4
 
@@ -57,6 +57,6 @@ const hasPackageDir = function ({ packageDir }) {
57
57
 
58
58
  // We only install dependencies of local plugins that have their own `package.json`
59
59
  const removeMainRoot = async function (localPluginsOptions, buildDir) {
60
- const mainPackageDir = await pkgDir(buildDir)
60
+ const mainPackageDir = await packageDirectory({ cwd: buildDir })
61
61
  return localPluginsOptions.filter(({ packageDir }) => packageDir !== mainPackageDir)
62
62
  }
@@ -1,7 +1,7 @@
1
1
  import process from 'process'
2
2
  import { promisify } from 'util'
3
3
 
4
- import pEvent from 'p-event'
4
+ import { pEvent } from 'p-event'
5
5
  import { v4 as uuidv4 } from 'uuid'
6
6
 
7
7
  import { jsonToError, errorToJson } from '../error/build.js'
@@ -2,7 +2,7 @@ import net from 'net'
2
2
  import { normalize, resolve, relative } from 'path'
3
3
  import { promisify } from 'util'
4
4
 
5
- import pEvent from 'p-event'
5
+ import { pEvent } from 'p-event'
6
6
 
7
7
  import { addErrorInfo } from '../../error/info.js'
8
8
  import { runsAfterDeploy } from '../../plugins/events.js'