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,7 +2,6 @@ import { expect } from 'chai';
|
|||
import * as http from 'node:http';
|
||||
import * as fs from 'node:fs/promises';
|
||||
import * as path from 'node:path';
|
||||
import * as url from 'node:url';
|
||||
|
||||
import { BrowserWindow, WebPreferences } from 'electron/main';
|
||||
|
||||
|
@ -28,7 +27,7 @@ describe('security warnings', () => {
|
|||
before(async () => {
|
||||
// Create HTTP Server
|
||||
server = http.createServer(async (request, response) => {
|
||||
const uri = url.parse(request.url!).pathname!;
|
||||
const uri = new URL(request.url!, `http://${request.headers.host}`).pathname!;
|
||||
let filename = path.join(__dirname, 'fixtures', 'pages', uri);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue