chore(deps): Bump enhanced-resolve to ^5.14.1

This commit is contained in:
Sean Larkin 2023-05-24 14:39:36 +00:00
parent 3e910299b9
commit 56be17507f
3 changed files with 65 additions and 34 deletions

View File

@ -14,7 +14,7 @@
"acorn-import-assertions": "^1.9.0",
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
"enhanced-resolve": "^5.14.0",
"enhanced-resolve": "^5.14.1",
"es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",

87
types.d.ts vendored
View File

@ -83,6 +83,7 @@ import {
WithStatement,
YieldExpression
} from "estree";
import { Dirent } from "fs";
import {
IncomingMessage,
ServerOptions as ServerOptionsImport,
@ -205,8 +206,9 @@ declare interface AggressiveSplittingPluginOptions {
*/
minSize?: number;
}
type Alias = string | false | string[];
declare interface AliasOption {
alias: string | false | string[];
alias: Alias;
name: string;
onlyModule?: boolean;
}
@ -460,12 +462,16 @@ declare interface BannerPluginOptions {
}
declare interface BaseResolveRequest {
path: string | false;
context?: object;
descriptionFilePath?: string;
descriptionFileRoot?: string;
descriptionFileData?: object;
descriptionFileData?: JsonObject;
relativePath?: string;
ignoreSymlinks?: boolean;
fullySpecified?: boolean;
__innerRequest?: string;
__innerRequest_request?: string;
__innerRequest_relativePath?: string;
}
declare abstract class BasicEvaluatedExpression {
type: number;
@ -4291,17 +4297,18 @@ declare interface FileSystem {
| "binary"
| ((
arg0?: null | NodeJS.ErrnoException,
arg1?: any[] | (string | Buffer)[]
arg1?: (string | Buffer)[] | (typeof Dirent)[]
) => void)
| ReaddirOptions
| "utf-8"
| "ucs-2"
| "base64"
| "base64url"
| "hex"
| "buffer",
arg2?: (
arg0?: null | NodeJS.ErrnoException,
arg1?: any[] | (string | Buffer)[]
arg1?: (string | Buffer)[] | (typeof Dirent)[]
) => void
) => void;
readJson?: {
@ -6097,6 +6104,17 @@ declare interface JavascriptParserOptions {
*/
wrappedContextRegExp?: RegExp;
}
type JsonObject = { [index: string]: JsonValue } & {
[index: string]:
| undefined
| null
| string
| number
| boolean
| JsonObject
| JsonValue[];
};
type JsonValue = null | string | number | boolean | JsonObject | JsonValue[];
declare class JsonpChunkLoadingRuntimeModule extends RuntimeModule {
constructor(runtimeRequirements: Set<string>);
static getCompilationHooks(
@ -6213,6 +6231,23 @@ declare interface KnownBuildMeta {
declare interface KnownCreateStatsOptionsContext {
forToString?: boolean;
}
declare interface KnownHooks {
resolveStep: SyncHook<
[
AsyncSeriesBailHook<
[ResolveRequest, ResolveContext],
null | ResolveRequest
>,
ResolveRequest
]
>;
noResolve: SyncHook<[ResolveRequest, Error]>;
resolve: AsyncSeriesBailHook<
[ResolveRequest, ResolveContext],
null | ResolveRequest
>;
result: AsyncSeriesHook<[ResolveRequest, ResolveContext]>;
}
declare interface KnownNormalizedStatsOptions {
context: string;
requestShortener: RequestShortener;
@ -9871,6 +9906,7 @@ declare interface ReaddirOptions {
| "utf-8"
| "ucs-2"
| "base64"
| "base64url"
| "hex"
| "buffer";
withFileTypes?: boolean;
@ -10384,23 +10420,7 @@ declare interface ResolvedContextTimestampAndHash {
declare abstract class Resolver {
fileSystem: FileSystem;
options: ResolveOptionsTypes;
hooks: {
resolveStep: SyncHook<
[
AsyncSeriesBailHook<
[ResolveRequest, ResolveContext],
null | ResolveRequest
>,
ResolveRequest
]
>;
noResolve: SyncHook<[ResolveRequest, Error]>;
resolve: AsyncSeriesBailHook<
[ResolveRequest, ResolveContext],
null | ResolveRequest
>;
result: AsyncSeriesHook<[ResolveRequest, ResolveContext]>;
};
hooks: KnownHooks;
ensureHook(
name:
| string
@ -10436,18 +10456,21 @@ declare abstract class Resolver {
) => void
): void;
doResolve(
hook?: any,
request?: any,
message?: any,
resolveContext?: any,
callback?: any
): any;
hook: AsyncSeriesBailHook<
[ResolveRequest, ResolveContext],
null | ResolveRequest
>,
request: ResolveRequest,
message: null | string,
resolveContext: ResolveContext,
callback: (err?: null | Error, result?: ResolveRequest) => void
): void;
parse(identifier: string): ParsedIdentifier;
isModule(path?: any): boolean;
isPrivate(path?: any): boolean;
isModule(path: string): boolean;
isPrivate(path: string): boolean;
isDirectory(path: string): boolean;
join(path?: any, request?: any): string;
normalize(path?: any): string;
join(path: string, request: string): string;
normalize(path: string): string;
}
declare interface ResolverCache {
direct: WeakMap<Object, ResolverWithOptions>;
@ -13147,7 +13170,7 @@ declare interface WithOptions {
) => ResolverWithOptions;
}
declare interface WriteOnlySet<T> {
add: (T?: any) => void;
add: (item: T) => void;
}
type __TypeWebpackOptions = (data: object) =>
| string

View File

@ -2506,7 +2506,7 @@ emojis-list@^3.0.0:
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"
integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==
enhanced-resolve@^5.0.0, enhanced-resolve@^5.14.0:
enhanced-resolve@^5.0.0:
version "5.14.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz#0b6c676c8a3266c99fa281e4433a706f5c0c61c4"
integrity sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==
@ -2514,6 +2514,14 @@ enhanced-resolve@^5.0.0, enhanced-resolve@^5.14.0:
graceful-fs "^4.2.4"
tapable "^2.2.0"
enhanced-resolve@^5.14.1:
version "5.14.1"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.14.1.tgz#de684b6803724477a4af5d74ccae5de52c25f6b3"
integrity sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==
dependencies:
graceful-fs "^4.2.4"
tapable "^2.2.0"
envinfo@^7.7.3:
version "7.8.1"
resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475"