vercel 34.0.0 → 34.1.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/dist/builder-worker.js +2 -0
- package/dist/get-latest-worker.js +3 -0
- package/dist/index.js +3162 -1610
- package/package.json +4 -4
package/dist/builder-worker.js
CHANGED
@@ -7,7 +7,9 @@
|
|
7
7
|
const { FileFsRef } = require('@vercel/build-utils');
|
8
8
|
|
9
9
|
process.on('unhandledRejection', err => {
|
10
|
+
// eslint-disable-next-line no-console
|
10
11
|
console.error('Exiting builder due to build error:');
|
12
|
+
// eslint-disable-next-line no-console
|
11
13
|
console.error(err);
|
12
14
|
process.exit(1);
|
13
15
|
});
|
@@ -49,8 +49,10 @@ class WorkerOutput {
|
|
49
49
|
);
|
50
50
|
this.debugLog.push(`[${new Date().toISOString()}] [${type}] ${str}`);
|
51
51
|
if (type === 'debug' && this.debugOutputEnabled) {
|
52
|
+
// eslint-disable-next-line no-console
|
52
53
|
console.error(`> '[debug] [${new Date().toISOString()}] ${str}`);
|
53
54
|
} else if (type === 'error') {
|
55
|
+
// eslint-disable-next-line no-console
|
54
56
|
console.error(`Error: ${str}`);
|
55
57
|
}
|
56
58
|
}
|
@@ -159,6 +161,7 @@ if (process.connected) {
|
|
159
161
|
output.debug("Notifying parent we're ready");
|
160
162
|
process.send({ type: 'ready' });
|
161
163
|
} else {
|
164
|
+
// eslint-disable-next-line no-console
|
162
165
|
console.error('No IPC bridge detected, exiting');
|
163
166
|
process.exit(1);
|
164
167
|
}
|