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

@ -1,18 +1,18 @@
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import net from 'net';
import net from 'node:net';
import type { ProxyAgent } from 'proxy-agent';
import { URL } from 'url';
import type { LookupOptions, LookupAddress } from 'dns';
import { lookup } from 'dns/promises';
import { URL } from 'node:url';
import type { LookupOptions, LookupAddress } from 'node:dns';
import { lookup } from 'node:dns/promises';
import { createLogger } from '../logging/log';
import { happyEyeballs } from './createHTTPSAgent';
import type { ConnectOptionsType } from './createHTTPSAgent';
import { explodePromise } from './explodePromise';
import { SECOND } from './durations';
import { drop } from './drop';
import { createLogger } from '../logging/log.js';
import { happyEyeballs } from './createHTTPSAgent.js';
import type { ConnectOptionsType } from './createHTTPSAgent.js';
import { explodePromise } from './explodePromise.js';
import { SECOND } from './durations/index.js';
import { drop } from './drop.js';
const log = createLogger('createProxyAgent');