@netlify/build 35.13.5 → 35.13.6

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.
@@ -1,7 +1,7 @@
1
+ import crypto from 'crypto';
1
2
  import process from 'process';
2
3
  import { promisify } from 'util';
3
4
  import { pEvent } from 'p-event';
4
- import { v4 as uuidv4 } from 'uuid';
5
5
  import { jsonToError, errorToJson } from '../error/build.js';
6
6
  import { addErrorInfo } from '../error/info.js';
7
7
  import { logSendingEventToChild, logSentEventToChild, logReceivedEventFromChild, logSendingEventToParent, } from '../log/messages/ipc.js';
@@ -9,7 +9,7 @@ import { logSendingEventToChild, logSentEventToChild, logReceivedEventFromChild,
9
9
  // We need to fire them in parallel because `process.send()` can be slow
10
10
  // to await, i.e. child might send response before parent start listening for it
11
11
  export const callChild = async function ({ childProcess, eventName, payload, logs, verbose }) {
12
- const callId = uuidv4();
12
+ const callId = crypto.randomUUID();
13
13
  const [response] = await Promise.all([
14
14
  getEventFromChild(childProcess, callId),
15
15
  sendEventToChild({ childProcess, callId, eventName, payload, logs, verbose }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "35.13.5",
3
+ "version": "35.13.6",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -69,14 +69,14 @@
69
69
  "@bugsnag/js": "^8.0.0",
70
70
  "@netlify/blobs": "^10.4.4",
71
71
  "@netlify/cache-utils": "^6.0.5",
72
- "@netlify/config": "^24.5.0",
73
- "@netlify/edge-bundler": "14.10.1",
74
- "@netlify/functions-utils": "^6.2.31",
72
+ "@netlify/config": "^24.5.1",
73
+ "@netlify/edge-bundler": "14.10.2",
74
+ "@netlify/functions-utils": "^6.2.32",
75
75
  "@netlify/git-utils": "^6.0.4",
76
76
  "@netlify/opentelemetry-utils": "^2.0.2",
77
77
  "@netlify/plugins-list": "^6.81.6",
78
78
  "@netlify/run-utils": "^6.0.3",
79
- "@netlify/zip-it-and-ship-it": "14.5.5",
79
+ "@netlify/zip-it-and-ship-it": "14.5.6",
80
80
  "@sindresorhus/slugify": "^2.0.0",
81
81
  "ansi-escapes": "^7.0.0",
82
82
  "ansis": "^4.1.0",
@@ -114,7 +114,6 @@
114
114
  "terminal-link": "^4.0.0",
115
115
  "ts-node": "^10.9.1",
116
116
  "typescript": "^5.0.0",
117
- "uuid": "^11.0.0",
118
117
  "yaml": "^2.8.0",
119
118
  "yargs": "^17.6.0",
120
119
  "zod": "^3.25.76"
@@ -153,5 +152,5 @@
153
152
  "engines": {
154
153
  "node": ">=18.14.0"
155
154
  },
156
- "gitHead": "7869bcb26c738222edeb98cadd50f5a488f6c9aa"
155
+ "gitHead": "0f6098d436437ff65fa97f6c191137f83e42918c"
157
156
  }