From f1e11890b8a6c6bed05242bf3d5901472f0309fc Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Fri, 13 Mar 2026 15:19:34 +0530 Subject: [PATCH 1/3] feat(theme): emit stability blockquotes for JSDoc stability tags - Add stabilityBlockquote() helper in helpers/index.mjs that maps: @deprecated -> Stability 0, @experimental/@beta -> Stability 1, @legacy -> Stability 3 - Call helper at top of signature() so blockquote appears before params - Pass showTags: false to comment() to suppress old heading-style rendering - Regenerate pages/ with updated output (26 deprecated members fixed) Note: accessor-level @deprecated tags use a separate render path and are not yet handled. See PR description for details. Closes #8 --- pages/v5.x/globals.md | 86 ++++++------------- pages/v5.x/webpack/namespaces/dependencies.md | 12 +-- pages/v5.x/webpack/namespaces/esm.md | 9 +- pages/v5.x/webpack/namespaces/javascript.md | 3 +- pages/v5.x/webpack/namespaces/runtime.md | 18 ++-- pages/v5.x/webpack/namespaces/web.md | 21 ++--- plugins/theme/helpers/index.mjs | 34 ++++++++ plugins/theme/partials/index.mjs | 4 + 8 files changed, 85 insertions(+), 102 deletions(-) diff --git a/pages/v5.x/globals.md b/pages/v5.x/globals.md index ec120c0..389ab1a 100644 --- a/pages/v5.x/globals.md +++ b/pages/v5.x/globals.md @@ -362,11 +362,10 @@ After this method has succeeded the cache can only be restored when build depend #### `getChunkMaps(realHash)` +> Stability: 0 - Deprecated * `realHash` {boolean} * Returns: {ChunkMaps} -##### Deprecated - #### `getChunkModuleMaps(filterFn)` * `filterFn` {object} @@ -957,52 +956,46 @@ After this method has succeeded the cache can only be restored when build depend #### Static method: `clearChunkGraphForChunk(chunk)` +> Stability: 0 - Deprecated * `chunk` {Chunk} * Returns: {void} -##### Deprecated - #### Static method: `clearChunkGraphForModule(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {void} -##### Deprecated - #### Static method: `getChunkGraphForChunk(chunk, deprecateMessage, deprecationCode)` +> Stability: 0 - Deprecated * `chunk` {Chunk} * `deprecateMessage` {string} * `deprecationCode` {string} * Returns: {ChunkGraph} -##### Deprecated - #### Static method: `getChunkGraphForModule(module, deprecateMessage, deprecationCode)` +> Stability: 0 - Deprecated * `module` {Module} * `deprecateMessage` {string} * `deprecationCode` {string} * Returns: {ChunkGraph} -##### Deprecated - #### Static method: `setChunkGraphForChunk(chunk, chunkGraph)` +> Stability: 0 - Deprecated * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} * Returns: {void} -##### Deprecated - #### Static method: `setChunkGraphForModule(module, chunkGraph)` +> Stability: 0 - Deprecated * `module` {Module} * `chunkGraph` {ChunkGraph} * Returns: {void} -##### Deprecated - *** ## Class: `ChunkGroup` @@ -1542,11 +1535,10 @@ If `module` is passed, `loc` and `request` must also be passed. #### `assignDepth(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {void} -##### Deprecated - #### `assignDepths(modules)` * `modules` {Set} @@ -2272,13 +2264,12 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` +> Stability: 0 - Deprecated * `moduleGraph` {ModuleGraph} * Returns: {never} Returns the referenced module and export -##### Deprecated - #### `getReferencedExports(moduleGraph, runtime)` * `moduleGraph` {ModuleGraph} @@ -3350,14 +3341,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -3397,6 +3387,7 @@ restore unsafe cache data #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -3404,8 +3395,6 @@ restore unsafe cache data Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -3423,13 +3412,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `ExternalsPlugin` @@ -3678,11 +3666,10 @@ Apply the plugin #### `getChunkMaps(realHash)` +> Stability: 0 - Deprecated * `realHash` {boolean} * Returns: {ChunkMaps} -##### Deprecated - #### `getChunkModuleMaps(filterFn)` * `filterFn` {object} @@ -4500,14 +4487,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -4539,6 +4525,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -4546,8 +4533,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -4565,13 +4550,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `ModuleFactory` @@ -4939,28 +4923,25 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Static method: `clearModuleGraphForModule(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {void} -##### Deprecated - #### Static method: `getModuleGraphForModule(module, deprecateMessage, deprecationCode)` +> Stability: 0 - Deprecated * `module` {Module} * `deprecateMessage` {string} * `deprecationCode` {string} * Returns: {ModuleGraph} -##### Deprecated - #### Static method: `setModuleGraphForModule(module, moduleGraph)` +> Stability: 0 - Deprecated * `module` {Module} * `moduleGraph` {ModuleGraph} * Returns: {void} -##### Deprecated - *** ## Class: `ModuleGraphConnection` @@ -5108,6 +5089,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `runWithDependencies(compilers, fn, callback)` +> Stability: 0 - Deprecated * `compilers` {Compiler[]} * `fn` {object} * `callback` {CallbackWebpackFunction_2} @@ -5115,8 +5097,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead This method should have been private -##### Deprecated - #### `setDependencies(compiler, dependencies)` * `compiler` {Compiler} @@ -5696,14 +5676,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -5749,6 +5728,7 @@ restore unsafe cache data #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -5756,8 +5736,6 @@ restore unsafe cache data Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -5785,13 +5763,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `NormalModuleReplacementPlugin` @@ -6517,14 +6494,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -6560,6 +6536,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -6567,8 +6544,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -6586,13 +6561,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `SourceMapDevToolPlugin` @@ -6959,10 +6933,6 @@ a(); * `stackTraces` {CallSite[]} * Returns: {any} -##### See - -https://v8.dev/docs/stack-trace-api#customizing-stack-traces - *** ## Class: `WebpackOptionsApply` @@ -7133,10 +7103,6 @@ a(); * `stackTraces` {CallSite[]} * Returns: {any} -##### See - -https://v8.dev/docs/stack-trace-api#customizing-stack-traces - *** ## Interface: `Argument` diff --git a/pages/v5.x/webpack/namespaces/dependencies.md b/pages/v5.x/webpack/namespaces/dependencies.md index cf09df8..fa4cbf3 100644 --- a/pages/v5.x/webpack/namespaces/dependencies.md +++ b/pages/v5.x/webpack/namespaces/dependencies.md @@ -125,13 +125,12 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` +> Stability: 0 - Deprecated * `moduleGraph` {ModuleGraph} * Returns: {never} Returns the referenced module and export -##### Deprecated - #### `getReferencedExports(moduleGraph, runtime)` * `moduleGraph` {ModuleGraph} @@ -333,13 +332,12 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` +> Stability: 0 - Deprecated * `moduleGraph` {ModuleGraph} * Returns: {never} Returns the referenced module and export -##### Deprecated - #### `getReferencedExports(moduleGraph, runtime)` * `moduleGraph` {ModuleGraph} @@ -516,13 +514,12 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` +> Stability: 0 - Deprecated * `moduleGraph` {ModuleGraph} * Returns: {never} Returns the referenced module and export -##### Deprecated - #### `getReferencedExports(moduleGraph, runtime)` * `moduleGraph` {ModuleGraph} @@ -693,13 +690,12 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` +> Stability: 0 - Deprecated * `moduleGraph` {ModuleGraph} * Returns: {never} Returns the referenced module and export -##### Deprecated - #### `getReferencedExports(moduleGraph, runtime)` * `moduleGraph` {ModuleGraph} diff --git a/pages/v5.x/webpack/namespaces/esm.md b/pages/v5.x/webpack/namespaces/esm.md index 509f9a3..f079e23 100644 --- a/pages/v5.x/webpack/namespaces/esm.md +++ b/pages/v5.x/webpack/namespaces/esm.md @@ -469,14 +469,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -512,6 +511,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -519,8 +519,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -543,9 +541,8 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. - -##### Deprecated diff --git a/pages/v5.x/webpack/namespaces/javascript.md b/pages/v5.x/webpack/namespaces/javascript.md index b9cfdcc..9fb280c 100644 --- a/pages/v5.x/webpack/namespaces/javascript.md +++ b/pages/v5.x/webpack/namespaces/javascript.md @@ -353,12 +353,11 @@ Block pre walking iterates the scope for block variable declarations #### `inScope(params, fn)` +> Stability: 0 - Deprecated * `params` {string|Identifier|Property|MemberExpression|ObjectPattern|ArrayPattern|RestElement|AssignmentPattern[]} * `fn` {object} * Returns: {void} -##### Deprecated - #### `isAsiPosition(pos)` * `pos` {number} diff --git a/pages/v5.x/webpack/namespaces/runtime.md b/pages/v5.x/webpack/namespaces/runtime.md index 29075ca..8fdd5f9 100644 --- a/pages/v5.x/webpack/namespaces/runtime.md +++ b/pages/v5.x/webpack/namespaces/runtime.md @@ -477,14 +477,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -520,6 +519,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -527,8 +527,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -546,13 +544,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `LoadScriptRuntimeModule` @@ -1025,14 +1022,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -1068,6 +1064,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -1075,8 +1072,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -1099,9 +1094,8 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. - -##### Deprecated diff --git a/pages/v5.x/webpack/namespaces/web.md b/pages/v5.x/webpack/namespaces/web.md index 3e5c7f2..d358abc 100644 --- a/pages/v5.x/webpack/namespaces/web.md +++ b/pages/v5.x/webpack/namespaces/web.md @@ -469,14 +469,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -512,6 +511,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -519,8 +519,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -543,13 +541,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `FetchCompileAsyncWasmPlugin` @@ -1064,14 +1061,13 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` +> Stability: 0 - Deprecated * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} Use needBuild instead -##### Deprecated - #### `originalSource()` * Returns: {Source} @@ -1107,6 +1103,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` +> Stability: 0 - Deprecated * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -1114,8 +1111,6 @@ Use needBuild instead Use codeGeneration() instead -##### Deprecated - #### `updateCacheModule(module)` * `module` {Module} @@ -1138,13 +1133,12 @@ and properties. #### Static method: `getSourceBasicTypes(module)` +> Stability: 0 - Deprecated * `module` {Module} * Returns: {ReadonlySet} In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method. -##### Deprecated - *** ## Class: `JsonpTemplatePlugin` @@ -1166,9 +1160,8 @@ Apply the plugin #### Static method: `getCompilationHooks(compilation)` +> Stability: 0 - Deprecated * `compilation` {Compilation} * Returns: {JsonpCompilationPluginHooks} use JsonpChunkLoadingRuntimeModule.getCompilationHooks instead - -##### Deprecated diff --git a/plugins/theme/helpers/index.mjs b/plugins/theme/helpers/index.mjs index 4847191..880933e 100644 --- a/plugins/theme/helpers/index.mjs +++ b/plugins/theme/helpers/index.mjs @@ -30,4 +30,38 @@ export default (ctx) => ({ typedList(entries) { return entries.map(ctx.helpers.typedListItem).join("\n"); }, + + stabilityBlockquote(comment) { + if (!comment) return null; + + const deprecated = comment.blockTags?.find((t) => t.tag === "@deprecated"); + const isExperimental = + comment.modifierTags?.has("@experimental") || + comment.modifierTags?.has("@beta"); + const legacy = comment.blockTags?.find((t) => t.tag === "@legacy"); + + if (deprecated) { + const message = deprecated.content?.length + ? ctx.helpers.getCommentParts(deprecated.content).trim() + : ""; + return message + ? `> Stability: 0 - Deprecated: ${message}` + : `> Stability: 0 - Deprecated`; + } + + if (isExperimental) { + return `> Stability: 1 - Experimental`; + } + + if (legacy) { + const message = legacy.content?.length + ? ctx.helpers.getCommentParts(legacy.content).trim() + : ""; + return message + ? `> Stability: 3 - Legacy: ${message}` + : `> Stability: 3 - Legacy`; + } + + return null; + }, }); diff --git a/plugins/theme/partials/index.mjs b/plugins/theme/partials/index.mjs index 22ccd56..b6205b5 100644 --- a/plugins/theme/partials/index.mjs +++ b/plugins/theme/partials/index.mjs @@ -36,7 +36,10 @@ export default (ctx) => ({ ? model.comment : model.comment || model.parent?.comment; + const stability = ctx.helpers.stabilityBlockquote(comment); + return [ + stability, model.typeParameters?.length && ctx.partials.typeParametersList(model.typeParameters, { headingLevel: options.headingLevel, @@ -54,6 +57,7 @@ export default (ctx) => ({ comment && ctx.partials.comment(comment, { headingLevel: options.headingLevel, + showTags: false, }), ] .filter((x) => (typeof x === "string" ? x : Boolean(x))) From 8a5a60d5397aa0429a3589a0ca0c527351d62e90 Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Fri, 13 Mar 2026 18:48:15 +0530 Subject: [PATCH 2/3] fix(theme): add blank line between stability blockquote and typed list --- pages/v5.x/globals.md | 220 ++++++++++++++++++ pages/v5.x/webpack/namespaces/cache.md | 1 + pages/v5.x/webpack/namespaces/cli.md | 1 + pages/v5.x/webpack/namespaces/css.md | 1 + pages/v5.x/webpack/namespaces/dependencies.md | 21 ++ pages/v5.x/webpack/namespaces/esm.md | 25 ++ pages/v5.x/webpack/namespaces/ids.md | 1 + pages/v5.x/webpack/namespaces/javascript.md | 1 + pages/v5.x/webpack/namespaces/node.md | 1 + .../v5.x/webpack/namespaces/optimize/index.md | 1 + pages/v5.x/webpack/namespaces/prefetch.md | 1 + pages/v5.x/webpack/namespaces/runtime.md | 50 ++++ pages/v5.x/webpack/namespaces/sources.md | 43 ++++ pages/v5.x/webpack/namespaces/util/index.md | 5 + .../namespaces/util/namespaces/runtime.md | 3 + pages/v5.x/webpack/namespaces/web.md | 53 +++++ pages/v5.x/webpack/namespaces/webworker.md | 1 + plugins/theme/partials/index.mjs | 3 +- 18 files changed, 431 insertions(+), 1 deletion(-) diff --git a/pages/v5.x/globals.md b/pages/v5.x/globals.md index 389ab1a..8f2523a 100644 --- a/pages/v5.x/globals.md +++ b/pages/v5.x/globals.md @@ -84,6 +84,7 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks @@ -95,6 +96,7 @@ Removes all dependencies and blocks #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `removeDependency(dependency)` @@ -121,6 +123,7 @@ Removes all dependencies and blocks #### Constructor +0 * Returns: {AutomaticPrefetchPlugin} ### Methods @@ -165,6 +168,7 @@ Apply the plugin #### Constructor +0 * Returns: {CacheClass} ### Properties @@ -179,6 +183,7 @@ Apply the plugin #### `beginIdle()` +0 * Returns: {void} #### `endIdle(callback)` @@ -304,6 +309,7 @@ After this method has succeeded the cache can only be restored when build depend #### `canBeInitial()` +0 * Returns: {boolean} #### `canBeIntegrated(otherChunk)` @@ -323,22 +329,27 @@ After this method has succeeded the cache can only be restored when build depend #### `disconnectFromGroups()` +0 * Returns: {void} #### `getAllAsyncChunks()` +0 * Returns: {Set} #### `getAllInitialChunks()` +0 * Returns: {Set} #### `getAllReferencedAsyncEntrypoints()` +0 * Returns: {Set} #### `getAllReferencedChunks()` +0 * Returns: {Set} #### `getChildIdsByOrders(chunkGraph[, filterFn])` @@ -363,6 +374,7 @@ After this method has succeeded the cache can only be restored when build depend #### `getChunkMaps(realHash)` > Stability: 0 - Deprecated + * `realHash` {boolean} * Returns: {ChunkMaps} @@ -373,22 +385,27 @@ After this method has succeeded the cache can only be restored when build depend #### `getEntryOptions()` +0 * Returns: {EntryOptions} #### `getModules()` +0 * Returns: {Module[]} #### `getNumberOfGroups()` +0 * Returns: {number} #### `getNumberOfModules()` +0 * Returns: {number} #### `hasAsyncChunks()` +0 * Returns: {boolean} #### `hasChildByOrder(chunkGraph, type[, includeDirectChildren][, filterFn])` @@ -401,6 +418,7 @@ After this method has succeeded the cache can only be restored when build depend #### `hasEntryModule()` +0 * Returns: {boolean} #### `hasModuleInGraph(filterFn[, filterChunkFn])` @@ -411,6 +429,7 @@ After this method has succeeded the cache can only be restored when build depend #### `hasRuntime()` +0 * Returns: {boolean} #### `integrate(otherChunk)` @@ -426,6 +445,7 @@ After this method has succeeded the cache can only be restored when build depend #### `isEmpty()` +0 * Returns: {boolean} #### `isInGroup(chunkGroup)` @@ -435,10 +455,12 @@ After this method has succeeded the cache can only be restored when build depend #### `isOnlyInitial()` +0 * Returns: {boolean} #### `modulesSize()` +0 * Returns: {number} #### `moveModule(module, otherChunk)` @@ -449,6 +471,7 @@ After this method has succeeded the cache can only be restored when build depend #### `remove()` +0 * Returns: {void} #### `removeGroup(chunkGroup)` @@ -957,18 +980,21 @@ After this method has succeeded the cache can only be restored when build depend #### Static method: `clearChunkGraphForChunk(chunk)` > Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} #### Static method: `clearChunkGraphForModule(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {void} #### Static method: `getChunkGraphForChunk(chunk, deprecateMessage, deprecationCode)` > Stability: 0 - Deprecated + * `chunk` {Chunk} * `deprecateMessage` {string} * `deprecationCode` {string} @@ -977,6 +1003,7 @@ After this method has succeeded the cache can only be restored when build depend #### Static method: `getChunkGraphForModule(module, deprecateMessage, deprecationCode)` > Stability: 0 - Deprecated + * `module` {Module} * `deprecateMessage` {string} * `deprecationCode` {string} @@ -985,6 +1012,7 @@ After this method has succeeded the cache can only be restored when build depend #### Static method: `setChunkGraphForChunk(chunk, chunkGraph)` > Stability: 0 - Deprecated + * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} * Returns: {void} @@ -992,6 +1020,7 @@ After this method has succeeded the cache can only be restored when build depend #### Static method: `setChunkGraphForModule(module, chunkGraph)` > Stability: 0 - Deprecated + * `module` {Module} * `chunkGraph` {ChunkGraph} * Returns: {void} @@ -1008,6 +1037,7 @@ After this method has succeeded the cache can only be restored when build depend #### Constructor +0 * Returns: {ChunkGroup} ### Properties @@ -1126,6 +1156,7 @@ when a new chunk is added to a chunkGroup, addingOptions will occur. #### `checkConstraints()` +0 * Returns: {void} #### `compareTo(chunkGraph, otherGroup)` @@ -1139,10 +1170,12 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getBlocks()` +0 * Returns: {AsyncDependenciesBlock[]} #### `getChildren()` +0 * Returns: {ChunkGroup[]} #### `getChildrenByOrders(moduleGraph, chunkGraph)` @@ -1153,6 +1186,7 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getFiles()` +0 * Returns: {string[]} #### `getModulePostOrderIndex(module)` @@ -1171,18 +1205,22 @@ Gets the top-down index of a module in this ChunkGroup #### `getNumberOfBlocks()` +0 * Returns: {number} #### `getNumberOfChildren()` +0 * Returns: {number} #### `getNumberOfParents()` +0 * Returns: {number} #### `getParents()` +0 * Returns: {ChunkGroup[]} #### `hasBlock(block)` @@ -1205,6 +1243,7 @@ inserts a chunk before another existing chunk in group #### `isInitial()` +0 * Returns: {boolean} #### `pushChunk(chunk)` @@ -1216,6 +1255,7 @@ add a chunk into ChunkGroup. Is pushed on or prepended #### `remove()` +0 * Returns: {void} #### `removeChild(group)` @@ -1257,6 +1297,7 @@ Sets the top-down index of a module in this ChunkGroup #### `sortItems()` +0 * Returns: {void} #### `unshiftChunk(chunk)` @@ -1303,6 +1344,7 @@ Apply the plugin #### Constructor +0 * Returns: {CodeGenerationResults} ### Properties @@ -1536,6 +1578,7 @@ If `module` is passed, `loc` and `request` must also be passed. #### `assignDepth(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {void} @@ -1546,6 +1589,7 @@ If `module` is passed, `loc` and `request` must also be passed. #### `assignRuntimeIds()` +0 * Returns: {void} #### `buildModule(module, callback)` @@ -1558,10 +1602,12 @@ Schedules a build of the module object #### `checkConstraints()` +0 * Returns: {void} #### `clearAssets()` +0 * Returns: {void} #### `codeGeneration(callback)` @@ -1587,14 +1633,17 @@ from parent (or top level compiler) and creates a child Compilation #### `createHash()` +0 * Returns: {CodeGenerationJob[]} #### `createModuleAssets()` +0 * Returns: {void} #### `createModuleHashes()` +0 * Returns: {void} #### `createStatsFactory(options)` @@ -1677,6 +1726,7 @@ Attempts to search for a module by its identifier #### `getAssets()` +0 * Returns: {Readonly[]} #### `getCache(name)` @@ -1692,6 +1742,7 @@ Attempts to search for a module by its identifier #### `getErrors()` +0 * Returns: {Error[]} #### `getLogger(name)` @@ -1725,10 +1776,12 @@ Fetches a module from a compilation by its identifier #### `getStats()` +0 * Returns: {Stats} #### `getWarnings()` +0 * Returns: {Error[]} #### `handleModuleCreation(__namedParameters, callback)` @@ -1796,14 +1849,17 @@ Fetches a module from a compilation by its identifier #### `sortItemsWithChunkIds()` +0 * Returns: {void} #### `summarizeDependencies()` +0 * Returns: {void} #### `unseal()` +0 * Returns: {void} #### `updateAsset(file, newSourceOrFunction[, assetInfoUpdateOrFunction])` @@ -1890,10 +1946,12 @@ Fetches a module from a compilation by its identifier #### `createContextModuleFactory()` +0 * Returns: {ContextModuleFactory} #### `createNormalModuleFactory()` +0 * Returns: {NormalModuleFactory} #### `emitAssets(compilation, callback)` @@ -1919,6 +1977,7 @@ Fetches a module from a compilation by its identifier #### `isChild()` +0 * Returns: {boolean} #### `newCompilation(params)` @@ -1928,10 +1987,12 @@ Fetches a module from a compilation by its identifier #### `newCompilationParams()` +0 * Returns: {object} #### `purgeInputFileSystem()` +0 * Returns: {void} #### `readRecords(callback)` @@ -2168,6 +2229,7 @@ Apply the plugin #### Constructor +0 * Returns: {Dependency} ### Properties @@ -2216,6 +2278,7 @@ Apply the plugin #### `couldAffectReferencingModule()` +0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -2235,6 +2298,7 @@ Apply the plugin #### `getContext()` +0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -2258,6 +2322,7 @@ Returns the exported names #### `getNumberOfIdOccurrences()` +0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -2265,6 +2330,7 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` > Stability: 0 - Deprecated + * `moduleGraph` {ModuleGraph} * Returns: {never} @@ -2280,6 +2346,7 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` +0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -2419,6 +2486,7 @@ Apply the plugin #### Constructor +0 * Returns: {EntryOptionPlugin} ### Methods @@ -2490,6 +2558,7 @@ Apply the plugin #### Constructor +0 * Returns: {Entrypoint} ### Properties @@ -2637,6 +2706,7 @@ when a new chunk is added to a chunkGroup, addingOptions will occur. #### `checkConstraints()` +0 * Returns: {void} #### `compareTo(chunkGraph, otherGroup)` @@ -2655,10 +2725,12 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getBlocks()` +0 * Returns: {AsyncDependenciesBlock[]} #### `getChildren()` +0 * Returns: {ChunkGroup[]} #### `getChildrenByOrders(moduleGraph, chunkGraph)` @@ -2669,6 +2741,7 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getEntrypointChunk()` +0 * Returns: {Chunk} Returns the chunk which contains the entrypoint modules @@ -2676,6 +2749,7 @@ Returns the chunk which contains the entrypoint modules #### `getFiles()` +0 * Returns: {string[]} #### `getModulePostOrderIndex(module)` @@ -2694,22 +2768,27 @@ Gets the top-down index of a module in this ChunkGroup #### `getNumberOfBlocks()` +0 * Returns: {number} #### `getNumberOfChildren()` +0 * Returns: {number} #### `getNumberOfParents()` +0 * Returns: {number} #### `getParents()` +0 * Returns: {ChunkGroup[]} #### `getRuntimeChunk()` +0 * Returns: {Chunk} Fetches the chunk reference containing the webpack bootstrap code @@ -2734,6 +2813,7 @@ inserts a chunk before another existing chunk in group #### `isInitial()` +0 * Returns: {boolean} #### `pushChunk(chunk)` @@ -2745,6 +2825,7 @@ add a chunk into ChunkGroup. Is pushed on or prepended #### `remove()` +0 * Returns: {void} #### `removeChild(group)` @@ -2800,6 +2881,7 @@ Sets the runtimeChunk for an entrypoint. #### `sortItems()` +0 * Returns: {void} #### `unshiftChunk(chunk)` @@ -3175,18 +3257,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -3203,6 +3288,7 @@ removes all warnings and errors #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -3212,6 +3298,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -3222,18 +3309,22 @@ removes all warnings and errors #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -3243,6 +3334,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -3253,10 +3345,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -3264,10 +3358,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -3285,10 +3381,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -3307,6 +3405,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -3331,6 +3430,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -3342,6 +3442,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -3350,6 +3451,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -3388,6 +3490,7 @@ restore unsafe cache data #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -3413,6 +3516,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -3452,6 +3556,7 @@ Apply the plugin #### Constructor +0 * Returns: {Generator} ### Methods @@ -3498,6 +3603,7 @@ Apply the plugin #### Constructor +0 * Returns: {HotModuleReplacementPlugin} ### Methods @@ -3526,6 +3632,7 @@ Apply the plugin #### Constructor +0 * Returns: {HotUpdateChunk} ### Properties @@ -3608,6 +3715,7 @@ Apply the plugin #### `canBeInitial()` +0 * Returns: {boolean} #### `canBeIntegrated(otherChunk)` @@ -3627,22 +3735,27 @@ Apply the plugin #### `disconnectFromGroups()` +0 * Returns: {void} #### `getAllAsyncChunks()` +0 * Returns: {Set} #### `getAllInitialChunks()` +0 * Returns: {Set} #### `getAllReferencedAsyncEntrypoints()` +0 * Returns: {Set} #### `getAllReferencedChunks()` +0 * Returns: {Set} #### `getChildIdsByOrders(chunkGraph[, filterFn])` @@ -3667,6 +3780,7 @@ Apply the plugin #### `getChunkMaps(realHash)` > Stability: 0 - Deprecated + * `realHash` {boolean} * Returns: {ChunkMaps} @@ -3677,22 +3791,27 @@ Apply the plugin #### `getEntryOptions()` +0 * Returns: {EntryOptions} #### `getModules()` +0 * Returns: {Module[]} #### `getNumberOfGroups()` +0 * Returns: {number} #### `getNumberOfModules()` +0 * Returns: {number} #### `hasAsyncChunks()` +0 * Returns: {boolean} #### `hasChildByOrder(chunkGraph, type[, includeDirectChildren][, filterFn])` @@ -3705,6 +3824,7 @@ Apply the plugin #### `hasEntryModule()` +0 * Returns: {boolean} #### `hasModuleInGraph(filterFn[, filterChunkFn])` @@ -3715,6 +3835,7 @@ Apply the plugin #### `hasRuntime()` +0 * Returns: {boolean} #### `integrate(otherChunk)` @@ -3730,6 +3851,7 @@ Apply the plugin #### `isEmpty()` +0 * Returns: {boolean} #### `isInGroup(chunkGroup)` @@ -3739,10 +3861,12 @@ Apply the plugin #### `isOnlyInitial()` +0 * Returns: {boolean} #### `modulesSize()` +0 * Returns: {number} #### `moveModule(module, otherChunk)` @@ -3753,6 +3877,7 @@ Apply the plugin #### `remove()` +0 * Returns: {void} #### `removeGroup(chunkGroup)` @@ -4321,18 +4446,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -4349,6 +4477,7 @@ removes all warnings and errors #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -4358,6 +4487,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -4368,18 +4498,22 @@ removes all warnings and errors #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -4389,6 +4523,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -4399,10 +4534,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -4410,10 +4547,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -4431,10 +4570,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -4453,6 +4594,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -4477,6 +4619,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -4488,6 +4631,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -4496,6 +4640,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -4526,6 +4671,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -4551,6 +4697,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -4564,6 +4711,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor +0 * Returns: {ModuleFactory} ### Methods @@ -4582,6 +4730,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor +0 * Returns: {ModuleGraph} ### Properties @@ -4647,6 +4796,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `finishUpdateParent()` +0 * Returns: {void} #### `freeze([cacheStage])` @@ -4807,6 +4957,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `removeAllModuleAttributes()` +0 * Returns: {void} #### `removeConnection(dependency)` @@ -4906,6 +5057,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `unfreeze()` +0 * Returns: {void} #### `updateModule(dependency, module)` @@ -4924,12 +5076,14 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Static method: `clearModuleGraphForModule(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {void} #### Static method: `getModuleGraphForModule(module, deprecateMessage, deprecationCode)` > Stability: 0 - Deprecated + * `module` {Module} * `deprecateMessage` {string} * `deprecationCode` {string} @@ -4938,6 +5092,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Static method: `setModuleGraphForModule(module, moduleGraph)` > Stability: 0 - Deprecated + * `module` {Module} * `moduleGraph` {ModuleGraph} * Returns: {void} @@ -4999,6 +5154,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `clone()` +0 * Returns: {ModuleGraphConnection} #### `getActiveState(runtime)` @@ -5080,6 +5236,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `purgeInputFileSystem()` +0 * Returns: {void} #### `run(callback)` @@ -5090,6 +5247,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `runWithDependencies(compilers, fn, callback)` > Stability: 0 - Deprecated + * `compilers` {Compiler[]} * `fn` {object} * `callback` {CallbackWebpackFunction_2} @@ -5122,6 +5280,7 @@ This method should have been private #### Constructor +0 * Returns: {MultiStats} ### Properties @@ -5144,10 +5303,12 @@ This method should have been private #### `hasErrors()` +0 * Returns: {boolean} #### `hasWarnings()` +0 * Returns: {boolean} #### `toJson([options])` @@ -5168,6 +5329,7 @@ This method should have been private #### Constructor +0 * Returns: {NoEmitOnErrorsPlugin} ### Methods @@ -5478,18 +5640,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -5523,6 +5688,7 @@ removes all warnings and errors #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -5538,6 +5704,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -5548,22 +5715,27 @@ removes all warnings and errors #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getResource()` +0 * Returns: {string} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -5573,6 +5745,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -5583,10 +5756,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -5594,10 +5769,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -5615,10 +5792,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -5637,6 +5816,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -5666,6 +5846,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -5677,6 +5858,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -5685,6 +5867,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -5729,6 +5912,7 @@ restore unsafe cache data #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -5764,6 +5948,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -5809,6 +5994,7 @@ Apply the plugin #### Constructor +0 * Returns: {ParserClass} ### Methods @@ -5939,6 +6125,7 @@ Apply the plugin #### Constructor +0 * Returns: {Resolver} ### Properties @@ -6320,18 +6507,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -6348,10 +6538,12 @@ removes all warnings and errors #### `generate()` +0 * Returns: {string} #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -6361,6 +6553,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -6371,22 +6564,27 @@ removes all warnings and errors #### `getGeneratedCode()` +0 * Returns: {string} #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -6396,6 +6594,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -6406,10 +6605,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -6417,10 +6618,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -6438,10 +6641,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -6460,6 +6665,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -6484,6 +6690,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -6495,6 +6702,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -6503,6 +6711,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -6527,6 +6736,7 @@ Use needBuild instead #### `shouldIsolate()` +0 * Returns: {boolean} #### `size([type])` @@ -6537,6 +6747,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -6562,6 +6773,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -6647,10 +6859,12 @@ Apply the plugin #### `hasErrors()` +0 * Returns: {boolean} #### `hasWarnings()` +0 * Returns: {boolean} #### `toJson([options])` @@ -6671,6 +6885,7 @@ Apply the plugin #### Constructor +0 * Returns: {Template} ### Properties @@ -6788,6 +7003,7 @@ Apply the plugin #### Constructor +0 * Returns: {Watching} ### Properties @@ -6820,10 +7036,12 @@ Apply the plugin #### `resume()` +0 * Returns: {void} #### `suspend()` +0 * Returns: {void} #### `watch(files, dirs, missing)` @@ -6945,6 +7163,7 @@ a(); #### Constructor +0 * Returns: {WebpackOptionsApply} ### Methods @@ -6964,6 +7183,7 @@ a(); #### Constructor +0 * Returns: {WebpackOptionsDefaulter} ### Methods diff --git a/pages/v5.x/webpack/namespaces/cache.md b/pages/v5.x/webpack/namespaces/cache.md index d6041bb..b6a5acf 100644 --- a/pages/v5.x/webpack/namespaces/cache.md +++ b/pages/v5.x/webpack/namespaces/cache.md @@ -6,6 +6,7 @@ #### Constructor +0 * Returns: {MemoryCachePlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/cli.md b/pages/v5.x/webpack/namespaces/cli.md index eaecba5..d0d7793 100644 --- a/pages/v5.x/webpack/namespaces/cli.md +++ b/pages/v5.x/webpack/namespaces/cli.md @@ -22,6 +22,7 @@ > **isColorSupported**: {object} +0 * Returns: {boolean} *** diff --git a/pages/v5.x/webpack/namespaces/css.md b/pages/v5.x/webpack/namespaces/css.md index 5bdf74e..5fce8c3 100644 --- a/pages/v5.x/webpack/namespaces/css.md +++ b/pages/v5.x/webpack/namespaces/css.md @@ -6,6 +6,7 @@ #### Constructor +0 * Returns: {CssModulesPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/dependencies.md b/pages/v5.x/webpack/namespaces/dependencies.md index fa4cbf3..47c975d 100644 --- a/pages/v5.x/webpack/namespaces/dependencies.md +++ b/pages/v5.x/webpack/namespaces/dependencies.md @@ -77,6 +77,7 @@ #### `couldAffectReferencingModule()` +0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -96,6 +97,7 @@ #### `getContext()` +0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -119,6 +121,7 @@ Returns the exported names #### `getNumberOfIdOccurrences()` +0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -126,6 +129,7 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` > Stability: 0 - Deprecated + * `moduleGraph` {ModuleGraph} * Returns: {never} @@ -141,6 +145,7 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` +0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -261,6 +266,7 @@ Update the hash #### `couldAffectReferencingModule()` +0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -280,6 +286,7 @@ Update the hash #### `getContext()` +0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -326,6 +333,7 @@ Returns the exported names #### `getNumberOfIdOccurrences()` +0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -333,6 +341,7 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` > Stability: 0 - Deprecated + * `moduleGraph` {ModuleGraph} * Returns: {never} @@ -348,6 +357,7 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` +0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -466,6 +476,7 @@ Update the hash #### `couldAffectReferencingModule()` +0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -485,6 +496,7 @@ Update the hash #### `getContext()` +0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -508,6 +520,7 @@ Returns the exported names #### `getNumberOfIdOccurrences()` +0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -515,6 +528,7 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` > Stability: 0 - Deprecated + * `moduleGraph` {ModuleGraph} * Returns: {never} @@ -530,6 +544,7 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` +0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -581,6 +596,7 @@ Update the hash #### Constructor +0 * Returns: {NullDependency} ### Properties @@ -642,6 +658,7 @@ Update the hash #### `couldAffectReferencingModule()` +0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -661,6 +678,7 @@ Update the hash #### `getContext()` +0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -684,6 +702,7 @@ Returns the exported names #### `getNumberOfIdOccurrences()` +0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -691,6 +710,7 @@ implement this method to allow the occurrence order plugin to count correctly #### `getReference(moduleGraph)` > Stability: 0 - Deprecated + * `moduleGraph` {ModuleGraph} * Returns: {never} @@ -706,6 +726,7 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` +0 * Returns: {string} #### `getWarnings(moduleGraph)` diff --git a/pages/v5.x/webpack/namespaces/esm.md b/pages/v5.x/webpack/namespaces/esm.md index f079e23..8c448eb 100644 --- a/pages/v5.x/webpack/namespaces/esm.md +++ b/pages/v5.x/webpack/namespaces/esm.md @@ -295,18 +295,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -323,10 +326,12 @@ removes all warnings and errors #### `generate()` +0 * Returns: {string} #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -336,6 +341,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -346,22 +352,27 @@ removes all warnings and errors #### `getGeneratedCode()` +0 * Returns: {string} #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -371,6 +382,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -381,10 +393,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -392,10 +406,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -413,10 +429,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -435,6 +453,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -459,6 +478,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -470,6 +490,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -478,6 +499,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -502,6 +524,7 @@ Use needBuild instead #### `shouldIsolate()` +0 * Returns: {boolean} #### `size([type])` @@ -512,6 +535,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -542,6 +566,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} diff --git a/pages/v5.x/webpack/namespaces/ids.md b/pages/v5.x/webpack/namespaces/ids.md index cdaae00..14f7f1c 100644 --- a/pages/v5.x/webpack/namespaces/ids.md +++ b/pages/v5.x/webpack/namespaces/ids.md @@ -150,6 +150,7 @@ Apply the plugin #### Constructor +0 * Returns: {NaturalModuleIdsPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/javascript.md b/pages/v5.x/webpack/namespaces/javascript.md index 9fb280c..9d02516 100644 --- a/pages/v5.x/webpack/namespaces/javascript.md +++ b/pages/v5.x/webpack/namespaces/javascript.md @@ -354,6 +354,7 @@ Block pre walking iterates the scope for block variable declarations #### `inScope(params, fn)` > Stability: 0 - Deprecated + * `params` {string|Identifier|Property|MemberExpression|ObjectPattern|ArrayPattern|RestElement|AssignmentPattern[]} * `fn` {object} * Returns: {void} diff --git a/pages/v5.x/webpack/namespaces/node.md b/pages/v5.x/webpack/namespaces/node.md index ad4e732..20f889c 100644 --- a/pages/v5.x/webpack/namespaces/node.md +++ b/pages/v5.x/webpack/namespaces/node.md @@ -30,6 +30,7 @@ Apply the plugin #### Constructor +0 * Returns: {NodeSourcePlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/optimize/index.md b/pages/v5.x/webpack/namespaces/optimize/index.md index d98d760..38d2071 100644 --- a/pages/v5.x/webpack/namespaces/optimize/index.md +++ b/pages/v5.x/webpack/namespaces/optimize/index.md @@ -131,6 +131,7 @@ Apply the plugin #### Constructor +0 * Returns: {ModuleConcatenationPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/prefetch.md b/pages/v5.x/webpack/namespaces/prefetch.md index 429bbf3..46a1df0 100644 --- a/pages/v5.x/webpack/namespaces/prefetch.md +++ b/pages/v5.x/webpack/namespaces/prefetch.md @@ -6,6 +6,7 @@ #### Constructor +0 * Returns: {ChunkPrefetchPreloadPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/runtime.md b/pages/v5.x/webpack/namespaces/runtime.md index 8fdd5f9..069427f 100644 --- a/pages/v5.x/webpack/namespaces/runtime.md +++ b/pages/v5.x/webpack/namespaces/runtime.md @@ -303,18 +303,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -331,10 +334,12 @@ removes all warnings and errors #### `generate()` +0 * Returns: {string} #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -344,6 +349,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -354,22 +360,27 @@ removes all warnings and errors #### `getGeneratedCode()` +0 * Returns: {string} #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -379,6 +390,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -389,10 +401,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -400,10 +414,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -421,10 +437,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -443,6 +461,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -467,6 +486,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -478,6 +498,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -486,6 +507,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -510,6 +532,7 @@ Use needBuild instead #### `shouldIsolate()` +0 * Returns: {boolean} #### `size([type])` @@ -520,6 +543,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -545,6 +569,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -848,18 +873,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -876,10 +904,12 @@ removes all warnings and errors #### `generate()` +0 * Returns: {string} #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -889,6 +919,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -899,22 +930,27 @@ removes all warnings and errors #### `getGeneratedCode()` +0 * Returns: {string} #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -924,6 +960,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -934,10 +971,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -945,10 +984,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -966,10 +1007,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -988,6 +1031,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -1012,6 +1056,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -1023,6 +1068,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -1031,6 +1077,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -1055,6 +1102,7 @@ Use needBuild instead #### `shouldIsolate()` +0 * Returns: {boolean} #### `size([type])` @@ -1065,6 +1113,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -1095,6 +1144,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} diff --git a/pages/v5.x/webpack/namespaces/sources.md b/pages/v5.x/webpack/namespaces/sources.md index f5eed32..36b275e 100644 --- a/pages/v5.x/webpack/namespaces/sources.md +++ b/pages/v5.x/webpack/namespaces/sources.md @@ -18,10 +18,12 @@ #### `buffer()` +0 * Returns: {Buffer} #### `getCachedData()` +0 * Returns: {CachedData} #### `map([options])` @@ -31,18 +33,22 @@ #### `original()` +0 * Returns: {Source} #### `originalLazy()` +0 * Returns: {Source|object} #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -82,6 +88,7 @@ #### `buffer()` +0 * Returns: {Buffer} #### `map([options])` @@ -91,10 +98,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -141,10 +150,12 @@ #### `buffer()` +0 * Returns: {Buffer} #### `getChildren()` +0 * Returns: {Source[]} #### `map([options])` @@ -154,10 +165,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -198,10 +211,12 @@ #### `buffer()` +0 * Returns: {Buffer} #### `getName()` +0 * Returns: {string} #### `map([options])` @@ -211,10 +226,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -255,10 +272,12 @@ #### `buffer()` +0 * Returns: {Buffer} #### `getPrefix()` +0 * Returns: {string} #### `map([options])` @@ -268,14 +287,17 @@ #### `original()` +0 * Returns: {Source} #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -316,10 +338,12 @@ #### `buffer()` +0 * Returns: {Buffer} #### `isBuffer()` +0 * Returns: {boolean} #### `map([options])` @@ -329,10 +353,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -377,14 +403,17 @@ #### `buffer()` +0 * Returns: {Buffer} #### `getName()` +0 * Returns: {string} #### `getReplacements()` +0 * Returns: {Replacement[]} #### `insert(pos, newValue[, name])` @@ -401,6 +430,7 @@ #### `original()` +0 * Returns: {Source} #### `replace(start, end, newValue[, name])` @@ -413,10 +443,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -456,6 +488,7 @@ #### `buffer()` +0 * Returns: {Buffer} #### `map([options])` @@ -465,10 +498,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -501,12 +536,14 @@ #### Constructor +0 * Returns: {Source} ### Methods #### `buffer()` +0 * Returns: {Buffer} #### `map([options])` @@ -516,10 +553,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -556,10 +595,12 @@ #### `buffer()` +0 * Returns: {Buffer} #### `getArgsAsBuffers()` +0 * Returns: {Buffer|string|Buffer|Buffer|Buffer|boolean} #### `map([options])` @@ -569,10 +610,12 @@ #### `size()` +0 * Returns: {number} #### `source()` +0 * Returns: {SourceValue} #### `sourceAndMap([options])` diff --git a/pages/v5.x/webpack/namespaces/util/index.md b/pages/v5.x/webpack/namespaces/util/index.md index df46e58..70160f9 100644 --- a/pages/v5.x/webpack/namespaces/util/index.md +++ b/pages/v5.x/webpack/namespaces/util/index.md @@ -41,6 +41,7 @@ #### `[iterator]()` +0 * Returns: {SetIterator} #### `add(item)` @@ -55,6 +56,7 @@ #### `clear()` +0 * Returns: {void} #### `delete(value)` @@ -64,6 +66,7 @@ #### `entries()` +0 * Returns: {SetIterator} #### `forEach(callbackFn, thisArg)` @@ -82,6 +85,7 @@ #### `keys()` +0 * Returns: {SetIterator} #### `serialize(__namedParameters)` @@ -91,6 +95,7 @@ #### `values()` +0 * Returns: {SetIterator} #### Static method: `deserialize(__namedParameters)` diff --git a/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md b/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md index 252eadd..99443f1 100644 --- a/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md +++ b/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md @@ -57,6 +57,7 @@ #### `keys()` +0 * Returns: {RuntimeSpec[]} #### `provide(runtime, computer)` @@ -79,6 +80,7 @@ #### `values()` +0 * Returns: {IterableIterator} *** @@ -108,6 +110,7 @@ #### `[iterator]()` +0 * Returns: {IterableIterator} #### `add(runtime)` diff --git a/pages/v5.x/webpack/namespaces/web.md b/pages/v5.x/webpack/namespaces/web.md index d358abc..a19155d 100644 --- a/pages/v5.x/webpack/namespaces/web.md +++ b/pages/v5.x/webpack/namespaces/web.md @@ -295,18 +295,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -323,10 +326,12 @@ removes all warnings and errors #### `generate()` +0 * Returns: {string} #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -336,6 +341,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -346,22 +352,27 @@ removes all warnings and errors #### `getGeneratedCode()` +0 * Returns: {string} #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -371,6 +382,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -381,10 +393,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -392,10 +406,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -413,10 +429,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -435,6 +453,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -459,6 +478,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -470,6 +490,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -478,6 +499,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -502,6 +524,7 @@ Use needBuild instead #### `shouldIsolate()` +0 * Returns: {boolean} #### `size([type])` @@ -512,6 +535,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -542,6 +566,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -555,6 +580,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor +0 * Returns: {FetchCompileAsyncWasmPlugin} ### Methods @@ -887,18 +913,21 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` +0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` +0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` +0 * Returns: {void} removes all warnings and errors @@ -915,10 +944,12 @@ removes all warnings and errors #### `generate()` +0 * Returns: {string} #### `getChunks()` +0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -928,6 +959,7 @@ removes all warnings and errors #### `getErrors()` +0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -938,22 +970,27 @@ removes all warnings and errors #### `getGeneratedCode()` +0 * Returns: {string} #### `getNumberOfChunks()` +0 * Returns: {number} #### `getNumberOfErrors()` +0 * Returns: {number} #### `getNumberOfWarnings()` +0 * Returns: {number} #### `getRootBlock()` +0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -963,6 +1000,7 @@ removes all warnings and errors #### `getSourceBasicTypes()` +0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -973,10 +1011,12 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` +0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` +0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -984,10 +1024,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` +0 * Returns: {Iterable} #### `hasChunkCondition()` +0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -1005,10 +1047,12 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` +0 * Returns: {string} #### `invalidateBuild()` +0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -1027,6 +1071,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -1051,6 +1096,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` +0 * Returns: {string} #### `needBuild(context, callback)` @@ -1062,6 +1108,7 @@ This data will be passed to restoreFromUnsafeCache later. #### `needRebuild(fileTimestamps, contextTimestamps)` > Stability: 0 - Deprecated + * `fileTimestamps` {Map} * `contextTimestamps` {Map} * Returns: {boolean} @@ -1070,6 +1117,7 @@ Use needBuild instead #### `originalSource()` +0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -1094,6 +1142,7 @@ Use needBuild instead #### `shouldIsolate()` +0 * Returns: {boolean} #### `size([type])` @@ -1104,6 +1153,7 @@ Use needBuild instead #### `source(dependencyTemplates, runtimeTemplate[, type])` > Stability: 0 - Deprecated + * `dependencyTemplates` {DependencyTemplates} * `runtimeTemplate` {RuntimeTemplate} * `type` {string} @@ -1134,6 +1184,7 @@ and properties. #### Static method: `getSourceBasicTypes(module)` > Stability: 0 - Deprecated + * `module` {Module} * Returns: {ReadonlySet} @@ -1147,6 +1198,7 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor +0 * Returns: {JsonpTemplatePlugin} ### Methods @@ -1161,6 +1213,7 @@ Apply the plugin #### Static method: `getCompilationHooks(compilation)` > Stability: 0 - Deprecated + * `compilation` {Compilation} * Returns: {JsonpCompilationPluginHooks} diff --git a/pages/v5.x/webpack/namespaces/webworker.md b/pages/v5.x/webpack/namespaces/webworker.md index af2d1ff..dc9058c 100644 --- a/pages/v5.x/webpack/namespaces/webworker.md +++ b/pages/v5.x/webpack/namespaces/webworker.md @@ -6,6 +6,7 @@ #### Constructor +0 * Returns: {WebWorkerTemplatePlugin} ### Methods diff --git a/plugins/theme/partials/index.mjs b/plugins/theme/partials/index.mjs index b6205b5..33b2440 100644 --- a/plugins/theme/partials/index.mjs +++ b/plugins/theme/partials/index.mjs @@ -40,6 +40,7 @@ export default (ctx) => ({ return [ stability, + stability && "", model.typeParameters?.length && ctx.partials.typeParametersList(model.typeParameters, { headingLevel: options.headingLevel, @@ -60,7 +61,7 @@ export default (ctx) => ({ showTags: false, }), ] - .filter((x) => (typeof x === "string" ? x : Boolean(x))) + .filter((x) => x !== null && x !== undefined && x !== false) .join("\n"); }, From dba66c0f00813449f7e0c50ab04f82eb8da987b2 Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Fri, 13 Mar 2026 18:56:24 +0530 Subject: [PATCH 3/3] fix(theme): correct filter to preserve empty strings without leaking falsy numerics --- pages/v5.x/globals.md | 194 ------------------ pages/v5.x/webpack/namespaces/cache.md | 1 - pages/v5.x/webpack/namespaces/cli.md | 1 - pages/v5.x/webpack/namespaces/css.md | 1 - pages/v5.x/webpack/namespaces/dependencies.md | 17 -- pages/v5.x/webpack/namespaces/esm.md | 22 -- pages/v5.x/webpack/namespaces/ids.md | 1 - pages/v5.x/webpack/namespaces/node.md | 1 - .../v5.x/webpack/namespaces/optimize/index.md | 1 - pages/v5.x/webpack/namespaces/prefetch.md | 1 - pages/v5.x/webpack/namespaces/runtime.md | 44 ---- pages/v5.x/webpack/namespaces/sources.md | 43 ---- pages/v5.x/webpack/namespaces/util/index.md | 5 - .../namespaces/util/namespaces/runtime.md | 3 - pages/v5.x/webpack/namespaces/web.md | 46 ----- pages/v5.x/webpack/namespaces/webworker.md | 1 - plugins/theme/partials/index.mjs | 2 +- 17 files changed, 1 insertion(+), 383 deletions(-) diff --git a/pages/v5.x/globals.md b/pages/v5.x/globals.md index 8f2523a..dd2cc4b 100644 --- a/pages/v5.x/globals.md +++ b/pages/v5.x/globals.md @@ -84,7 +84,6 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks @@ -96,7 +95,6 @@ Removes all dependencies and blocks #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `removeDependency(dependency)` @@ -123,7 +121,6 @@ Removes all dependencies and blocks #### Constructor -0 * Returns: {AutomaticPrefetchPlugin} ### Methods @@ -168,7 +165,6 @@ Apply the plugin #### Constructor -0 * Returns: {CacheClass} ### Properties @@ -183,7 +179,6 @@ Apply the plugin #### `beginIdle()` -0 * Returns: {void} #### `endIdle(callback)` @@ -309,7 +304,6 @@ After this method has succeeded the cache can only be restored when build depend #### `canBeInitial()` -0 * Returns: {boolean} #### `canBeIntegrated(otherChunk)` @@ -329,27 +323,22 @@ After this method has succeeded the cache can only be restored when build depend #### `disconnectFromGroups()` -0 * Returns: {void} #### `getAllAsyncChunks()` -0 * Returns: {Set} #### `getAllInitialChunks()` -0 * Returns: {Set} #### `getAllReferencedAsyncEntrypoints()` -0 * Returns: {Set} #### `getAllReferencedChunks()` -0 * Returns: {Set} #### `getChildIdsByOrders(chunkGraph[, filterFn])` @@ -385,27 +374,22 @@ After this method has succeeded the cache can only be restored when build depend #### `getEntryOptions()` -0 * Returns: {EntryOptions} #### `getModules()` -0 * Returns: {Module[]} #### `getNumberOfGroups()` -0 * Returns: {number} #### `getNumberOfModules()` -0 * Returns: {number} #### `hasAsyncChunks()` -0 * Returns: {boolean} #### `hasChildByOrder(chunkGraph, type[, includeDirectChildren][, filterFn])` @@ -418,7 +402,6 @@ After this method has succeeded the cache can only be restored when build depend #### `hasEntryModule()` -0 * Returns: {boolean} #### `hasModuleInGraph(filterFn[, filterChunkFn])` @@ -429,7 +412,6 @@ After this method has succeeded the cache can only be restored when build depend #### `hasRuntime()` -0 * Returns: {boolean} #### `integrate(otherChunk)` @@ -445,7 +427,6 @@ After this method has succeeded the cache can only be restored when build depend #### `isEmpty()` -0 * Returns: {boolean} #### `isInGroup(chunkGroup)` @@ -455,12 +436,10 @@ After this method has succeeded the cache can only be restored when build depend #### `isOnlyInitial()` -0 * Returns: {boolean} #### `modulesSize()` -0 * Returns: {number} #### `moveModule(module, otherChunk)` @@ -471,7 +450,6 @@ After this method has succeeded the cache can only be restored when build depend #### `remove()` -0 * Returns: {void} #### `removeGroup(chunkGroup)` @@ -1037,7 +1015,6 @@ After this method has succeeded the cache can only be restored when build depend #### Constructor -0 * Returns: {ChunkGroup} ### Properties @@ -1156,7 +1133,6 @@ when a new chunk is added to a chunkGroup, addingOptions will occur. #### `checkConstraints()` -0 * Returns: {void} #### `compareTo(chunkGraph, otherGroup)` @@ -1170,12 +1146,10 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getBlocks()` -0 * Returns: {AsyncDependenciesBlock[]} #### `getChildren()` -0 * Returns: {ChunkGroup[]} #### `getChildrenByOrders(moduleGraph, chunkGraph)` @@ -1186,7 +1160,6 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getFiles()` -0 * Returns: {string[]} #### `getModulePostOrderIndex(module)` @@ -1205,22 +1178,18 @@ Gets the top-down index of a module in this ChunkGroup #### `getNumberOfBlocks()` -0 * Returns: {number} #### `getNumberOfChildren()` -0 * Returns: {number} #### `getNumberOfParents()` -0 * Returns: {number} #### `getParents()` -0 * Returns: {ChunkGroup[]} #### `hasBlock(block)` @@ -1243,7 +1212,6 @@ inserts a chunk before another existing chunk in group #### `isInitial()` -0 * Returns: {boolean} #### `pushChunk(chunk)` @@ -1255,7 +1223,6 @@ add a chunk into ChunkGroup. Is pushed on or prepended #### `remove()` -0 * Returns: {void} #### `removeChild(group)` @@ -1297,7 +1264,6 @@ Sets the top-down index of a module in this ChunkGroup #### `sortItems()` -0 * Returns: {void} #### `unshiftChunk(chunk)` @@ -1344,7 +1310,6 @@ Apply the plugin #### Constructor -0 * Returns: {CodeGenerationResults} ### Properties @@ -1589,7 +1554,6 @@ If `module` is passed, `loc` and `request` must also be passed. #### `assignRuntimeIds()` -0 * Returns: {void} #### `buildModule(module, callback)` @@ -1602,12 +1566,10 @@ Schedules a build of the module object #### `checkConstraints()` -0 * Returns: {void} #### `clearAssets()` -0 * Returns: {void} #### `codeGeneration(callback)` @@ -1633,17 +1595,14 @@ from parent (or top level compiler) and creates a child Compilation #### `createHash()` -0 * Returns: {CodeGenerationJob[]} #### `createModuleAssets()` -0 * Returns: {void} #### `createModuleHashes()` -0 * Returns: {void} #### `createStatsFactory(options)` @@ -1726,7 +1685,6 @@ Attempts to search for a module by its identifier #### `getAssets()` -0 * Returns: {Readonly[]} #### `getCache(name)` @@ -1742,7 +1700,6 @@ Attempts to search for a module by its identifier #### `getErrors()` -0 * Returns: {Error[]} #### `getLogger(name)` @@ -1776,12 +1733,10 @@ Fetches a module from a compilation by its identifier #### `getStats()` -0 * Returns: {Stats} #### `getWarnings()` -0 * Returns: {Error[]} #### `handleModuleCreation(__namedParameters, callback)` @@ -1849,17 +1804,14 @@ Fetches a module from a compilation by its identifier #### `sortItemsWithChunkIds()` -0 * Returns: {void} #### `summarizeDependencies()` -0 * Returns: {void} #### `unseal()` -0 * Returns: {void} #### `updateAsset(file, newSourceOrFunction[, assetInfoUpdateOrFunction])` @@ -1946,12 +1898,10 @@ Fetches a module from a compilation by its identifier #### `createContextModuleFactory()` -0 * Returns: {ContextModuleFactory} #### `createNormalModuleFactory()` -0 * Returns: {NormalModuleFactory} #### `emitAssets(compilation, callback)` @@ -1977,7 +1927,6 @@ Fetches a module from a compilation by its identifier #### `isChild()` -0 * Returns: {boolean} #### `newCompilation(params)` @@ -1987,12 +1936,10 @@ Fetches a module from a compilation by its identifier #### `newCompilationParams()` -0 * Returns: {object} #### `purgeInputFileSystem()` -0 * Returns: {void} #### `readRecords(callback)` @@ -2229,7 +2176,6 @@ Apply the plugin #### Constructor -0 * Returns: {Dependency} ### Properties @@ -2278,7 +2224,6 @@ Apply the plugin #### `couldAffectReferencingModule()` -0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -2298,7 +2243,6 @@ Apply the plugin #### `getContext()` -0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -2322,7 +2266,6 @@ Returns the exported names #### `getNumberOfIdOccurrences()` -0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -2346,7 +2289,6 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` -0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -2486,7 +2428,6 @@ Apply the plugin #### Constructor -0 * Returns: {EntryOptionPlugin} ### Methods @@ -2558,7 +2499,6 @@ Apply the plugin #### Constructor -0 * Returns: {Entrypoint} ### Properties @@ -2706,7 +2646,6 @@ when a new chunk is added to a chunkGroup, addingOptions will occur. #### `checkConstraints()` -0 * Returns: {void} #### `compareTo(chunkGraph, otherGroup)` @@ -2725,12 +2664,10 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getBlocks()` -0 * Returns: {AsyncDependenciesBlock[]} #### `getChildren()` -0 * Returns: {ChunkGroup[]} #### `getChildrenByOrders(moduleGraph, chunkGraph)` @@ -2741,7 +2678,6 @@ Sorting values are based off of number of chunks in ChunkGroup. #### `getEntrypointChunk()` -0 * Returns: {Chunk} Returns the chunk which contains the entrypoint modules @@ -2749,7 +2685,6 @@ Returns the chunk which contains the entrypoint modules #### `getFiles()` -0 * Returns: {string[]} #### `getModulePostOrderIndex(module)` @@ -2768,27 +2703,22 @@ Gets the top-down index of a module in this ChunkGroup #### `getNumberOfBlocks()` -0 * Returns: {number} #### `getNumberOfChildren()` -0 * Returns: {number} #### `getNumberOfParents()` -0 * Returns: {number} #### `getParents()` -0 * Returns: {ChunkGroup[]} #### `getRuntimeChunk()` -0 * Returns: {Chunk} Fetches the chunk reference containing the webpack bootstrap code @@ -2813,7 +2743,6 @@ inserts a chunk before another existing chunk in group #### `isInitial()` -0 * Returns: {boolean} #### `pushChunk(chunk)` @@ -2825,7 +2754,6 @@ add a chunk into ChunkGroup. Is pushed on or prepended #### `remove()` -0 * Returns: {void} #### `removeChild(group)` @@ -2881,7 +2809,6 @@ Sets the runtimeChunk for an entrypoint. #### `sortItems()` -0 * Returns: {void} #### `unshiftChunk(chunk)` @@ -3257,21 +3184,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -3288,7 +3212,6 @@ removes all warnings and errors #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -3298,7 +3221,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -3309,22 +3231,18 @@ removes all warnings and errors #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -3334,7 +3252,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -3345,12 +3262,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -3358,12 +3273,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -3381,12 +3294,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -3405,7 +3316,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -3430,7 +3340,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -3451,7 +3360,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -3556,7 +3464,6 @@ Apply the plugin #### Constructor -0 * Returns: {Generator} ### Methods @@ -3603,7 +3510,6 @@ Apply the plugin #### Constructor -0 * Returns: {HotModuleReplacementPlugin} ### Methods @@ -3632,7 +3538,6 @@ Apply the plugin #### Constructor -0 * Returns: {HotUpdateChunk} ### Properties @@ -3715,7 +3620,6 @@ Apply the plugin #### `canBeInitial()` -0 * Returns: {boolean} #### `canBeIntegrated(otherChunk)` @@ -3735,27 +3639,22 @@ Apply the plugin #### `disconnectFromGroups()` -0 * Returns: {void} #### `getAllAsyncChunks()` -0 * Returns: {Set} #### `getAllInitialChunks()` -0 * Returns: {Set} #### `getAllReferencedAsyncEntrypoints()` -0 * Returns: {Set} #### `getAllReferencedChunks()` -0 * Returns: {Set} #### `getChildIdsByOrders(chunkGraph[, filterFn])` @@ -3791,27 +3690,22 @@ Apply the plugin #### `getEntryOptions()` -0 * Returns: {EntryOptions} #### `getModules()` -0 * Returns: {Module[]} #### `getNumberOfGroups()` -0 * Returns: {number} #### `getNumberOfModules()` -0 * Returns: {number} #### `hasAsyncChunks()` -0 * Returns: {boolean} #### `hasChildByOrder(chunkGraph, type[, includeDirectChildren][, filterFn])` @@ -3824,7 +3718,6 @@ Apply the plugin #### `hasEntryModule()` -0 * Returns: {boolean} #### `hasModuleInGraph(filterFn[, filterChunkFn])` @@ -3835,7 +3728,6 @@ Apply the plugin #### `hasRuntime()` -0 * Returns: {boolean} #### `integrate(otherChunk)` @@ -3851,7 +3743,6 @@ Apply the plugin #### `isEmpty()` -0 * Returns: {boolean} #### `isInGroup(chunkGroup)` @@ -3861,12 +3752,10 @@ Apply the plugin #### `isOnlyInitial()` -0 * Returns: {boolean} #### `modulesSize()` -0 * Returns: {number} #### `moveModule(module, otherChunk)` @@ -3877,7 +3766,6 @@ Apply the plugin #### `remove()` -0 * Returns: {void} #### `removeGroup(chunkGroup)` @@ -4446,21 +4334,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -4477,7 +4362,6 @@ removes all warnings and errors #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -4487,7 +4371,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -4498,22 +4381,18 @@ removes all warnings and errors #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -4523,7 +4402,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -4534,12 +4412,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -4547,12 +4423,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -4570,12 +4444,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -4594,7 +4466,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -4619,7 +4490,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -4640,7 +4510,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -4711,7 +4580,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor -0 * Returns: {ModuleFactory} ### Methods @@ -4730,7 +4598,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor -0 * Returns: {ModuleGraph} ### Properties @@ -4796,7 +4663,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `finishUpdateParent()` -0 * Returns: {void} #### `freeze([cacheStage])` @@ -4957,7 +4823,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `removeAllModuleAttributes()` -0 * Returns: {void} #### `removeConnection(dependency)` @@ -5057,7 +4922,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `unfreeze()` -0 * Returns: {void} #### `updateModule(dependency, module)` @@ -5154,7 +5018,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `clone()` -0 * Returns: {ModuleGraphConnection} #### `getActiveState(runtime)` @@ -5236,7 +5099,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### `purgeInputFileSystem()` -0 * Returns: {void} #### `run(callback)` @@ -5280,7 +5142,6 @@ This method should have been private #### Constructor -0 * Returns: {MultiStats} ### Properties @@ -5303,12 +5164,10 @@ This method should have been private #### `hasErrors()` -0 * Returns: {boolean} #### `hasWarnings()` -0 * Returns: {boolean} #### `toJson([options])` @@ -5329,7 +5188,6 @@ This method should have been private #### Constructor -0 * Returns: {NoEmitOnErrorsPlugin} ### Methods @@ -5640,21 +5498,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -5688,7 +5543,6 @@ removes all warnings and errors #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -5704,7 +5558,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -5715,27 +5568,22 @@ removes all warnings and errors #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getResource()` -0 * Returns: {string} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -5745,7 +5593,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -5756,12 +5603,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -5769,12 +5614,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -5792,12 +5635,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -5816,7 +5657,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -5846,7 +5686,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -5867,7 +5706,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -5994,7 +5832,6 @@ Apply the plugin #### Constructor -0 * Returns: {ParserClass} ### Methods @@ -6125,7 +5962,6 @@ Apply the plugin #### Constructor -0 * Returns: {Resolver} ### Properties @@ -6507,21 +6343,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -6538,12 +6371,10 @@ removes all warnings and errors #### `generate()` -0 * Returns: {string} #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -6553,7 +6384,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -6564,27 +6394,22 @@ removes all warnings and errors #### `getGeneratedCode()` -0 * Returns: {string} #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -6594,7 +6419,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -6605,12 +6429,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -6618,12 +6440,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -6641,12 +6461,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -6665,7 +6483,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -6690,7 +6507,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -6711,7 +6527,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -6736,7 +6551,6 @@ Use needBuild instead #### `shouldIsolate()` -0 * Returns: {boolean} #### `size([type])` @@ -6859,12 +6673,10 @@ Apply the plugin #### `hasErrors()` -0 * Returns: {boolean} #### `hasWarnings()` -0 * Returns: {boolean} #### `toJson([options])` @@ -6885,7 +6697,6 @@ Apply the plugin #### Constructor -0 * Returns: {Template} ### Properties @@ -7003,7 +6814,6 @@ Apply the plugin #### Constructor -0 * Returns: {Watching} ### Properties @@ -7036,12 +6846,10 @@ Apply the plugin #### `resume()` -0 * Returns: {void} #### `suspend()` -0 * Returns: {void} #### `watch(files, dirs, missing)` @@ -7163,7 +6971,6 @@ a(); #### Constructor -0 * Returns: {WebpackOptionsApply} ### Methods @@ -7183,7 +6990,6 @@ a(); #### Constructor -0 * Returns: {WebpackOptionsDefaulter} ### Methods diff --git a/pages/v5.x/webpack/namespaces/cache.md b/pages/v5.x/webpack/namespaces/cache.md index b6a5acf..d6041bb 100644 --- a/pages/v5.x/webpack/namespaces/cache.md +++ b/pages/v5.x/webpack/namespaces/cache.md @@ -6,7 +6,6 @@ #### Constructor -0 * Returns: {MemoryCachePlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/cli.md b/pages/v5.x/webpack/namespaces/cli.md index d0d7793..eaecba5 100644 --- a/pages/v5.x/webpack/namespaces/cli.md +++ b/pages/v5.x/webpack/namespaces/cli.md @@ -22,7 +22,6 @@ > **isColorSupported**: {object} -0 * Returns: {boolean} *** diff --git a/pages/v5.x/webpack/namespaces/css.md b/pages/v5.x/webpack/namespaces/css.md index 5fce8c3..5bdf74e 100644 --- a/pages/v5.x/webpack/namespaces/css.md +++ b/pages/v5.x/webpack/namespaces/css.md @@ -6,7 +6,6 @@ #### Constructor -0 * Returns: {CssModulesPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/dependencies.md b/pages/v5.x/webpack/namespaces/dependencies.md index 47c975d..58c1ea1 100644 --- a/pages/v5.x/webpack/namespaces/dependencies.md +++ b/pages/v5.x/webpack/namespaces/dependencies.md @@ -77,7 +77,6 @@ #### `couldAffectReferencingModule()` -0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -97,7 +96,6 @@ #### `getContext()` -0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -121,7 +119,6 @@ Returns the exported names #### `getNumberOfIdOccurrences()` -0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -145,7 +142,6 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` -0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -266,7 +262,6 @@ Update the hash #### `couldAffectReferencingModule()` -0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -286,7 +281,6 @@ Update the hash #### `getContext()` -0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -333,7 +327,6 @@ Returns the exported names #### `getNumberOfIdOccurrences()` -0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -357,7 +350,6 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` -0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -476,7 +468,6 @@ Update the hash #### `couldAffectReferencingModule()` -0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -496,7 +487,6 @@ Update the hash #### `getContext()` -0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -520,7 +510,6 @@ Returns the exported names #### `getNumberOfIdOccurrences()` -0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -544,7 +533,6 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` -0 * Returns: {string} #### `getWarnings(moduleGraph)` @@ -596,7 +584,6 @@ Update the hash #### Constructor -0 * Returns: {NullDependency} ### Properties @@ -658,7 +645,6 @@ Update the hash #### `couldAffectReferencingModule()` -0 * Returns: {boolean|TRANSITIVE} #### `createIgnoredModule(context)` @@ -678,7 +664,6 @@ Update the hash #### `getContext()` -0 * Returns: {string} #### `getErrors(moduleGraph)` @@ -702,7 +687,6 @@ Returns the exported names #### `getNumberOfIdOccurrences()` -0 * Returns: {number} implement this method to allow the occurrence order plugin to count correctly @@ -726,7 +710,6 @@ Returns list of exports referenced by this dependency #### `getResourceIdentifier()` -0 * Returns: {string} #### `getWarnings(moduleGraph)` diff --git a/pages/v5.x/webpack/namespaces/esm.md b/pages/v5.x/webpack/namespaces/esm.md index 8c448eb..45016dc 100644 --- a/pages/v5.x/webpack/namespaces/esm.md +++ b/pages/v5.x/webpack/namespaces/esm.md @@ -295,21 +295,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -326,12 +323,10 @@ removes all warnings and errors #### `generate()` -0 * Returns: {string} #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -341,7 +336,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -352,27 +346,22 @@ removes all warnings and errors #### `getGeneratedCode()` -0 * Returns: {string} #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -382,7 +371,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -393,12 +381,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -406,12 +392,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -429,12 +413,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -453,7 +435,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -478,7 +459,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -499,7 +479,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -524,7 +503,6 @@ Use needBuild instead #### `shouldIsolate()` -0 * Returns: {boolean} #### `size([type])` diff --git a/pages/v5.x/webpack/namespaces/ids.md b/pages/v5.x/webpack/namespaces/ids.md index 14f7f1c..cdaae00 100644 --- a/pages/v5.x/webpack/namespaces/ids.md +++ b/pages/v5.x/webpack/namespaces/ids.md @@ -150,7 +150,6 @@ Apply the plugin #### Constructor -0 * Returns: {NaturalModuleIdsPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/node.md b/pages/v5.x/webpack/namespaces/node.md index 20f889c..ad4e732 100644 --- a/pages/v5.x/webpack/namespaces/node.md +++ b/pages/v5.x/webpack/namespaces/node.md @@ -30,7 +30,6 @@ Apply the plugin #### Constructor -0 * Returns: {NodeSourcePlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/optimize/index.md b/pages/v5.x/webpack/namespaces/optimize/index.md index 38d2071..d98d760 100644 --- a/pages/v5.x/webpack/namespaces/optimize/index.md +++ b/pages/v5.x/webpack/namespaces/optimize/index.md @@ -131,7 +131,6 @@ Apply the plugin #### Constructor -0 * Returns: {ModuleConcatenationPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/prefetch.md b/pages/v5.x/webpack/namespaces/prefetch.md index 46a1df0..429bbf3 100644 --- a/pages/v5.x/webpack/namespaces/prefetch.md +++ b/pages/v5.x/webpack/namespaces/prefetch.md @@ -6,7 +6,6 @@ #### Constructor -0 * Returns: {ChunkPrefetchPreloadPlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/runtime.md b/pages/v5.x/webpack/namespaces/runtime.md index 069427f..115bf92 100644 --- a/pages/v5.x/webpack/namespaces/runtime.md +++ b/pages/v5.x/webpack/namespaces/runtime.md @@ -303,21 +303,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -334,12 +331,10 @@ removes all warnings and errors #### `generate()` -0 * Returns: {string} #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -349,7 +344,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -360,27 +354,22 @@ removes all warnings and errors #### `getGeneratedCode()` -0 * Returns: {string} #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -390,7 +379,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -401,12 +389,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -414,12 +400,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -437,12 +421,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -461,7 +443,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -486,7 +467,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -507,7 +487,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -532,7 +511,6 @@ Use needBuild instead #### `shouldIsolate()` -0 * Returns: {boolean} #### `size([type])` @@ -873,21 +851,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -904,12 +879,10 @@ removes all warnings and errors #### `generate()` -0 * Returns: {string} #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -919,7 +892,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -930,27 +902,22 @@ removes all warnings and errors #### `getGeneratedCode()` -0 * Returns: {string} #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -960,7 +927,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -971,12 +937,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -984,12 +948,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -1007,12 +969,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -1031,7 +991,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -1056,7 +1015,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -1077,7 +1035,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -1102,7 +1059,6 @@ Use needBuild instead #### `shouldIsolate()` -0 * Returns: {boolean} #### `size([type])` diff --git a/pages/v5.x/webpack/namespaces/sources.md b/pages/v5.x/webpack/namespaces/sources.md index 36b275e..f5eed32 100644 --- a/pages/v5.x/webpack/namespaces/sources.md +++ b/pages/v5.x/webpack/namespaces/sources.md @@ -18,12 +18,10 @@ #### `buffer()` -0 * Returns: {Buffer} #### `getCachedData()` -0 * Returns: {CachedData} #### `map([options])` @@ -33,22 +31,18 @@ #### `original()` -0 * Returns: {Source} #### `originalLazy()` -0 * Returns: {Source|object} #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -88,7 +82,6 @@ #### `buffer()` -0 * Returns: {Buffer} #### `map([options])` @@ -98,12 +91,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -150,12 +141,10 @@ #### `buffer()` -0 * Returns: {Buffer} #### `getChildren()` -0 * Returns: {Source[]} #### `map([options])` @@ -165,12 +154,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -211,12 +198,10 @@ #### `buffer()` -0 * Returns: {Buffer} #### `getName()` -0 * Returns: {string} #### `map([options])` @@ -226,12 +211,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -272,12 +255,10 @@ #### `buffer()` -0 * Returns: {Buffer} #### `getPrefix()` -0 * Returns: {string} #### `map([options])` @@ -287,17 +268,14 @@ #### `original()` -0 * Returns: {Source} #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -338,12 +316,10 @@ #### `buffer()` -0 * Returns: {Buffer} #### `isBuffer()` -0 * Returns: {boolean} #### `map([options])` @@ -353,12 +329,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -403,17 +377,14 @@ #### `buffer()` -0 * Returns: {Buffer} #### `getName()` -0 * Returns: {string} #### `getReplacements()` -0 * Returns: {Replacement[]} #### `insert(pos, newValue[, name])` @@ -430,7 +401,6 @@ #### `original()` -0 * Returns: {Source} #### `replace(start, end, newValue[, name])` @@ -443,12 +413,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -488,7 +456,6 @@ #### `buffer()` -0 * Returns: {Buffer} #### `map([options])` @@ -498,12 +465,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -536,14 +501,12 @@ #### Constructor -0 * Returns: {Source} ### Methods #### `buffer()` -0 * Returns: {Buffer} #### `map([options])` @@ -553,12 +516,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` @@ -595,12 +556,10 @@ #### `buffer()` -0 * Returns: {Buffer} #### `getArgsAsBuffers()` -0 * Returns: {Buffer|string|Buffer|Buffer|Buffer|boolean} #### `map([options])` @@ -610,12 +569,10 @@ #### `size()` -0 * Returns: {number} #### `source()` -0 * Returns: {SourceValue} #### `sourceAndMap([options])` diff --git a/pages/v5.x/webpack/namespaces/util/index.md b/pages/v5.x/webpack/namespaces/util/index.md index 70160f9..df46e58 100644 --- a/pages/v5.x/webpack/namespaces/util/index.md +++ b/pages/v5.x/webpack/namespaces/util/index.md @@ -41,7 +41,6 @@ #### `[iterator]()` -0 * Returns: {SetIterator} #### `add(item)` @@ -56,7 +55,6 @@ #### `clear()` -0 * Returns: {void} #### `delete(value)` @@ -66,7 +64,6 @@ #### `entries()` -0 * Returns: {SetIterator} #### `forEach(callbackFn, thisArg)` @@ -85,7 +82,6 @@ #### `keys()` -0 * Returns: {SetIterator} #### `serialize(__namedParameters)` @@ -95,7 +91,6 @@ #### `values()` -0 * Returns: {SetIterator} #### Static method: `deserialize(__namedParameters)` diff --git a/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md b/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md index 99443f1..252eadd 100644 --- a/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md +++ b/pages/v5.x/webpack/namespaces/util/namespaces/runtime.md @@ -57,7 +57,6 @@ #### `keys()` -0 * Returns: {RuntimeSpec[]} #### `provide(runtime, computer)` @@ -80,7 +79,6 @@ #### `values()` -0 * Returns: {IterableIterator} *** @@ -110,7 +108,6 @@ #### `[iterator]()` -0 * Returns: {IterableIterator} #### `add(runtime)` diff --git a/pages/v5.x/webpack/namespaces/web.md b/pages/v5.x/webpack/namespaces/web.md index a19155d..187e70f 100644 --- a/pages/v5.x/webpack/namespaces/web.md +++ b/pages/v5.x/webpack/namespaces/web.md @@ -295,21 +295,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -326,12 +323,10 @@ removes all warnings and errors #### `generate()` -0 * Returns: {string} #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -341,7 +336,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -352,27 +346,22 @@ removes all warnings and errors #### `getGeneratedCode()` -0 * Returns: {string} #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -382,7 +371,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -393,12 +381,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -406,12 +392,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -429,12 +413,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -453,7 +435,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -478,7 +459,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -499,7 +479,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -524,7 +503,6 @@ Use needBuild instead #### `shouldIsolate()` -0 * Returns: {boolean} #### `size([type])` @@ -580,7 +558,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor -0 * Returns: {FetchCompileAsyncWasmPlugin} ### Methods @@ -913,21 +890,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `cleanupForCache()` -0 * Returns: {void} Assuming this module is in the cache. Remove internal references to allow freeing some memory. #### `clearDependenciesAndBlocks()` -0 * Returns: {void} Removes all dependencies and blocks #### `clearWarningsAndErrors()` -0 * Returns: {void} removes all warnings and errors @@ -944,12 +918,10 @@ removes all warnings and errors #### `generate()` -0 * Returns: {string} #### `getChunks()` -0 * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -959,7 +931,6 @@ removes all warnings and errors #### `getErrors()` -0 * Returns: {Iterable} #### `getExportsType(moduleGraph[, strict])` @@ -970,27 +941,22 @@ removes all warnings and errors #### `getGeneratedCode()` -0 * Returns: {string} #### `getNumberOfChunks()` -0 * Returns: {number} #### `getNumberOfErrors()` -0 * Returns: {number} #### `getNumberOfWarnings()` -0 * Returns: {number} #### `getRootBlock()` -0 * Returns: {DependenciesBlock} #### `getSideEffectsConnectionState(moduleGraph)` @@ -1000,7 +966,6 @@ removes all warnings and errors #### `getSourceBasicTypes()` -0 * Returns: {ReadonlySet} Basic source types are high-level categories like javascript, css, webassembly, etc. @@ -1011,12 +976,10 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei #### `getSourceTypes()` -0 * Returns: {ReadonlySet} #### `getUnsafeCacheData()` -0 * Returns: {UnsafeCacheData} Module should be unsafe cached. Get data that's needed for that. @@ -1024,12 +987,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `getWarnings()` -0 * Returns: {Iterable} #### `hasChunkCondition()` -0 * Returns: {boolean} #### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)` @@ -1047,12 +1008,10 @@ This data will be passed to restoreFromUnsafeCache later. #### `identifier()` -0 * Returns: {string} #### `invalidateBuild()` -0 * Returns: {void} #### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])` @@ -1071,7 +1030,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` -0 * Returns: {boolean} #### `isInChunk(chunk)` @@ -1096,7 +1054,6 @@ This data will be passed to restoreFromUnsafeCache later. #### `nameForCondition()` -0 * Returns: {string} #### `needBuild(context, callback)` @@ -1117,7 +1074,6 @@ Use needBuild instead #### `originalSource()` -0 * Returns: {Source} #### `readableIdentifier(requestShortener)` @@ -1142,7 +1098,6 @@ Use needBuild instead #### `shouldIsolate()` -0 * Returns: {boolean} #### `size([type])` @@ -1198,7 +1153,6 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead #### Constructor -0 * Returns: {JsonpTemplatePlugin} ### Methods diff --git a/pages/v5.x/webpack/namespaces/webworker.md b/pages/v5.x/webpack/namespaces/webworker.md index dc9058c..af2d1ff 100644 --- a/pages/v5.x/webpack/namespaces/webworker.md +++ b/pages/v5.x/webpack/namespaces/webworker.md @@ -6,7 +6,6 @@ #### Constructor -0 * Returns: {WebWorkerTemplatePlugin} ### Methods diff --git a/plugins/theme/partials/index.mjs b/plugins/theme/partials/index.mjs index 33b2440..56463fb 100644 --- a/plugins/theme/partials/index.mjs +++ b/plugins/theme/partials/index.mjs @@ -61,7 +61,7 @@ export default (ctx) => ({ showTags: false, }), ] - .filter((x) => x !== null && x !== undefined && x !== false) + .filter((x) => typeof x === "string" || Boolean(x)) .join("\n"); },