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,4 +1,4 @@
|
||||
import { Readable } from 'stream';
|
||||
import { Readable } from 'node:stream';
|
||||
import type { IAccessControlledResource, IContext, IPolicy } from '@solid/access-control-policy';
|
||||
import { allowAccessModes } from '@solid/access-control-policy';
|
||||
import type { Store } from 'n3';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createPublicKey } from 'crypto';
|
||||
import type { KeyObject } from 'crypto';
|
||||
import { createPublicKey } from 'node:crypto';
|
||||
import type { KeyObject } from 'node:crypto';
|
||||
import { exportJWK, generateKeyPair, importJWK } from 'jose';
|
||||
import type { AsymmetricSigningAlgorithm, JWKS } from '../../../templates/types/oidc-provider';
|
||||
import type { KeyValueStorage } from '../../storage/keyvalue/KeyValueStorage';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable ts/naming-convention */
|
||||
import { randomBytes } from 'crypto';
|
||||
import { randomBytes } from 'node:crypto';
|
||||
import type {
|
||||
Account,
|
||||
Adapter,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { randomBytes } from 'crypto';
|
||||
import { randomBytes } from 'node:crypto';
|
||||
import { Initializer } from '../../../../init/Initializer';
|
||||
import { getLoggerFor } from '../../../../logging/LogUtil';
|
||||
import { createErrorMessage } from '../../../../util/errors/ErrorUtil';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import cluster from 'cluster';
|
||||
import cluster from 'node:cluster';
|
||||
import { WrappingLogger } from './Logger';
|
||||
import type { Logger } from './Logger';
|
||||
import type { LoggerFactory } from './LoggerFactory';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import cluster from 'cluster';
|
||||
import process from 'process';
|
||||
import cluster from 'node:cluster';
|
||||
import process from 'node:process';
|
||||
import type { LogLevel } from './LogLevel';
|
||||
|
||||
export interface LogMetadata {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createReadStream, promises as fsPromises } from 'fs';
|
||||
import type { Readable } from 'stream';
|
||||
import { createReadStream, promises as fsPromises } from 'node:fs';
|
||||
import type { Readable } from 'node:stream';
|
||||
import { pathExists } from 'fs-extra';
|
||||
import { Parser } from 'n3';
|
||||
import type { AuxiliaryStrategy } from '../../http/auxiliary/AuxiliaryStrategy';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { promises as fsPromises } from 'fs';
|
||||
import { promises as fsPromises } from 'node:fs';
|
||||
import type { ResourceIdentifier } from '../../../http/representation/ResourceIdentifier';
|
||||
import type { FileIdentifierMapper } from '../../../storage/mapping/FileIdentifierMapper';
|
||||
import { ConflictHttpError } from '../../../util/errors/ConflictHttpError';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { readFileSync } from 'fs';
|
||||
import type { Server } from 'http';
|
||||
import { createServer as createHttpServer } from 'http';
|
||||
import type { ServerOptions } from 'https';
|
||||
import { createServer as createHttpsServer } from 'https';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import type { Server } from 'node:http';
|
||||
import { createServer as createHttpServer } from 'node:http';
|
||||
import type { ServerOptions } from 'node:https';
|
||||
import { createServer as createHttpsServer } from 'node:https';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import type { HttpServerFactory } from './HttpServerFactory';
|
||||
import type { ServerConfigurator } from './ServerConfigurator';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IncomingMessage, Server, ServerResponse } from 'http';
|
||||
import type { IncomingMessage, Server, ServerResponse } from 'node:http';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import { isError } from '../util/errors/ErrorUtil';
|
||||
import { guardStream } from '../util/GuardedStream';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IncomingMessage } from 'http';
|
||||
import type { IncomingMessage } from 'node:http';
|
||||
import type { Guarded } from '../util/GuardedStream';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ServerResponse } from 'http';
|
||||
import type { ServerResponse } from 'node:http';
|
||||
|
||||
/**
|
||||
* An outgoing HTTP response;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Server } from 'http';
|
||||
import { Server as HttpsServer } from 'https';
|
||||
import type { Server } from 'node:http';
|
||||
import { Server as HttpsServer } from 'node:https';
|
||||
|
||||
/**
|
||||
* Returns `true` if the server is an HTTPS server.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Server } from 'http';
|
||||
import type { Server } from 'node:http';
|
||||
import { AsyncHandler } from '../util/handlers/AsyncHandler';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { IncomingMessage, Server } from 'http';
|
||||
import type { Socket } from 'net';
|
||||
import type { IncomingMessage, Server } from 'node:http';
|
||||
import type { Socket } from 'node:net';
|
||||
import type { WebSocket } from 'ws';
|
||||
import { WebSocketServer } from 'ws';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createReadStream } from 'fs';
|
||||
import { createReadStream } from 'node:fs';
|
||||
import escapeStringRegexp from 'escape-string-regexp';
|
||||
import * as mime from 'mime-types';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Readable } from 'stream';
|
||||
import { Readable } from 'node:stream';
|
||||
import { KeysRdfParseJsonLd } from '@comunica/context-entries';
|
||||
import { parse, toSeconds } from 'iso8601-duration';
|
||||
import { DataFactory } from 'n3';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IncomingMessage } from 'http';
|
||||
import type { IncomingMessage } from 'node:http';
|
||||
import { BadRequestHttpError } from '../../../util/errors/BadRequestHttpError';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import assert from 'assert';
|
||||
import assert from 'node:assert';
|
||||
import type { Representation } from '../http/representation/Representation';
|
||||
import type { RepresentationPreferences } from '../http/representation/RepresentationPreferences';
|
||||
import type { ResourceIdentifier } from '../http/representation/ResourceIdentifier';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { AuxiliaryIdentifierStrategy } from '../http/auxiliary/AuxiliaryIdentifierStrategy';
|
||||
import { BasicRepresentation } from '../http/representation/BasicRepresentation';
|
||||
import type { Patch } from '../http/representation/Patch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import { ensureDirSync, rename, unlink } from 'fs-extra';
|
||||
import { v4 } from 'uuid';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Representation } from '../../http/representation/Representation';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Stats } from 'fs-extra';
|
||||
import { createReadStream, createWriteStream, ensureDir, lstat, opendir, remove, stat } from 'fs-extra';
|
||||
import type { Quad } from 'rdf-js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
import type { Guarded } from '../../util/GuardedStream';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import arrayifyStream from 'arrayify-stream';
|
||||
import { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Representation } from '../../http/representation/Representation';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import arrayifyStream from 'arrayify-stream';
|
||||
import { SparqlEndpointFetcher } from 'fetch-sparql-endpoint';
|
||||
import { DataFactory } from 'n3';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Validator } from '../../http/auxiliary/Validator';
|
||||
import { BasicRepresentation } from '../../http/representation/BasicRepresentation';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createReadStream } from 'fs';
|
||||
import { createReadStream } from 'node:fs';
|
||||
import { BasicRepresentation } from '../../http/representation/BasicRepresentation';
|
||||
import type { Representation } from '../../http/representation/Representation';
|
||||
import { NotImplementedHttpError } from '../../util/errors/NotImplementedHttpError';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import orderBy from 'lodash.orderby';
|
||||
import type { Quad } from 'rdf-js';
|
||||
import { BasicRepresentation } from '../../http/representation/BasicRepresentation';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import assert from 'assert';
|
||||
import assert from 'node:assert';
|
||||
import { BasicRepresentation } from '../../http/representation/BasicRepresentation';
|
||||
import type { Representation } from '../../http/representation/Representation';
|
||||
import { INTERNAL_ERROR } from '../../util/ContentTypes';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { parse } from 'querystring';
|
||||
import { parse } from 'node:querystring';
|
||||
import { BasicRepresentation } from '../../http/representation/BasicRepresentation';
|
||||
import type { Representation } from '../../http/representation/Representation';
|
||||
import { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import { DataFactory, StreamWriter } from 'n3';
|
||||
import type { Quad } from 'rdf-js';
|
||||
import rdfSerializer from 'rdf-serialize';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PassThrough } from 'stream';
|
||||
import { PassThrough } from 'node:stream';
|
||||
import { KeysRdfParseJsonLd } from '@comunica/context-entries';
|
||||
import type { NamedNode } from '@rdfjs/types';
|
||||
import rdfParser from 'rdf-parse';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createHash } from 'crypto';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
import { NotImplementedHttpError } from '../../util/errors/NotImplementedHttpError';
|
||||
import type { KeyValueStorage } from './KeyValueStorage';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createHash } from 'crypto';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { getLoggerFor } from '../../logging/LogUtil';
|
||||
import { NotImplementedHttpError } from '../../util/errors/NotImplementedHttpError';
|
||||
import type { KeyValueStorage } from './KeyValueStorage';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { promises as fsPromises } from 'fs';
|
||||
import { promises as fsPromises } from 'node:fs';
|
||||
import * as mime from 'mime-types';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
import { DEFAULT_CUSTOM_TYPES } from '../../util/ContentTypes';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import { Store } from 'n3';
|
||||
import { BasicRepresentation } from '../../http/representation/BasicRepresentation';
|
||||
import type { RdfDatasetRepresentation } from '../../http/representation/RdfDatasetRepresentation';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// These two eslint lines are needed to store 'this' in a variable so it can be used
|
||||
// in the PassThrough of createQuotaGuard
|
||||
/* eslint-disable ts/no-this-alias */
|
||||
import { PassThrough } from 'stream';
|
||||
import { PassThrough } from 'node:stream';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
import { PayloadHttpError } from '../../util/errors/PayloadHttpError';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Stats } from 'fs';
|
||||
import { promises as fsPromises } from 'fs';
|
||||
import type { Stats } from 'node:fs';
|
||||
import { promises as fsPromises } from 'node:fs';
|
||||
import type { RepresentationMetadata } from '../../http/representation/RepresentationMetadata';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
import { joinFilePath, normalizeFilePath, trimTrailingSlashes } from '../../util/PathUtil';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PassThrough, Readable } from 'stream';
|
||||
import { PassThrough, Readable } from 'node:stream';
|
||||
import { Validator } from '../../http/auxiliary/Validator';
|
||||
import type { ValidatorInput } from '../../http/auxiliary/Validator';
|
||||
import type { Representation } from '../../http/representation/Representation';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { EventEmitter } from 'events';
|
||||
import { EventEmitter } from 'node:events';
|
||||
|
||||
/**
|
||||
* A typed interface of {@link EventEmitter}.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IncomingHttpHeaders } from 'http';
|
||||
import type { IncomingHttpHeaders } from 'node:http';
|
||||
import escapeStringRegexp from 'escape-string-regexp';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import type { HttpResponse } from '../server/HttpResponse';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { posix, win32 } from 'path';
|
||||
import { posix, win32 } from 'node:path';
|
||||
import { readJson } from 'fs-extra';
|
||||
import urljoin from 'url-join';
|
||||
import type { TargetExtractor } from '../http/input/identifier/TargetExtractor';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { types } from 'util';
|
||||
import { types } from 'node:util';
|
||||
import { createAggregateError } from './errors/HttpErrorUtil';
|
||||
|
||||
export type PromiseOrValue<T> = T | Promise<T>;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Readable } from 'stream';
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { NamedNode } from '@rdfjs/types';
|
||||
import arrayifyStream from 'arrayify-stream';
|
||||
import type { ParserOptions } from 'n3';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Readable, TransformCallback, TransformOptions } from 'stream';
|
||||
import { Transform } from 'stream';
|
||||
import type { Readable, TransformCallback, TransformOptions } from 'node:stream';
|
||||
import { Transform } from 'node:stream';
|
||||
import { RangeNotSatisfiedHttpError } from './errors/RangeNotSatisfiedHttpError';
|
||||
import { pipeSafely } from './StreamUtil';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { DuplexOptions, ReadableOptions, Writable } from 'stream';
|
||||
import { Readable, Transform } from 'stream';
|
||||
import { promisify } from 'util';
|
||||
import type { DuplexOptions, ReadableOptions, Writable } from 'node:stream';
|
||||
import { Readable, Transform } from 'node:stream';
|
||||
import { promisify } from 'node:util';
|
||||
import arrayifyStream from 'arrayify-stream';
|
||||
import eos from 'end-of-stream';
|
||||
import { Store } from 'n3';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { types } from 'util';
|
||||
import { types } from 'node:util';
|
||||
|
||||
/**
|
||||
* Checks if the input is an {@link Error}.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { URL } from 'url';
|
||||
import { URL } from 'node:url';
|
||||
import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
|
||||
import { errorTermsToMetadata } from '../errors/HttpErrorUtil';
|
||||
import { InternalServerError } from '../errors/InternalServerError';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createHash } from 'crypto';
|
||||
import { createHash } from 'node:crypto';
|
||||
import { ensureDir, remove } from 'fs-extra';
|
||||
import type { LockOptions, UnlockOptions } from 'proper-lockfile';
|
||||
import { lock, unlock } from 'proper-lockfile';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { promises as fsPromises } from 'fs';
|
||||
import { promises as fsPromises } from 'node:fs';
|
||||
import { joinFilePath, resolveAssetPath } from '../PathUtil';
|
||||
import type { Template } from './TemplateEngine';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user