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,5 +1,5 @@
|
||||
import type { IncomingMessage } from 'http';
|
||||
import type { TLSSocket } from 'tls';
|
||||
import type { IncomingMessage } from 'node:http';
|
||||
import type { TLSSocket } from 'node:tls';
|
||||
import type { WebSocket } from 'ws';
|
||||
import type { SingleThreaded } from '../init/cluster/SingleThreaded';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { TLSSocket } from 'tls';
|
||||
import type { TLSSocket } from 'node:tls';
|
||||
import type { HttpRequest } from '../../../server/HttpRequest';
|
||||
import { BadRequestHttpError } from '../../../util/errors/BadRequestHttpError';
|
||||
import { errorTermsToMetadata } from '../../../util/errors/HttpErrorUtil';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Guarded } from '../../../util/GuardedStream';
|
||||
import { SOLID_HTTP } from '../../../util/Vocabularies';
|
||||
import type { RepresentationMetadata } from '../../representation/RepresentationMetadata';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Guarded } from '../../../util/GuardedStream';
|
||||
import type { RepresentationMetadata } from '../../representation/RepresentationMetadata';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import { INTERNAL_QUADS } from '../../util/ContentTypes';
|
||||
import type { Guarded } from '../../util/GuardedStream';
|
||||
import { guardStream } from '../../util/GuardedStream';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Guarded } from '../../util/GuardedStream';
|
||||
import type { RepresentationMetadata } from './RepresentationMetadata';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user