mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Use node protocol when importing builtins
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable unicorn/no-process-exit */
|
||||
import { existsSync } from 'fs';
|
||||
import type { WriteStream } from 'tty';
|
||||
import { existsSync } from 'node:fs';
|
||||
import type { WriteStream } from 'node:tty';
|
||||
import type { IComponentsManagerBuilderOptions } from 'componentsjs';
|
||||
import { ComponentsManager } from 'componentsjs';
|
||||
import { readJSON } from 'fs-extra';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Server } from 'http';
|
||||
import { URL } from 'url';
|
||||
import { promisify } from 'util';
|
||||
import type { Server } from 'node:http';
|
||||
import { URL } from 'node:url';
|
||||
import { promisify } from 'node:util';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import { isHttpsServer } from '../server/HttpServerFactory';
|
||||
import type { HttpServerFactory } from '../server/HttpServerFactory';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Worker } from 'cluster';
|
||||
import cluster from 'cluster';
|
||||
import { cpus } from 'os';
|
||||
import type { Worker } from 'node:cluster';
|
||||
import cluster from 'node:cluster';
|
||||
import { cpus } from 'node:os';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
import { InternalServerError } from '../../util/errors/InternalServerError';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createInterface } from 'readline';
|
||||
import { createInterface } from 'node:readline';
|
||||
import { ACCOUNT_STORAGE_DESCRIPTION } from '../../identity/interaction/account/util/BaseAccountStore';
|
||||
import type { AccountLoginStorage } from '../../identity/interaction/account/util/LoginStorage';
|
||||
import { ACCOUNT_TYPE } from '../../identity/interaction/account/util/LoginStorage';
|
||||
|
||||
Reference in New Issue
Block a user