Comparing version
@@ -36,2 +36,3 @@ /* | ||
/** @typedef {import("../../declarations/WebpackOptions").AssetResourceGeneratorOptions} AssetResourceGeneratorOptions */ | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../../declarations/WebpackOptions").RawPublicPath} RawPublicPath */ | ||
@@ -55,3 +56,2 @@ /** @typedef {import("../ChunkGraph")} ChunkGraph */ | ||
/** @typedef {import("../util/Hash")} Hash */ | ||
/** @typedef {import("../util/createHash").Algorithm} Algorithm */ | ||
/** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */ | ||
@@ -237,3 +237,3 @@ | ||
const hash = createHash( | ||
/** @type {Algorithm} */ | ||
/** @type {HashFunction} */ | ||
(runtimeTemplate.outputOptions.hashFunction) | ||
@@ -240,0 +240,0 @@ ); |
@@ -651,7 +651,10 @@ /* | ||
* @param {Module} module module | ||
* @returns {boolean | null | string} true, if we want to cache the module | ||
* @returns {boolean} true, if we want to cache the module | ||
*/ | ||
module => { | ||
const name = module.nameForCondition(); | ||
return name && NODE_MODULES_REGEXP.test(name); | ||
if (!name) { | ||
return false; | ||
} | ||
return NODE_MODULES_REGEXP.test(name); | ||
} | ||
@@ -687,3 +690,4 @@ ); | ||
D( | ||
module.parser[JSON_MODULE_TYPE], | ||
/** @type {NonNullable<ParserOptionsByModuleTypeKnown[JSON_MODULE_TYPE]>} */ | ||
(module.parser[JSON_MODULE_TYPE]), | ||
"exportsDepth", | ||
@@ -1556,3 +1560,3 @@ mode === "development" ? 1 : Infinity | ||
} | ||
}).apply(/** @type {TODO} */ (compiler)); | ||
}).apply(/** @type {EXPECTED_ANY} */ (compiler)); | ||
} | ||
@@ -1732,4 +1736,4 @@ } | ||
const tty = | ||
/** @type {EXPECTED_ANY} */ (infrastructureLogging.stream).isTTY && | ||
process.env.TERM !== "dumb"; | ||
/** @type {NonNullable<InfrastructureLogging["stream"]>} */ | ||
(infrastructureLogging.stream).isTTY && process.env.TERM !== "dumb"; | ||
D(infrastructureLogging, "level", "info"); | ||
@@ -1736,0 +1740,0 @@ D(infrastructureLogging, "debug", false); |
@@ -552,6 +552,2 @@ /* | ||
return { | ||
/** | ||
* @param {Entrypoint} entrypoint entrypoint | ||
* @returns {string} runtime chunk name | ||
*/ | ||
name: entrypoint => `runtime~${entrypoint.name}` | ||
@@ -562,3 +558,7 @@ }; | ||
return { | ||
name: typeof name === "function" ? name : () => name | ||
name: | ||
typeof name === "function" | ||
? /** @type {Exclude<OptimizationRuntimeChunkNormalized, false>["name"]} */ | ||
(name) | ||
: () => /** @type {string} */ (name) | ||
}; | ||
@@ -565,0 +565,0 @@ }; |
@@ -84,3 +84,3 @@ /* | ||
* @typedef {object} ContextModuleOptionsExtras | ||
* @property {false|string|string[]} resource | ||
* @property {false | string | string[]} resource | ||
* @property {string=} resourceQuery | ||
@@ -87,0 +87,0 @@ * @property {string=} resourceFragment |
@@ -400,4 +400,3 @@ /* | ||
referencedExports, | ||
/** @type {TODO} */ | ||
(obj.context), | ||
obj.context, | ||
attributes | ||
@@ -404,0 +403,0 @@ ); |
@@ -193,3 +193,4 @@ /* | ||
options.typePrefix, | ||
/** @type {string} */ (options.category), | ||
/** @type {string} */ | ||
(options.category), | ||
options.referencedExports | ||
@@ -196,0 +197,0 @@ ) |
@@ -51,2 +51,3 @@ /* | ||
/** @typedef {import("webpack-sources").Source} Source */ | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../../declarations/WebpackOptions").OutputNormalized} OutputOptions */ | ||
@@ -64,3 +65,2 @@ /** @typedef {import("../Chunk")} Chunk */ | ||
/** @typedef {import("../util/Hash")} Hash */ | ||
/** @typedef {import("../util/createHash").Algorithm} Algorithm */ | ||
/** @typedef {import("../util/memoize")} Memoize */ | ||
@@ -449,3 +449,3 @@ | ||
} = compilation; | ||
const hash = createHash(/** @type {Algorithm} */ (hashFunction)); | ||
const hash = createHash(/** @type {HashFunction} */ (hashFunction)); | ||
if (hashSalt) hash.update(hashSalt); | ||
@@ -452,0 +452,0 @@ hooks.chunkHash.call(chunk, hash, { |
@@ -17,2 +17,3 @@ /* | ||
/** @typedef {import("inspector").Session} Session */ | ||
/** @typedef {import("tapable").FullTap} FullTap */ | ||
@@ -29,4 +30,2 @@ /** @typedef {import("../../declarations/plugins/debug/ProfilingPlugin").ProfilingPluginOptions} ProfilingPluginOptions */ | ||
/** @typedef {TODO} Inspector */ | ||
const validate = createSchemaValidation( | ||
@@ -41,2 +40,4 @@ require("../../schemas/plugins/debug/ProfilingPlugin.check.js"), | ||
/** @typedef {{ Session: typeof import("inspector").Session }} Inspector */ | ||
/** @type {Inspector | undefined} */ | ||
@@ -58,2 +59,3 @@ let inspector; | ||
constructor(inspector) { | ||
/** @type {undefined | Session} */ | ||
this.session = undefined; | ||
@@ -74,4 +76,5 @@ this.inspector = inspector; | ||
try { | ||
this.session = new inspector.Session(); | ||
this.session.connect(); | ||
this.session = new /** @type {Inspector} */ (inspector).Session(); | ||
/** @type {Session} */ | ||
(this.session).connect(); | ||
} catch (_) { | ||
@@ -96,4 +99,4 @@ this.session = undefined; | ||
* @param {string} method method name | ||
* @param {Record<string, EXPECTED_ANY>=} params params | ||
* @returns {Promise<TODO>} Promise for the result | ||
* @param {EXPECTED_OBJECT=} params params | ||
* @returns {Promise<EXPECTED_ANY | void>} Promise for the result | ||
*/ | ||
@@ -103,17 +106,10 @@ sendCommand(method, params) { | ||
return new Promise((res, rej) => { | ||
this.session.post( | ||
method, | ||
params, | ||
/** | ||
* @param {Error | null} err error | ||
* @param {object} params params | ||
*/ | ||
(err, params) => { | ||
if (err !== null) { | ||
rej(err); | ||
} else { | ||
res(params); | ||
} | ||
/** @type {Session} */ | ||
(this.session).post(method, params, (err, params) => { | ||
if (err !== null) { | ||
rej(err); | ||
} else { | ||
res(params); | ||
} | ||
); | ||
}); | ||
}); | ||
@@ -126,3 +122,4 @@ } | ||
if (this.hasSession()) { | ||
this.session.disconnect(); | ||
/** @type {Session} */ | ||
(this.session).disconnect(); | ||
} | ||
@@ -129,0 +126,0 @@ |
@@ -25,2 +25,3 @@ /* | ||
/** @typedef {import("estree").Expression} Expression */ | ||
/** @typedef {import("../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("./Compiler")} Compiler */ | ||
@@ -35,3 +36,2 @@ /** @typedef {import("./Module").BuildInfo} BuildInfo */ | ||
/** @typedef {import("./logging/Logger").Logger} Logger */ | ||
/** @typedef {import("./util/createHash").Algorithm} Algorithm */ | ||
@@ -372,3 +372,3 @@ /** @typedef {null | undefined | RegExp | EXPECTED_FUNCTION | string | number | boolean | bigint | undefined} CodeValuePrimitive */ | ||
const mainHash = createHash( | ||
/** @type {Algorithm} */ | ||
/** @type {HashFunction} */ | ||
(compilation.outputOptions.hashFunction) | ||
@@ -375,0 +375,0 @@ ); |
@@ -19,2 +19,3 @@ /* | ||
/** @typedef {import("../declarations/WebpackOptions").WebpackOptionsNormalized} WebpackOptions */ | ||
/** @typedef {import("../declarations/plugins/DllReferencePlugin").DllReferencePluginOptions} DllReferencePluginOptions */ | ||
/** @typedef {import("./ChunkGraph")} ChunkGraph */ | ||
@@ -27,2 +28,3 @@ /** @typedef {import("./Compilation")} Compilation */ | ||
/** @typedef {import("./Module").BuildCallback} BuildCallback */ | ||
/** @typedef {import("./Module").BuildMeta} BuildMeta */ | ||
/** @typedef {import("./Module").CodeGenerationContext} CodeGenerationContext */ | ||
@@ -44,6 +46,13 @@ /** @typedef {import("./Module").CodeGenerationResult} CodeGenerationResult */ | ||
/** @typedef {string} SourceRequest */ | ||
/** @typedef {"require" | "object"} Type */ | ||
/** @typedef {TODO} Data */ | ||
/** @typedef {string} DelegatedModuleSourceRequest */ | ||
/** @typedef {NonNullable<DllReferencePluginOptions["type"]>} DelegatedModuleType */ | ||
/** | ||
* @typedef {object} DelegatedModuleData | ||
* @property {BuildMeta=} buildMeta build meta | ||
* @property {true | string[]=} exports exports | ||
* @property {number | string} id module id | ||
*/ | ||
const RUNTIME_REQUIREMENTS = new Set([ | ||
@@ -56,5 +65,5 @@ RuntimeGlobals.module, | ||
/** | ||
* @param {SourceRequest} sourceRequest source request | ||
* @param {Data} data data | ||
* @param {Type} type type | ||
* @param {DelegatedModuleSourceRequest} sourceRequest source request | ||
* @param {DelegatedModuleData} data data | ||
* @param {DelegatedModuleType} type type | ||
* @param {string} userRequest user request | ||
@@ -72,3 +81,2 @@ * @param {string | Module} originalRequest original request | ||
this.originalRequest = originalRequest; | ||
/** @type {ManifestModuleData | undefined} */ | ||
this.delegateData = data; | ||
@@ -263,3 +271,5 @@ | ||
super.cleanupForCache(); | ||
this.delegateData = undefined; | ||
this.delegateData = | ||
/** @type {EXPECTED_ANY} */ | ||
(undefined); | ||
} | ||
@@ -266,0 +276,0 @@ } |
@@ -12,5 +12,4 @@ /* | ||
/** @typedef {import("../declarations/plugins/DllReferencePlugin").DllReferencePluginOptionsContent} DllReferencePluginOptionsContent */ | ||
/** @typedef {import("./DelegatedModule").Data} Data */ | ||
/** @typedef {import("./DelegatedModule").SourceRequest} SourceRequest */ | ||
/** @typedef {import("./DelegatedModule").Type} Type */ | ||
/** @typedef {import("./DelegatedModule").DelegatedModuleSourceRequest} DelegatedModuleSourceRequest */ | ||
/** @typedef {import("./DelegatedModule").DelegatedModuleType} DelegatedModuleType */ | ||
/** @typedef {import("./NormalModuleFactory")} NormalModuleFactory */ | ||
@@ -21,3 +20,3 @@ /** @typedef {import("./util/identifier").AssociatedObjectForCache} AssociatedObjectForCache */ | ||
* @typedef {object} Options | ||
* @property {SourceRequest} source source | ||
* @property {DelegatedModuleSourceRequest} source source | ||
* @property {NonNullable<DllReferencePluginOptions["context"]>} context absolute context path to which lib ident is relative to | ||
@@ -63,3 +62,4 @@ * @property {DllReferencePluginOptionsContent} content content | ||
resolved, | ||
/** @type {Type} */ (this.options.type), | ||
/** @type {DelegatedModuleType} */ | ||
(this.options.type), | ||
innerRequest, | ||
@@ -83,3 +83,4 @@ request | ||
resolved, | ||
/** @type {Type} */ (this.options.type), | ||
/** @type {DelegatedModuleType} */ | ||
(this.options.type), | ||
requestPlusExt, | ||
@@ -105,3 +106,4 @@ request + extension | ||
resolved, | ||
/** @type {Type} */ (this.options.type), | ||
/** @type {DelegatedModuleType} */ | ||
(this.options.type), | ||
request, | ||
@@ -108,0 +110,0 @@ module |
@@ -207,3 +207,3 @@ /* | ||
recursive: /** @type {boolean} */ (options.unknownContextRecursive), | ||
regExp: /** @type {TODO} */ (options.unknownContextRegExp), | ||
regExp: /** @type {RegExp} */ (options.unknownContextRegExp), | ||
mode: "sync" | ||
@@ -210,0 +210,0 @@ }, |
@@ -25,3 +25,3 @@ /* | ||
* @param {string} request request | ||
* @param {string|undefined} userRequest user request | ||
* @param {string | undefined} userRequest user request | ||
* @param {string | undefined} typePrefix type prefix | ||
@@ -28,0 +28,0 @@ * @param {string} category category |
@@ -18,2 +18,3 @@ /* | ||
/** @typedef {import("../../declarations/WebpackOptions").CssGeneratorLocalIdentName} CssGeneratorLocalIdentName */ | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../ChunkGraph")} ChunkGraph */ | ||
@@ -33,3 +34,2 @@ /** @typedef {import("../CssModule")} CssModule */ | ||
/** @typedef {import("../util/Hash")} Hash */ | ||
/** @typedef {import("../util/createHash").Algorithm} Algorithm */ | ||
@@ -58,3 +58,3 @@ const getCssParser = memoize(() => require("../css/CssParser")); | ||
runtimeTemplate.outputOptions; | ||
const hash = createHash(/** @type {Algorithm} */ (hashFunction)); | ||
const hash = createHash(/** @type {HashFunction} */ (hashFunction)); | ||
@@ -61,0 +61,0 @@ if (hashSalt) { |
@@ -83,3 +83,4 @@ /* | ||
"dependencyType", | ||
/** @type {string} */ (options.category) | ||
/** @type {string} */ | ||
(options.category) | ||
) | ||
@@ -86,0 +87,0 @@ ).options; |
@@ -37,2 +37,3 @@ /* | ||
/** @typedef {import("../../declarations/WebpackOptions").ChunkLoading} ChunkLoading */ | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../../declarations/WebpackOptions").JavascriptParserOptions} JavascriptParserOptions */ | ||
@@ -51,3 +52,2 @@ /** @typedef {import("../../declarations/WebpackOptions").OutputModule} OutputModule */ | ||
/** @typedef {import("../javascript/JavascriptParser").Range} Range */ | ||
/** @typedef {import("../util/createHash").Algorithm} Algorithm */ | ||
/** @typedef {import("./HarmonyImportDependencyParserPlugin").HarmonySettings} HarmonySettings */ | ||
@@ -381,3 +381,3 @@ | ||
const hash = createHash( | ||
/** @type {Algorithm} */ | ||
/** @type {HashFunction} */ | ||
(compilation.outputOptions.hashFunction) | ||
@@ -384,0 +384,0 @@ ); |
@@ -42,3 +42,3 @@ /* | ||
/** | ||
* @param {SourceMapDevToolPluginOptions|string} inputOptions Options object | ||
* @param {SourceMapDevToolPluginOptions | string} inputOptions Options object | ||
*/ | ||
@@ -45,0 +45,0 @@ constructor(inputOptions) { |
@@ -37,5 +37,14 @@ /* | ||
/** | ||
* @typedef {object} RestoreProvidedDataExports | ||
* @property {ExportInfoName} name | ||
* @property {ExportInfo["provided"]} provided | ||
* @property {ExportInfo["canMangleProvide"]} canMangleProvide | ||
* @property {ExportInfo["terminalBinding"]} terminalBinding | ||
* @property {RestoreProvidedData | undefined} exportsInfo | ||
*/ | ||
class RestoreProvidedData { | ||
/** | ||
* @param {TODO[]} exports exports | ||
* @param {RestoreProvidedDataExports[]} exports exports | ||
* @param {ExportInfo["provided"]} otherProvided other provided | ||
@@ -82,3 +91,3 @@ * @param {ExportInfo["canMangleProvide"]} otherCanMangleProvide other can mangle provide | ||
/** @typedef {Map<string, ExportInfo>} Exports */ | ||
/** @typedef {Map<ExportInfoName, ExportInfo>} Exports */ | ||
/** @typedef {string | string[] | false} UsedName */ | ||
@@ -136,2 +145,3 @@ | ||
if (this._redirectTo !== undefined) { | ||
/** @type {Exports} */ | ||
const map = new Map( | ||
@@ -166,2 +176,3 @@ Array.from(this._redirectTo.orderedExports, item => [item.name, item]) | ||
if (exports.size > 1) { | ||
/** @type {string[]} */ | ||
const namesInOrder = []; | ||
@@ -236,3 +247,3 @@ for (const entry of exports.values()) { | ||
/** | ||
* @param {string} name export name | ||
* @param {ExportInfoName} name export name | ||
* @returns {ExportInfo} export info for this name | ||
@@ -250,3 +261,3 @@ */ | ||
/** | ||
* @param {string} name export name | ||
* @param {ExportInfoName} name export name | ||
* @returns {ExportInfo} export info for this name | ||
@@ -266,3 +277,3 @@ */ | ||
/** | ||
* @param {string} name export name | ||
* @param {ExportInfoName} name export name | ||
* @returns {ExportInfo} export info for this name | ||
@@ -279,3 +290,3 @@ */ | ||
/** | ||
* @param {string[]} name export name | ||
* @param {ExportInfoName[]} name export name | ||
* @returns {ExportInfo | undefined} export info for this name | ||
@@ -291,3 +302,3 @@ */ | ||
/** | ||
* @param {string[]=} name the export name | ||
* @param {ExportInfoName[]=} name the export name | ||
* @returns {ExportsInfo | undefined} the nested exports info | ||
@@ -339,3 +350,4 @@ */ | ||
targetKey, | ||
/** @type {ModuleGraphConnection} */ (targetModule), | ||
/** @type {ModuleGraphConnection} */ | ||
(targetModule), | ||
[exportInfo.name], | ||
@@ -565,2 +577,3 @@ -1 | ||
} | ||
/** @type {string[]} */ | ||
const array = []; | ||
@@ -618,3 +631,3 @@ if (!this._exportsAreOrdered) this._sortExports(); | ||
/** | ||
* @param {string | string[]} name the name of the export | ||
* @param {ExportInfoName | ExportInfoName[]} name the name of the export | ||
* @returns {boolean | undefined | null} if the export is provided | ||
@@ -680,3 +693,3 @@ */ | ||
/** | ||
* @param {string | string[]} name export name | ||
* @param {ExportInfoName | ExportInfoName[]} name export name | ||
* @param {RuntimeSpec} runtime check usage for this runtime only | ||
@@ -699,3 +712,3 @@ * @returns {UsageStateType} usage status | ||
/** | ||
* @param {string | string[]} name the export name | ||
* @param {ExportInfoName | ExportInfoName[]} name the export name | ||
* @param {RuntimeSpec} runtime check usage for this runtime only | ||
@@ -715,3 +728,3 @@ * @returns {UsedName} the used name | ||
const arr = | ||
/** @type {string[]} */ | ||
/** @type {ExportInfoName[]} */ | ||
(x === name[0] && name.length === 1 ? name : [x]); | ||
@@ -773,2 +786,3 @@ if (name.length === 1) { | ||
const otherTerminalBinding = this._otherExportsInfo.terminalBinding; | ||
/** @type {RestoreProvidedDataExports[]} */ | ||
const exports = []; | ||
@@ -846,15 +860,20 @@ for (const exportInfo of this.orderedExports) { | ||
/** @typedef {{ connection: ModuleGraphConnection, export: string[], priority: number }} TargetItem */ | ||
/** @typedef {Map<Dependency | undefined, TargetItem>} Target */ | ||
/** @typedef {string} ExportInfoName */ | ||
/** @typedef {string | null} ExportInfoUsedName */ | ||
/** @typedef {boolean | null} ExportInfoProvided */ | ||
class ExportInfo { | ||
/** | ||
* @param {string} name the original name of the export | ||
* @param {ExportInfoName} name the original name of the export | ||
* @param {ExportInfo=} initFrom init values from this ExportInfo | ||
*/ | ||
constructor(name, initFrom) { | ||
/** @type {string} */ | ||
/** @type {ExportInfoName} */ | ||
this.name = name; | ||
/** | ||
* @private | ||
* @type {string | null} | ||
* @type {ExportInfoUsedName} | ||
*/ | ||
@@ -887,3 +906,3 @@ this._usedName = initFrom ? initFrom._usedName : null; | ||
* undefined: it was not determined if it is provided | ||
* @type {boolean | null | undefined} | ||
* @type {ExportInfoProvided | undefined} | ||
*/ | ||
@@ -890,0 +909,0 @@ this.provided = initFrom ? initFrom.provided : undefined; |
@@ -31,2 +31,3 @@ /* | ||
/** @typedef {import("webpack-sources").Source} Source */ | ||
/** @typedef {import("../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../declarations/WebpackOptions").WebpackOptionsNormalized} WebpackOptions */ | ||
@@ -62,3 +63,2 @@ /** @typedef {import("./Chunk")} Chunk */ | ||
/** @typedef {import("./util/Hash")} Hash */ | ||
/** @typedef {typeof import("./util/Hash")} HashConstructor */ | ||
/** @typedef {import("./util/fs").InputFileSystem} InputFileSystem */ | ||
@@ -220,5 +220,6 @@ /** @typedef {import("./util/runtime").RuntimeSpec} RuntimeSpec */ | ||
/** | ||
* @param {string} key key | ||
* @param {TODO | undefined} value value | ||
* @returns {undefined | string} replaced value | ||
* @template {{ [key: string]: string }} T | ||
* @param {keyof T} key key | ||
* @param {T[keyof T]} value value | ||
* @returns {undefined | T[keyof T]} replaced value | ||
*/ | ||
@@ -241,3 +242,3 @@ const importAssertionReplacer = (key, value) => { | ||
* @param {ImportDependencyMeta=} dependencyMeta the dependency meta | ||
* @param {string | HashConstructor=} hashFunction the hash function to use | ||
* @param {HashFunction=} hashFunction the hash function to use | ||
*/ | ||
@@ -244,0 +245,0 @@ constructor( |
@@ -120,3 +120,2 @@ // @ts-nocheck | ||
var newModuleFactory = currentUpdate[moduleId]; | ||
/** @type {TODO} */ | ||
var result = newModuleFactory | ||
@@ -123,0 +122,0 @@ ? getAffectedModuleEffects(moduleId) |
@@ -14,3 +14,10 @@ /* | ||
/** @typedef {import("../declarations/WebpackOptions").EntryObject} EntryObject */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItem} ExternalItem */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunction} ExternalItemFunction */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionCallback} ExternalItemFunctionCallback */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionData} ExternalItemFunctionData */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionDataGetResolve} ExternalItemFunctionDataGetResolve */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionDataGetResolveCallbackResult} ExternalItemFunctionDataGetResolveCallbackResult */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionDataGetResolveResult} ExternalItemFunctionDataGetResolveResult */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionPromise} ExternalItemFunctionPromise */ | ||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemObjectKnown} ExternalItemObjectKnown */ | ||
@@ -21,5 +28,7 @@ /** @typedef {import("../declarations/WebpackOptions").ExternalItemObjectUnknown} ExternalItemObjectUnknown */ | ||
/** @typedef {import("../declarations/WebpackOptions").FileCacheOptions} FileCacheOptions */ | ||
/** @typedef {import("../declarations/WebpackOptions").GeneratorOptionsByModuleTypeKnown} GeneratorOptionsByModuleTypeKnown */ | ||
/** @typedef {import("../declarations/WebpackOptions").LibraryOptions} LibraryOptions */ | ||
/** @typedef {import("../declarations/WebpackOptions").MemoryCacheOptions} MemoryCacheOptions */ | ||
/** @typedef {import("../declarations/WebpackOptions").ModuleOptions} ModuleOptions */ | ||
/** @typedef {import("../declarations/WebpackOptions").ParserOptionsByModuleTypeKnown} ParserOptionsByModuleTypeKnown */ | ||
/** @typedef {import("../declarations/WebpackOptions").ResolveOptions} ResolveOptions */ | ||
@@ -30,2 +39,3 @@ /** @typedef {import("../declarations/WebpackOptions").RuleSetCondition} RuleSetCondition */ | ||
/** @typedef {import("../declarations/WebpackOptions").RuleSetUse} RuleSetUse */ | ||
/** @typedef {import("../declarations/WebpackOptions").RuleSetUseFunction} RuleSetUseFunction */ | ||
/** @typedef {import("../declarations/WebpackOptions").RuleSetUseItem} RuleSetUseItem */ | ||
@@ -43,2 +53,3 @@ /** @typedef {import("../declarations/WebpackOptions").StatsOptions} StatsOptions */ | ||
/** @typedef {import("./Compiler").AssetEmittedInfo} AssetEmittedInfo */ | ||
/** @typedef {import("./Entrypoint")} Entrypoint */ | ||
/** @typedef {import("./MultiCompiler").MultiCompilerOptions} MultiCompilerOptions */ | ||
@@ -45,0 +56,0 @@ /** @typedef {import("./MultiStats")} MultiStats */ |
@@ -55,2 +55,3 @@ /* | ||
/** @typedef {import("webpack-sources").Source} Source */ | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../../declarations/WebpackOptions").Output} OutputOptions */ | ||
@@ -73,3 +74,2 @@ /** @typedef {import("../Chunk")} Chunk */ | ||
/** @typedef {import("../util/Hash")} Hash */ | ||
/** @typedef {import("../util/createHash").Algorithm} Algorithm */ | ||
@@ -434,3 +434,3 @@ /** | ||
} = compilation; | ||
const hash = createHash(/** @type {Algorithm} */ (hashFunction)); | ||
const hash = createHash(/** @type {HashFunction} */ (hashFunction)); | ||
if (hashSalt) hash.update(hashSalt); | ||
@@ -437,0 +437,0 @@ if (chunk.hasRuntime()) { |
@@ -19,4 +19,4 @@ /* | ||
const validate = createSchemaValidation( | ||
require("../../schemas/plugins/JsonModulesPluginParser.check.js"), | ||
() => require("../../schemas/plugins/JsonModulesPluginParser.json"), | ||
require("../../schemas/plugins/json/JsonModulesPluginParser.check.js"), | ||
() => require("../../schemas/plugins/json/JsonModulesPluginParser.json"), | ||
{ | ||
@@ -29,4 +29,4 @@ name: "Json Modules Plugin", | ||
const validateGenerator = createSchemaValidation( | ||
require("../../schemas/plugins/JsonModulesPluginGenerator.check.js"), | ||
() => require("../../schemas/plugins/JsonModulesPluginGenerator.json"), | ||
require("../../schemas/plugins/json/JsonModulesPluginGenerator.check.js"), | ||
() => require("../../schemas/plugins/json/JsonModulesPluginGenerator.json"), | ||
{ | ||
@@ -33,0 +33,0 @@ name: "Json Modules Plugin", |
@@ -22,4 +22,4 @@ /* | ||
* @property {string | number} id | ||
* @property {BuildMeta} buildMeta | ||
* @property {boolean | string[] | undefined} exports | ||
* @property {BuildMeta=} buildMeta | ||
* @property {boolean | string[]=} exports | ||
*/ | ||
@@ -26,0 +26,0 @@ |
@@ -96,3 +96,3 @@ /* | ||
* @param {Chunk} chunk chunk | ||
* @returns {TODO} options for the chunk | ||
* @returns {T | false} options for the chunk | ||
*/ | ||
@@ -99,0 +99,0 @@ const getOptionsForChunk = chunk => { |
@@ -13,6 +13,7 @@ /* | ||
/** @typedef {import("../declarations/WebpackOptions").DevtoolModuleFilenameTemplate} DevtoolModuleFilenameTemplate */ | ||
/** @typedef {import("../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("./ChunkGraph")} ChunkGraph */ | ||
/** @typedef {import("./Module")} Module */ | ||
/** @typedef {import("./RequestShortener")} RequestShortener */ | ||
/** @typedef {typeof import("./util/Hash")} Hash */ | ||
@@ -80,3 +81,3 @@ /** @typedef {string | RegExp | (string | RegExp)[]} Matcher */ | ||
* @param {ReturnStringCallback} strFn the function to get the string | ||
* @param {string | Hash=} hashFunction the hash function to use | ||
* @param {HashFunction=} hashFunction the hash function to use | ||
* @returns {ReturnStringCallback} a function that returns the hash of the string | ||
@@ -122,6 +123,9 @@ */ | ||
/** @typedef {((context: TODO) => string)} ModuleFilenameTemplateFunction */ | ||
/** @typedef {string | ModuleFilenameTemplateFunction} ModuleFilenameTemplate */ | ||
/** | ||
* @param {Module | string} module the module | ||
* @param {{ namespace?: string, moduleFilenameTemplate?: string | TODO }} options options | ||
* @param {{ requestShortener: RequestShortener, chunkGraph: ChunkGraph, hashFunction?: string | Hash }} contextInfo context info | ||
* @param {{ namespace?: string, moduleFilenameTemplate?: ModuleFilenameTemplate }} options options | ||
* @param {{ requestShortener: RequestShortener, chunkGraph: ChunkGraph, hashFunction?: HashFunction }} contextInfo context info | ||
* @returns {string} the filename | ||
@@ -128,0 +132,0 @@ */ |
@@ -11,2 +11,3 @@ /* | ||
/** @typedef {import("../../declarations/WebpackOptions").InfrastructureLogging} InfrastructureLogging */ | ||
/** @typedef {import("../logging/createConsoleLogger").LoggerConsole} LoggerConsole */ | ||
@@ -20,3 +21,3 @@ | ||
* @param {boolean=} options.appendOnly append only | ||
* @param {NodeJS.WritableStream} options.stream stream | ||
* @param {NonNullable<InfrastructureLogging["stream"]>} options.stream stream | ||
* @returns {LoggerConsole} logger function | ||
@@ -62,3 +63,3 @@ */ | ||
if (!currentStatusMessage) return; | ||
const l = /** @type {TODO} */ (stream).columns || 40; | ||
const l = stream.columns || 40; | ||
const args = truncateArgs(currentStatusMessage, l - 1); | ||
@@ -65,0 +66,0 @@ const str = args.join(" "); |
@@ -60,2 +60,3 @@ /* | ||
/** @typedef {import("../declarations/WebpackOptions").WebpackOptionsNormalized} WebpackOptions */ | ||
/** @typedef {import("../declarations/WebpackOptions").NoParse} NoParse */ | ||
/** @typedef {import("./ChunkGraph")} ChunkGraph */ | ||
@@ -96,3 +97,3 @@ /** @typedef {import("./Compiler")} Compiler */ | ||
/** @typedef {import("./util/runtime").RuntimeSpec} RuntimeSpec */ | ||
/** @typedef {import("./util/createHash").Algorithm} Algorithm */ | ||
/** @typedef {import("../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("./util/identifier").AssociatedObjectForCache} AssociatedObjectForCache */ | ||
@@ -654,3 +655,3 @@ /** | ||
/** | ||
* @param {(string | typeof import("./util/Hash"))=} type type | ||
* @param {HashFunction=} type type | ||
* @returns {Hash} hash | ||
@@ -661,3 +662,3 @@ */ | ||
type || | ||
/** @type {Algorithm} */ | ||
/** @type {HashFunction} */ | ||
(compilation.outputOptions.hashFunction) | ||
@@ -810,3 +811,3 @@ ) | ||
mode: options.mode || "production", | ||
hashFunction: /** @type {TODO} */ (options.output.hashFunction), | ||
hashFunction: /** @type {string} */ (options.output.hashFunction), | ||
hashDigest: /** @type {string} */ (options.output.hashDigest), | ||
@@ -1087,3 +1088,3 @@ hashDigestLength: /** @type {number} */ (options.output.hashDigestLength), | ||
/** | ||
* @param {TODO} rule rule | ||
* @param {Exclude<NoParse, EXPECTED_ANY[]>} rule rule | ||
* @param {string} content content | ||
@@ -1106,3 +1107,3 @@ * @returns {boolean} result | ||
/** | ||
* @param {TODO} noParseRule no parse rule | ||
* @param {undefined | NoParse} noParseRule no parse rule | ||
* @param {string} request request | ||
@@ -1142,3 +1143,3 @@ * @returns {boolean} check if module should not be parsed, returns "true" if the module should !not! be parsed, returns "false" if the module !must! be parsed | ||
const hash = createHash( | ||
/** @type {Algorithm} */ | ||
/** @type {HashFunction} */ | ||
(compilation.outputOptions.hashFunction) | ||
@@ -1145,0 +1146,0 @@ ); |
@@ -198,3 +198,3 @@ /* | ||
chunk.split(newChunk); | ||
chunk.name = /** @type {TODO} */ (null); | ||
chunk.name = null; | ||
} | ||
@@ -201,0 +201,0 @@ fromAggressiveSplittingSet.add(newChunk); |
@@ -1742,3 +1742,5 @@ /* | ||
} catch (_err) { | ||
const err = /** @type {TODO} */ (_err); | ||
const err = | ||
/** @type {Error & { loc?: { line: number, column: number } }} */ | ||
(_err); | ||
if ( | ||
@@ -1745,0 +1747,0 @@ err.loc && |
@@ -401,5 +401,5 @@ /* | ||
compilation, | ||
/** @type {TODO} */ | ||
/** @type {EXPECTED_ANY} */ | ||
(null), | ||
/** @type {TODO} */ | ||
/** @type {EXPECTED_ANY} */ | ||
(null), | ||
@@ -406,0 +406,0 @@ err => { |
@@ -14,12 +14,11 @@ /* | ||
/** @typedef {(entrypoint: { name: string }) => string} RuntimeChunkFunction */ | ||
class RuntimeChunkPlugin { | ||
/** | ||
* @param {{ name?: (entrypoint: { name: string }) => string }} options options | ||
* @param {{ name?: RuntimeChunkFunction }=} options options | ||
*/ | ||
constructor(options) { | ||
this.options = { | ||
/** | ||
* @param {Entrypoint} entrypoint entrypoint name | ||
* @returns {string} runtime chunk name | ||
*/ | ||
/** @type {RuntimeChunkFunction} */ | ||
name: entrypoint => `runtime~${entrypoint.name}`, | ||
@@ -45,3 +44,3 @@ ...options | ||
let name = | ||
/** @type {string | ((entrypoint: { name: string }) => string)} */ | ||
/** @type {string | RuntimeChunkFunction} */ | ||
(this.options.name); | ||
@@ -48,0 +47,0 @@ if (typeof name === "function") { |
@@ -148,3 +148,4 @@ /* | ||
statement.expression, | ||
/** @type {Range} */ (statement.range)[0] | ||
/** @type {Range} */ | ||
(statement.range)[0] | ||
) | ||
@@ -161,3 +162,4 @@ ) { | ||
statement.test, | ||
/** @type {Range} */ (statement.range)[0] | ||
/** @type {Range} */ | ||
(statement.range)[0] | ||
) | ||
@@ -198,3 +200,4 @@ ) { | ||
statement.discriminant, | ||
/** @type {Range} */ (statement.range)[0] | ||
/** @type {Range} */ | ||
(statement.range)[0] | ||
) | ||
@@ -222,5 +225,5 @@ ) { | ||
!parser.isPure( | ||
/** @type {TODO} */ | ||
(statement.declaration), | ||
/** @type {Range} */ (statement.range)[0] | ||
statement.declaration, | ||
/** @type {Range} */ | ||
(statement.range)[0] | ||
) | ||
@@ -227,0 +230,0 @@ ) { |
@@ -24,2 +24,3 @@ /* | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../../declarations/WebpackOptions").OptimizationSplitChunksCacheGroup} OptimizationSplitChunksCacheGroup */ | ||
@@ -37,3 +38,2 @@ /** @typedef {import("../../declarations/WebpackOptions").OptimizationSplitChunksGetCacheGroups} OptimizationSplitChunksGetCacheGroups */ | ||
/** @typedef {import("../TemplatedPathPlugin").TemplatePath} TemplatePath */ | ||
/** @typedef {import("../util/createHash").Algorithm} Algorithm */ | ||
/** @typedef {import("../util/deterministicGrouping").GroupedItems<Module>} DeterministicGroupingGroupedItemsForModule */ | ||
@@ -189,3 +189,3 @@ /** @typedef {import("../util/deterministicGrouping").Options<Module>} DeterministicGroupingOptionsForModule */ | ||
( | ||
createHash(/** @type {Algorithm} */ (outputOptions.hashFunction)) | ||
createHash(/** @type {HashFunction} */ (outputOptions.hashFunction)) | ||
.update(name) | ||
@@ -192,0 +192,0 @@ .digest(outputOptions.hashDigest) |
@@ -40,4 +40,3 @@ /* | ||
const value = | ||
rule[/** @type {keyof RuleSetRule} */ (this.ruleProperty)]; | ||
const value = rule[this.ruleProperty]; | ||
@@ -44,0 +43,0 @@ result.effects.push({ |
@@ -11,2 +11,3 @@ /* | ||
/** @typedef {import("./RuleSetCompiler")} RuleSetCompiler */ | ||
/** @typedef {import("./RuleSetCompiler").EffectData} EffectData */ | ||
/** @typedef {import("./RuleSetCompiler").RuleCondition} RuleCondition */ | ||
@@ -26,3 +27,3 @@ /** @typedef {import("./RuleSetCompiler").RuleConditionFunction} RuleConditionFunction */ | ||
* @param {ObjectMatcherRuleKeys} ruleProperty the rule property | ||
* @param {string=} dataProperty the data property | ||
* @param {keyof EffectData=} dataProperty the data property | ||
* @param {RuleConditionFunction=} additionalConditionFunction need to check | ||
@@ -29,0 +30,0 @@ */ |
@@ -16,3 +16,5 @@ /* | ||
/** @typedef {(value: string | EffectData) => boolean} RuleConditionFunction */ | ||
/** | ||
* @typedef {(value: EffectData[keyof EffectData]) => boolean} RuleConditionFunction | ||
*/ | ||
@@ -33,3 +35,15 @@ /** | ||
/** | ||
* @typedef {Record<string, TODO>} EffectData | ||
* @typedef {object} EffectData | ||
* @property {string=} resource | ||
* @property {string=} realResource | ||
* @property {string=} resourceQuery | ||
* @property {string=} resourceFragment | ||
* @property {string=} scheme | ||
* @property {ImportAttributes=} assertions | ||
* @property {string=} mimetype | ||
* @property {string} dependency | ||
* @property {Record<string, EXPECTED_ANY>} descriptionData | ||
* @property {string=} compiler | ||
* @property {string} issuer | ||
* @property {string} issuerLayer | ||
*/ | ||
@@ -107,3 +121,3 @@ | ||
if (Array.isArray(p)) { | ||
/** @type {EffectData | string | undefined} */ | ||
/** @type {EffectData | EffectData[keyof EffectData] | undefined} */ | ||
let current = data; | ||
@@ -116,3 +130,3 @@ for (const subProperty of p) { | ||
) { | ||
current = current[subProperty]; | ||
current = current[/** @type {keyof EffectData} */ (subProperty)]; | ||
} else { | ||
@@ -128,3 +142,3 @@ current = undefined; | ||
} else if (p in data) { | ||
const value = data[p]; | ||
const value = data[/** @type {keyof EffectData} */ (p)]; | ||
if (value !== undefined) { | ||
@@ -131,0 +145,0 @@ if (!condition.fn(value)) return false; |
@@ -18,2 +18,3 @@ /* | ||
/** @typedef {import("./RuleSetCompiler").Effect} Effect */ | ||
/** @typedef {import("./RuleSetCompiler").EffectData} EffectData */ | ||
@@ -59,3 +60,3 @@ class UseEffectRulePlugin { | ||
* @param {RuleSetUseItem} item user provided use value | ||
* @returns {Effect | ((value: TODO) => Effect[])} effect | ||
* @returns {(Effect | ((effectData: EffectData) => Effect[]))} effect | ||
*/ | ||
@@ -144,3 +145,3 @@ const useToEffect = (path, defaultIdent, item) => { | ||
* @param {RuleSetUse} items user provided use value | ||
* @returns {(Effect | ((value: TODO) => Effect[]))[]} effects | ||
* @returns {(Effect | ((effectData: EffectData) => Effect[]))[]} effects | ||
*/ | ||
@@ -166,6 +167,3 @@ const useToEffects = (path, items) => { | ||
result.effects.push(data => | ||
useToEffectsWithoutIdent( | ||
`${path}.use`, | ||
use(/** @type {TODO} */ (data)) | ||
) | ||
useToEffectsWithoutIdent(`${path}.use`, use(data)) | ||
); | ||
@@ -172,0 +170,0 @@ } else { |
@@ -19,2 +19,3 @@ /* | ||
/** @typedef {import("http").IncomingMessage} IncomingMessage */ | ||
/** @typedef {import("http").OutgoingHttpHeaders} OutgoingHttpHeaders */ | ||
/** @typedef {import("http").RequestOptions} RequestOptions */ | ||
@@ -151,3 +152,3 @@ /** @typedef {import("net").Socket} Socket */ | ||
* @param {number} requestTime timestamp of request | ||
* @returns {{storeCache: boolean, storeLock: boolean, validUntil: number}} Logic for storing in cache and lockfile cache | ||
* @returns {{ storeCache: boolean, storeLock: boolean, validUntil: number }} Logic for storing in cache and lockfile cache | ||
*/ | ||
@@ -195,3 +196,3 @@ const parseCacheControl = (cacheControl, requestTime) => { | ||
* @param {LockfileEntry} entry lockfile entry | ||
* @returns {`resolved: ${string}, integrity: ${string}, contentType: ${*}`} stringified entry | ||
* @returns {`resolved: ${string}, integrity: ${string}, contentType: ${string}`} stringified entry | ||
*/ | ||
@@ -642,7 +643,10 @@ const entryToString = entry => | ||
* @param {Error | null} err error | ||
* @param {TODO} result result result | ||
* @param {FetchResult=} _result fetch result | ||
* @returns {void} | ||
*/ | ||
const handleResult = (err, result) => { | ||
const handleResult = (err, _result) => { | ||
if (err) return callback(err); | ||
const result = /** @type {FetchResult} */ (_result); | ||
if ("location" in result) { | ||
@@ -664,2 +668,3 @@ return resolveContent( | ||
} | ||
if ( | ||
@@ -673,2 +678,3 @@ !result.fresh && | ||
} | ||
return callback(null, { | ||
@@ -680,2 +686,3 @@ entry: result.entry, | ||
}; | ||
fetchContent(url, handleResult); | ||
@@ -692,160 +699,158 @@ }; | ||
const requestTime = Date.now(); | ||
fetch( | ||
new URL(url), | ||
{ | ||
headers: { | ||
"accept-encoding": "gzip, deflate, br", | ||
"user-agent": "webpack", | ||
"if-none-match": /** @type {TODO} */ ( | ||
cachedResult ? cachedResult.etag || null : null | ||
) | ||
/** @type {OutgoingHttpHeaders} */ | ||
const headers = { | ||
"accept-encoding": "gzip, deflate, br", | ||
"user-agent": "webpack" | ||
}; | ||
if (cachedResult && cachedResult.etag) { | ||
headers["if-none-match"] = cachedResult.etag; | ||
} | ||
fetch(new URL(url), { headers }, res => { | ||
const etag = res.headers.etag; | ||
const location = res.headers.location; | ||
const cacheControl = res.headers["cache-control"]; | ||
const { storeLock, storeCache, validUntil } = parseCacheControl( | ||
cacheControl, | ||
requestTime | ||
); | ||
/** | ||
* @param {Partial<Pick<FetchResultMeta, "fresh">> & (Pick<RedirectFetchResult, "location"> | Pick<ContentFetchResult, "content" | "entry">)} partialResult result | ||
* @returns {void} | ||
*/ | ||
const finishWith = partialResult => { | ||
if ("location" in partialResult) { | ||
logger.debug( | ||
`GET ${url} [${res.statusCode}] -> ${partialResult.location}` | ||
); | ||
} else { | ||
logger.debug( | ||
`GET ${url} [${res.statusCode}] ${Math.ceil( | ||
partialResult.content.length / 1024 | ||
)} kB${!storeLock ? " no-cache" : ""}` | ||
); | ||
} | ||
}, | ||
res => { | ||
const etag = res.headers.etag; | ||
const location = res.headers.location; | ||
const cacheControl = res.headers["cache-control"]; | ||
const { storeLock, storeCache, validUntil } = parseCacheControl( | ||
cacheControl, | ||
requestTime | ||
); | ||
/** | ||
* @param {Partial<Pick<FetchResultMeta, "fresh">> & (Pick<RedirectFetchResult, "location"> | Pick<ContentFetchResult, "content" | "entry">)} partialResult result | ||
* @returns {void} | ||
*/ | ||
const finishWith = partialResult => { | ||
if ("location" in partialResult) { | ||
logger.debug( | ||
`GET ${url} [${res.statusCode}] -> ${partialResult.location}` | ||
); | ||
} else { | ||
logger.debug( | ||
`GET ${url} [${res.statusCode}] ${Math.ceil( | ||
partialResult.content.length / 1024 | ||
)} kB${!storeLock ? " no-cache" : ""}` | ||
); | ||
} | ||
const result = { | ||
...partialResult, | ||
fresh: true, | ||
storeLock, | ||
storeCache, | ||
validUntil, | ||
etag | ||
}; | ||
if (!storeCache) { | ||
logger.log( | ||
`${url} can't be stored in cache, due to Cache-Control header: ${cacheControl}` | ||
); | ||
return callback(null, result); | ||
} | ||
cache.store( | ||
url, | ||
null, | ||
{ | ||
...result, | ||
fresh: false | ||
}, | ||
err => { | ||
if (err) { | ||
logger.warn( | ||
`${url} can't be stored in cache: ${err.message}` | ||
); | ||
logger.debug(err.stack); | ||
} | ||
callback(null, result); | ||
const result = { | ||
...partialResult, | ||
fresh: true, | ||
storeLock, | ||
storeCache, | ||
validUntil, | ||
etag | ||
}; | ||
if (!storeCache) { | ||
logger.log( | ||
`${url} can't be stored in cache, due to Cache-Control header: ${cacheControl}` | ||
); | ||
return callback(null, result); | ||
} | ||
cache.store( | ||
url, | ||
null, | ||
{ | ||
...result, | ||
fresh: false | ||
}, | ||
err => { | ||
if (err) { | ||
logger.warn( | ||
`${url} can't be stored in cache: ${err.message}` | ||
); | ||
logger.debug(err.stack); | ||
} | ||
); | ||
}; | ||
if (res.statusCode === 304) { | ||
const result = /** @type {FetchResult} */ (cachedResult); | ||
if ( | ||
result.validUntil < validUntil || | ||
result.storeLock !== storeLock || | ||
result.storeCache !== storeCache || | ||
result.etag !== etag | ||
) { | ||
return finishWith(result); | ||
callback(null, result); | ||
} | ||
logger.debug(`GET ${url} [${res.statusCode}] (unchanged)`); | ||
return callback(null, { ...result, fresh: true }); | ||
); | ||
}; | ||
if (res.statusCode === 304) { | ||
const result = /** @type {FetchResult} */ (cachedResult); | ||
if ( | ||
result.validUntil < validUntil || | ||
result.storeLock !== storeLock || | ||
result.storeCache !== storeCache || | ||
result.etag !== etag | ||
) { | ||
return finishWith(result); | ||
} | ||
logger.debug(`GET ${url} [${res.statusCode}] (unchanged)`); | ||
return callback(null, { ...result, fresh: true }); | ||
} | ||
if ( | ||
location && | ||
res.statusCode && | ||
res.statusCode >= 301 && | ||
res.statusCode <= 308 | ||
) { | ||
const result = { | ||
location: new URL(location, url).href | ||
}; | ||
if ( | ||
location && | ||
res.statusCode && | ||
res.statusCode >= 301 && | ||
res.statusCode <= 308 | ||
!cachedResult || | ||
!("location" in cachedResult) || | ||
cachedResult.location !== result.location || | ||
cachedResult.validUntil < validUntil || | ||
cachedResult.storeLock !== storeLock || | ||
cachedResult.storeCache !== storeCache || | ||
cachedResult.etag !== etag | ||
) { | ||
const result = { | ||
location: new URL(location, url).href | ||
}; | ||
if ( | ||
!cachedResult || | ||
!("location" in cachedResult) || | ||
cachedResult.location !== result.location || | ||
cachedResult.validUntil < validUntil || | ||
cachedResult.storeLock !== storeLock || | ||
cachedResult.storeCache !== storeCache || | ||
cachedResult.etag !== etag | ||
) { | ||
return finishWith(result); | ||
} | ||
logger.debug(`GET ${url} [${res.statusCode}] (unchanged)`); | ||
return callback(null, { | ||
...result, | ||
fresh: true, | ||
storeLock, | ||
storeCache, | ||
validUntil, | ||
etag | ||
}); | ||
return finishWith(result); | ||
} | ||
const contentType = res.headers["content-type"] || ""; | ||
/** @type {Buffer[]} */ | ||
const bufferArr = []; | ||
logger.debug(`GET ${url} [${res.statusCode}] (unchanged)`); | ||
return callback(null, { | ||
...result, | ||
fresh: true, | ||
storeLock, | ||
storeCache, | ||
validUntil, | ||
etag | ||
}); | ||
} | ||
const contentType = res.headers["content-type"] || ""; | ||
/** @type {Buffer[]} */ | ||
const bufferArr = []; | ||
const contentEncoding = res.headers["content-encoding"]; | ||
/** @type {Readable} */ | ||
let stream = res; | ||
if (contentEncoding === "gzip") { | ||
stream = stream.pipe(createGunzip()); | ||
} else if (contentEncoding === "br") { | ||
stream = stream.pipe(createBrotliDecompress()); | ||
} else if (contentEncoding === "deflate") { | ||
stream = stream.pipe(createInflate()); | ||
} | ||
const contentEncoding = res.headers["content-encoding"]; | ||
/** @type {Readable} */ | ||
let stream = res; | ||
if (contentEncoding === "gzip") { | ||
stream = stream.pipe(createGunzip()); | ||
} else if (contentEncoding === "br") { | ||
stream = stream.pipe(createBrotliDecompress()); | ||
} else if (contentEncoding === "deflate") { | ||
stream = stream.pipe(createInflate()); | ||
} | ||
stream.on("data", chunk => { | ||
bufferArr.push(chunk); | ||
}); | ||
stream.on("data", chunk => { | ||
bufferArr.push(chunk); | ||
}); | ||
stream.on("end", () => { | ||
if (!res.complete) { | ||
logger.log(`GET ${url} [${res.statusCode}] (terminated)`); | ||
return callback(new Error(`${url} request was terminated`)); | ||
} | ||
stream.on("end", () => { | ||
if (!res.complete) { | ||
logger.log(`GET ${url} [${res.statusCode}] (terminated)`); | ||
return callback(new Error(`${url} request was terminated`)); | ||
} | ||
const content = Buffer.concat(bufferArr); | ||
const content = Buffer.concat(bufferArr); | ||
if (res.statusCode !== 200) { | ||
logger.log(`GET ${url} [${res.statusCode}]`); | ||
return callback( | ||
new Error( | ||
`${url} request status code = ${ | ||
res.statusCode | ||
}\n${content.toString("utf-8")}` | ||
) | ||
); | ||
} | ||
if (res.statusCode !== 200) { | ||
logger.log(`GET ${url} [${res.statusCode}]`); | ||
return callback( | ||
new Error( | ||
`${url} request status code = ${ | ||
res.statusCode | ||
}\n${content.toString("utf-8")}` | ||
) | ||
); | ||
} | ||
const integrity = computeIntegrity(content); | ||
const entry = { resolved: url, integrity, contentType }; | ||
const integrity = computeIntegrity(content); | ||
const entry = { resolved: url, integrity, contentType }; | ||
finishWith({ | ||
entry, | ||
content | ||
}); | ||
finishWith({ | ||
entry, | ||
content | ||
}); | ||
} | ||
).on("error", err => { | ||
}); | ||
}).on("error", err => { | ||
logger.log(`GET ${url} (error)`); | ||
@@ -860,3 +865,3 @@ err.message += `\nwhile fetching ${url}`; | ||
* @param {string} url URL | ||
* @param {(err: Error | null, result?: { validUntil: number, etag?: string, entry: LockfileEntry, content: Buffer, fresh: boolean } | { validUntil: number, etag?: string, location: string, fresh: boolean }) => void} callback callback | ||
* @param {(err: Error | null, result?: FetchResult) => void} callback callback | ||
* @returns {void} | ||
@@ -863,0 +868,0 @@ */ |
@@ -22,2 +22,3 @@ /* | ||
/** @typedef {import("webpack-sources").Source} Source */ | ||
/** @typedef {import("../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
/** @typedef {import("../declarations/plugins/SourceMapDevToolPlugin").SourceMapDevToolPluginOptions} SourceMapDevToolPluginOptions */ | ||
@@ -33,4 +34,2 @@ /** @typedef {import("./Cache").Etag} Etag */ | ||
/** @typedef {import("./TemplatedPathPlugin").TemplatePath} TemplatePath */ | ||
/** @typedef {import("./util/Hash")} Hash */ | ||
/** @typedef {import("./util/createHash").Algorithm} Algorithm */ | ||
/** @typedef {import("./util/fs").OutputFileSystem} OutputFileSystem */ | ||
@@ -494,3 +493,3 @@ | ||
createHash( | ||
/** @type {Algorithm} */ | ||
/** @type {HashFunction} */ | ||
(compilation.outputOptions.hashFunction) | ||
@@ -497,0 +496,0 @@ ) |
@@ -10,2 +10,4 @@ /* | ||
/** @typedef {import("../../declarations/WebpackOptions").HashFunction} HashFunction */ | ||
const BULK_SIZE = 2000; | ||
@@ -145,7 +147,5 @@ | ||
/** @typedef {string | typeof Hash} Algorithm */ | ||
/** | ||
* Creates a hash by name or function | ||
* @param {Algorithm} algorithm the algorithm name or a constructor creating a hash | ||
* @param {HashFunction} algorithm the algorithm name or a constructor creating a hash | ||
* @returns {Hash} the hash | ||
@@ -152,0 +152,0 @@ */ |
@@ -507,6 +507,3 @@ /* | ||
const RuntimeChunkPlugin = require("./optimize/RuntimeChunkPlugin"); | ||
new RuntimeChunkPlugin( | ||
/** @type {{ name?: (entrypoint: { name: string }) => string }} */ | ||
(options.optimization.runtimeChunk) | ||
).apply(compiler); | ||
new RuntimeChunkPlugin(options.optimization.runtimeChunk).apply(compiler); | ||
} | ||
@@ -513,0 +510,0 @@ if (!options.optimization.emitOnErrors) { |
{ | ||
"name": "webpack", | ||
"version": "5.99.7", | ||
"version": "5.99.8", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -39,4 +39,5 @@ "description": "Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.", | ||
"devDependencies": { | ||
"@babel/core": "^7.26.8", | ||
"@babel/preset-react": "^7.25.7", | ||
"@babel/core": "^7.27.1", | ||
"@babel/preset-react": "^7.27.1", | ||
"@codspeed/benchmark.js-plugin": "^4.0.1", | ||
"@eslint/js": "^9.21.0", | ||
@@ -47,3 +48,4 @@ "@stylistic/eslint-plugin": "^4.2.0", | ||
"@types/mime-types": "^2.1.4", | ||
"@types/node": "^22.13.10", | ||
"@types/node": "^22.15.11", | ||
"@types/xxhashjs": "^0.2.4", | ||
"assemblyscript": "^0.27.34", | ||
@@ -67,3 +69,3 @@ "babel-loader": "^10.0.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-unicorn": "^58.0.0", | ||
"eslint-plugin-unicorn": "^59.0.0", | ||
"file-loader": "^6.0.0", | ||
@@ -91,2 +93,3 @@ "fork-ts-checker-webpack-plugin": "^9.0.2", | ||
"mini-svg-data-uri": "^1.2.3", | ||
"node-gyp": "^11.2.0", | ||
"nyc": "^17.1.0", | ||
@@ -108,4 +111,5 @@ "open-cli": "^8.0.0", | ||
"terser": "^5.38.1", | ||
"three": "^0.176.0", | ||
"toml": "^3.0.0", | ||
"tooling": "webpack/tooling#v1.23.7", | ||
"tooling": "webpack/tooling#v1.23.8", | ||
"ts-loader": "^9.5.1", | ||
@@ -149,30 +153,30 @@ "typescript": "^5.8.2", | ||
"scripts": { | ||
"prepare": "husky", | ||
"setup": "node ./setup/setup.js", | ||
"jest": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage", | ||
"prelint": "yarn setup", | ||
"lint": "yarn lint:code && yarn lint:special && yarn lint:types && yarn lint:types-test && yarn lint:types-module-test && yarn lint:yarn && yarn fmt:check && yarn lint:spellcheck", | ||
"lint:code": "node node_modules/eslint/bin/eslint.js --cache .", | ||
"lint:special": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals", | ||
"lint:types": "tsc", | ||
"lint:types-test": "tsc -p tsconfig.types.test.json", | ||
"lint:types-module-test": "tsc -p tsconfig.module.test.json", | ||
"lint:yarn": "yarn-deduplicate --fail --list -s highest yarn.lock", | ||
"lint:spellcheck": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", | ||
"report:types": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html", | ||
"validate:types": "tsc -p tsconfig.validation.json", | ||
"fmt": "yarn fmt:base --log-level warn --write", | ||
"fmt:check": "yarn fmt:base --check", | ||
"fmt:base": "node node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .", | ||
"fix": "yarn fix:code && fix:yarn && fix:special && yarn fmt", | ||
"fix:code": "yarn lint:code --fix", | ||
"fix:yarn": "yarn-deduplicate -s highest yarn.lock", | ||
"fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write", | ||
"build:examples": "cd examples && node buildAll.js", | ||
"benchmark": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./test/BenchmarkTestCases.benchmark.mjs", | ||
"pretest": "yarn lint", | ||
"test": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage", | ||
"test:update-snapshots": "yarn jest -u", | ||
"test:update-snapshots": "yarn test -u", | ||
"test:integration": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.{basictest,longtest,test}.js\"", | ||
"test:basic": "node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \"<rootDir>/test/*.basictest.js\"", | ||
"test:unit": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"", | ||
"build:examples": "cd examples && node buildAll.js", | ||
"type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html", | ||
"pretest": "yarn lint", | ||
"prelint": "yarn setup", | ||
"lint": "yarn code-lint && yarn special-lint && yarn type-lint && yarn typings-test && yarn module-typings-test && yarn yarn-lint && yarn pretty-lint && yarn spellcheck", | ||
"code-lint": "node node_modules/eslint/bin/eslint.js --cache .", | ||
"type-lint": "tsc", | ||
"type-validate": "tsc -p tsconfig.validation.json", | ||
"typings-test": "tsc -p tsconfig.types.test.json", | ||
"module-typings-test": "tsc -p tsconfig.module.test.json", | ||
"spellcheck": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", | ||
"special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals", | ||
"special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write", | ||
"fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix", | ||
"prepare": "husky", | ||
"pretty-lint-base": "node node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .", | ||
"pretty-lint-fix": "yarn pretty-lint-base --log-level warn --write", | ||
"pretty-lint": "yarn pretty-lint-base --check", | ||
"yarn-lint": "yarn-deduplicate --fail --list -s highest yarn.lock", | ||
"yarn-lint-fix": "yarn-deduplicate -s highest yarn.lock", | ||
"benchmark": "node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.mjs\" --runInBand", | ||
"cover": "yarn cover:all && yarn cover:report", | ||
@@ -179,0 +183,0 @@ "cover:clean": "rimraf .nyc_output coverage", |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(t,{instancePath:r="",parentData:e,parentDataProperty:a,rootData:s=t}={}){let o=null,l=0;const i=l;let p=!1;const u=l;if(l==l)if(t&&"object"==typeof t&&!Array.isArray(t)){const n=l;for(const n in t)if("encoding"!==n&&"mimetype"!==n){const t={params:{additionalProperty:n}};null===o?o=[t]:o.push(t),l++;break}if(n===l){if(void 0!==t.encoding){let n=t.encoding;const r=l;if(!1!==n&&"base64"!==n){const t={params:{}};null===o?o=[t]:o.push(t),l++}var c=r===l}else c=!0;if(c)if(void 0!==t.mimetype){const n=l;if("string"!=typeof t.mimetype){const t={params:{type:"string"}};null===o?o=[t]:o.push(t),l++}c=n===l}else c=!0}}else{const t={params:{type:"object"}};null===o?o=[t]:o.push(t),l++}var f=u===l;if(p=p||f,!p){const n=l;if(!(t instanceof Function)){const t={params:{}};null===o?o=[t]:o.push(t),l++}f=n===l,p=p||f}if(!p){const t={params:{}};return null===o?o=[t]:o.push(t),l++,n.errors=o,!1}return l=i,null!==o&&(i?o.length=i:o=null),n.errors=o,0===l}function r(e,{instancePath:a="",parentData:s,parentDataProperty:o,rootData:l=e}={}){let i=null,p=0;if(0===p){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{const s=p;for(const t in e)if("binary"!==t&&"dataUrl"!==t&&"emit"!==t&&"filename"!==t&&"outputPath"!==t&&"publicPath"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(s===p){if(void 0!==e.binary){const t=p;if("boolean"!=typeof e.binary)return r.errors=[{params:{type:"boolean"}}],!1;var u=t===p}else u=!0;if(u){if(void 0!==e.dataUrl){const t=p;n(e.dataUrl,{instancePath:a+"/dataUrl",parentData:e,parentDataProperty:"dataUrl",rootData:l})||(i=null===i?n.errors:i.concat(n.errors),p=i.length),u=t===p}else u=!0;if(u){if(void 0!==e.emit){const t=p;if("boolean"!=typeof e.emit)return r.errors=[{params:{type:"boolean"}}],!1;u=t===p}else u=!0;if(u){if(void 0!==e.filename){let n=e.filename;const a=p,s=p;let o=!1;const l=p;if(p===l)if("string"==typeof n){if(n.includes("!")||!1!==t.test(n)){const t={params:{}};null===i?i=[t]:i.push(t),p++}else if(n.length<1){const t={params:{}};null===i?i=[t]:i.push(t),p++}}else{const t={params:{type:"string"}};null===i?i=[t]:i.push(t),p++}var c=l===p;if(o=o||c,!o){const t=p;if(!(n instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}c=t===p,o=o||c}if(!o){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),u=a===p}else u=!0;if(u){if(void 0!==e.outputPath){let n=e.outputPath;const a=p,s=p;let o=!1;const l=p;if(p===l)if("string"==typeof n){if(n.includes("!")||!1!==t.test(n)){const t={params:{}};null===i?i=[t]:i.push(t),p++}}else{const t={params:{type:"string"}};null===i?i=[t]:i.push(t),p++}var f=l===p;if(o=o||f,!o){const t=p;if(!(n instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}f=t===p,o=o||f}if(!o){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),u=a===p}else u=!0;if(u)if(void 0!==e.publicPath){let t=e.publicPath;const n=p,a=p;let s=!1;const o=p;if("string"!=typeof t){const t={params:{type:"string"}};null===i?i=[t]:i.push(t),p++}var h=o===p;if(s=s||h,!s){const n=p;if(!(t instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}h=n===p,s=s||h}if(!s){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=a,null!==i&&(a?i.length=a:i=null),u=n===p}else u=!0}}}}}}}return r.errors=i,0===p}function e(t,{instancePath:n="",parentData:a,parentDataProperty:s,rootData:o=t}={}){let l=null,i=0;return r(t,{instancePath:n,parentData:a,parentDataProperty:s,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),e.errors=l,0===i}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function t(r,{instancePath:a="",parentData:e,parentDataProperty:n,rootData:o=r}={}){let s=null,i=0;const l=i;let p=!1;const c=i;if(i==i)if(r&&"object"==typeof r&&!Array.isArray(r)){const t=i;for(const t in r)if("encoding"!==t&&"mimetype"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),i++;break}if(t===i){if(void 0!==r.encoding){let t=r.encoding;const a=i;if(!1!==t&&"base64"!==t){const t={params:{}};null===s?s=[t]:s.push(t),i++}var u=a===i}else u=!0;if(u)if(void 0!==r.mimetype){const t=i;if("string"!=typeof r.mimetype){const t={params:{type:"string"}};null===s?s=[t]:s.push(t),i++}u=t===i}else u=!0}}else{const t={params:{type:"object"}};null===s?s=[t]:s.push(t),i++}var f=c===i;if(p=p||f,!p){const t=i;if(!(r instanceof Function)){const t={params:{}};null===s?s=[t]:s.push(t),i++}f=t===i,p=p||f}if(!p){const r={params:{}};return null===s?s=[r]:s.push(r),i++,t.errors=s,!1}return i=l,null!==s&&(l?s.length=l:s=null),t.errors=s,0===i}function r(a,{instancePath:e="",parentData:n,parentDataProperty:o,rootData:s=a}={}){let i=null,l=0;if(0===l){if(!a||"object"!=typeof a||Array.isArray(a))return r.errors=[{params:{type:"object"}}],!1;{const n=l;for(const t in a)if("binary"!==t&&"dataUrl"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(n===l){if(void 0!==a.binary){const t=l;if("boolean"!=typeof a.binary)return r.errors=[{params:{type:"boolean"}}],!1;var p=t===l}else p=!0;if(p)if(void 0!==a.dataUrl){const r=l;t(a.dataUrl,{instancePath:e+"/dataUrl",parentData:a,parentDataProperty:"dataUrl",rootData:s})||(i=null===i?t.errors:i.concat(t.errors),l=i.length),p=r===l}else p=!0}}}return r.errors=i,0===l}function a(t,{instancePath:e="",parentData:n,parentDataProperty:o,rootData:s=t}={}){let i=null,l=0;return r(t,{instancePath:e,parentData:n,parentDataProperty:o,rootData:s})||(i=null===i?r.errors:i.concat(r.errors),l=i.length),a.errors=i,0===l}module.exports=a,module.exports.default=a; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function t(r,{instancePath:a="",parentData:n,parentDataProperty:o,rootData:e=r}={}){let s=null,i=0;if(0===i){if(!r||"object"!=typeof r||Array.isArray(r))return t.errors=[{params:{type:"object"}}],!1;{const a=i;for(const a in r)if("dataUrlCondition"!==a)return t.errors=[{params:{additionalProperty:a}}],!1;if(a===i&&void 0!==r.dataUrlCondition){let a=r.dataUrlCondition;const n=i;let o=!1;const e=i;if(i==i)if(a&&"object"==typeof a&&!Array.isArray(a)){const t=i;for(const t in a)if("maxSize"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),i++;break}if(t===i&&void 0!==a.maxSize&&"number"!=typeof a.maxSize){const t={params:{type:"number"}};null===s?s=[t]:s.push(t),i++}}else{const t={params:{type:"object"}};null===s?s=[t]:s.push(t),i++}var l=e===i;if(o=o||l,!o){const t=i;if(!(a instanceof Function)){const t={params:{}};null===s?s=[t]:s.push(t),i++}l=t===i,o=o||l}if(!o){const r={params:{}};return null===s?s=[r]:s.push(r),i++,t.errors=s,!1}i=n,null!==s&&(n?s.length=n:s=null)}}}return t.errors=s,0===i}function r(a,{instancePath:n="",parentData:o,parentDataProperty:e,rootData:s=a}={}){let i=null,l=0;return t(a,{instancePath:n,parentData:o,parentDataProperty:e,rootData:s})||(i=null===i?t.errors:i.concat(t.errors),l=i.length),r.errors=i,0===l}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(r,{instancePath:e="",parentData:a,parentDataProperty:s,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{const e=i;for(const t in r)if("binary"!==t&&"emit"!==t&&"filename"!==t&&"outputPath"!==t&&"publicPath"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(e===i){if(void 0!==r.binary){const t=i;if("boolean"!=typeof r.binary)return n.errors=[{params:{type:"boolean"}}],!1;var u=t===i}else u=!0;if(u){if(void 0!==r.emit){const t=i;if("boolean"!=typeof r.emit)return n.errors=[{params:{type:"boolean"}}],!1;u=t===i}else u=!0;if(u){if(void 0!==r.filename){let e=r.filename;const a=i,s=i;let o=!1;const f=i;if(i===f)if("string"==typeof e){if(e.includes("!")||!1!==t.test(e)){const t={params:{}};null===l?l=[t]:l.push(t),i++}else if(e.length<1){const t={params:{}};null===l?l=[t]:l.push(t),i++}}else{const t={params:{type:"string"}};null===l?l=[t]:l.push(t),i++}var p=f===i;if(o=o||p,!o){const t=i;if(!(e instanceof Function)){const t={params:{}};null===l?l=[t]:l.push(t),i++}p=t===i,o=o||p}if(!o){const t={params:{}};return null===l?l=[t]:l.push(t),i++,n.errors=l,!1}i=s,null!==l&&(s?l.length=s:l=null),u=a===i}else u=!0;if(u){if(void 0!==r.outputPath){let e=r.outputPath;const a=i,s=i;let o=!1;const p=i;if(i===p)if("string"==typeof e){if(e.includes("!")||!1!==t.test(e)){const t={params:{}};null===l?l=[t]:l.push(t),i++}}else{const t={params:{type:"string"}};null===l?l=[t]:l.push(t),i++}var f=p===i;if(o=o||f,!o){const t=i;if(!(e instanceof Function)){const t={params:{}};null===l?l=[t]:l.push(t),i++}f=t===i,o=o||f}if(!o){const t={params:{}};return null===l?l=[t]:l.push(t),i++,n.errors=l,!1}i=s,null!==l&&(s?l.length=s:l=null),u=a===i}else u=!0;if(u)if(void 0!==r.publicPath){let t=r.publicPath;const e=i,a=i;let s=!1;const o=i;if("string"!=typeof t){const t={params:{type:"string"}};null===l?l=[t]:l.push(t),i++}var c=o===i;if(s=s||c,!s){const n=i;if(!(t instanceof Function)){const t={params:{}};null===l?l=[t]:l.push(t),i++}c=n===i,s=s||c}if(!s){const t={params:{}};return null===l?l=[t]:l.push(t),i++,n.errors=l,!1}i=a,null!==l&&(a?l.length=a:l=null),u=e===i}else u=!0}}}}}}return n.errors=l,0===i}function r(t,{instancePath:e="",parentData:a,parentDataProperty:s,rootData:o=t}={}){let l=null,i=0;return n(t,{instancePath:e,parentData:a,parentDataProperty:s,rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),r.errors=l,0===i}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/BannerPlugin").BannerPluginArgument) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function n(t,{instancePath:e="",parentData:s,parentDataProperty:l,rootData:a=t}={}){let r=null,o=0;const u=o;let i=!1;const p=o;if(o===p)if(Array.isArray(t)){const n=t.length;for(let e=0;e<n;e++){let n=t[e];const s=o,l=o;let a=!1,u=null;const i=o,p=o;let f=!1;const h=o;if(!(n instanceof RegExp)){const n={params:{}};null===r?r=[n]:r.push(n),o++}var c=h===o;if(f=f||c,!f){const t=o;if(o===t)if("string"==typeof n){if(n.length<1){const n={params:{}};null===r?r=[n]:r.push(n),o++}}else{const n={params:{type:"string"}};null===r?r=[n]:r.push(n),o++}c=t===o,f=f||c}if(f)o=p,null!==r&&(p?r.length=p:r=null);else{const n={params:{}};null===r?r=[n]:r.push(n),o++}if(i===o&&(a=!0,u=0),a)o=l,null!==r&&(l?r.length=l:r=null);else{const n={params:{passingSchemas:u}};null===r?r=[n]:r.push(n),o++}if(s!==o)break}}else{const n={params:{type:"array"}};null===r?r=[n]:r.push(n),o++}var f=p===o;if(i=i||f,!i){const n=o,e=o;let s=!1;const l=o;if(!(t instanceof RegExp)){const n={params:{}};null===r?r=[n]:r.push(n),o++}var h=l===o;if(s=s||h,!s){const n=o;if(o===n)if("string"==typeof t){if(t.length<1){const n={params:{}};null===r?r=[n]:r.push(n),o++}}else{const n={params:{type:"string"}};null===r?r=[n]:r.push(n),o++}h=n===o,s=s||h}if(s)o=e,null!==r&&(e?r.length=e:r=null);else{const n={params:{}};null===r?r=[n]:r.push(n),o++}f=n===o,i=i||f}if(!i){const t={params:{}};return null===r?r=[t]:r.push(t),o++,n.errors=r,!1}return o=u,null!==r&&(u?r.length=u:r=null),n.errors=r,0===o}function t(e,{instancePath:s="",parentData:l,parentDataProperty:a,rootData:r=e}={}){let o=null,u=0;const i=u;let p=!1;const c=u;if(u===c)if("string"==typeof e){if(e.length<1){const n={params:{}};null===o?o=[n]:o.push(n),u++}}else{const n={params:{type:"string"}};null===o?o=[n]:o.push(n),u++}var f=c===u;if(p=p||f,!p){const t=u;if(u===t)if(e&&"object"==typeof e&&!Array.isArray(e)){let t;if(void 0===e.banner&&(t="banner")){const n={params:{missingProperty:t}};null===o?o=[n]:o.push(n),u++}else{const t=u;for(const n in e)if("banner"!==n&&"entryOnly"!==n&&"exclude"!==n&&"footer"!==n&&"include"!==n&&"raw"!==n&&"stage"!==n&&"test"!==n){const t={params:{additionalProperty:n}};null===o?o=[t]:o.push(t),u++;break}if(t===u){if(void 0!==e.banner){let n=e.banner;const t=u,s=u;let l=!1;const a=u;if("string"!=typeof n){const n={params:{type:"string"}};null===o?o=[n]:o.push(n),u++}var h=a===u;if(l=l||h,!l){const t=u;if(!(n instanceof Function)){const n={params:{}};null===o?o=[n]:o.push(n),u++}h=t===u,l=l||h}if(l)u=s,null!==o&&(s?o.length=s:o=null);else{const n={params:{}};null===o?o=[n]:o.push(n),u++}var m=t===u}else m=!0;if(m){if(void 0!==e.entryOnly){const n=u;if("boolean"!=typeof e.entryOnly){const n={params:{type:"boolean"}};null===o?o=[n]:o.push(n),u++}m=n===u}else m=!0;if(m){if(void 0!==e.exclude){const t=u,l=u;let a=!1,i=null;const p=u;if(n(e.exclude,{instancePath:s+"/exclude",parentData:e,parentDataProperty:"exclude",rootData:r})||(o=null===o?n.errors:o.concat(n.errors),u=o.length),p===u&&(a=!0,i=0),a)u=l,null!==o&&(l?o.length=l:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),u++}m=t===u}else m=!0;if(m){if(void 0!==e.footer){const n=u;if("boolean"!=typeof e.footer){const n={params:{type:"boolean"}};null===o?o=[n]:o.push(n),u++}m=n===u}else m=!0;if(m){if(void 0!==e.include){const t=u,l=u;let a=!1,i=null;const p=u;if(n(e.include,{instancePath:s+"/include",parentData:e,parentDataProperty:"include",rootData:r})||(o=null===o?n.errors:o.concat(n.errors),u=o.length),p===u&&(a=!0,i=0),a)u=l,null!==o&&(l?o.length=l:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),u++}m=t===u}else m=!0;if(m){if(void 0!==e.raw){const n=u;if("boolean"!=typeof e.raw){const n={params:{type:"boolean"}};null===o?o=[n]:o.push(n),u++}m=n===u}else m=!0;if(m){if(void 0!==e.stage){const n=u;if("number"!=typeof e.stage){const n={params:{type:"number"}};null===o?o=[n]:o.push(n),u++}m=n===u}else m=!0;if(m)if(void 0!==e.test){const t=u,l=u;let a=!1,i=null;const p=u;if(n(e.test,{instancePath:s+"/test",parentData:e,parentDataProperty:"test",rootData:r})||(o=null===o?n.errors:o.concat(n.errors),u=o.length),p===u&&(a=!0,i=0),a)u=l,null!==o&&(l?o.length=l:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),u++}m=t===u}else m=!0}}}}}}}}}else{const n={params:{type:"object"}};null===o?o=[n]:o.push(n),u++}if(f=t===u,p=p||f,!p){const n=u;if(!(e instanceof Function)){const n={params:{}};null===o?o=[n]:o.push(n),u++}f=n===u,p=p||f}}if(!p){const n={params:{}};return null===o?o=[n]:o.push(n),u++,t.errors=o,!1}return u=i,null!==o&&(i?o.length=i:o=null),t.errors=o,0===u}module.exports=t,module.exports.default=t; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/container/ContainerPlugin").ContainerPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(r,{instancePath:e="",parentData:n,parentDataProperty:s,rootData:a=r}={}){if(!Array.isArray(r))return t.errors=[{params:{type:"array"}}],!1;{const e=r.length;for(let n=0;n<e;n++){let e=r[n];const s=0;if("string"!=typeof e)return t.errors=[{params:{type:"string"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1;if(0!==s)break}}return t.errors=null,!0}function e(r,{instancePath:n="",parentData:s,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{let s;if(void 0===r.import&&(s="import"))return e.errors=[{params:{missingProperty:s}}],!1;{const s=l;for(const t in r)if("import"!==t&&"name"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(s===l){if(void 0!==r.import){let s=r.import;const a=l,u=l;let c=!1;const m=l;if(l==l)if("string"==typeof s){if(s.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),l++}var p=m===l;if(c=c||p,!c){const e=l;t(s,{instancePath:n+"/import",parentData:r,parentDataProperty:"import",rootData:o})||(i=null===i?t.errors:i.concat(t.errors),l=i.length),p=e===l,c=c||p}if(!c){const r={params:{}};return null===i?i=[r]:i.push(r),l++,e.errors=i,!1}l=u,null!==i&&(u?i.length=u:i=null);var f=a===l}else f=!0;if(f)if(void 0!==r.name){const t=l;if("string"!=typeof r.name)return e.errors=[{params:{type:"string"}}],!1;f=t===l}else f=!0}}}}return e.errors=i,0===l}function n(r,{instancePath:s="",parentData:a,parentDataProperty:o,rootData:i=r}={}){let l=null,p=0;if(0===p){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;for(const a in r){let o=r[a];const u=p,c=p;let m=!1;const y=p;e(o,{instancePath:s+"/"+a.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:a,rootData:i})||(l=null===l?e.errors:l.concat(e.errors),p=l.length);var f=y===p;if(m=m||f,!m){const e=p;if(p==p)if("string"==typeof o){if(o.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}if(f=e===p,m=m||f,!m){const e=p;t(o,{instancePath:s+"/"+a.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:a,rootData:i})||(l=null===l?t.errors:l.concat(t.errors),p=l.length),f=e===p,m=m||f}}if(!m){const r={params:{}};return null===l?l=[r]:l.push(r),p++,n.errors=l,!1}if(p=c,null!==l&&(c?l.length=c:l=null),u!==p)break}}return n.errors=l,0===p}function s(r,{instancePath:t="",parentData:e,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;const p=l;let f=!1;const u=l;if(l===u)if(Array.isArray(r)){const e=r.length;for(let s=0;s<e;s++){let e=r[s];const a=l,p=l;let f=!1;const u=l;if(l==l)if("string"==typeof e){if(e.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),l++}var c=u===l;if(f=f||c,!f){const a=l;n(e,{instancePath:t+"/"+s,parentData:r,parentDataProperty:s,rootData:o})||(i=null===i?n.errors:i.concat(n.errors),l=i.length),c=a===l,f=f||c}if(f)l=p,null!==i&&(p?i.length=p:i=null);else{const r={params:{}};null===i?i=[r]:i.push(r),l++}if(a!==l)break}}else{const r={params:{type:"array"}};null===i?i=[r]:i.push(r),l++}var m=u===l;if(f=f||m,!f){const s=l;n(r,{instancePath:t,parentData:e,parentDataProperty:a,rootData:o})||(i=null===i?n.errors:i.concat(n.errors),l=i.length),m=s===l,f=f||m}if(!f){const r={params:{}};return null===i?i=[r]:i.push(r),l++,s.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),s.errors=i,0===l}function a(r,{instancePath:t="",parentData:e,parentDataProperty:n,rootData:s=r}={}){let o=null,i=0;const l=i;let p=!1;const f=i;if("string"!=typeof r){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}var u=f===i;if(p=p||u,!p){const t=i;if(i==i)if(r&&"object"==typeof r&&!Array.isArray(r)){const t=i;for(const t in r)if("amd"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"root"!==t){const r={params:{additionalProperty:t}};null===o?o=[r]:o.push(r),i++;break}if(t===i){if(void 0!==r.amd){const t=i;if("string"!=typeof r.amd){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}var c=t===i}else c=!0;if(c){if(void 0!==r.commonjs){const t=i;if("string"!=typeof r.commonjs){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}c=t===i}else c=!0;if(c){if(void 0!==r.commonjs2){const t=i;if("string"!=typeof r.commonjs2){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}c=t===i}else c=!0;if(c)if(void 0!==r.root){const t=i;if("string"!=typeof r.root){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}c=t===i}else c=!0}}}}else{const r={params:{type:"object"}};null===o?o=[r]:o.push(r),i++}u=t===i,p=p||u}if(!p){const r={params:{}};return null===o?o=[r]:o.push(r),i++,a.errors=o,!1}return i=l,null!==o&&(l?o.length=l:o=null),a.errors=o,0===i}function o(r,{instancePath:t="",parentData:e,parentDataProperty:n,rootData:s=r}={}){let a=null,i=0;const l=i;let p=!1;const f=i;if(i===f)if(Array.isArray(r))if(r.length<1){const r={params:{limit:1}};null===a?a=[r]:a.push(r),i++}else{const t=r.length;for(let e=0;e<t;e++){let t=r[e];const n=i;if(i===n)if("string"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),i++}}else{const r={params:{type:"string"}};null===a?a=[r]:a.push(r),i++}if(n!==i)break}}else{const r={params:{type:"array"}};null===a?a=[r]:a.push(r),i++}var u=f===i;if(p=p||u,!p){const t=i;if(i===t)if("string"==typeof r){if(r.length<1){const r={params:{}};null===a?a=[r]:a.push(r),i++}}else{const r={params:{type:"string"}};null===a?a=[r]:a.push(r),i++}if(u=t===i,p=p||u,!p){const t=i;if(i==i)if(r&&"object"==typeof r&&!Array.isArray(r)){const t=i;for(const t in r)if("amd"!==t&&"commonjs"!==t&&"root"!==t){const r={params:{additionalProperty:t}};null===a?a=[r]:a.push(r),i++;break}if(t===i){if(void 0!==r.amd){let t=r.amd;const e=i;if(i===e)if("string"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),i++}}else{const r={params:{type:"string"}};null===a?a=[r]:a.push(r),i++}var c=e===i}else c=!0;if(c){if(void 0!==r.commonjs){let t=r.commonjs;const e=i;if(i===e)if("string"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),i++}}else{const r={params:{type:"string"}};null===a?a=[r]:a.push(r),i++}c=e===i}else c=!0;if(c)if(void 0!==r.root){let t=r.root;const e=i,n=i;let s=!1;const o=i;if(i===o)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=i;if(i===n)if("string"==typeof r){if(r.length<1){const r={params:{}};null===a?a=[r]:a.push(r),i++}}else{const r={params:{type:"string"}};null===a?a=[r]:a.push(r),i++}if(n!==i)break}}else{const r={params:{type:"array"}};null===a?a=[r]:a.push(r),i++}var m=o===i;if(s=s||m,!s){const r=i;if(i===r)if("string"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),i++}}else{const r={params:{type:"string"}};null===a?a=[r]:a.push(r),i++}m=r===i,s=s||m}if(s)i=n,null!==a&&(n?a.length=n:a=null);else{const r={params:{}};null===a?a=[r]:a.push(r),i++}c=e===i}else c=!0}}}else{const r={params:{type:"object"}};null===a?a=[r]:a.push(r),i++}u=t===i,p=p||u}}if(!p){const r={params:{}};return null===a?a=[r]:a.push(r),i++,o.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),o.errors=a,0===i}function i(r,{instancePath:t="",parentData:e,parentDataProperty:n,rootData:s=r}={}){let l=null,p=0;if(0===p){if(!r||"object"!=typeof r||Array.isArray(r))return i.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===r.type&&(e="type"))return i.errors=[{params:{missingProperty:e}}],!1;{const e=p;for(const t in r)if("amdContainer"!==t&&"auxiliaryComment"!==t&&"export"!==t&&"name"!==t&&"type"!==t&&"umdNamedDefine"!==t)return i.errors=[{params:{additionalProperty:t}}],!1;if(e===p){if(void 0!==r.amdContainer){let t=r.amdContainer;const e=p;if(p==p){if("string"!=typeof t)return i.errors=[{params:{type:"string"}}],!1;if(t.length<1)return i.errors=[{params:{}}],!1}var f=e===p}else f=!0;if(f){if(void 0!==r.auxiliaryComment){const e=p;a(r.auxiliaryComment,{instancePath:t+"/auxiliaryComment",parentData:r,parentDataProperty:"auxiliaryComment",rootData:s})||(l=null===l?a.errors:l.concat(a.errors),p=l.length),f=e===p}else f=!0;if(f){if(void 0!==r.export){let t=r.export;const e=p,n=p;let s=!1;const a=p;if(p===a)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=p;if(p===n)if("string"==typeof r){if(r.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}if(n!==p)break}}else{const r={params:{type:"array"}};null===l?l=[r]:l.push(r),p++}var u=a===p;if(s=s||u,!s){const r=p;if(p===r)if("string"==typeof t){if(t.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}u=r===p,s=s||u}if(!s){const r={params:{}};return null===l?l=[r]:l.push(r),p++,i.errors=l,!1}p=n,null!==l&&(n?l.length=n:l=null),f=e===p}else f=!0;if(f){if(void 0!==r.name){const e=p;o(r.name,{instancePath:t+"/name",parentData:r,parentDataProperty:"name",rootData:s})||(l=null===l?o.errors:l.concat(o.errors),p=l.length),f=e===p}else f=!0;if(f){if(void 0!==r.type){let t=r.type;const e=p,n=p;let s=!1;const a=p;if("var"!==t&&"module"!==t&&"assign"!==t&&"assign-properties"!==t&&"this"!==t&&"window"!==t&&"self"!==t&&"global"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"commonjs-module"!==t&&"commonjs-static"!==t&&"amd"!==t&&"amd-require"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t){const r={params:{}};null===l?l=[r]:l.push(r),p++}var c=a===p;if(s=s||c,!s){const r=p;if("string"!=typeof t){const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}c=r===p,s=s||c}if(!s){const r={params:{}};return null===l?l=[r]:l.push(r),p++,i.errors=l,!1}p=n,null!==l&&(n?l.length=n:l=null),f=e===p}else f=!0;if(f)if(void 0!==r.umdNamedDefine){const t=p;if("boolean"!=typeof r.umdNamedDefine)return i.errors=[{params:{type:"boolean"}}],!1;f=t===p}else f=!0}}}}}}}}return i.errors=l,0===p}function l(t,{instancePath:e="",parentData:n,parentDataProperty:a,rootData:o=t}={}){let p=null,f=0;if(0===f){if(!t||"object"!=typeof t||Array.isArray(t))return l.errors=[{params:{type:"object"}}],!1;{let n;if(void 0===t.name&&(n="name")||void 0===t.exposes&&(n="exposes"))return l.errors=[{params:{missingProperty:n}}],!1;{const n=f;for(const r in t)if("exposes"!==r&&"filename"!==r&&"library"!==r&&"name"!==r&&"runtime"!==r&&"shareScope"!==r)return l.errors=[{params:{additionalProperty:r}}],!1;if(n===f){if(void 0!==t.exposes){const r=f;s(t.exposes,{instancePath:e+"/exposes",parentData:t,parentDataProperty:"exposes",rootData:o})||(p=null===p?s.errors:p.concat(s.errors),f=p.length);var u=r===f}else u=!0;if(u){if(void 0!==t.filename){let e=t.filename;const n=f;if(f===n){if("string"!=typeof e)return l.errors=[{params:{type:"string"}}],!1;if(e.includes("!")||!1!==r.test(e))return l.errors=[{params:{}}],!1;if(e.length<1)return l.errors=[{params:{}}],!1}u=n===f}else u=!0;if(u){if(void 0!==t.library){const r=f;i(t.library,{instancePath:e+"/library",parentData:t,parentDataProperty:"library",rootData:o})||(p=null===p?i.errors:p.concat(i.errors),f=p.length),u=r===f}else u=!0;if(u){if(void 0!==t.name){let r=t.name;const e=f;if(f===e){if("string"!=typeof r)return l.errors=[{params:{type:"string"}}],!1;if(r.length<1)return l.errors=[{params:{}}],!1}u=e===f}else u=!0;if(u){if(void 0!==t.runtime){let r=t.runtime;const e=f,n=f;let s=!1;const a=f;if(!1!==r){const r={params:{}};null===p?p=[r]:p.push(r),f++}var c=a===f;if(s=s||c,!s){const t=f;if(f===t)if("string"==typeof r){if(r.length<1){const r={params:{}};null===p?p=[r]:p.push(r),f++}}else{const r={params:{type:"string"}};null===p?p=[r]:p.push(r),f++}c=t===f,s=s||c}if(!s){const r={params:{}};return null===p?p=[r]:p.push(r),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),u=e===f}else u=!0;if(u)if(void 0!==t.shareScope){let r=t.shareScope;const e=f;if(f===e){if("string"!=typeof r)return l.errors=[{params:{type:"string"}}],!1;if(r.length<1)return l.errors=[{params:{}}],!1}u=e===f}else u=!0}}}}}}}}return l.errors=p,0===f}module.exports=l,module.exports.default=l; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/container/ContainerReferencePlugin").ContainerReferencePluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:a,parentDataProperty:n,rootData:o=t}={}){if(!Array.isArray(t))return r.errors=[{params:{type:"array"}}],!1;{const e=t.length;for(let a=0;a<e;a++){let e=t[a];const n=0;if("string"!=typeof e)return r.errors=[{params:{type:"string"}}],!1;if(e.length<1)return r.errors=[{params:{}}],!1;if(0!==n)break}}return r.errors=null,!0}function t(e,{instancePath:a="",parentData:n,parentDataProperty:o,rootData:s=e}={}){let l=null,p=0;if(0===p){if(!e||"object"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:"object"}}],!1;{let n;if(void 0===e.external&&(n="external"))return t.errors=[{params:{missingProperty:n}}],!1;{const n=p;for(const r in e)if("external"!==r&&"shareScope"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(n===p){if(void 0!==e.external){let n=e.external;const o=p,u=p;let f=!1;const m=p;if(p==p)if("string"==typeof n){if(n.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}var i=m===p;if(f=f||i,!f){const t=p;r(n,{instancePath:a+"/external",parentData:e,parentDataProperty:"external",rootData:s})||(l=null===l?r.errors:l.concat(r.errors),p=l.length),i=t===p,f=f||i}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=u,null!==l&&(u?l.length=u:l=null);var c=o===p}else c=!0;if(c)if(void 0!==e.shareScope){let r=e.shareScope;const a=p;if(p===a){if("string"!=typeof r)return t.errors=[{params:{type:"string"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}c=a===p}else c=!0}}}}return t.errors=l,0===p}function e(a,{instancePath:n="",parentData:o,parentDataProperty:s,rootData:l=a}={}){let p=null,i=0;if(0===i){if(!a||"object"!=typeof a||Array.isArray(a))return e.errors=[{params:{type:"object"}}],!1;for(const o in a){let s=a[o];const u=i,f=i;let m=!1;const y=i;t(s,{instancePath:n+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:a,parentDataProperty:o,rootData:l})||(p=null===p?t.errors:p.concat(t.errors),i=p.length);var c=y===i;if(m=m||c,!m){const t=i;if(i==i)if("string"==typeof s){if(s.length<1){const r={params:{}};null===p?p=[r]:p.push(r),i++}}else{const r={params:{type:"string"}};null===p?p=[r]:p.push(r),i++}if(c=t===i,m=m||c,!m){const t=i;r(s,{instancePath:n+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:a,parentDataProperty:o,rootData:l})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),c=t===i,m=m||c}}if(!m){const r={params:{}};return null===p?p=[r]:p.push(r),i++,e.errors=p,!1}if(i=f,null!==p&&(f?p.length=f:p=null),u!==i)break}}return e.errors=p,0===i}function a(r,{instancePath:t="",parentData:n,parentDataProperty:o,rootData:s=r}={}){let l=null,p=0;const i=p;let c=!1;const u=p;if(p===u)if(Array.isArray(r)){const a=r.length;for(let n=0;n<a;n++){let a=r[n];const o=p,i=p;let c=!1;const u=p;if(p==p)if("string"==typeof a){if(a.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}var f=u===p;if(c=c||f,!c){const o=p;e(a,{instancePath:t+"/"+n,parentData:r,parentDataProperty:n,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),f=o===p,c=c||f}if(c)p=i,null!==l&&(i?l.length=i:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),p++}if(o!==p)break}}else{const r={params:{type:"array"}};null===l?l=[r]:l.push(r),p++}var m=u===p;if(c=c||m,!c){const a=p;e(r,{instancePath:t,parentData:n,parentDataProperty:o,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),m=a===p,c=c||m}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),p++,a.errors=l,!1}return p=i,null!==l&&(i?l.length=i:l=null),a.errors=l,0===p}function n(r,{instancePath:t="",parentData:e,parentDataProperty:o,rootData:s=r}={}){let l=null,p=0;if(0===p){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===r.remoteType&&(e="remoteType")||void 0===r.remotes&&(e="remotes"))return n.errors=[{params:{missingProperty:e}}],!1;{const e=p;for(const t in r)if("remoteType"!==t&&"remotes"!==t&&"shareScope"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(e===p){if(void 0!==r.remoteType){let t=r.remoteType;const e=p,a=p;let o=!1,s=null;const c=p;if("var"!==t&&"module"!==t&&"assign"!==t&&"this"!==t&&"window"!==t&&"self"!==t&&"global"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"commonjs-module"!==t&&"commonjs-static"!==t&&"amd"!==t&&"amd-require"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t&&"promise"!==t&&"import"!==t&&"module-import"!==t&&"script"!==t&&"node-commonjs"!==t){const r={params:{}};null===l?l=[r]:l.push(r),p++}if(c===p&&(o=!0,s=0),!o){const r={params:{passingSchemas:s}};return null===l?l=[r]:l.push(r),p++,n.errors=l,!1}p=a,null!==l&&(a?l.length=a:l=null);var i=e===p}else i=!0;if(i){if(void 0!==r.remotes){const e=p;a(r.remotes,{instancePath:t+"/remotes",parentData:r,parentDataProperty:"remotes",rootData:s})||(l=null===l?a.errors:l.concat(a.errors),p=l.length),i=e===p}else i=!0;if(i)if(void 0!==r.shareScope){let t=r.shareScope;const e=p;if(p===e){if("string"!=typeof t)return n.errors=[{params:{type:"string"}}],!1;if(t.length<1)return n.errors=[{params:{}}],!1}i=e===p}else i=!0}}}}}return n.errors=l,0===p}module.exports=n,module.exports.default=n; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function o(m,{instancePath:r="",parentData:s,parentDataProperty:t,rootData:e=m}={}){return"var"!==m&&"module"!==m&&"assign"!==m&&"this"!==m&&"window"!==m&&"self"!==m&&"global"!==m&&"commonjs"!==m&&"commonjs2"!==m&&"commonjs-module"!==m&&"commonjs-static"!==m&&"amd"!==m&&"amd-require"!==m&&"umd"!==m&&"umd2"!==m&&"jsonp"!==m&&"system"!==m&&"promise"!==m&&"import"!==m&&"module-import"!==m&&"script"!==m&&"node-commonjs"!==m?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}module.exports=o,module.exports.default=o; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/container/ModuleFederationPlugin").ModuleFederationPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=D,module.exports.default=D;const e={definitions:{AmdContainer:{type:"string",minLength:1},AuxiliaryComment:{anyOf:[{type:"string"},{$ref:"#/definitions/LibraryCustomUmdCommentObject"}]},EntryRuntime:{anyOf:[{enum:[!1]},{type:"string",minLength:1}]},Exposes:{anyOf:[{type:"array",items:{anyOf:[{$ref:"#/definitions/ExposesItem"},{$ref:"#/definitions/ExposesObject"}]}},{$ref:"#/definitions/ExposesObject"}]},ExposesConfig:{type:"object",additionalProperties:!1,properties:{import:{anyOf:[{$ref:"#/definitions/ExposesItem"},{$ref:"#/definitions/ExposesItems"}]},name:{type:"string"}},required:["import"]},ExposesItem:{type:"string",minLength:1},ExposesItems:{type:"array",items:{$ref:"#/definitions/ExposesItem"}},ExposesObject:{type:"object",additionalProperties:{anyOf:[{$ref:"#/definitions/ExposesConfig"},{$ref:"#/definitions/ExposesItem"},{$ref:"#/definitions/ExposesItems"}]}},ExternalsType:{enum:["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","umd","umd2","jsonp","system","promise","import","module-import","script","node-commonjs"]},LibraryCustomUmdCommentObject:{type:"object",additionalProperties:!1,properties:{amd:{type:"string"},commonjs:{type:"string"},commonjs2:{type:"string"},root:{type:"string"}}},LibraryCustomUmdObject:{type:"object",additionalProperties:!1,properties:{amd:{type:"string",minLength:1},commonjs:{type:"string",minLength:1},root:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]}}},LibraryExport:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]},LibraryName:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1},{type:"string",minLength:1},{$ref:"#/definitions/LibraryCustomUmdObject"}]},LibraryOptions:{type:"object",additionalProperties:!1,properties:{amdContainer:{$ref:"#/definitions/AmdContainer"},auxiliaryComment:{$ref:"#/definitions/AuxiliaryComment"},export:{$ref:"#/definitions/LibraryExport"},name:{$ref:"#/definitions/LibraryName"},type:{$ref:"#/definitions/LibraryType"},umdNamedDefine:{$ref:"#/definitions/UmdNamedDefine"}},required:["type"]},LibraryType:{anyOf:[{enum:["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","umd","umd2","jsonp","system"]},{type:"string"}]},Remotes:{anyOf:[{type:"array",items:{anyOf:[{$ref:"#/definitions/RemotesItem"},{$ref:"#/definitions/RemotesObject"}]}},{$ref:"#/definitions/RemotesObject"}]},RemotesConfig:{type:"object",additionalProperties:!1,properties:{external:{anyOf:[{$ref:"#/definitions/RemotesItem"},{$ref:"#/definitions/RemotesItems"}]},shareScope:{type:"string",minLength:1}},required:["external"]},RemotesItem:{type:"string",minLength:1},RemotesItems:{type:"array",items:{$ref:"#/definitions/RemotesItem"}},RemotesObject:{type:"object",additionalProperties:{anyOf:[{$ref:"#/definitions/RemotesConfig"},{$ref:"#/definitions/RemotesItem"},{$ref:"#/definitions/RemotesItems"}]}},Shared:{anyOf:[{type:"array",items:{anyOf:[{$ref:"#/definitions/SharedItem"},{$ref:"#/definitions/SharedObject"}]}},{$ref:"#/definitions/SharedObject"}]},SharedConfig:{type:"object",additionalProperties:!1,properties:{eager:{type:"boolean"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/SharedItem"}]},packageName:{type:"string",minLength:1},requiredVersion:{anyOf:[{enum:[!1]},{type:"string"}]},shareKey:{type:"string",minLength:1},shareScope:{type:"string",minLength:1},singleton:{type:"boolean"},strictVersion:{type:"boolean"},version:{anyOf:[{enum:[!1]},{type:"string"}]}}},SharedItem:{type:"string",minLength:1},SharedObject:{type:"object",additionalProperties:{anyOf:[{$ref:"#/definitions/SharedConfig"},{$ref:"#/definitions/SharedItem"}]}},UmdNamedDefine:{type:"boolean"}},type:"object",additionalProperties:!1,properties:{exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}}},r=Object.prototype.hasOwnProperty;function n(t,{instancePath:e="",parentData:r,parentDataProperty:s,rootData:a=t}={}){if(!Array.isArray(t))return n.errors=[{params:{type:"array"}}],!1;{const e=t.length;for(let r=0;r<e;r++){let e=t[r];const s=0;if("string"!=typeof e)return n.errors=[{params:{type:"string"}}],!1;if(e.length<1)return n.errors=[{params:{}}],!1;if(0!==s)break}}return n.errors=null,!0}function s(t,{instancePath:e="",parentData:r,parentDataProperty:a,rootData:o=t}={}){let i=null,l=0;if(0===l){if(!t||"object"!=typeof t||Array.isArray(t))return s.errors=[{params:{type:"object"}}],!1;{let r;if(void 0===t.import&&(r="import"))return s.errors=[{params:{missingProperty:r}}],!1;{const r=l;for(const e in t)if("import"!==e&&"name"!==e)return s.errors=[{params:{additionalProperty:e}}],!1;if(r===l){if(void 0!==t.import){let r=t.import;const a=l,c=l;let m=!1;const u=l;if(l==l)if("string"==typeof r){if(r.length<1){const t={params:{}};null===i?i=[t]:i.push(t),l++}}else{const t={params:{type:"string"}};null===i?i=[t]:i.push(t),l++}var p=u===l;if(m=m||p,!m){const s=l;n(r,{instancePath:e+"/import",parentData:t,parentDataProperty:"import",rootData:o})||(i=null===i?n.errors:i.concat(n.errors),l=i.length),p=s===l,m=m||p}if(!m){const t={params:{}};return null===i?i=[t]:i.push(t),l++,s.errors=i,!1}l=c,null!==i&&(c?i.length=c:i=null);var f=a===l}else f=!0;if(f)if(void 0!==t.name){const e=l;if("string"!=typeof t.name)return s.errors=[{params:{type:"string"}}],!1;f=e===l}else f=!0}}}}return s.errors=i,0===l}function a(t,{instancePath:e="",parentData:r,parentDataProperty:o,rootData:i=t}={}){let l=null,p=0;if(0===p){if(!t||"object"!=typeof t||Array.isArray(t))return a.errors=[{params:{type:"object"}}],!1;for(const r in t){let o=t[r];const c=p,m=p;let u=!1;const y=p;s(o,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:i})||(l=null===l?s.errors:l.concat(s.errors),p=l.length);var f=y===p;if(u=u||f,!u){const s=p;if(p==p)if("string"==typeof o){if(o.length<1){const t={params:{}};null===l?l=[t]:l.push(t),p++}}else{const t={params:{type:"string"}};null===l?l=[t]:l.push(t),p++}if(f=s===p,u=u||f,!u){const s=p;n(o,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:i})||(l=null===l?n.errors:l.concat(n.errors),p=l.length),f=s===p,u=u||f}}if(!u){const t={params:{}};return null===l?l=[t]:l.push(t),p++,a.errors=l,!1}if(p=m,null!==l&&(m?l.length=m:l=null),c!==p)break}}return a.errors=l,0===p}function o(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let i=null,l=0;const p=l;let f=!1;const c=l;if(l===c)if(Array.isArray(t)){const r=t.length;for(let n=0;n<r;n++){let r=t[n];const o=l,p=l;let f=!1;const c=l;if(l==l)if("string"==typeof r){if(r.length<1){const t={params:{}};null===i?i=[t]:i.push(t),l++}}else{const t={params:{type:"string"}};null===i?i=[t]:i.push(t),l++}var m=c===l;if(f=f||m,!f){const o=l;a(r,{instancePath:e+"/"+n,parentData:t,parentDataProperty:n,rootData:s})||(i=null===i?a.errors:i.concat(a.errors),l=i.length),m=o===l,f=f||m}if(f)l=p,null!==i&&(p?i.length=p:i=null);else{const t={params:{}};null===i?i=[t]:i.push(t),l++}if(o!==l)break}}else{const t={params:{type:"array"}};null===i?i=[t]:i.push(t),l++}var u=c===l;if(f=f||u,!f){const o=l;a(t,{instancePath:e,parentData:r,parentDataProperty:n,rootData:s})||(i=null===i?a.errors:i.concat(a.errors),l=i.length),u=o===l,f=f||u}if(!f){const t={params:{}};return null===i?i=[t]:i.push(t),l++,o.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),o.errors=i,0===l}function i(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;const l=o;let p=!1;const f=o;if("string"!=typeof t){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}var c=f===o;if(p=p||c,!p){const e=o;if(o==o)if(t&&"object"==typeof t&&!Array.isArray(t)){const e=o;for(const e in t)if("amd"!==e&&"commonjs"!==e&&"commonjs2"!==e&&"root"!==e){const t={params:{additionalProperty:e}};null===a?a=[t]:a.push(t),o++;break}if(e===o){if(void 0!==t.amd){const e=o;if("string"!=typeof t.amd){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}var m=e===o}else m=!0;if(m){if(void 0!==t.commonjs){const e=o;if("string"!=typeof t.commonjs){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}m=e===o}else m=!0;if(m){if(void 0!==t.commonjs2){const e=o;if("string"!=typeof t.commonjs2){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}m=e===o}else m=!0;if(m)if(void 0!==t.root){const e=o;if("string"!=typeof t.root){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}m=e===o}else m=!0}}}}else{const t={params:{type:"object"}};null===a?a=[t]:a.push(t),o++}c=e===o,p=p||c}if(!p){const t={params:{}};return null===a?a=[t]:a.push(t),o++,i.errors=a,!1}return o=l,null!==a&&(l?a.length=l:a=null),i.errors=a,0===o}function l(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;const i=o;let p=!1;const f=o;if(o===f)if(Array.isArray(t))if(t.length<1){const t={params:{limit:1}};null===a?a=[t]:a.push(t),o++}else{const e=t.length;for(let r=0;r<e;r++){let e=t[r];const n=o;if(o===n)if("string"==typeof e){if(e.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}if(n!==o)break}}else{const t={params:{type:"array"}};null===a?a=[t]:a.push(t),o++}var c=f===o;if(p=p||c,!p){const e=o;if(o===e)if("string"==typeof t){if(t.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}if(c=e===o,p=p||c,!p){const e=o;if(o==o)if(t&&"object"==typeof t&&!Array.isArray(t)){const e=o;for(const e in t)if("amd"!==e&&"commonjs"!==e&&"root"!==e){const t={params:{additionalProperty:e}};null===a?a=[t]:a.push(t),o++;break}if(e===o){if(void 0!==t.amd){let e=t.amd;const r=o;if(o===r)if("string"==typeof e){if(e.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}var m=r===o}else m=!0;if(m){if(void 0!==t.commonjs){let e=t.commonjs;const r=o;if(o===r)if("string"==typeof e){if(e.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}m=r===o}else m=!0;if(m)if(void 0!==t.root){let e=t.root;const r=o,n=o;let s=!1;const i=o;if(o===i)if(Array.isArray(e)){const t=e.length;for(let r=0;r<t;r++){let t=e[r];const n=o;if(o===n)if("string"==typeof t){if(t.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}if(n!==o)break}}else{const t={params:{type:"array"}};null===a?a=[t]:a.push(t),o++}var u=i===o;if(s=s||u,!s){const t=o;if(o===t)if("string"==typeof e){if(e.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}u=t===o,s=s||u}if(s)o=n,null!==a&&(n?a.length=n:a=null);else{const t={params:{}};null===a?a=[t]:a.push(t),o++}m=r===o}else m=!0}}}else{const t={params:{type:"object"}};null===a?a=[t]:a.push(t),o++}c=e===o,p=p||c}}if(!p){const t={params:{}};return null===a?a=[t]:a.push(t),o++,l.errors=a,!1}return o=i,null!==a&&(i?a.length=i:a=null),l.errors=a,0===o}function p(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;if(0===o){if(!t||"object"!=typeof t||Array.isArray(t))return p.errors=[{params:{type:"object"}}],!1;{let r;if(void 0===t.type&&(r="type"))return p.errors=[{params:{missingProperty:r}}],!1;{const r=o;for(const e in t)if("amdContainer"!==e&&"auxiliaryComment"!==e&&"export"!==e&&"name"!==e&&"type"!==e&&"umdNamedDefine"!==e)return p.errors=[{params:{additionalProperty:e}}],!1;if(r===o){if(void 0!==t.amdContainer){let e=t.amdContainer;const r=o;if(o==o){if("string"!=typeof e)return p.errors=[{params:{type:"string"}}],!1;if(e.length<1)return p.errors=[{params:{}}],!1}var f=r===o}else f=!0;if(f){if(void 0!==t.auxiliaryComment){const r=o;i(t.auxiliaryComment,{instancePath:e+"/auxiliaryComment",parentData:t,parentDataProperty:"auxiliaryComment",rootData:s})||(a=null===a?i.errors:a.concat(i.errors),o=a.length),f=r===o}else f=!0;if(f){if(void 0!==t.export){let e=t.export;const r=o,n=o;let s=!1;const i=o;if(o===i)if(Array.isArray(e)){const t=e.length;for(let r=0;r<t;r++){let t=e[r];const n=o;if(o===n)if("string"==typeof t){if(t.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}if(n!==o)break}}else{const t={params:{type:"array"}};null===a?a=[t]:a.push(t),o++}var c=i===o;if(s=s||c,!s){const t=o;if(o===t)if("string"==typeof e){if(e.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}c=t===o,s=s||c}if(!s){const t={params:{}};return null===a?a=[t]:a.push(t),o++,p.errors=a,!1}o=n,null!==a&&(n?a.length=n:a=null),f=r===o}else f=!0;if(f){if(void 0!==t.name){const r=o;l(t.name,{instancePath:e+"/name",parentData:t,parentDataProperty:"name",rootData:s})||(a=null===a?l.errors:a.concat(l.errors),o=a.length),f=r===o}else f=!0;if(f){if(void 0!==t.type){let e=t.type;const r=o,n=o;let s=!1;const i=o;if("var"!==e&&"module"!==e&&"assign"!==e&&"assign-properties"!==e&&"this"!==e&&"window"!==e&&"self"!==e&&"global"!==e&&"commonjs"!==e&&"commonjs2"!==e&&"commonjs-module"!==e&&"commonjs-static"!==e&&"amd"!==e&&"amd-require"!==e&&"umd"!==e&&"umd2"!==e&&"jsonp"!==e&&"system"!==e){const t={params:{}};null===a?a=[t]:a.push(t),o++}var m=i===o;if(s=s||m,!s){const t=o;if("string"!=typeof e){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}m=t===o,s=s||m}if(!s){const t={params:{}};return null===a?a=[t]:a.push(t),o++,p.errors=a,!1}o=n,null!==a&&(n?a.length=n:a=null),f=r===o}else f=!0;if(f)if(void 0!==t.umdNamedDefine){const e=o;if("boolean"!=typeof t.umdNamedDefine)return p.errors=[{params:{type:"boolean"}}],!1;f=e===o}else f=!0}}}}}}}}return p.errors=a,0===o}function f(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){if(!Array.isArray(t))return f.errors=[{params:{type:"array"}}],!1;{const e=t.length;for(let r=0;r<e;r++){let e=t[r];const n=0;if("string"!=typeof e)return f.errors=[{params:{type:"string"}}],!1;if(e.length<1)return f.errors=[{params:{}}],!1;if(0!==n)break}}return f.errors=null,!0}function c(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;if(0===o){if(!t||"object"!=typeof t||Array.isArray(t))return c.errors=[{params:{type:"object"}}],!1;{let r;if(void 0===t.external&&(r="external"))return c.errors=[{params:{missingProperty:r}}],!1;{const r=o;for(const e in t)if("external"!==e&&"shareScope"!==e)return c.errors=[{params:{additionalProperty:e}}],!1;if(r===o){if(void 0!==t.external){let r=t.external;const n=o,p=o;let m=!1;const u=o;if(o==o)if("string"==typeof r){if(r.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}var i=u===o;if(m=m||i,!m){const n=o;f(r,{instancePath:e+"/external",parentData:t,parentDataProperty:"external",rootData:s})||(a=null===a?f.errors:a.concat(f.errors),o=a.length),i=n===o,m=m||i}if(!m){const t={params:{}};return null===a?a=[t]:a.push(t),o++,c.errors=a,!1}o=p,null!==a&&(p?a.length=p:a=null);var l=n===o}else l=!0;if(l)if(void 0!==t.shareScope){let e=t.shareScope;const r=o;if(o===r){if("string"!=typeof e)return c.errors=[{params:{type:"string"}}],!1;if(e.length<1)return c.errors=[{params:{}}],!1}l=r===o}else l=!0}}}}return c.errors=a,0===o}function m(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;if(0===o){if(!t||"object"!=typeof t||Array.isArray(t))return m.errors=[{params:{type:"object"}}],!1;for(const r in t){let n=t[r];const l=o,p=o;let u=!1;const y=o;c(n,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:s})||(a=null===a?c.errors:a.concat(c.errors),o=a.length);var i=y===o;if(u=u||i,!u){const l=o;if(o==o)if("string"==typeof n){if(n.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}if(i=l===o,u=u||i,!u){const l=o;f(n,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:s})||(a=null===a?f.errors:a.concat(f.errors),o=a.length),i=l===o,u=u||i}}if(!u){const t={params:{}};return null===a?a=[t]:a.push(t),o++,m.errors=a,!1}if(o=p,null!==a&&(p?a.length=p:a=null),l!==o)break}}return m.errors=a,0===o}function u(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;const i=o;let l=!1;const p=o;if(o===p)if(Array.isArray(t)){const r=t.length;for(let n=0;n<r;n++){let r=t[n];const i=o,l=o;let p=!1;const c=o;if(o==o)if("string"==typeof r){if(r.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}var f=c===o;if(p=p||f,!p){const i=o;m(r,{instancePath:e+"/"+n,parentData:t,parentDataProperty:n,rootData:s})||(a=null===a?m.errors:a.concat(m.errors),o=a.length),f=i===o,p=p||f}if(p)o=l,null!==a&&(l?a.length=l:a=null);else{const t={params:{}};null===a?a=[t]:a.push(t),o++}if(i!==o)break}}else{const t={params:{type:"array"}};null===a?a=[t]:a.push(t),o++}var c=p===o;if(l=l||c,!l){const i=o;m(t,{instancePath:e,parentData:r,parentDataProperty:n,rootData:s})||(a=null===a?m.errors:a.concat(m.errors),o=a.length),c=i===o,l=l||c}if(!l){const t={params:{}};return null===a?a=[t]:a.push(t),o++,u.errors=a,!1}return o=i,null!==a&&(i?a.length=i:a=null),u.errors=a,0===o}const y={type:"object",additionalProperties:!1,properties:{eager:{type:"boolean"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/SharedItem"}]},packageName:{type:"string",minLength:1},requiredVersion:{anyOf:[{enum:[!1]},{type:"string"}]},shareKey:{type:"string",minLength:1},shareScope:{type:"string",minLength:1},singleton:{type:"boolean"},strictVersion:{type:"boolean"},version:{anyOf:[{enum:[!1]},{type:"string"}]}}};function h(t,{instancePath:e="",parentData:n,parentDataProperty:s,rootData:a=t}={}){let o=null,i=0;if(0===i){if(!t||"object"!=typeof t||Array.isArray(t))return h.errors=[{params:{type:"object"}}],!1;{const e=i;for(const e in t)if(!r.call(y.properties,e))return h.errors=[{params:{additionalProperty:e}}],!1;if(e===i){if(void 0!==t.eager){const e=i;if("boolean"!=typeof t.eager)return h.errors=[{params:{type:"boolean"}}],!1;var l=e===i}else l=!0;if(l){if(void 0!==t.import){let e=t.import;const r=i,n=i;let s=!1;const a=i;if(!1!==e){const t={params:{}};null===o?o=[t]:o.push(t),i++}var p=a===i;if(s=s||p,!s){const t=i;if(i==i)if("string"==typeof e){if(e.length<1){const t={params:{}};null===o?o=[t]:o.push(t),i++}}else{const t={params:{type:"string"}};null===o?o=[t]:o.push(t),i++}p=t===i,s=s||p}if(!s){const t={params:{}};return null===o?o=[t]:o.push(t),i++,h.errors=o,!1}i=n,null!==o&&(n?o.length=n:o=null),l=r===i}else l=!0;if(l){if(void 0!==t.packageName){let e=t.packageName;const r=i;if(i===r){if("string"!=typeof e)return h.errors=[{params:{type:"string"}}],!1;if(e.length<1)return h.errors=[{params:{}}],!1}l=r===i}else l=!0;if(l){if(void 0!==t.requiredVersion){let e=t.requiredVersion;const r=i,n=i;let s=!1;const a=i;if(!1!==e){const t={params:{}};null===o?o=[t]:o.push(t),i++}var f=a===i;if(s=s||f,!s){const t=i;if("string"!=typeof e){const t={params:{type:"string"}};null===o?o=[t]:o.push(t),i++}f=t===i,s=s||f}if(!s){const t={params:{}};return null===o?o=[t]:o.push(t),i++,h.errors=o,!1}i=n,null!==o&&(n?o.length=n:o=null),l=r===i}else l=!0;if(l){if(void 0!==t.shareKey){let e=t.shareKey;const r=i;if(i===r){if("string"!=typeof e)return h.errors=[{params:{type:"string"}}],!1;if(e.length<1)return h.errors=[{params:{}}],!1}l=r===i}else l=!0;if(l){if(void 0!==t.shareScope){let e=t.shareScope;const r=i;if(i===r){if("string"!=typeof e)return h.errors=[{params:{type:"string"}}],!1;if(e.length<1)return h.errors=[{params:{}}],!1}l=r===i}else l=!0;if(l){if(void 0!==t.singleton){const e=i;if("boolean"!=typeof t.singleton)return h.errors=[{params:{type:"boolean"}}],!1;l=e===i}else l=!0;if(l){if(void 0!==t.strictVersion){const e=i;if("boolean"!=typeof t.strictVersion)return h.errors=[{params:{type:"boolean"}}],!1;l=e===i}else l=!0;if(l)if(void 0!==t.version){let e=t.version;const r=i,n=i;let s=!1;const a=i;if(!1!==e){const t={params:{}};null===o?o=[t]:o.push(t),i++}var c=a===i;if(s=s||c,!s){const t=i;if("string"!=typeof e){const t={params:{type:"string"}};null===o?o=[t]:o.push(t),i++}c=t===i,s=s||c}if(!s){const t={params:{}};return null===o?o=[t]:o.push(t),i++,h.errors=o,!1}i=n,null!==o&&(n?o.length=n:o=null),l=r===i}else l=!0}}}}}}}}}}return h.errors=o,0===i}function g(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;if(0===o){if(!t||"object"!=typeof t||Array.isArray(t))return g.errors=[{params:{type:"object"}}],!1;for(const r in t){let n=t[r];const l=o,p=o;let f=!1;const c=o;h(n,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:s})||(a=null===a?h.errors:a.concat(h.errors),o=a.length);var i=c===o;if(f=f||i,!f){const t=o;if(o==o)if("string"==typeof n){if(n.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}i=t===o,f=f||i}if(!f){const t={params:{}};return null===a?a=[t]:a.push(t),o++,g.errors=a,!1}if(o=p,null!==a&&(p?a.length=p:a=null),l!==o)break}}return g.errors=a,0===o}function d(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){let a=null,o=0;const i=o;let l=!1;const p=o;if(o===p)if(Array.isArray(t)){const r=t.length;for(let n=0;n<r;n++){let r=t[n];const i=o,l=o;let p=!1;const c=o;if(o==o)if("string"==typeof r){if(r.length<1){const t={params:{}};null===a?a=[t]:a.push(t),o++}}else{const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}var f=c===o;if(p=p||f,!p){const i=o;g(r,{instancePath:e+"/"+n,parentData:t,parentDataProperty:n,rootData:s})||(a=null===a?g.errors:a.concat(g.errors),o=a.length),f=i===o,p=p||f}if(p)o=l,null!==a&&(l?a.length=l:a=null);else{const t={params:{}};null===a?a=[t]:a.push(t),o++}if(i!==o)break}}else{const t={params:{type:"array"}};null===a?a=[t]:a.push(t),o++}var c=p===o;if(l=l||c,!l){const i=o;g(t,{instancePath:e,parentData:r,parentDataProperty:n,rootData:s})||(a=null===a?g.errors:a.concat(g.errors),o=a.length),c=i===o,l=l||c}if(!l){const t={params:{}};return null===a?a=[t]:a.push(t),o++,d.errors=a,!1}return o=i,null!==a&&(i?a.length=i:a=null),d.errors=a,0===o}function D(n,{instancePath:s="",parentData:a,parentDataProperty:i,rootData:l=n}={}){let f=null,c=0;if(0===c){if(!n||"object"!=typeof n||Array.isArray(n))return D.errors=[{params:{type:"object"}}],!1;{const a=c;for(const t in n)if(!r.call(e.properties,t))return D.errors=[{params:{additionalProperty:t}}],!1;if(a===c){if(void 0!==n.exposes){const t=c;o(n.exposes,{instancePath:s+"/exposes",parentData:n,parentDataProperty:"exposes",rootData:l})||(f=null===f?o.errors:f.concat(o.errors),c=f.length);var m=t===c}else m=!0;if(m){if(void 0!==n.filename){let e=n.filename;const r=c;if(c===r){if("string"!=typeof e)return D.errors=[{params:{type:"string"}}],!1;if(e.includes("!")||!1!==t.test(e))return D.errors=[{params:{}}],!1}m=r===c}else m=!0;if(m){if(void 0!==n.library){const t=c;p(n.library,{instancePath:s+"/library",parentData:n,parentDataProperty:"library",rootData:l})||(f=null===f?p.errors:f.concat(p.errors),c=f.length),m=t===c}else m=!0;if(m){if(void 0!==n.name){const t=c;if("string"!=typeof n.name)return D.errors=[{params:{type:"string"}}],!1;m=t===c}else m=!0;if(m){if(void 0!==n.remoteType){let t=n.remoteType;const e=c,r=c;let s=!1,a=null;const o=c;if("var"!==t&&"module"!==t&&"assign"!==t&&"this"!==t&&"window"!==t&&"self"!==t&&"global"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"commonjs-module"!==t&&"commonjs-static"!==t&&"amd"!==t&&"amd-require"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t&&"promise"!==t&&"import"!==t&&"module-import"!==t&&"script"!==t&&"node-commonjs"!==t){const t={params:{}};null===f?f=[t]:f.push(t),c++}if(o===c&&(s=!0,a=0),!s){const t={params:{passingSchemas:a}};return null===f?f=[t]:f.push(t),c++,D.errors=f,!1}c=r,null!==f&&(r?f.length=r:f=null),m=e===c}else m=!0;if(m){if(void 0!==n.remotes){const t=c;u(n.remotes,{instancePath:s+"/remotes",parentData:n,parentDataProperty:"remotes",rootData:l})||(f=null===f?u.errors:f.concat(u.errors),c=f.length),m=t===c}else m=!0;if(m){if(void 0!==n.runtime){let t=n.runtime;const e=c,r=c;let s=!1;const a=c;if(!1!==t){const t={params:{}};null===f?f=[t]:f.push(t),c++}var y=a===c;if(s=s||y,!s){const e=c;if(c===e)if("string"==typeof t){if(t.length<1){const t={params:{}};null===f?f=[t]:f.push(t),c++}}else{const t={params:{type:"string"}};null===f?f=[t]:f.push(t),c++}y=e===c,s=s||y}if(!s){const t={params:{}};return null===f?f=[t]:f.push(t),c++,D.errors=f,!1}c=r,null!==f&&(r?f.length=r:f=null),m=e===c}else m=!0;if(m){if(void 0!==n.shareScope){let t=n.shareScope;const e=c;if(c===e){if("string"!=typeof t)return D.errors=[{params:{type:"string"}}],!1;if(t.length<1)return D.errors=[{params:{}}],!1}m=e===c}else m=!0;if(m)if(void 0!==n.shared){const t=c;d(n.shared,{instancePath:s+"/shared",parentData:n,parentDataProperty:"shared",rootData:l})||(f=null===f?d.errors:f.concat(d.errors),c=f.length),m=t===c}else m=!0}}}}}}}}}}return D.errors=f,0===c} |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function e(r,{instancePath:t="",parentData:o,parentDataProperty:n,rootData:a=r}={}){let s=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{const t=l;for(const t in r)if("esModule"!==t&&"exportsConvention"!==t&&"exportsOnly"!==t&&"localIdentName"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(t===l){if(void 0!==r.esModule){const t=l;if("boolean"!=typeof r.esModule)return e.errors=[{params:{type:"boolean"}}],!1;var i=t===l}else i=!0;if(i){if(void 0!==r.exportsConvention){let t=r.exportsConvention;const o=l,n=l;let a=!1;const c=l;if("as-is"!==t&&"camel-case"!==t&&"camel-case-only"!==t&&"dashes"!==t&&"dashes-only"!==t){const e={params:{}};null===s?s=[e]:s.push(e),l++}var p=c===l;if(a=a||p,!a){const e=l;if(!(t instanceof Function)){const e={params:{}};null===s?s=[e]:s.push(e),l++}p=e===l,a=a||p}if(!a){const r={params:{}};return null===s?s=[r]:s.push(r),l++,e.errors=s,!1}l=n,null!==s&&(n?s.length=n:s=null),i=o===l}else i=!0;if(i){if(void 0!==r.exportsOnly){const t=l;if("boolean"!=typeof r.exportsOnly)return e.errors=[{params:{type:"boolean"}}],!1;i=t===l}else i=!0;if(i)if(void 0!==r.localIdentName){const t=l;if("string"!=typeof r.localIdentName)return e.errors=[{params:{type:"string"}}],!1;i=t===l}else i=!0}}}}}return e.errors=s,0===l}function r(t,{instancePath:o="",parentData:n,parentDataProperty:a,rootData:s=t}={}){let l=null,i=0;return e(t,{instancePath:o,parentData:n,parentDataProperty:a,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),i=l.length),r.errors=l,0===i}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(e,{instancePath:t="",parentData:o,parentDataProperty:a,rootData:n=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{const t=0;for(const t in e)if("esModule"!==t&&"exportsOnly"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.esModule){const t=0;if("boolean"!=typeof e.esModule)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===t}else s=!0;if(s)if(void 0!==e.exportsOnly){const t=0;if("boolean"!=typeof e.exportsOnly)return r.errors=[{params:{type:"boolean"}}],!1;s=0===t}else s=!0}}return r.errors=null,!0}function e(t,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=t}={}){let p=null,l=0;return r(t,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),l=p.length),e.errors=p,0===l}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function e(r,{instancePath:t="",parentData:o,parentDataProperty:n,rootData:a=r}={}){let s=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{const t=l;for(const t in r)if("esModule"!==t&&"exportsConvention"!==t&&"exportsOnly"!==t&&"localIdentName"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(t===l){if(void 0!==r.esModule){const t=l;if("boolean"!=typeof r.esModule)return e.errors=[{params:{type:"boolean"}}],!1;var i=t===l}else i=!0;if(i){if(void 0!==r.exportsConvention){let t=r.exportsConvention;const o=l,n=l;let a=!1;const c=l;if("as-is"!==t&&"camel-case"!==t&&"camel-case-only"!==t&&"dashes"!==t&&"dashes-only"!==t){const e={params:{}};null===s?s=[e]:s.push(e),l++}var p=c===l;if(a=a||p,!a){const e=l;if(!(t instanceof Function)){const e={params:{}};null===s?s=[e]:s.push(e),l++}p=e===l,a=a||p}if(!a){const r={params:{}};return null===s?s=[r]:s.push(r),l++,e.errors=s,!1}l=n,null!==s&&(n?s.length=n:s=null),i=o===l}else i=!0;if(i){if(void 0!==r.exportsOnly){const t=l;if("boolean"!=typeof r.exportsOnly)return e.errors=[{params:{type:"boolean"}}],!1;i=t===l}else i=!0;if(i)if(void 0!==r.localIdentName){const t=l;if("string"!=typeof r.localIdentName)return e.errors=[{params:{type:"string"}}],!1;i=t===l}else i=!0}}}}}return e.errors=s,0===l}function r(t,{instancePath:o="",parentData:n,parentDataProperty:a,rootData:s=t}={}){let l=null,i=0;return e(t,{instancePath:o,parentData:n,parentDataProperty:a,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),i=l.length),r.errors=l,0===i}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function e(r,{instancePath:t="",parentData:o,parentDataProperty:n,rootData:a=r}={}){let s=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{const t=l;for(const t in r)if("esModule"!==t&&"exportsConvention"!==t&&"exportsOnly"!==t&&"localIdentName"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(t===l){if(void 0!==r.esModule){const t=l;if("boolean"!=typeof r.esModule)return e.errors=[{params:{type:"boolean"}}],!1;var i=t===l}else i=!0;if(i){if(void 0!==r.exportsConvention){let t=r.exportsConvention;const o=l,n=l;let a=!1;const c=l;if("as-is"!==t&&"camel-case"!==t&&"camel-case-only"!==t&&"dashes"!==t&&"dashes-only"!==t){const e={params:{}};null===s?s=[e]:s.push(e),l++}var p=c===l;if(a=a||p,!a){const e=l;if(!(t instanceof Function)){const e={params:{}};null===s?s=[e]:s.push(e),l++}p=e===l,a=a||p}if(!a){const r={params:{}};return null===s?s=[r]:s.push(r),l++,e.errors=s,!1}l=n,null!==s&&(n?s.length=n:s=null),i=o===l}else i=!0;if(i){if(void 0!==r.exportsOnly){const t=l;if("boolean"!=typeof r.exportsOnly)return e.errors=[{params:{type:"boolean"}}],!1;i=t===l}else i=!0;if(i)if(void 0!==r.localIdentName){const t=l;if("string"!=typeof r.localIdentName)return e.errors=[{params:{type:"string"}}],!1;i=t===l}else i=!0}}}}}return e.errors=s,0===l}function r(t,{instancePath:o="",parentData:n,parentDataProperty:a,rootData:s=t}={}){let l=null,i=0;return e(t,{instancePath:o,parentData:n,parentDataProperty:a,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),i=l.length),r.errors=l,0===i}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: any) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/debug/ProfilingPlugin").ProfilingPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(e,{instancePath:a="",parentData:o,parentDataProperty:n,rootData:s=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:"object"}}],!1;{const a=0;for(const r in e)if("outputPath"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(0===a&&void 0!==e.outputPath){let a=e.outputPath;if("string"!=typeof a)return t.errors=[{params:{type:"string"}}],!1;if(a.includes("!")||!0!==r.test(a))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}module.exports=t,module.exports.default=t; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/DllPlugin").DllPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(e,{instancePath:t="",parentData:o,parentDataProperty:n,rootData:a=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===e.path&&(t="path"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if("context"!==t&&"entryOnly"!==t&&"format"!==t&&"name"!==t&&"path"!==t&&"type"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.context){let t=e.context;const o=0;if(0===o){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}var s=0===o}else s=!0;if(s){if(void 0!==e.entryOnly){const t=0;if("boolean"!=typeof e.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;s=0===t}else s=!0;if(s){if(void 0!==e.format){const t=0;if("boolean"!=typeof e.format)return r.errors=[{params:{type:"boolean"}}],!1;s=0===t}else s=!0;if(s){if(void 0!==e.name){let t=e.name;const o=0;if(0===o){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}s=0===o}else s=!0;if(s){if(void 0!==e.path){let t=e.path;const o=0;if(0===o){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}s=0===o}else s=!0;if(s)if(void 0!==e.type){let t=e.type;const o=0;if(0===o){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}s=0===o}else s=!0}}}}}}}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/DllReferencePlugin").DllReferencePluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const s=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(s,{instancePath:e="",parentData:n,parentDataProperty:l,rootData:o=s}={}){let r=null,i=0;if(0===i){if(!s||"object"!=typeof s||Array.isArray(s))return t.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===s.content&&(e="content"))return t.errors=[{params:{missingProperty:e}}],!1;{const e=i;for(const e in s)if("content"!==e&&"name"!==e&&"type"!==e)return t.errors=[{params:{additionalProperty:e}}],!1;if(e===i){if(void 0!==s.content){let e=s.content;const n=i,l=i;let o=!1,f=null;const m=i;if(i==i)if(e&&"object"==typeof e&&!Array.isArray(e))if(Object.keys(e).length<1){const s={params:{limit:1}};null===r?r=[s]:r.push(s),i++}else for(const s in e){let t=e[s];const n=i;if(i===n)if(t&&"object"==typeof t&&!Array.isArray(t)){let s;if(void 0===t.id&&(s="id")){const t={params:{missingProperty:s}};null===r?r=[t]:r.push(t),i++}else{const s=i;for(const s in t)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const t={params:{additionalProperty:s}};null===r?r=[t]:r.push(t),i++;break}if(s===i){if(void 0!==t.buildMeta){let s=t.buildMeta;const e=i;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===r?r=[s]:r.push(s),i++}var a=e===i}else a=!0;if(a){if(void 0!==t.exports){let s=t.exports;const e=i,n=i;let l=!1;const o=i;if(i===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=i;if(i===n)if("string"==typeof t){if(t.length<1){const s={params:{}};null===r?r=[s]:r.push(s),i++}}else{const s={params:{type:"string"}};null===r?r=[s]:r.push(s),i++}if(n!==i)break}}else{const s={params:{type:"array"}};null===r?r=[s]:r.push(s),i++}var p=o===i;if(l=l||p,!l){const t=i;if(!0!==s){const s={params:{}};null===r?r=[s]:r.push(s),i++}p=t===i,l=l||p}if(l)i=n,null!==r&&(n?r.length=n:r=null);else{const s={params:{}};null===r?r=[s]:r.push(s),i++}a=e===i}else a=!0;if(a)if(void 0!==t.id){let s=t.id;const e=i,n=i;let l=!1;const o=i;if("number"!=typeof s){const s={params:{type:"number"}};null===r?r=[s]:r.push(s),i++}var u=o===i;if(l=l||u,!l){const t=i;if(i===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===r?r=[s]:r.push(s),i++}}else{const s={params:{type:"string"}};null===r?r=[s]:r.push(s),i++}u=t===i,l=l||u}if(l)i=n,null!==r&&(n?r.length=n:r=null);else{const s={params:{}};null===r?r=[s]:r.push(s),i++}a=e===i}else a=!0}}}}else{const s={params:{type:"object"}};null===r?r=[s]:r.push(s),i++}if(n!==i)break}else{const s={params:{type:"object"}};null===r?r=[s]:r.push(s),i++}if(m===i&&(o=!0,f=0),!o){const s={params:{passingSchemas:f}};return null===r?r=[s]:r.push(s),i++,t.errors=r,!1}i=l,null!==r&&(l?r.length=l:r=null);var c=n===i}else c=!0;if(c){if(void 0!==s.name){let e=s.name;const n=i;if(i===n){if("string"!=typeof e)return t.errors=[{params:{type:"string"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1}c=n===i}else c=!0;if(c)if(void 0!==s.type){let e=s.type;const n=i,l=i;let o=!1,a=null;const p=i;if("var"!==e&&"assign"!==e&&"this"!==e&&"window"!==e&&"global"!==e&&"commonjs"!==e&&"commonjs2"!==e&&"commonjs-module"!==e&&"amd"!==e&&"amd-require"!==e&&"umd"!==e&&"umd2"!==e&&"jsonp"!==e&&"system"!==e){const s={params:{}};null===r?r=[s]:r.push(s),i++}if(p===i&&(o=!0,a=0),!o){const s={params:{passingSchemas:a}};return null===r?r=[s]:r.push(s),i++,t.errors=r,!1}i=l,null!==r&&(l?r.length=l:r=null),c=n===i}else c=!0}}}}}return t.errors=r,0===i}function e(n,{instancePath:l="",parentData:o,parentDataProperty:r,rootData:i=n}={}){let a=null,p=0;const u=p;let c=!1;const f=p;if(p===f)if(n&&"object"==typeof n&&!Array.isArray(n)){let e;if(void 0===n.manifest&&(e="manifest")){const s={params:{missingProperty:e}};null===a?a=[s]:a.push(s),p++}else{const e=p;for(const s in n)if("context"!==s&&"extensions"!==s&&"manifest"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(e===p){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}var m=e===p}else m=!0;if(m){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if("string"!=typeof s[e]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.manifest){let e=n.manifest;const o=p,r=p;let u=!1;const c=p;if(p===c)if("string"==typeof e){if(e.includes("!")||!0!==s.test(e)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}var y=c===p;if(u=u||y,!u){const s=p;t(e,{instancePath:l+"/manifest",parentData:n,parentDataProperty:"manifest",rootData:i})||(a=null===a?t.errors:a.concat(t.errors),p=a.length),y=s===p,u=u||y}if(u)p=r,null!==a&&(r?a.length=r:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}m=o===p}else m=!0;if(m){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const r=p;if("var"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m)if(void 0!==n.type){let s=n.type;const t=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var h=f===p;if(c=c||h,!c){const t=p;if(p===t)if(n&&"object"==typeof n&&!Array.isArray(n)){let t;if(void 0===n.content&&(t="content")||void 0===n.name&&(t="name")){const s={params:{missingProperty:t}};null===a?a=[s]:a.push(s),p++}else{const t=p;for(const s in n)if("content"!==s&&"context"!==s&&"extensions"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(t===p){if(void 0!==n.content){let s=n.content;const t=p,e=p;let l=!1,o=null;const r=p;if(p==p)if(s&&"object"==typeof s&&!Array.isArray(s))if(Object.keys(s).length<1){const s={params:{limit:1}};null===a?a=[s]:a.push(s),p++}else for(const t in s){let e=s[t];const n=p;if(p===n)if(e&&"object"==typeof e&&!Array.isArray(e)){let s;if(void 0===e.id&&(s="id")){const t={params:{missingProperty:s}};null===a?a=[t]:a.push(t),p++}else{const s=p;for(const s in e)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(s===p){if(void 0!==e.buildMeta){let s=e.buildMeta;const t=p;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var d=t===p}else d=!0;if(d){if(void 0!==e.exports){let s=e.exports;const t=p,n=p;let l=!1;const o=p;if(p===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=p;if(p===n)if("string"==typeof t){if(t.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}var g=o===p;if(l=l||g,!l){const t=p;if(!0!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}g=t===p,l=l||g}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0;if(d)if(void 0!==e.id){let s=e.id;const t=p,n=p;let l=!1;const o=p;if("number"!=typeof s){const s={params:{type:"number"}};null===a?a=[s]:a.push(s),p++}var b=o===p;if(l=l||b,!l){const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}b=t===p,l=l||b}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}var v=t===p}else v=!0;if(v){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0;if(v){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if("string"!=typeof s[e]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const r=p;if("var"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v)if(void 0!==n.type){let s=n.type;const t=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}h=t===p,c=c||h}if(!c){const s={params:{}};return null===a?a=[s]:a.push(s),p++,e.errors=a,!1}return p=u,null!==a&&(u?a.length=u:a=null),e.errors=a,0===p}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/HashedModuleIdsPlugin").HashedModuleIdsPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(r,{instancePath:s="",parentData:n,parentDataProperty:a,rootData:i=r}={}){let o=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{const s=l;for(const t in r)if("context"!==t&&"hashDigest"!==t&&"hashDigestLength"!==t&&"hashFunction"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(s===l){if(void 0!==r.context){let s=r.context;const n=l;if(l===n){if("string"!=typeof s)return e.errors=[{params:{type:"string"}}],!1;if(s.includes("!")||!0!==t.test(s))return e.errors=[{params:{}}],!1}var u=n===l}else u=!0;if(u){if(void 0!==r.hashDigest){let t=r.hashDigest;const s=l;if("hex"!==t&&"latin1"!==t&&"base64"!==t)return e.errors=[{params:{}}],!1;u=s===l}else u=!0;if(u){if(void 0!==r.hashDigestLength){let t=r.hashDigestLength;const s=l;if(l===s){if("number"!=typeof t)return e.errors=[{params:{type:"number"}}],!1;if(t<1||isNaN(t))return e.errors=[{params:{comparison:">=",limit:1}}],!1}u=s===l}else u=!0;if(u)if(void 0!==r.hashFunction){let t=r.hashFunction;const s=l,n=l;let a=!1,i=null;const p=l,h=l;let c=!1;const m=l;if(l===m)if("string"==typeof t){if(t.length<1){const t={params:{}};null===o?o=[t]:o.push(t),l++}}else{const t={params:{type:"string"}};null===o?o=[t]:o.push(t),l++}var f=m===l;if(c=c||f,!c){const e=l;if(!(t instanceof Function)){const t={params:{}};null===o?o=[t]:o.push(t),l++}f=e===l,c=c||f}if(c)l=h,null!==o&&(h?o.length=h:o=null);else{const t={params:{}};null===o?o=[t]:o.push(t),l++}if(p===l&&(a=!0,i=0),!a){const t={params:{passingSchemas:i}};return null===o?o=[t]:o.push(t),l++,e.errors=o,!1}l=n,null!==o&&(n?o.length=n:o=null),u=s===l}else u=!0}}}}}return e.errors=o,0===l}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/ids/OccurrenceChunkIdsPlugin").OccurrenceChunkIdsPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:i=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("prioritiseInitial"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.prioritiseInitial&&"boolean"!=typeof t.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/ids/OccurrenceModuleIdsPlugin").OccurrenceModuleIdsPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:i=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("prioritiseInitial"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.prioritiseInitial&&"boolean"!=typeof t.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/IgnorePlugin").IgnorePluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function e(s,{instancePath:o="",parentData:r,parentDataProperty:t,rootData:n=s}={}){let c=null,a=0;const p=a;let l=!1;const i=a;if(a===i)if(s&&"object"==typeof s&&!Array.isArray(s)){let e;if(void 0===s.resourceRegExp&&(e="resourceRegExp")){const s={params:{missingProperty:e}};null===c?c=[s]:c.push(s),a++}else{const e=a;for(const e in s)if("contextRegExp"!==e&&"resourceRegExp"!==e){const s={params:{additionalProperty:e}};null===c?c=[s]:c.push(s),a++;break}if(e===a){if(void 0!==s.contextRegExp){const e=a;if(!(s.contextRegExp instanceof RegExp)){const e={params:{}};null===c?c=[e]:c.push(e),a++}var u=e===a}else u=!0;if(u)if(void 0!==s.resourceRegExp){const e=a;if(!(s.resourceRegExp instanceof RegExp)){const e={params:{}};null===c?c=[e]:c.push(e),a++}u=e===a}else u=!0}}}else{const e={params:{type:"object"}};null===c?c=[e]:c.push(e),a++}var f=i===a;if(l=l||f,!l){const e=a;if(a===e)if(s&&"object"==typeof s&&!Array.isArray(s)){let e;if(void 0===s.checkResource&&(e="checkResource")){const s={params:{missingProperty:e}};null===c?c=[s]:c.push(s),a++}else{const e=a;for(const e in s)if("checkResource"!==e){const s={params:{additionalProperty:e}};null===c?c=[s]:c.push(s),a++;break}if(e===a&&void 0!==s.checkResource&&!(s.checkResource instanceof Function)){const e={params:{}};null===c?c=[e]:c.push(e),a++}}}else{const e={params:{type:"object"}};null===c?c=[e]:c.push(e),a++}f=e===a,l=l||f}if(!l){const s={params:{}};return null===c?c=[s]:c.push(s),a++,e.errors=c,!1}return a=p,null!==c&&(p?c.length=p:c=null),e.errors=c,0===a}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/LoaderOptionsPlugin").LoaderOptionsPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(t,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==t.debug){const r=0;if("boolean"!=typeof t.debug)return e.errors=[{params:{type:"boolean"}}],!1;var s=0===r}else s=!0;if(s){if(void 0!==t.minimize){const r=0;if("boolean"!=typeof t.minimize)return e.errors=[{params:{type:"boolean"}}],!1;s=0===r}else s=!0;if(s)if(void 0!==t.options){let o=t.options;const a=0;if(0===a){if(!o||"object"!=typeof o||Array.isArray(o))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==o.context){let t=o.context;if("string"!=typeof t)return e.errors=[{params:{type:"string"}}],!1;if(t.includes("!")||!0!==r.test(t))return e.errors=[{params:{}}],!1}}s=0===a}else s=!0}return e.errors=null,!0}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/optimize/AggressiveSplittingPlugin").AggressiveSplittingPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(e,{instancePath:t="",parentData:n,parentDataProperty:i,rootData:o=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{const t=0;for(const t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"maxSize"!==t&&"minSize"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var a=0===t}else a=!0;if(a){if(void 0!==e.entryChunkMultiplicator){const t=0;if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0;if(a){if(void 0!==e.maxSize){const t=0;if("number"!=typeof e.maxSize)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0;if(a)if(void 0!==e.minSize){const t=0;if("number"!=typeof e.minSize)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0}}}}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/optimize/LimitChunkCountPlugin").LimitChunkCountPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(e,{instancePath:t="",parentData:n,parentDataProperty:a,rootData:o=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===e.maxChunks&&(t="maxChunks"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"maxChunks"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var s=0===t}else s=!0;if(s){if(void 0!==e.entryChunkMultiplicator){const t=0;if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;s=0===t}else s=!0;if(s)if(void 0!==e.maxChunks){let t=e.maxChunks;const n=0;if(0===n){if("number"!=typeof t)return r.errors=[{params:{type:"number"}}],!1;if(t<1||isNaN(t))return r.errors=[{params:{comparison:">=",limit:1}}],!1}s=0===n}else s=!0}}}}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/optimize/MergeDuplicateChunksPlugin").MergeDuplicateChunksPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:a,parentDataProperty:o,rootData:s=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("stage"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.stage&&"number"!=typeof t.stage)return r.errors=[{params:{type:"number"}}],!1}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/optimize/MinChunkSizePlugin").MinChunkSizePluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(e,{instancePath:t="",parentData:n,parentDataProperty:i,rootData:o=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===e.minChunkSize&&(t="minChunkSize"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"minChunkSize"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var a=0===t}else a=!0;if(a){if(void 0!==e.entryChunkMultiplicator){const t=0;if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0;if(a)if(void 0!==e.minChunkSize){const t=0;if("number"!=typeof e.minChunkSize)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0}}}}return r.errors=null,!0}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/ProgressPlugin").ProgressPluginArgument) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";module.exports=t,module.exports.default=t;const e={type:"object",additionalProperties:!1,properties:{activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}}},r=Object.prototype.hasOwnProperty;function n(t,{instancePath:o="",parentData:s,parentDataProperty:a,rootData:l=t}={}){let i=null,p=0;if(0===p){if(!t||"object"!=typeof t||Array.isArray(t))return n.errors=[{params:{type:"object"}}],!1;{const o=p;for(const o in t)if(!r.call(e.properties,o))return n.errors=[{params:{additionalProperty:o}}],!1;if(o===p){if(void 0!==t.activeModules){const e=p;if("boolean"!=typeof t.activeModules)return n.errors=[{params:{type:"boolean"}}],!1;var u=e===p}else u=!0;if(u){if(void 0!==t.dependencies){const e=p;if("boolean"!=typeof t.dependencies)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.dependenciesCount){const e=p;if("number"!=typeof t.dependenciesCount)return n.errors=[{params:{type:"number"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.entries){const e=p;if("boolean"!=typeof t.entries)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.handler){const e=p,r=p;let o=!1,s=null;const a=p;if(!(t.handler instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),p++}if(a===p&&(o=!0,s=0),!o){const e={params:{passingSchemas:s}};return null===i?i=[e]:i.push(e),p++,n.errors=i,!1}p=r,null!==i&&(r?i.length=r:i=null),u=e===p}else u=!0;if(u){if(void 0!==t.modules){const e=p;if("boolean"!=typeof t.modules)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.modulesCount){const e=p;if("number"!=typeof t.modulesCount)return n.errors=[{params:{type:"number"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.percentBy){let e=t.percentBy;const r=p;if("entries"!==e&&"modules"!==e&&"dependencies"!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0;if(u)if(void 0!==t.profile){let e=t.profile;const r=p;if(!0!==e&&!1!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0}}}}}}}}}}return n.errors=i,0===p}function t(e,{instancePath:r="",parentData:o,parentDataProperty:s,rootData:a=e}={}){let l=null,i=0;const p=i;let u=!1;const c=i;n(e,{instancePath:r,parentData:o,parentDataProperty:s,rootData:a})||(l=null===l?n.errors:l.concat(n.errors),i=l.length);var f=c===i;if(u=u||f,!u){const r=i;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),i++}f=r===i,u=u||f}if(!u){const e={params:{}};return null===l?l=[e]:l.push(e),i++,t.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),t.errors=l,0===i} |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/schemes/HttpUriPlugin").HttpUriPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=n,module.exports.default=n;const t=new RegExp("^https?://","u");function e(n,{instancePath:o="",parentData:s,parentDataProperty:a,rootData:l=n}={}){let i=null,p=0;if(0===p){if(!n||"object"!=typeof n||Array.isArray(n))return e.errors=[{params:{type:"object"}}],!1;{let o;if(void 0===n.allowedUris&&(o="allowedUris"))return e.errors=[{params:{missingProperty:o}}],!1;{const o=p;for(const r in n)if("allowedUris"!==r&&"cacheLocation"!==r&&"frozen"!==r&&"lockfileLocation"!==r&&"proxy"!==r&&"upgrade"!==r)return e.errors=[{params:{additionalProperty:r}}],!1;if(o===p){if(void 0!==n.allowedUris){let r=n.allowedUris;const o=p;if(p==p){if(!Array.isArray(r))return e.errors=[{params:{type:"array"}}],!1;{const n=r.length;for(let o=0;o<n;o++){let n=r[o];const s=p,a=p;let l=!1;const c=p;if(!(n instanceof RegExp)){const r={params:{}};null===i?i=[r]:i.push(r),p++}var f=c===p;if(l=l||f,!l){const r=p;if(p===r)if("string"==typeof n){if(!t.test(n)){const r={params:{pattern:"^https?://"}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),p++}if(f=r===p,l=l||f,!l){const r=p;if(!(n instanceof Function)){const r={params:{}};null===i?i=[r]:i.push(r),p++}f=r===p,l=l||f}}if(!l){const r={params:{}};return null===i?i=[r]:i.push(r),p++,e.errors=i,!1}if(p=a,null!==i&&(a?i.length=a:i=null),s!==p)break}}}var c=o===p}else c=!0;if(c){if(void 0!==n.cacheLocation){let t=n.cacheLocation;const o=p,s=p;let a=!1;const l=p;if(!1!==t){const r={params:{}};null===i?i=[r]:i.push(r),p++}var u=l===p;if(a=a||u,!a){const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==r.test(t)){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),p++}u=e===p,a=a||u}if(!a){const r={params:{}};return null===i?i=[r]:i.push(r),p++,e.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),c=o===p}else c=!0;if(c){if(void 0!==n.frozen){const r=p;if("boolean"!=typeof n.frozen)return e.errors=[{params:{type:"boolean"}}],!1;c=r===p}else c=!0;if(c){if(void 0!==n.lockfileLocation){let t=n.lockfileLocation;const o=p;if(p===o){if("string"!=typeof t)return e.errors=[{params:{type:"string"}}],!1;if(t.includes("!")||!0!==r.test(t))return e.errors=[{params:{}}],!1}c=o===p}else c=!0;if(c){if(void 0!==n.proxy){const r=p;if("string"!=typeof n.proxy)return e.errors=[{params:{type:"string"}}],!1;c=r===p}else c=!0;if(c)if(void 0!==n.upgrade){const r=p;if("boolean"!=typeof n.upgrade)return e.errors=[{params:{type:"boolean"}}],!1;c=r===p}else c=!0}}}}}}}}return e.errors=i,0===p}function n(r,{instancePath:t="",parentData:o,parentDataProperty:s,rootData:a=r}={}){let l=null,i=0;const p=i;let f=!1,c=null;const u=i;if(e(r,{instancePath:t,parentData:o,parentDataProperty:s,rootData:a})||(l=null===l?e.errors:l.concat(e.errors),i=l.length),u===i&&(f=!0,c=0),!f){const r={params:{passingSchemas:c}};return null===l?l=[r]:l.push(r),i++,n.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),n.errors=l,0===i} |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/sharing/ConsumeSharedPlugin").ConsumeSharedPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(e,{instancePath:t="",parentData:n,parentDataProperty:s,rootData:a=e}={}){let o=null,i=0;if(0===i){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{const t=i;for(const t in e)if("eager"!==t&&"import"!==t&&"packageName"!==t&&"requiredVersion"!==t&&"shareKey"!==t&&"shareScope"!==t&&"singleton"!==t&&"strictVersion"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(t===i){if(void 0!==e.eager){const t=i;if("boolean"!=typeof e.eager)return r.errors=[{params:{type:"boolean"}}],!1;var l=t===i}else l=!0;if(l){if(void 0!==e.import){let t=e.import;const n=i,s=i;let a=!1;const f=i;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),i++}var p=f===i;if(a=a||p,!a){const r=i;if(i==i)if("string"==typeof t){if(t.length<1){const r={params:{}};null===o?o=[r]:o.push(r),i++}}else{const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}p=r===i,a=a||p}if(!a){const e={params:{}};return null===o?o=[e]:o.push(e),i++,r.errors=o,!1}i=s,null!==o&&(s?o.length=s:o=null),l=n===i}else l=!0;if(l){if(void 0!==e.packageName){let t=e.packageName;const n=i;if(i===n){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}l=n===i}else l=!0;if(l){if(void 0!==e.requiredVersion){let t=e.requiredVersion;const n=i,s=i;let a=!1;const p=i;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),i++}var f=p===i;if(a=a||f,!a){const r=i;if("string"!=typeof t){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}f=r===i,a=a||f}if(!a){const e={params:{}};return null===o?o=[e]:o.push(e),i++,r.errors=o,!1}i=s,null!==o&&(s?o.length=s:o=null),l=n===i}else l=!0;if(l){if(void 0!==e.shareKey){let t=e.shareKey;const n=i;if(i===n){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}l=n===i}else l=!0;if(l){if(void 0!==e.shareScope){let t=e.shareScope;const n=i;if(i===n){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}l=n===i}else l=!0;if(l){if(void 0!==e.singleton){const t=i;if("boolean"!=typeof e.singleton)return r.errors=[{params:{type:"boolean"}}],!1;l=t===i}else l=!0;if(l)if(void 0!==e.strictVersion){const t=i;if("boolean"!=typeof e.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;l=t===i}else l=!0}}}}}}}}}return r.errors=o,0===i}function e(t,{instancePath:n="",parentData:s,parentDataProperty:a,rootData:o=t}={}){let i=null,l=0;if(0===l){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;for(const s in t){let a=t[s];const f=l,c=l;let u=!1;const y=l;r(a,{instancePath:n+"/"+s.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:s,rootData:o})||(i=null===i?r.errors:i.concat(r.errors),l=i.length);var p=y===l;if(u=u||p,!u){const r=l;if(l==l)if("string"==typeof a){if(a.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),l++}p=r===l,u=u||p}if(!u){const r={params:{}};return null===i?i=[r]:i.push(r),l++,e.errors=i,!1}if(l=c,null!==i&&(c?i.length=c:i=null),f!==l)break}}return e.errors=i,0===l}function t(r,{instancePath:n="",parentData:s,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;const p=l;let f=!1;const c=l;if(l===c)if(Array.isArray(r)){const t=r.length;for(let s=0;s<t;s++){let t=r[s];const a=l,p=l;let f=!1;const c=l;if(l==l)if("string"==typeof t){if(t.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),l++}var u=c===l;if(f=f||u,!f){const a=l;e(t,{instancePath:n+"/"+s,parentData:r,parentDataProperty:s,rootData:o})||(i=null===i?e.errors:i.concat(e.errors),l=i.length),u=a===l,f=f||u}if(f)l=p,null!==i&&(p?i.length=p:i=null);else{const r={params:{}};null===i?i=[r]:i.push(r),l++}if(a!==l)break}}else{const r={params:{type:"array"}};null===i?i=[r]:i.push(r),l++}var y=c===l;if(f=f||y,!f){const t=l;e(r,{instancePath:n,parentData:s,parentDataProperty:a,rootData:o})||(i=null===i?e.errors:i.concat(e.errors),l=i.length),y=t===l,f=f||y}if(!f){const r={params:{}};return null===i?i=[r]:i.push(r),l++,t.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),t.errors=i,0===l}function n(r,{instancePath:e="",parentData:s,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{let s;if(void 0===r.consumes&&(s="consumes"))return n.errors=[{params:{missingProperty:s}}],!1;{const s=l;for(const e in r)if("consumes"!==e&&"shareScope"!==e)return n.errors=[{params:{additionalProperty:e}}],!1;if(s===l){if(void 0!==r.consumes){const n=l;t(r.consumes,{instancePath:e+"/consumes",parentData:r,parentDataProperty:"consumes",rootData:o})||(i=null===i?t.errors:i.concat(t.errors),l=i.length);var p=n===l}else p=!0;if(p)if(void 0!==r.shareScope){let e=r.shareScope;const t=l;if(l===t){if("string"!=typeof e)return n.errors=[{params:{type:"string"}}],!1;if(e.length<1)return n.errors=[{params:{}}],!1}p=t===l}else p=!0}}}}return n.errors=i,0===l}module.exports=n,module.exports.default=n; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/sharing/ProvideSharedPlugin").ProvideSharedPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:s,parentDataProperty:n,rootData:a=t}={}){let o=null,l=0;if(0===l){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;for(const e in t){let s=t[e];const n=l,a=l;let f=!1;const u=l;if(l==l)if(s&&"object"==typeof s&&!Array.isArray(s)){const r=l;for(const r in s)if("eager"!==r&&"shareKey"!==r&&"shareScope"!==r&&"version"!==r){const t={params:{additionalProperty:r}};null===o?o=[t]:o.push(t),l++;break}if(r===l){if(void 0!==s.eager){const r=l;if("boolean"!=typeof s.eager){const r={params:{type:"boolean"}};null===o?o=[r]:o.push(r),l++}var i=r===l}else i=!0;if(i){if(void 0!==s.shareKey){let r=s.shareKey;const t=l;if(l===t)if("string"==typeof r){if(r.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:"string"}};null===o?o=[r]:o.push(r),l++}i=t===l}else i=!0;if(i){if(void 0!==s.shareScope){let r=s.shareScope;const t=l;if(l===t)if("string"==typeof r){if(r.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:"string"}};null===o?o=[r]:o.push(r),l++}i=t===l}else i=!0;if(i)if(void 0!==s.version){let r=s.version;const t=l,e=l;let n=!1;const a=l;if(!1!==r){const r={params:{}};null===o?o=[r]:o.push(r),l++}var p=a===l;if(n=n||p,!n){const t=l;if("string"!=typeof r){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),l++}p=t===l,n=n||p}if(n)l=e,null!==o&&(e?o.length=e:o=null);else{const r={params:{}};null===o?o=[r]:o.push(r),l++}i=t===l}else i=!0}}}}else{const r={params:{type:"object"}};null===o?o=[r]:o.push(r),l++}var c=u===l;if(f=f||c,!f){const r=l;if(l==l)if("string"==typeof s){if(s.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:"string"}};null===o?o=[r]:o.push(r),l++}c=r===l,f=f||c}if(!f){const t={params:{}};return null===o?o=[t]:o.push(t),l++,r.errors=o,!1}if(l=a,null!==o&&(a?o.length=a:o=null),n!==l)break}}return r.errors=o,0===l}function t(e,{instancePath:s="",parentData:n,parentDataProperty:a,rootData:o=e}={}){let l=null,i=0;const p=i;let c=!1;const f=i;if(i===f)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const a=i,p=i;let c=!1;const f=i;if(i==i)if("string"==typeof t){if(t.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),i++}var u=f===i;if(c=c||u,!c){const a=i;r(t,{instancePath:s+"/"+n,parentData:e,parentDataProperty:n,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),u=a===i,c=c||u}if(c)i=p,null!==l&&(p?l.length=p:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),i++}if(a!==i)break}}else{const r={params:{type:"array"}};null===l?l=[r]:l.push(r),i++}var h=f===i;if(c=c||h,!c){const t=i;r(e,{instancePath:s,parentData:n,parentDataProperty:a,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),h=t===i,c=c||h}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),i++,t.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),t.errors=l,0===i}function e(r,{instancePath:s="",parentData:n,parentDataProperty:a,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{let n;if(void 0===r.provides&&(n="provides"))return e.errors=[{params:{missingProperty:n}}],!1;{const n=i;for(const t in r)if("provides"!==t&&"shareScope"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(n===i){if(void 0!==r.provides){const e=i;t(r.provides,{instancePath:s+"/provides",parentData:r,parentDataProperty:"provides",rootData:o})||(l=null===l?t.errors:l.concat(t.errors),i=l.length);var p=e===i}else p=!0;if(p)if(void 0!==r.shareScope){let t=r.shareScope;const s=i;if(i===s){if("string"!=typeof t)return e.errors=[{params:{type:"string"}}],!1;if(t.length<1)return e.errors=[{params:{}}],!1}p=s===i}else p=!0}}}}return e.errors=l,0===i}module.exports=e,module.exports.default=e; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../../declarations/plugins/sharing/SharePlugin").SharePluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";module.exports=a,module.exports.default=a;const r={type:"object",additionalProperties:!1,properties:{eager:{type:"boolean"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/SharedItem"}]},packageName:{type:"string",minLength:1},requiredVersion:{anyOf:[{enum:[!1]},{type:"string"}]},shareKey:{type:"string",minLength:1},shareScope:{type:"string",minLength:1},singleton:{type:"boolean"},strictVersion:{type:"boolean"},version:{anyOf:[{enum:[!1]},{type:"string"}]}}},e=Object.prototype.hasOwnProperty;function t(n,{instancePath:s="",parentData:a,parentDataProperty:o,rootData:i=n}={}){let l=null,p=0;if(0===p){if(!n||"object"!=typeof n||Array.isArray(n))return t.errors=[{params:{type:"object"}}],!1;{const s=p;for(const s in n)if(!e.call(r.properties,s))return t.errors=[{params:{additionalProperty:s}}],!1;if(s===p){if(void 0!==n.eager){const r=p;if("boolean"!=typeof n.eager)return t.errors=[{params:{type:"boolean"}}],!1;var f=r===p}else f=!0;if(f){if(void 0!==n.import){let r=n.import;const e=p,s=p;let a=!1;const o=p;if(!1!==r){const r={params:{}};null===l?l=[r]:l.push(r),p++}var u=o===p;if(a=a||u,!a){const e=p;if(p==p)if("string"==typeof r){if(r.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}u=e===p,a=a||u}if(!a){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=s,null!==l&&(s?l.length=s:l=null),f=e===p}else f=!0;if(f){if(void 0!==n.packageName){let r=n.packageName;const e=p;if(p===e){if("string"!=typeof r)return t.errors=[{params:{type:"string"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}f=e===p}else f=!0;if(f){if(void 0!==n.requiredVersion){let r=n.requiredVersion;const e=p,s=p;let a=!1;const o=p;if(!1!==r){const r={params:{}};null===l?l=[r]:l.push(r),p++}var c=o===p;if(a=a||c,!a){const e=p;if("string"!=typeof r){const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}c=e===p,a=a||c}if(!a){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=s,null!==l&&(s?l.length=s:l=null),f=e===p}else f=!0;if(f){if(void 0!==n.shareKey){let r=n.shareKey;const e=p;if(p===e){if("string"!=typeof r)return t.errors=[{params:{type:"string"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}f=e===p}else f=!0;if(f){if(void 0!==n.shareScope){let r=n.shareScope;const e=p;if(p===e){if("string"!=typeof r)return t.errors=[{params:{type:"string"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}f=e===p}else f=!0;if(f){if(void 0!==n.singleton){const r=p;if("boolean"!=typeof n.singleton)return t.errors=[{params:{type:"boolean"}}],!1;f=r===p}else f=!0;if(f){if(void 0!==n.strictVersion){const r=p;if("boolean"!=typeof n.strictVersion)return t.errors=[{params:{type:"boolean"}}],!1;f=r===p}else f=!0;if(f)if(void 0!==n.version){let r=n.version;const e=p,s=p;let a=!1;const o=p;if(!1!==r){const r={params:{}};null===l?l=[r]:l.push(r),p++}var y=o===p;if(a=a||y,!a){const e=p;if("string"!=typeof r){const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}y=e===p,a=a||y}if(!a){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=s,null!==l&&(s?l.length=s:l=null),f=e===p}else f=!0}}}}}}}}}}return t.errors=l,0===p}function n(r,{instancePath:e="",parentData:s,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;for(const s in r){let a=r[s];const f=l,u=l;let c=!1;const y=l;t(a,{instancePath:e+"/"+s.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:s,rootData:o})||(i=null===i?t.errors:i.concat(t.errors),l=i.length);var p=y===l;if(c=c||p,!c){const r=l;if(l==l)if("string"==typeof a){if(a.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),l++}p=r===l,c=c||p}if(!c){const r={params:{}};return null===i?i=[r]:i.push(r),l++,n.errors=i,!1}if(l=u,null!==i&&(u?i.length=u:i=null),f!==l)break}}return n.errors=i,0===l}function s(r,{instancePath:e="",parentData:t,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;const p=l;let f=!1;const u=l;if(l===u)if(Array.isArray(r)){const t=r.length;for(let s=0;s<t;s++){let t=r[s];const a=l,p=l;let f=!1;const u=l;if(l==l)if("string"==typeof t){if(t.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),l++}var c=u===l;if(f=f||c,!f){const a=l;n(t,{instancePath:e+"/"+s,parentData:r,parentDataProperty:s,rootData:o})||(i=null===i?n.errors:i.concat(n.errors),l=i.length),c=a===l,f=f||c}if(f)l=p,null!==i&&(p?i.length=p:i=null);else{const r={params:{}};null===i?i=[r]:i.push(r),l++}if(a!==l)break}}else{const r={params:{type:"array"}};null===i?i=[r]:i.push(r),l++}var y=u===l;if(f=f||y,!f){const s=l;n(r,{instancePath:e,parentData:t,parentDataProperty:a,rootData:o})||(i=null===i?n.errors:i.concat(n.errors),l=i.length),y=s===l,f=f||y}if(!f){const r={params:{}};return null===i?i=[r]:i.push(r),l++,s.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),s.errors=i,0===l}function a(r,{instancePath:e="",parentData:t,parentDataProperty:n,rootData:o=r}={}){let i=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return a.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===r.shared&&(t="shared"))return a.errors=[{params:{missingProperty:t}}],!1;{const t=l;for(const e in r)if("shareScope"!==e&&"shared"!==e)return a.errors=[{params:{additionalProperty:e}}],!1;if(t===l){if(void 0!==r.shareScope){let e=r.shareScope;const t=l;if(l===t){if("string"!=typeof e)return a.errors=[{params:{type:"string"}}],!1;if(e.length<1)return a.errors=[{params:{}}],!1}var p=t===l}else p=!0;if(p)if(void 0!==r.shared){const t=l;s(r.shared,{instancePath:e+"/shared",parentData:r,parentDataProperty:"shared",rootData:o})||(i=null===i?s.errors:i.concat(s.errors),l=i.length),p=t===l}else p=!0}}}}return a.errors=i,0===l} |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/SourceMapDevToolPlugin").SourceMapDevToolPluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
const e=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=l,module.exports.default=l;const n={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},debugIds:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}}},t=Object.prototype.hasOwnProperty;function s(e,{instancePath:n="",parentData:t,parentDataProperty:l,rootData:r=e}={}){let o=null,a=0;const i=a;let u=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let t=0;t<n;t++){let n=e[t];const s=a,l=a;let r=!1,i=null;const u=a,p=a;let c=!1;const m=a;if(!(n instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=m===a;if(c=c||f,!c){const e=a;if(a===e)if("string"==typeof n){if(n.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}f=e===a,c=c||f}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u===a&&(r=!0,i=0),r)a=l,null!==o&&(l?o.length=l:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}if(s!==a)break}}else{const e={params:{type:"array"}};null===o?o=[e]:o.push(e),a++}var c=p===a;if(u=u||c,!u){const n=a,t=a;let s=!1;const l=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=l===a;if(s=s||m,!s){const n=a;if(a===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}m=n===a,s=s||m}if(s)a=t,null!==o&&(t?o.length=t:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}c=n===a,u=u||c}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,s.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),s.errors=o,0===a}function l(r,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:u=r}={}){let p=null,f=0;if(0===f){if(!r||"object"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:"object"}}],!1;{const a=f;for(const e in r)if(!t.call(n.properties,e))return l.errors=[{params:{additionalProperty:e}}],!1;if(a===f){if(void 0!==r.append){let e=r.append;const n=f,t=f;let s=!1;const o=f;if(!1!==e&&null!==e){const e={params:{}};null===p?p=[e]:p.push(e),f++}var c=o===f;if(s=s||c,!s){const n=f;if(f===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}if(c=n===f,s=s||c,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}c=n===f,s=s||c}}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null);var m=n===f}else m=!0;if(m){if(void 0!==r.columns){const e=f;if("boolean"!=typeof r.columns)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.debugIds){const e=f;if("boolean"!=typeof r.debugIds)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.exclude){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.exclude,{instancePath:o+"/exclude",parentData:r,parentDataProperty:"exclude",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.fallbackModuleFilenameTemplate){let e=r.fallbackModuleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var h=o===f;if(s=s||h,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}h=n===f,s=s||h}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.fileContext){const e=f;if("string"!=typeof r.fileContext)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.filename){let n=r.filename;const t=f,s=f;let o=!1;const a=f;if(!1!==n&&null!==n){const e={params:{}};null===p?p=[e]:p.push(e),f++}var y=a===f;if(o=o||y,!o){const t=f;if(f===t)if("string"==typeof n){if(n.includes("!")||!1!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),f++}else if(n.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}y=t===f,o=o||y}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=s,null!==p&&(s?p.length=s:p=null),m=t===f}else m=!0;if(m){if(void 0!==r.include){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.include,{instancePath:o+"/include",parentData:r,parentDataProperty:"include",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.module){const e=f;if("boolean"!=typeof r.module)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.moduleFilenameTemplate){let e=r.moduleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var g=o===f;if(s=s||g,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}g=n===f,s=s||g}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.namespace){const e=f;if("string"!=typeof r.namespace)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.noSources){const e=f;if("boolean"!=typeof r.noSources)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.publicPath){const e=f;if("string"!=typeof r.publicPath)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.sourceRoot){const e=f;if("string"!=typeof r.sourceRoot)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m)if(void 0!==r.test){const e=f;s(r.test,{instancePath:o+"/test",parentData:r,parentDataProperty:"test",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),m=e===f}else m=!0}}}}}}}}}}}}}}}}return l.errors=p,0===f} |
@@ -83,3 +83,3 @@ { | ||
"instanceof": "Function", | ||
"tsType": "((context: any) => string)" | ||
"tsType": "import('../../lib/ModuleFilenameHelpers').ModuleFilenameTemplateFunction" | ||
} | ||
@@ -128,3 +128,3 @@ ] | ||
"instanceof": "Function", | ||
"tsType": "((context: any) => string)" | ||
"tsType": "import('../../lib/ModuleFilenameHelpers').ModuleFilenameTemplateFunction" | ||
} | ||
@@ -131,0 +131,0 @@ ] |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../../declarations/plugins/WatchIgnorePlugin").WatchIgnorePluginOptions) => boolean; | ||
export = check; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
"use strict";function r(t,{instancePath:e="",parentData:s,parentDataProperty:a,rootData:n=t}={}){let o=null,i=0;if(0===i){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===t.paths&&(e="paths"))return r.errors=[{params:{missingProperty:e}}],!1;{const e=i;for(const e in t)if("paths"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(e===i&&void 0!==t.paths){let e=t.paths;if(i==i){if(!Array.isArray(e))return r.errors=[{params:{type:"array"}}],!1;if(e.length<1)return r.errors=[{params:{limit:1}}],!1;{const t=e.length;for(let s=0;s<t;s++){let t=e[s];const a=i,n=i;let l=!1;const u=i;if(!(t instanceof RegExp)){const r={params:{}};null===o?o=[r]:o.push(r),i++}var p=u===i;if(l=l||p,!l){const r=i;if("string"!=typeof t){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),i++}p=r===i,l=l||p}if(!l){const t={params:{}};return null===o?o=[t]:o.push(t),i++,r.errors=o,!1}if(i=n,null!==o&&(n?o.length=n:o=null),a!==i)break}}}}}}}return r.errors=o,0===i}module.exports=r,module.exports.default=r; |
/* | ||
* This file was automatically generated. | ||
* DO NOT MODIFY BY HAND. | ||
* Run `yarn special-lint-fix` to update | ||
* Run `yarn fix:special` to update | ||
*/ | ||
declare const check: (options: import("../declarations/WebpackOptions").WebpackOptions) => boolean; | ||
export = check; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
5329675
0.46%151981
0.34%80
5.26%