build: update some build dependencies (#43882)
* build: update some build dependencies * build: fix eslint issues after updating * build: disable ts check on busted js example * build: update internal types for stricter event handling * restore url.parse behavior * fix typing issues * sigh * build: update easy deps * build: skip woa engines check
This commit is contained in:
parent
15db63e26d
commit
74af96da16
49 changed files with 1797 additions and 1276 deletions
2
spec/fixtures/api/fork-with-node-options.js
vendored
2
spec/fixtures/api/fork-with-node-options.js
vendored
|
@ -19,7 +19,7 @@ try {
|
|||
['--require', path.join(fixtures, 'module', 'noop.js')],
|
||||
{ env, stdio: 'inherit' });
|
||||
process.exit(0);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
console.log('NODE_OPTIONS passed to child');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
3
spec/fixtures/api/singleton-data/main.js
vendored
3
spec/fixtures/api/singleton-data/main.js
vendored
|
@ -23,7 +23,8 @@ if (app.commandLine.hasSwitch('data-content')) {
|
|||
}
|
||||
|
||||
const gotTheLock = sendAdditionalData
|
||||
? app.requestSingleInstanceLock(obj) : app.requestSingleInstanceLock();
|
||||
? app.requestSingleInstanceLock(obj)
|
||||
: app.requestSingleInstanceLock();
|
||||
|
||||
app.on('second-instance', (event, args, workingDirectory, data) => {
|
||||
setImmediate(() => {
|
||||
|
|
4
spec/fixtures/api/utility-process/net.js
vendored
4
spec/fixtures/api/utility-process/net.js
vendored
|
@ -19,9 +19,9 @@ if (configurableArg === '--omit-credentials') {
|
|||
|
||||
if (request) {
|
||||
if (configurableArg === '--use-net-login-event') {
|
||||
request.on('login', (authInfo, cb) => {
|
||||
request.on('login', (authInfo, provideCredentials) => {
|
||||
process.parentPort.postMessage(authInfo);
|
||||
cb('user', 'pass');
|
||||
provideCredentials('user', 'pass');
|
||||
});
|
||||
}
|
||||
request.on('response', (response) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue