id int64 0 3.78k | code stringlengths 13 37.9k | declarations stringlengths 16 64.6k |
|---|---|---|
3,300 | (data: ExternalItemFunctionData) => Promise<ExternalItemValue> | interface ExternalItemFunctionData {
/**
* The directory in which the request is placed.
*/
context?: string;
/**
* Contextual information.
*/
contextInfo?: import |
3,301 | (warning: WebpackError, compilation: Compilation) => boolean | class WebpackError extends Error {
/**
* Creates an instance of WebpackError.
*/
constructor(message?: string);
details: any;
module: Module;
loc: DependencyLocation;
hideStack: boolean;
chunk: Chunk;
file: string;
serialize(__0: { write: any }): void;
deserialize(__0: { read: any }): void;
/**
* Crea... |
3,302 | (warning: WebpackError, compilation: Compilation) => boolean | class Compilation {
/**
* Creates an instance of Compilation.
*/
constructor(compiler: Compiler, params: CompilationParams);
hooks: Readonly<{
buildModule: SyncHook<[Module]>;
rebuildModule: SyncHook<[Module]>;
failedModule: SyncHook<[Module, WebpackError]>;
succeedModule: SyncHook<[Module]>;
stillVali... |
3,303 | constructor(options: ConsumeSharedPluginOptions) | interface ConsumeSharedPluginOptions {
/**
* Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.
*/
consumes: Consumes;
/**
* Share scope name used for all consumed modules (defaults to 'default').
*/
shareScope?: string;
... |
3,304 | constructor(options: ConsumeSharedPluginOptions) | interface ConsumeSharedPluginOptions {
/**
* Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.
*/
consumes: Consumes;
/**
* Share scope name used for all consumed modules (defaults to 'default').
*/
shareScope?: string;
} |
3,305 | constructor(options: ContainerPluginOptions) | interface ContainerPluginOptions {
/**
* Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.
*/
exposes: Exposes;
/**
* The filename for this container relative path inside the `output.path` direct... |
3,306 | constructor(options: ContainerPluginOptions) | interface ContainerPluginOptions {
/**
* Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.
*/
exposes: Exposes;
/**
* The filename for this container relative path inside the `output.path` directo... |
3,307 | constructor(options: ContainerReferencePluginOptions) | interface ContainerReferencePluginOptions {
/**
* The external type of the remote containers.
*/
remoteType: ExternalsType;
/**
* Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope i... |
3,308 | constructor(options: ContainerReferencePluginOptions) | interface ContainerReferencePluginOptions {
/**
* The external type of the remote containers.
*/
remoteType: ExternalsType;
/**
* Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is... |
3,309 | resolveDependencies(
fs: InputFileSystem,
options: ContextModuleOptions,
callback: (
err?: null | Error,
dependencies?: ContextElementDependency[]
) => any
): void | interface ContextModuleOptions {
mode: ContextMode;
recursive: boolean;
regExp: RegExp;
namespaceObject?: boolean | "strict";
addon?: string;
chunkName?: string;
include?: RegExp;
exclude?: RegExp;
groupOptions?: RawChunkGroupOptions;
typePrefix?: string;
category?: string;
/**
* exports referenced from ... |
3,310 | resolveDependencies(
fs: InputFileSystem,
options: ContextModuleOptions,
callback: (
err?: null | Error,
dependencies?: ContextElementDependency[]
) => any
): void | interface InputFileSystem {
readFile: (
arg0: string,
arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: string | Buffer) => void
) => void;
readJson?: (
arg0: string,
arg1: (arg0?: null | Error | NodeJS.ErrnoException, arg1?: any) => void
) => void;
readlink: (
arg0: string,
arg1: (arg0?: null | NodeJ... |
3,311 | addBlock(block: AsyncDependenciesBlock): void | class AsyncDependenciesBlock extends DependenciesBlock {
constructor(
groupOptions: RawChunkGroupOptions & { name?: string } & {
entryOptions?: EntryOptions;
},
loc?: SyntheticDependencyLocation | RealDependencyLocation,
request?: string
);
groupOptions: RawChunkGroupOptions & { name?: string } & {
entr... |
3,312 | addDependency(dependency: Dependency): void | class Dependency {
constructor();
weak: boolean;
optional: boolean;
get type(): string;
get category(): string;
loc: DependencyLocation;
setLoc(
startLine?: any,
startColumn?: any,
endLine?: any,
endColumn?: any
): void;
getContext(): undefined | string;
getResourceIdentifier(): null | string;
couldA... |
3,313 | removeDependency(dependency: Dependency): void | class Dependency {
constructor();
weak: boolean;
optional: boolean;
get type(): string;
get category(): string;
loc: DependencyLocation;
setLoc(
startLine?: any,
startColumn?: any,
endLine?: any,
endColumn?: any
): void;
getContext(): undefined | string;
getResourceIdentifier(): null | string;
couldA... |
3,314 | updateHash(hash: Hash, context: UpdateHashContextDependency): void | interface UpdateHashContextDependency {
chunkGraph: ChunkGraph;
runtime: RuntimeSpec;
runtimeTemplate?: RuntimeTemplate;
} |
3,315 | updateHash(hash: Hash, context: UpdateHashContextDependency): void | class Hash {
constructor();
/**
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
*/
update(data: string | Buffer, inputEncoding?: string): Hash;
/**
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
*/
digest(encod... |
3,316 | getReference(moduleGraph: ModuleGraph): never | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,317 | getReferencedExports(
moduleGraph: ModuleGraph,
runtime: RuntimeSpec
): (string[] | ReferencedExport)[] | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,318 | getReferencedExports(
moduleGraph: ModuleGraph,
runtime: RuntimeSpec
): (string[] | ReferencedExport)[] | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,319 | getCondition(
moduleGraph: ModuleGraph
):
| null
| false
| ((arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState) | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,320 | (arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,321 | (arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState | class ModuleGraphConnection {
constructor(
originModule: null | Module,
dependency: null | Dependency,
module: Module,
explanation?: string,
weak?: boolean,
condition?:
| false
| ((arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState)
);
originModule: null | Module;
resolvedOriginMod... |
3,322 | getExports(moduleGraph: ModuleGraph): undefined | ExportsSpec | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,323 | getWarnings(moduleGraph: ModuleGraph): WebpackError[] | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,324 | getErrors(moduleGraph: ModuleGraph): WebpackError[] | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,325 | getModuleEvaluationSideEffectsState(
moduleGraph: ModuleGraph
): ConnectionState | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,326 | apply(
dependency: Dependency,
source: ReplaceSource,
templateContext: DependencyTemplateContext
): void | class Dependency {
constructor();
weak: boolean;
optional: boolean;
get type(): string;
get category(): string;
loc: DependencyLocation;
setLoc(
startLine?: any,
startColumn?: any,
endLine?: any,
endColumn?: any
): void;
getContext(): undefined | string;
getResourceIdentifier(): null | string;
couldA... |
3,327 | apply(
dependency: Dependency,
source: ReplaceSource,
templateContext: DependencyTemplateContext
): void | interface DependencyTemplateContext {
/**
* the runtime template
*/
runtimeTemplate: RuntimeTemplate;
/**
* the dependency templates
*/
dependencyTemplates: DependencyTemplates;
/**
* the module graph
*/
moduleGraph: ModuleGraph;
/**
* the chunk graph
*/
chunkGraph: ChunkGraph;
/**
* the ... |
3,328 | apply(
dependency: Dependency,
source: ReplaceSource,
templateContext: DependencyTemplateContext
): void | class ReplaceSource extends Source {
constructor(source: Source, name?: string);
replace(start: number, end: number, newValue: string, name?: string): void;
insert(pos: number, newValue: string, name?: string): void;
getName(): string;
original(): string;
getReplacements(): {
start: number;
end: number;
con... |
3,329 | get(dependency: DependencyConstructor): DependencyTemplate | interface DependencyConstructor {
new (...args: any[]): Dependency;
} |
3,330 | set(
dependency: DependencyConstructor,
dependencyTemplate: DependencyTemplate
): void | class DependencyTemplate {
constructor();
apply(
dependency: Dependency,
source: ReplaceSource,
templateContext: DependencyTemplateContext
): void;
} |
3,331 | set(
dependency: DependencyConstructor,
dependencyTemplate: DependencyTemplate
): void | interface DependencyConstructor {
new (...args: any[]): Dependency;
} |
3,332 | (arg0: Module) => boolean | interface Module {
hot: webpack.Hot;
} |
3,333 | (arg0: Module) => boolean | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,334 | constructor(options: DllPluginOptions) | interface DllPluginOptions {
/**
* Context of requests in the manifest file (defaults to the webpack context).
*/
context?: string;
/**
* If true, only entry points will be exposed (default: true).
*/
entryOnly?: boolean;
/**
* If true, manifest json file (output) will be formatted.
*/
format?: bool... |
3,335 | constructor(options: DllPluginOptions) | interface DllPluginOptions {
/**
* Context of requests in the manifest file (defaults to the webpack context).
*/
context?: string;
/**
* If true, only entry points will be exposed (default: true).
*/
entryOnly?: boolean;
/**
* If true, manifest json file (output) will be formatted.
*/
format?: boolea... |
3,336 | constructor(options: DllReferencePluginOptions) | type DllReferencePluginOptions =
| {
/**
* Context of requests in the manifest (or content property) as absolute path.
*/
context?: string;
/**
* Extensions used to resolve modules in the dll bundle (only used when using 'scope').
*/
extensions?: string[];
/**
* An object containing ... |
3,337 | constructor(options: DllReferencePluginOptions) | type DllReferencePluginOptions =
| {
/**
* Context of requests in the manifest (or content property) as absolute path.
*/
context?: string;
/**
* Extensions used to resolve modules in the dll bundle (only used when using 'scope').
*/
extensions?: string[];
/**
* An object containing ... |
3,338 | static setEnabled(compiler: Compiler, type: string): void | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,339 | static checkEnabled(compiler: Compiler, type: string): void | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,340 | static applyEntryOption(
compiler: Compiler,
context: string,
entry: EntryNormalized
): void | type EntryNormalized =
| (() => Promise<EntryStaticNormalized>)
| EntryStaticNormalized; |
3,341 | static applyEntryOption(
compiler: Compiler,
context: string,
entry: EntryNormalized
): void | type EntryNormalized = EntryDynamicNormalized | EntryStaticNormalized; |
3,342 | static applyEntryOption(
compiler: Compiler,
context: string,
entry: EntryNormalized
): void | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,343 | static entryDescriptionToOptions(
compiler: Compiler,
name: string,
desc: EntryDescriptionNormalized
): EntryOptions | interface EntryDescriptionNormalized {
/**
* Enable/disable creating async chunks that are loaded on demand.
*/
asyncChunks?: boolean;
/**
* Base uri for this entry.
*/
baseUri?: string;
/**
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (... |
3,344 | static entryDescriptionToOptions(
compiler: Compiler,
name: string,
desc: EntryDescriptionNormalized
): EntryOptions | interface EntryDescriptionNormalized {
/**
* Enable/disable creating async chunks that are loaded on demand.
*/
asyncChunks?: boolean;
/**
* Base uri for this entry.
*/
baseUri?: string;
/**
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (We... |
3,345 | static entryDescriptionToOptions(
compiler: Compiler,
name: string,
desc: EntryDescriptionNormalized
): EntryOptions | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,346 | setRuntimeChunk(chunk: Chunk): void | class Chunk {
constructor(name?: string, backCompat?: boolean);
id: null | string | number;
ids: null | (string | number)[];
debugId: number;
name: string;
idNameHints: SortableSet<string>;
preventIntegration: boolean;
filenameTemplate:
| null
| string
| ((arg0: PathData, arg1?: AssetInfo) => string);
cs... |
3,347 | setEntrypointChunk(chunk: Chunk): void | class Chunk {
constructor(name?: string, backCompat?: boolean);
id: null | string | number;
ids: null | (string | number)[];
debugId: number;
name: string;
idNameHints: SortableSet<string>;
preventIntegration: boolean;
filenameTemplate:
| null
| string
| ((arg0: PathData, arg1?: AssetInfo) => string);
cs... |
3,348 | setUsedInUnknownWay(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,349 | setUsedWithoutInfo(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,350 | (arg0: UsageStateType) => boolean | type UsageStateType = 0 | 1 | 2 | 3 | 4; |
3,351 | setUsed(newValue: UsageStateType, runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,352 | setUsed(newValue: UsageStateType, runtime: RuntimeSpec): boolean | type UsageStateType = 0 | 1 | 2 | 3 | 4; |
3,353 | getUsed(runtime: RuntimeSpec): UsageStateType | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,354 | getTerminalBinding(
moduleGraph: ModuleGraph,
resolveTargetFilter?: (arg0: {
module: Module;
export?: string[];
}) => boolean
): undefined | ExportsInfo | ExportInfo | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,355 | getTerminalBinding(
moduleGraph: ModuleGraph,
resolveTargetFilter?: (arg0: {
module: Module;
export?: string[];
}) => boolean
): undefined | ExportsInfo | ExportInfo | interface Module {
hot: webpack.Hot;
} |
3,356 | getTerminalBinding(
moduleGraph: ModuleGraph,
resolveTargetFilter?: (arg0: {
module: Module;
export?: string[];
}) => boolean
): undefined | ExportsInfo | ExportInfo | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,357 | findTarget(
moduleGraph: ModuleGraph,
validTargetModuleFilter: (arg0: Module) => boolean
): undefined | false | { module: Module; export?: string[] } | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,358 | findTarget(
moduleGraph: ModuleGraph,
validTargetModuleFilter: (arg0: Module) => boolean
): undefined | false | { module: Module; export?: string[] } | interface Module {
hot: webpack.Hot;
} |
3,359 | findTarget(
moduleGraph: ModuleGraph,
validTargetModuleFilter: (arg0: Module) => boolean
): undefined | false | { module: Module; export?: string[] } | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,360 | getTarget(
moduleGraph: ModuleGraph,
resolveTargetFilter?: (arg0: {
module: Module;
export?: string[];
}) => boolean
): undefined | { module: Module; export?: string[] } | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,361 | getTarget(
moduleGraph: ModuleGraph,
resolveTargetFilter?: (arg0: {
module: Module;
export?: string[];
}) => boolean
): undefined | { module: Module; export?: string[] } | interface Module {
hot: webpack.Hot;
} |
3,362 | getTarget(
moduleGraph: ModuleGraph,
resolveTargetFilter?: (arg0: {
module: Module;
export?: string[];
}) => boolean
): undefined | { module: Module; export?: string[] } | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,363 | moveTarget(
moduleGraph: ModuleGraph,
resolveTargetFilter: (arg0: {
module: Module;
export?: string[];
}) => boolean,
updateOriginalConnection?: (arg0: {
module: Module;
export?: string[];
}) => ModuleGraphConnection
): undefined | { module: Module; export?: string[] } | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,364 | moveTarget(
moduleGraph: ModuleGraph,
resolveTargetFilter: (arg0: {
module: Module;
export?: string[];
}) => boolean,
updateOriginalConnection?: (arg0: {
module: Module;
export?: string[];
}) => ModuleGraphConnection
): undefined | { module: Module; export?: string[] } | interface Module {
hot: webpack.Hot;
} |
3,365 | moveTarget(
moduleGraph: ModuleGraph,
resolveTargetFilter: (arg0: {
module: Module;
export?: string[];
}) => boolean,
updateOriginalConnection?: (arg0: {
module: Module;
export?: string[];
}) => ModuleGraphConnection
): undefined | { module: Module; export?: string[] } | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,366 | setAllKnownExportsUsed(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,367 | setUsedForSideEffectsOnly(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,368 | isUsed(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,369 | isModuleUsed(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,370 | getUsedExports(runtime: RuntimeSpec): null | boolean | SortableSet<string> | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,371 | getRelevantExports(runtime: RuntimeSpec): ExportInfo[] | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,372 | getUsageKey(runtime: RuntimeSpec): string | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,373 | isEquallyUsed(runtimeA: RuntimeSpec, runtimeB: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,374 | updateHash(hash: Hash, runtime: RuntimeSpec): void | class Hash {
constructor();
/**
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
*/
update(data: string | Buffer, inputEncoding?: string): Hash;
/**
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
*/
digest(encod... |
3,375 | updateHash(hash: Hash, runtime: RuntimeSpec): void | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,376 | (
data: ExternalItemFunctionData,
callback: (
err?: Error,
result?: string | boolean | string[] | { [index: string]: any }
) => void
) => void | interface ExternalItemFunctionData {
/**
* The directory in which the request is placed.
*/
context?: string;
/**
* Contextual information.
*/
contextInfo?: ModuleFactoryCreateDataContextInfo;
/**
* The category of the referencing dependencies.
*/
dependencyType?: string;
/**
* Get a resolve fun... |
3,377 | (
data: ExternalItemFunctionData,
callback: (
err?: Error,
result?: string | boolean | string[] | { [index: string]: any }
) => void
) => void | interface ExternalItemFunctionData {
/**
* The directory in which the request is placed.
*/
context?: string;
/**
* Contextual information.
*/
contextInfo?: import |
3,378 | (
options?: ResolveOptionsWebpackOptions
) =>
| ((
context: string,
request: string,
callback: (err?: Error, result?: string) => void
) => void)
| ((context: string, request: string) => Promise<string>) | interface ResolveOptionsWebpackOptions {
/**
* Redirect module requests.
*/
alias?:
| {
/**
* New request.
*/
alias: string | false | string[];
/**
* Request to be redirected.
*/
name: string;
/**
* Redirect only exact matching request.
*/
onlyModule?: boole... |
3,379 | getTypes(module: NormalModule): Set<string> | class NormalModule extends Module {
constructor(__0: NormalModuleCreateData);
request: string;
userRequest: string;
rawRequest: string;
binary: boolean;
parser: Parser;
parserOptions?: Record<string, any>;
generator: Generator;
generatorOptions?: Record<string, any>;
resource: string;
resourceResolveData?: R... |
3,380 | getSize(module: NormalModule, type?: string): number | class NormalModule extends Module {
constructor(__0: NormalModuleCreateData);
request: string;
userRequest: string;
rawRequest: string;
binary: boolean;
parser: Parser;
parserOptions?: Record<string, any>;
generator: Generator;
generatorOptions?: Record<string, any>;
resource: string;
resourceResolveData?: R... |
3,381 | generate(module: NormalModule, __1: GenerateContext): Source | interface GenerateContext {
/**
* mapping from dependencies to templates
*/
dependencyTemplates: DependencyTemplates;
/**
* the runtime template
*/
runtimeTemplate: RuntimeTemplate;
/**
* the module graph
*/
moduleGraph: ModuleGraph;
/**
* the chunk graph
*/
chunkGraph: ChunkGraph;
/**
* ... |
3,382 | generate(module: NormalModule, __1: GenerateContext): Source | class NormalModule extends Module {
constructor(__0: NormalModuleCreateData);
request: string;
userRequest: string;
rawRequest: string;
binary: boolean;
parser: Parser;
parserOptions?: Record<string, any>;
generator: Generator;
generatorOptions?: Record<string, any>;
resource: string;
resourceResolveData?: R... |
3,383 | getConcatenationBailoutReason(
module: NormalModule,
context: ConcatenationBailoutReasonContext
): undefined | string | interface ConcatenationBailoutReasonContext {
/**
* the module graph
*/
moduleGraph: ModuleGraph;
/**
* the chunk graph
*/
chunkGraph: ChunkGraph;
} |
3,384 | getConcatenationBailoutReason(
module: NormalModule,
context: ConcatenationBailoutReasonContext
): undefined | string | class NormalModule extends Module {
constructor(__0: NormalModuleCreateData);
request: string;
userRequest: string;
rawRequest: string;
binary: boolean;
parser: Parser;
parserOptions?: Record<string, any>;
generator: Generator;
generatorOptions?: Record<string, any>;
resource: string;
resourceResolveData?: R... |
3,385 | updateHash(hash: Hash, __1: UpdateHashContextGenerator): void | class Hash {
constructor();
/**
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
*/
update(data: string | Buffer, inputEncoding?: string): Hash;
/**
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
*/
digest(encod... |
3,386 | updateHash(hash: Hash, __1: UpdateHashContextGenerator): void | interface UpdateHashContextGenerator {
/**
* the module
*/
module: NormalModule;
chunkGraph: ChunkGraph;
runtime: RuntimeSpec;
runtimeTemplate?: RuntimeTemplate;
} |
3,387 | (
arg0: Chunk
) => string | ((arg0: PathData, arg1?: AssetInfo) => string) | class Chunk {
constructor(name?: string, backCompat?: boolean);
id: null | string | number;
ids: null | (string | number)[];
debugId: number;
name: string;
idNameHints: SortableSet<string>;
preventIntegration: boolean;
filenameTemplate:
| null
| string
| ((arg0: PathData, arg1?: AssetInfo) => string);
cs... |
3,388 | (
arg0: Chunk
) => string | ((arg0: PathData, arg1?: AssetInfo) => string) | class Chunk {
constructor(name?: string, backCompat?: boolean);
id: null | string | number;
ids: null | (string | number)[];
debugId: number;
name: string;
idNameHints: SortableSet<string>;
preventIntegration: boolean;
filenameTemplate:
| null
| string
| ((arg0: PathData, arg1?: AssetInfo) => string);
cs... |
3,389 | getImportVar(moduleGraph: ModuleGraph): string | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,390 | getLinkingErrors(
moduleGraph: ModuleGraph,
ids: string[],
additionalMessage: string
): undefined | WebpackError[] | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,391 | static getImportEmittedRuntime(
module: Module,
referencedModule: Module
): undefined | string | boolean | SortableSet<string> | interface Module {
hot: webpack.Hot;
} |
3,392 | static getImportEmittedRuntime(
module: Module,
referencedModule: Module
): undefined | string | boolean | SortableSet<string> | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,393 | (arg0: Hash) => void | class Hash {
constructor();
/**
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
*/
update(data: string | Buffer, inputEncoding?: string): Hash;
/**
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
*/
digest(encod... |
3,394 | constructor(options?: HashedModuleIdsPluginOptions) | interface HashedModuleIdsPluginOptions {
/**
* The context directory for creating names.
*/
context?: string;
/**
* The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.
*/
hashDigest?: "latin1" | "hex" | "base64";
/**
* The prefix le... |
3,395 | constructor(options?: HashedModuleIdsPluginOptions) | interface HashedModuleIdsPluginOptions {
/**
* The context directory for creating names.
*/
context?: string;
/**
* The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.
*/
hashDigest?: "hex" | "latin1" | "base64";
/**
* The prefix leng... |
3,396 | static getParserHooks(parser: JavascriptParser): HMRJavascriptParserHooks | class JavascriptParser extends Parser {
constructor(sourceType?: "module" | "auto" | "script");
hooks: Readonly<{
evaluateTypeof: HookMap<
SyncBailHook<
[UnaryExpression],
undefined | null | BasicEvaluatedExpression
>
>;
evaluate: HookMap<
SyncBailHook<[Expression], undefined | null | BasicEval... |
3,397 | constructor(options: HttpUriOptions) | interface HttpUriOptions {
/**
* List of allowed URIs (resp. the beginning of them).
*/
allowedUris: (string | RegExp | ((uri: string) => boolean))[];
/**
* Location where resource content is stored for lockfile entries. It's also possible to disable storing by passing false.
*/
cacheLocation?: string | fa... |
3,398 | constructor(options: HttpUriOptions) | interface HttpUriOptions {
/**
* List of allowed URIs (resp. the beginning of them).
*/
allowedUris: HttpUriOptionsAllowedUris;
/**
* Location where resource content is stored for lockfile entries. It's also possible to disable storing by passing false.
*/
cacheLocation?: false | string;
/**
* When set, ... |
3,399 | constructor(options: HttpUriOptions) | interface HttpUriOptions {
/**
* List of allowed URIs (resp. the beginning of them).
*/
allowedUris: HttpUriOptionsAllowedUris;
/**
* Location where resource content is stored for lockfile entries. It's also possible to disable storing by passing false.
*/
cacheLocation?: false | string;
/**
* When set, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.