Enforce node: schema for builtins, import extensions

This commit is contained in:
Fedor Indutny 2025-09-16 17:39:03 -07:00 committed by GitHub
commit c02565eaa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2096 changed files with 14955 additions and 14023 deletions

View file

@ -4,10 +4,10 @@
// NOTE: Temporarily allow `then` until we convert the entire file to `async` / `await`:
/* eslint-disable more/no-then */
import * as fs from 'fs';
import * as fs from 'node:fs';
import * as fse from 'fs-extra';
import * as os from 'os';
import * as path from 'path';
import * as os from 'node:os';
import * as path from 'node:path';
import { assert } from 'chai';
import {
@ -16,7 +16,7 @@ import {
isLineAfterDate,
fetchLog,
fetchLogs,
} from '../logging/main_process_logging';
} from '../logging/main_process_logging.js';
describe('logging', () => {
const fakeLogEntry = ({