Prefix core module imports with node:

This commit is contained in:
absidue
2021-10-28 19:40:19 +02:00
parent a13e588246
commit 90867b9430
9 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import tls, { TLSSocket } from 'tls';
import { URL } from 'url';
import tls, { TLSSocket } from 'node:tls';
import { URL } from 'node:url';
interface ProxyOptions extends tls.ConnectionOptions {
method: 'GET';

View File

@@ -1,6 +1,6 @@
import http, { ClientRequest, IncomingMessage } from 'http';
import https, { RequestOptions } from 'https';
import { URL } from 'url';
import http, { ClientRequest, IncomingMessage } from 'node:http';
import https, { RequestOptions } from 'node:https';
import { URL } from 'node:url';
import { getCookies, setCookie, uploadCookie } from '../YouTube/utils/cookie';
import { Proxy } from './classes';