webpack 5.112.0 → 5.112.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/webpack.js +13 -7
- package/lib/Compilation.js +152 -60
- package/lib/Compiler.js +12 -25
- package/lib/asset/AssetBytesGenerator.js +14 -6
- package/lib/asset/AssetBytesParser.js +10 -8
- package/lib/asset/AssetGenerator.js +36 -48
- package/lib/asset/AssetModule.js +11 -0
- package/lib/asset/AssetModulesPlugin.js +5 -4
- package/lib/asset/AssetParser.js +8 -8
- package/lib/asset/AssetSourceGenerator.js +16 -8
- package/lib/asset/AssetSourceParser.js +10 -8
- package/lib/asset/WebManifestGenerator.js +11 -6
- package/lib/asset/WebManifestParser.js +3 -3
- package/lib/async-modules/AsyncModuleHelpers.js +8 -2
- package/lib/async-modules/InferAsyncModulesPlugin.js +7 -2
- package/lib/cache/CacheFacade.js +1 -1
- package/lib/cache/PackFileCacheStrategy.js +6 -10
- package/lib/cache/ResolverCachePlugin.js +58 -8
- package/lib/config/WebpackOptionsApply.js +8 -28
- package/lib/config/cli.js +9 -6
- package/lib/config/defaults.js +24 -13
- package/lib/config/getClaimedAssetTypes.js +2 -2
- package/lib/config/target.js +1 -1
- package/lib/context/ContextModule.js +1 -1
- package/lib/context/ContextModuleFactory.js +1 -1
- package/lib/context/ContextReplacementPlugin.js +3 -9
- package/lib/css/CssGenerator.js +40 -37
- package/lib/css/CssModule.js +10 -0
- package/lib/css/CssModulesPlugin.js +2 -2
- package/lib/css/CssParser.js +33 -32
- package/lib/css/conventions.js +1 -1
- package/lib/css/data.js +224 -219
- package/lib/css/syntax-parser.js +1159 -298
- package/lib/css/syntax-printer.js +90 -35
- package/lib/debug/ProfilingPlugin.js +65 -43
- package/lib/define/DefinePlugin.js +10 -15
- package/lib/define/DotenvPlugin.js +10 -6
- package/lib/define/EnvironmentPlugin.js +4 -2
- package/lib/dependencies/amd/AMDDefineDependencyParserPlugin.js +1 -2
- package/lib/dependencies/amd/AMDRequireDependenciesBlockParserPlugin.js +4 -1
- package/lib/dependencies/commonjs/CommonJsExportRequireDependency.js +1 -4
- package/lib/dependencies/commonjs/CommonJsExportsParserPlugin.js +18 -33
- package/lib/dependencies/commonjs/CommonJsImportsParserPlugin.js +1 -3
- package/lib/dependencies/commonjs/CommonJsObjectExportDependency.js +4 -4
- package/lib/dependencies/commonjs/CommonJsPlugin.js +2 -5
- package/lib/dependencies/commonjs/RequireEnsureDependenciesBlockParserPlugin.js +4 -1
- package/lib/dependencies/context/ImportMetaContextDependencyParserPlugin.js +1 -2
- package/lib/dependencies/context/ImportMetaGlobDependencyParserPlugin.js +4 -7
- package/lib/dependencies/context/ImportMetaGlobHelpers.js +8 -10
- package/lib/dependencies/core/CachedConstDependency.js +9 -6
- package/lib/dependencies/css/CssIcssExportDependency.js +6 -7
- package/lib/dependencies/css/CssIcssImportDependency.js +1 -3
- package/lib/dependencies/css/CssUrlDependency.js +2 -6
- package/lib/dependencies/esm/ESMDetectionParserPlugin.js +2 -4
- package/lib/dependencies/esm/ESMExportExpressionDependency.js +2 -2
- package/lib/dependencies/esm/ESMExportImportedSpecifierDependency.js +16 -18
- package/lib/dependencies/esm/ESMExportSpecifierDependency.js +20 -3
- package/lib/dependencies/esm/ESMExports.js +2 -10
- package/lib/dependencies/esm/ESMImportDependency.js +17 -2
- package/lib/dependencies/esm/ESMImportDependencyParserPlugin.js +6 -17
- package/lib/dependencies/esm/ESMImportGuard.js +11 -23
- package/lib/dependencies/esm/ESMImportSideEffectDependency.js +1 -1
- package/lib/dependencies/esm/ESMImportSpecifierDependency.js +4 -1
- package/lib/dependencies/esm/ESMLiveExportDependency.js +311 -0
- package/lib/dependencies/esm/ESMLiveExportParserPlugin.js +862 -0
- package/lib/dependencies/esm/ESMModulesPlugin.js +1 -3
- package/lib/dependencies/esm/TopLevelAwaitDependency.js +1 -8
- package/lib/dependencies/helpers/DynamicExports.js +4 -6
- package/lib/dependencies/html/HtmlEntryDependency.js +5 -14
- package/lib/dependencies/html/HtmlInlineHtmlDependency.js +1 -4
- package/lib/dependencies/html/HtmlInlineScriptDependency.js +2 -6
- package/lib/dependencies/html/HtmlInlineStyleDependency.js +1 -4
- package/lib/dependencies/import/ImportParserPlugin.js +3 -6
- package/lib/dependencies/import-meta/ImportMetaPlugin.js +4 -6
- package/lib/dependencies/url/URLParserPlugin.js +1 -1
- package/lib/dependencies/worker/WorkerAndWorkletPlugin.js +51 -20
- package/lib/devtool/ModuleFilenameHelpers.js +1 -1
- package/lib/devtool/SourceMapDevToolPlugin.js +1 -1
- package/lib/dll/DelegatedModule.js +3 -3
- package/lib/dll/DllModule.js +3 -1
- package/lib/dll/DllReferencePlugin.js +1 -4
- package/lib/errors/AbstractMethodError.js +1 -1
- package/lib/errors/ErrorHelpers.js +2 -1
- package/lib/errors/HookWebpackError.js +2 -1
- package/lib/errors/JSONParseError.js +4 -4
- package/lib/errors/WebpackError.js +3 -2
- package/lib/esm/ModuleChunkFormatPlugin.js +36 -1
- package/lib/externals/ExternalModule.js +12 -9
- package/lib/externals/ExternalModuleFactoryPlugin.js +1 -2
- package/lib/externals/ExternalsPlugin.js +1 -1
- package/lib/fs/FileSystemInfo.js +4 -4
- package/lib/graph/AsyncDependenciesBlock.js +1 -1
- package/lib/graph/ChunkGraph.js +5 -0
- package/lib/graph/Dependency.js +8 -2
- package/lib/graph/ExportsInfo.js +1 -1
- package/lib/graph/ModuleGraph.js +14 -3
- package/lib/graph/buildChunkGraph.js +17 -19
- package/lib/graph/findGraphRoots.js +1 -1
- package/lib/hmr/HotModuleReplacement.runtime.js +10 -9
- package/lib/hmr/HotModuleReplacementPlugin.js +5 -11
- package/lib/hmr/JavascriptHotModuleReplacement.runtime.js +16 -19
- package/lib/hmr/LazyCompilationPlugin.js +1 -7
- package/lib/html/HtmlGenerator.js +25 -17
- package/lib/html/HtmlModule.js +11 -1
- package/lib/html/HtmlModulesPlugin.js +12 -11
- package/lib/html/HtmlParser.js +10 -9
- package/lib/html/builtinEmbeddedRenderer.js +31 -33
- package/lib/html/data.js +42 -21
- package/lib/html/htmlMinify.js +4 -1
- package/lib/html/syntax-parser.js +34 -35
- package/lib/html/syntax-printer.js +2 -3
- package/lib/html/xmlMinify.js +4 -1
- package/lib/ids/HashedModuleIdsPlugin.js +1 -1
- package/lib/index.js +13 -12
- package/lib/javascript/APIPlugin.js +7 -13
- package/lib/javascript/BasicEvaluatedExpression.js +5 -5
- package/lib/javascript/CommonJsChunkFormatPlugin.js +2 -7
- package/lib/javascript/ConstPlugin.js +1 -1
- package/lib/javascript/JavascriptGenerator.js +16 -11
- package/lib/javascript/JavascriptMetaInfoPlugin.js +3 -15
- package/lib/javascript/JavascriptModule.js +10 -0
- package/lib/javascript/JavascriptModulesPlugin.js +2 -4
- package/lib/javascript/JavascriptParser.js +99 -11
- package/lib/javascript/ScopeAnalyzer.js +183 -107
- package/lib/javascript/UseStrictPlugin.js +2 -5
- package/lib/javascript/jsMinify.js +1 -1
- package/lib/javascript/regexp.js +2 -2
- package/lib/javascript/syntax-parser.js +2114 -1506
- package/lib/javascript/syntax-printer-data.js +167 -1
- package/lib/javascript/syntax-printer.js +9554 -2782
- package/lib/json/JsonGenerator.js +15 -7
- package/lib/json/JsonModule.js +11 -0
- package/lib/json/JsonParser.js +7 -6
- package/lib/library/AssignLibraryPlugin.js +1 -1
- package/lib/library/JsonpLibraryPlugin.js +1 -1
- package/lib/library/ModuleLibraryPlugin.js +399 -23
- package/lib/loaders/LoaderRunner.js +76 -38
- package/lib/loaders/loadLoader.js +16 -10
- package/lib/module/Generator.js +17 -9
- package/lib/module/Module.js +2 -2
- package/lib/module/NormalModule.js +7 -5
- package/lib/module/NormalModuleFactory.js +11 -17
- package/lib/module/Parser.js +9 -2
- package/lib/module/extractSourceMap.js +69 -18
- package/lib/module/findCaseMismatch.js +2 -2
- package/lib/node/ExternalModuleInitFragment.js +2 -2
- package/lib/node/ReadFileCompileAsyncWasmPlugin.js +4 -12
- package/lib/node/ReadFileCompileWasmPlugin.js +2 -6
- package/lib/node/nodeConsole.js +4 -3
- package/lib/optimize/CircularModulesPlugin.js +1 -1
- package/lib/optimize/ConcatenatedModule.js +2 -6
- package/lib/optimize/FlagDependencyExportsPlugin.js +6 -11
- package/lib/optimize/FlagDependencyUsagePlugin.js +28 -3
- package/lib/optimize/InlineExports.js +4 -7
- package/lib/optimize/LazyBarrels.js +41 -5
- package/lib/optimize/ModuleConcatenationPlugin.js +8 -10
- package/lib/optimize/RealContentHashPlugin.js +2 -6
- package/lib/optimize/SideEffectsFlagPlugin.js +7 -21
- package/lib/optimize/SplitChunksPlugin.js +11 -24
- package/lib/optimize/TupleQueue.js +1 -1
- package/lib/output/CleanPlugin.js +3 -1
- package/lib/output/CopyPlugin.js +3 -4
- package/lib/performance/EvalUsagePlugin.js +1 -3
- package/lib/performance/HotspotsPlugin.js +33 -9
- package/lib/performance/PureAnnotationsPlugin.js +16 -10
- package/lib/performance/TopLevelThisPlugin.js +17 -9
- package/lib/prefetch/ResourceHintPlugin.js +1 -1
- package/lib/provide/ProvidedDependency.js +36 -4
- package/lib/rules/BasicEffectRulePlugin.js +1 -1
- package/lib/rules/RuleSetCompiler.js +15 -5
- package/lib/rules/UseEffectRulePlugin.js +1 -3
- package/lib/runtime/AsyncModuleRuntimeModule.js +7 -1
- package/lib/runtime/GetChunkFilenameRuntimeModule.js +1 -5
- package/lib/runtime/RuntimeGlobals.js +6 -0
- package/lib/runtime/RuntimePlugin.js +2 -0
- package/lib/schemes/HttpUriPlugin.js +1 -2
- package/lib/schemes/VirtualUrlPlugin.js +3 -1
- package/lib/serialization/AggregateErrorSerializer.js +3 -3
- package/lib/serialization/BinaryMiddleware.js +4 -1
- package/lib/serialization/ErrorObjectSerializer.js +2 -5
- package/lib/serialization/ObjectMiddleware.js +17 -15
- package/lib/serialization/PlainObjectSerializer.js +3 -7
- package/lib/serialization/Serializer.js +21 -11
- package/lib/serialization/SerializerMiddleware.js +8 -6
- package/lib/stats/DefaultStatsFactoryPlugin.js +35 -35
- package/lib/stats/DefaultStatsPresetPlugin.js +2 -6
- package/lib/stats/DefaultStatsPrinterPlugin.js +12 -11
- package/lib/stats/StatsFactory.js +194 -24
- package/lib/stats/StatsPrinter.js +126 -13
- package/lib/template/DependencyTemplate.js +1 -1
- package/lib/template/RuntimeTemplate.js +13 -32
- package/lib/template/Template.js +1 -1
- package/lib/util/SourceProcessor.js +98 -15
- package/lib/util/WeakTupleMap.js +10 -4
- package/lib/util/cleverMerge.js +61 -33
- package/lib/util/comparators.js +9 -5
- package/lib/util/dataURL.js +2 -0
- package/lib/util/deprecation.js +4 -3
- package/lib/util/globUtils.js +1 -4
- package/lib/util/internalSerializables.js +2 -0
- package/lib/util/makeSerializable.js +6 -4
- package/lib/util/memoize.js +1 -1
- package/lib/util/parseJson.js +2 -2
- package/lib/util/serialization.js +31 -27
- package/lib/wasm/AsyncWasmModule.js +12 -2
- package/lib/wasm/AsyncWebAssemblyGenerator.js +12 -4
- package/lib/wasm/AsyncWebAssemblyJavascriptGenerator.js +13 -5
- package/lib/wasm/AsyncWebAssemblyParser.js +7 -5
- package/lib/wasm/UniversalCompileAsyncWasmPlugin.js +2 -6
- package/lib/wasm-sync/SyncWasmModule.js +16 -1
- package/lib/wasm-sync/WebAssemblyGenerator.js +15 -10
- package/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +13 -5
- package/lib/wasm-sync/WebAssemblyParser.js +10 -12
- package/lib/web/FetchCompileAsyncWasmPlugin.js +4 -12
- package/lib/web/FetchCompileWasmPlugin.js +2 -6
- package/package.json +16 -18
- package/schemas/WebpackOptions.check.js +3 -3
- package/schemas/WebpackOptions.json +2 -2
- package/schemas/plugins/BannerPlugin.check.js +3 -3
- package/schemas/plugins/HtmlGeneratorOptions.check.js +3 -3
- package/schemas/plugins/HtmlParserOptions.check.js +3 -3
- package/schemas/plugins/IgnorePlugin.check.js +3 -3
- package/schemas/plugins/LoaderOptionsPlugin.check.js +3 -3
- package/schemas/plugins/ManifestPlugin.check.js +3 -3
- package/schemas/plugins/ProgressPlugin.check.js +3 -3
- package/schemas/plugins/SSRManifestPlugin.check.js +3 -3
- package/schemas/plugins/SourceMapDevToolPlugin.check.js +3 -3
- package/schemas/plugins/WatchIgnorePlugin.check.js +3 -3
- package/schemas/plugins/asset/AssetGeneratorOptions.check.js +3 -3
- package/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +3 -3
- package/schemas/plugins/asset/AssetParserOptions.check.js +3 -3
- package/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +3 -3
- package/schemas/plugins/container/ContainerPlugin.check.js +3 -3
- package/schemas/plugins/container/ContainerReferencePlugin.check.js +3 -3
- package/schemas/plugins/container/ExternalsType.check.js +3 -3
- package/schemas/plugins/container/ModuleFederationPlugin.check.js +3 -3
- package/schemas/plugins/css/CssAutoOrModuleParserOptions.check.js +3 -3
- package/schemas/plugins/css/CssGeneratorOptions.check.js +3 -3
- package/schemas/plugins/css/CssModuleGeneratorOptions.check.js +3 -3
- package/schemas/plugins/css/CssModuleParserOptions.check.js +3 -3
- package/schemas/plugins/css/CssParserOptions.check.js +3 -3
- package/schemas/plugins/debug/ProfilingPlugin.check.js +3 -3
- package/schemas/plugins/define/DotenvPluginOptions.check.js +7 -0
- package/schemas/plugins/define/DotenvPluginOptions.json +3 -0
- package/schemas/plugins/dll/DllPlugin.check.js +3 -3
- package/schemas/plugins/dll/DllReferencePlugin.check.js +3 -3
- package/schemas/plugins/ids/HashedModuleIdsPlugin.check.js +3 -3
- package/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +3 -3
- package/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +3 -3
- package/schemas/plugins/json/JsonModulesPluginGenerator.check.js +3 -3
- package/schemas/plugins/json/JsonModulesPluginParser.check.js +3 -3
- package/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +3 -3
- package/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +3 -3
- package/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.js +3 -3
- package/schemas/plugins/optimize/MinChunkSizePlugin.check.js +3 -3
- package/schemas/plugins/output/CleanOptions.check.js +7 -0
- package/schemas/plugins/output/CleanOptions.json +3 -0
- package/schemas/plugins/schemes/HttpUriPlugin.check.js +3 -3
- package/schemas/plugins/schemes/VirtualUrlPlugin.check.js +3 -3
- package/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +3 -3
- package/schemas/plugins/sharing/ProvideSharedPlugin.check.js +3 -3
- package/schemas/plugins/sharing/SharePlugin.check.js +3 -3
- package/types.d.ts +1482 -358
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";module.exports=
|
|
7
|
+
"use strict";module.exports=d,module.exports.default=d;let r={type:"object",additionalProperties:!1,properties:{as:{$ref:"#/definitions/CssParserAs"},customMedia:{$ref:"#/definitions/CssParserCustomMedia"},customSelectors:{$ref:"#/definitions/CssParserCustomSelectors"},exportType:{$ref:"#/definitions/CssParserExportType"},fontPreload:{$ref:"#/definitions/CssParserFontPreload"},import:{$ref:"#/definitions/CssParserImport"},namedExports:{$ref:"#/definitions/CssParserNamedExports"},url:{$ref:"#/definitions/CssParserUrl"},urlHints:{$ref:"#/definitions/UrlHints"}}},t={enum:["stylesheet","block-contents"]},e={enum:["link","text","css-style-sheet","style"]},a=Object.prototype.hasOwnProperty,o={type:"object",additionalProperties:!1,properties:{as:{type:"string"},exclude:{$ref:"#/definitions/RuleSetCondition"},fetchPriority:{enum:["low","high","auto",!1]},include:{$ref:"#/definitions/RuleSetCondition"},media:{type:"string"},prefetch:{type:"boolean"},preload:{type:"boolean"},test:{$ref:"#/definitions/RuleSetCondition"},type:{type:"string"}}},n={validate:f};function s(r,{instancePath:t="",parentData,parentDataProperty,rootData=r}={}){let e=null,a=0;if(a===0){if(!Array.isArray(r))return s.errors=[{params:{type:"array"}}],!1;{let o=r.length;for(let i=0;i<o;i++){let o=a,l=a,p=!1,f=null,c=a;if(n.validate(r[i],{instancePath:t+"/"+i,parentData:r,parentDataProperty:i,rootData})||(a=(e=e===null?n.validate.errors:e.concat(n.validate.errors)).length),c===a&&(p=!0,f=0),!p){let r={params:{passingSchemas:f}};return e===null?e=[r]:e.push(r),a++,s.errors=e,!1}if(a=l,e!==null&&(l?e.length=l:e=null),o!==a)break}}}return s.errors=e,a===0}let i=function(r){let t=r.length,e,a=0,o=0;for(;o<t;)a++,(e=r.charCodeAt(o++))>=55296&&e<=56319&&o<t&&(64512&(e=r.charCodeAt(o)))==56320&&o++;return a};function l(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){if(!Array.isArray(r))return l.errors=[{params:{type:"array"}}],!1;{let t=r.length;for(let e=0;e<t;e++){let t=r[e];if("string"!=typeof t)return l.errors=[{params:{type:"string"}}],!1;if(i(t)<1)return l.errors=[{params:{limit:1}}],!1}}return l.errors=null,!0}function p(r,{instancePath:t="",parentData,parentDataProperty,rootData=r}={}){let e=null,a=0;if(a===0){if(!r||"object"!=typeof r||Array.isArray(r))return p.errors=[{params:{type:"object"}}],!1;{let c=a;for(let t in r)if("and"!==t&&"glob"!==t&&"not"!==t&&"or"!==t)return p.errors=[{params:{additionalProperty:t}}],!1;if(c===a){if(r.and!==void 0){let n=a,i=a,l=!1,f=null,c=a;if(s(r.and,{instancePath:t+"/and",parentData:r,parentDataProperty:"and",rootData})||(a=(e=e===null?s.errors:e.concat(s.errors)).length),c===a&&(l=!0,f=0),!l){let r={params:{passingSchemas:f}};return e===null?e=[r]:e.push(r),a++,p.errors=e,!1}a=i,e!==null&&(i?e.length=i:e=null);var o=n===a}else o=!0;if(o){if(r.glob!==void 0){let n=r.glob,s=a,c=a,u=!1,y=a;if(a==a)if("string"==typeof n){if(i(n)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),a++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),a++}var f=y===a;if(!(u=u||f)){let o=a;l(n,{instancePath:t+"/glob",parentData:r,parentDataProperty:"glob",rootData})||(a=(e=e===null?l.errors:e.concat(l.errors)).length),f=o===a,u=u||f}if(!u){let r={params:{}};return e===null?e=[r]:e.push(r),a++,p.errors=e,!1}a=c,e!==null&&(c?e.length=c:e=null),o=s===a}else o=!0;if(o){if(r.not!==void 0){let s=a,i=a,l=!1,f=null,c=a;if(n.validate(r.not,{instancePath:t+"/not",parentData:r,parentDataProperty:"not",rootData})||(a=(e=e===null?n.validate.errors:e.concat(n.validate.errors)).length),c===a&&(l=!0,f=0),!l){let r={params:{passingSchemas:f}};return e===null?e=[r]:e.push(r),a++,p.errors=e,!1}a=i,e!==null&&(i?e.length=i:e=null),o=s===a}else o=!0;if(o)if(r.or!==void 0){let n=a,i=a,l=!1,f=null,c=a;if(s(r.or,{instancePath:t+"/or",parentData:r,parentDataProperty:"or",rootData})||(a=(e=e===null?s.errors:e.concat(s.errors)).length),c===a&&(l=!0,f=0),!l){let r={params:{passingSchemas:f}};return e===null?e=[r]:e.push(r),a++,p.errors=e,!1}a=i,e!==null&&(i?e.length=i:e=null),o=n===a}else o=!0}}}}}return p.errors=e,a===0}function f(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let t=null,e=0,a=e,o=!1,n=e;if(!(r instanceof RegExp)){let r={params:{}};t===null?t=[r]:t.push(r),e++}var i=n===e;if(!(o=o||i)){let a=e;if("string"!=typeof r){let r={params:{type:"string"}};t===null?t=[r]:t.push(r),e++}if(i=a===e,!(o=o||i)){let a=e;if(!(r instanceof Function)){let r={params:{}};t===null?t=[r]:t.push(r),e++}if(i=a===e,!(o=o||i)){let a=e;if(p(r,{instancePath,parentData,parentDataProperty,rootData})||(e=(t=t===null?p.errors:t.concat(p.errors)).length),i=a===e,!(o=o||i)){let a=e;s(r,{instancePath,parentData,parentDataProperty,rootData})||(e=(t=t===null?s.errors:t.concat(s.errors)).length),i=a===e,o=o||i}}}}if(!o){let r={params:{}};return t===null?t=[r]:t.push(r),e++,f.errors=t,!1}return e=a,t!==null&&(a?t.length=a:t=null),f.errors=t,e===0}function c(r,{instancePath:t="",parentData,parentDataProperty,rootData=r}={}){let e=null,n=0;if(n===0){if(!r||"object"!=typeof r||Array.isArray(r))return c.errors=[{params:{type:"object"}}],!1;{let i=n;for(let t in r)if(!a.call(o.properties,t))return c.errors=[{params:{additionalProperty:t}}],!1;if(i===n){if(r.as!==void 0){if("string"!=typeof r.as)return c.errors=[{params:{type:"string"}}],!1;var s=n===n}else s=!0;if(s){if(r.exclude!==void 0){let a=n;f(r.exclude,{instancePath:t+"/exclude",parentData:r,parentDataProperty:"exclude",rootData})||(n=(e=e===null?f.errors:e.concat(f.errors)).length),s=a===n}else s=!0;if(s){if(r.fetchPriority!==void 0){let t=r.fetchPriority;if("low"!==t&&"high"!==t&&"auto"!==t&&!1!==t)return c.errors=[{params:{allowedValues:o.properties.fetchPriority.enum}}],!1;s=n===n}else s=!0;if(s){if(r.include!==void 0){let a=n;f(r.include,{instancePath:t+"/include",parentData:r,parentDataProperty:"include",rootData})||(n=(e=e===null?f.errors:e.concat(f.errors)).length),s=a===n}else s=!0;if(s){if(r.media!==void 0){if("string"!=typeof r.media)return c.errors=[{params:{type:"string"}}],!1;s=n===n}else s=!0;if(s){if(r.prefetch!==void 0){if("boolean"!=typeof r.prefetch)return c.errors=[{params:{type:"boolean"}}],!1;s=n===n}else s=!0;if(s){if(r.preload!==void 0){if("boolean"!=typeof r.preload)return c.errors=[{params:{type:"boolean"}}],!1;s=n===n}else s=!0;if(s){if(r.test!==void 0){let a=n;f(r.test,{instancePath:t+"/test",parentData:r,parentDataProperty:"test",rootData})||(n=(e=e===null?f.errors:e.concat(f.errors)).length),s=a===n}else s=!0;if(s)if(r.type!==void 0){if("string"!=typeof r.type)return c.errors=[{params:{type:"string"}}],!1;s=n===n}else s=!0}}}}}}}}}}return c.errors=e,n===0}function u(r,{instancePath:t="",parentData,parentDataProperty,rootData=r}={}){let e=null,a=0;if(a===0){if(!Array.isArray(r))return u.errors=[{params:{type:"array"}}],!1;{let o=r.length;for(let n=0;n<o;n++){let o=a;if(c(r[n],{instancePath:t+"/"+n,parentData:r,parentDataProperty:n,rootData})||(a=(e=e===null?c.errors:e.concat(c.errors)).length),o!==a)break}}}return u.errors=e,a===0}function y(o,{instancePath:n="",parentData,parentDataProperty,rootData=o}={}){let s=null,i=0;if(i===0){if(!o||"object"!=typeof o||Array.isArray(o))return y.errors=[{params:{type:"object"}}],!1;{let p=i;for(let t in o)if(!a.call(r.properties,t))return y.errors=[{params:{additionalProperty:t}}],!1;if(p===i){if(o.as!==void 0){let r=o.as;if("stylesheet"!==r&&"block-contents"!==r)return y.errors=[{params:{allowedValues:t.enum}}],!1;var l=i===i}else l=!0;if(l){if(o.customMedia!==void 0){if("boolean"!=typeof o.customMedia)return y.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(o.customSelectors!==void 0){if("boolean"!=typeof o.customSelectors)return y.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(o.exportType!==void 0){let r=o.exportType;if("link"!==r&&"text"!==r&&"css-style-sheet"!==r&&"style"!==r)return y.errors=[{params:{allowedValues:e.enum}}],!1;l=i===i}else l=!0;if(l){if(o.fontPreload!==void 0){if("boolean"!=typeof o.fontPreload)return y.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(o.import!==void 0){if("boolean"!=typeof o.import)return y.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(o.namedExports!==void 0){if("boolean"!=typeof o.namedExports)return y.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(o.url!==void 0){if("boolean"!=typeof o.url)return y.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l)if(o.urlHints!==void 0){let r=i;u(o.urlHints,{instancePath:n+"/urlHints",parentData:o,parentDataProperty:"urlHints",rootData})||(i=(s=s===null?u.errors:s.concat(u.errors)).length),l=r===i}else l=!0}}}}}}}}}}return y.errors=s,i===0}function d(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let t=null,e=0;return y(r,{instancePath,parentData,parentDataProperty,rootData})||(e=(t=t===null?y.errors:t.concat(y.errors)).length),d.errors=t,e===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
"use strict";module.exports=t,module.exports.default=t;let r=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function t(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:"object"}}],!1;for(let r in e)if("outputPath"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(e.outputPath!==void 0){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}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
5
|
+
* DO NOT MODIFY BY HAND.
|
|
6
|
+
*/
|
|
7
|
+
"use strict";module.exports=s,module.exports.default=s;let t={type:"object",additionalProperties:!1,properties:{dir:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},prefix:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{type:"string",minLength:1}]},template:{type:"array",items:{type:"string",minLength:1}}}},r=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i,e=function(t){let r=t.length,e,s=0,n=0;for(;n<r;)s++,(e=t.charCodeAt(n++))>=55296&&e<=56319&&n<r&&(64512&(e=t.charCodeAt(n)))==56320&&n++;return s};function s(n,{instancePath="",parentData,parentDataProperty,rootData=n}={}){let i=null,a=0;if(a==a){if(!n||"object"!=typeof n||Array.isArray(n))return s.errors=[{params:{type:"object"}}],!1;{let f=a;for(let t in n)if("dir"!==t&&"prefix"!==t&&"template"!==t)return s.errors=[{params:{additionalProperty:t}}],!1;if(f===a){if(n.dir!==void 0){let e=n.dir,p=a,f=a,u=!1,c=a;if(!1!==e){let r={params:{allowedValues:t.properties.dir.anyOf[0].enum}};i===null?i=[r]:i.push(r),a++}var l=c===a;if(!(u=u||l)){let t=a;if(a===t)if("string"==typeof e){if(e.includes("!")||!0!==r.test(e)){let t={params:{}};i===null?i=[t]:i.push(t),a++}}else{let t={params:{type:"string"}};i===null?i=[t]:i.push(t),a++}l=t===a,u=u||l}if(!u){let t={params:{}};return i===null?i=[t]:i.push(t),a++,s.errors=i,!1}a=f,i!==null&&(f?i.length=f:i=null);var o=p===a}else o=!0;if(o){if(n.prefix!==void 0){let t=n.prefix,r=a,l=a,f=!1,u=a;if(a===u)if(Array.isArray(t)){let r=t.length;for(let s=0;s<r;s++){let r=t[s],n=a;if(a===n)if("string"==typeof r){if(e(r)<1){let t={params:{limit:1}};i===null?i=[t]:i.push(t),a++}}else{let t={params:{type:"string"}};i===null?i=[t]:i.push(t),a++}if(n!==a)break}}else{let t={params:{type:"array"}};i===null?i=[t]:i.push(t),a++}var p=u===a;if(!(f=f||p)){let r=a;if(a===r)if("string"==typeof t){if(e(t)<1){let t={params:{limit:1}};i===null?i=[t]:i.push(t),a++}}else{let t={params:{type:"string"}};i===null?i=[t]:i.push(t),a++}p=r===a,f=f||p}if(!f){let t={params:{}};return i===null?i=[t]:i.push(t),a++,s.errors=i,!1}a=l,i!==null&&(l?i.length=l:i=null),o=r===a}else o=!0;if(o)if(n.template!==void 0){let t=n.template,r=a;if(a===r){if(!Array.isArray(t))return s.errors=[{params:{type:"array"}}],!1;{let r=t.length;for(let n=0;n<r;n++){let r=t[n],i=a;if(a===i){if("string"!=typeof r)return s.errors=[{params:{type:"string"}}],!1;if(e(r)<1)return s.errors=[{params:{limit:1}}],!1}if(i!==a)break}}}o=r===a}else o=!0}}}}return s.errors=i,a===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(e,{instancePath
|
|
7
|
+
"use strict";module.exports=e,module.exports.default=e;let r=function(r){let e=r.length,t,o=0,a=0;for(;a<e;)o++,(t=r.charCodeAt(a++))>=55296&&t<=56319&&a<e&&(64512&(t=r.charCodeAt(a)))==56320&&a++;return o};function e(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;{let a;if(t.path===void 0&&(a="path"))return e.errors=[{params:{missingProperty:a}}],!1;for(let r in t)if("context"!==r&&"entryOnly"!==r&&"format"!==r&&"name"!==r&&"path"!==r&&"type"!==r)return e.errors=[{params:{additionalProperty:r}}],!1;if(t.context!==void 0){let a=t.context;if("string"!=typeof a)return e.errors=[{params:{type:"string"}}],!1;if(r(a)<1)return e.errors=[{params:{limit:1}}],!1;var o=!0}else o=!0;if(o){if(t.entryOnly!==void 0){if("boolean"!=typeof t.entryOnly)return e.errors=[{params:{type:"boolean"}}],!1;o=!0}else o=!0;if(o){if(t.format!==void 0){if("boolean"!=typeof t.format)return e.errors=[{params:{type:"boolean"}}],!1;o=!0}else o=!0;if(o){if(t.name!==void 0){let a=t.name;if("string"!=typeof a)return e.errors=[{params:{type:"string"}}],!1;if(r(a)<1)return e.errors=[{params:{limit:1}}],!1;o=!0}else o=!0;if(o){if(t.path!==void 0){let a=t.path;if("string"!=typeof a)return e.errors=[{params:{type:"string"}}],!1;if(r(a)<1)return e.errors=[{params:{limit:1}}],!1;o=!0}else o=!0;if(o)if(t.type!==void 0){let a=t.type;if("string"!=typeof a)return e.errors=[{params:{type:"string"}}],!1;if(r(a)<1)return e.errors=[{params:{limit:1}}],!1;o=!0}else o=!0}}}}}return e.errors=null,!0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
const s=/^(?:file:(?=\/))?(?:[A-Za-z]:[\\/]|\\\\|\/)/i;function e(s,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:o=s}={}){let i=null,l=0;if(0===l){if(!s||"object"!=typeof s||Array.isArray(s))return e.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===s.content&&(t="content"))return e.errors=[{params:{missingProperty:t}}],!1;{const t=l;for(const t in s)if("content"!==t&&"name"!==t&&"type"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(t===l){if(void 0!==s.content){let t=s.content;const n=l;if(l==l){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;if(Object.keys(t).length<1)return e.errors=[{params:{limit:1}}],!1;for(const s in t){let n=t[s];const r=l;if(l===r){if(!n||"object"!=typeof n||Array.isArray(n))return e.errors=[{params:{type:"object"}}],!1;{let s;if(void 0===n.id&&(s="id"))return e.errors=[{params:{missingProperty:s}}],!1;{const s=l;for(const s in n)if("buildMeta"!==s&&"exports"!==s&&"id"!==s)return e.errors=[{params:{additionalProperty:s}}],!1;if(s===l){if(void 0!==n.buildMeta){let s=n.buildMeta;const t=l;if(!s||"object"!=typeof s||Array.isArray(s))return e.errors=[{params:{type:"object"}}],!1;var a=t===l}else a=!0;if(a){if(void 0!==n.exports){let s=n.exports;const t=l,r=l;let o=!1;const f=l;if(l===f)if(Array.isArray(s)){const e=s.length;for(let t=0;t<e;t++){let e=s[t];const n=l;if(l===n)if("string"==typeof e){if(e.length<1){const s={params:{}};null===i?i=[s]:i.push(s),l++}}else{const s={params:{type:"string"}};null===i?i=[s]:i.push(s),l++}if(n!==l)break}}else{const s={params:{type:"array"}};null===i?i=[s]:i.push(s),l++}var p=f===l;if(o=o||p,!o){const e=l;if(!0!==s){const s={params:{}};null===i?i=[s]:i.push(s),l++}p=e===l,o=o||p}if(!o){const s={params:{}};return null===i?i=[s]:i.push(s),l++,e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),a=t===l}else a=!0;if(a)if(void 0!==n.id){let s=n.id;const t=l,r=l;let o=!1;const p=l;if("number"!=typeof s){const s={params:{type:"number"}};null===i?i=[s]:i.push(s),l++}var f=p===l;if(o=o||f,!o){const e=l;if(l===e)if("string"==typeof s){if(s.length<1){const s={params:{}};null===i?i=[s]:i.push(s),l++}}else{const s={params:{type:"string"}};null===i?i=[s]:i.push(s),l++}f=e===l,o=o||f}if(!o){const s={params:{}};return null===i?i=[s]:i.push(s),l++,e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),a=t===l}else a=!0}}}}}if(r!==l)break}}var c=n===l}else c=!0;if(c){if(void 0!==s.name){let t=s.name;const n=l;if(l===n){if("string"!=typeof t)return e.errors=[{params:{type:"string"}}],!1;if(t.length<1)return e.errors=[{params:{}}],!1}c=n===l}else c=!0;if(c)if(void 0!==s.type){let t=s.type;const n=l;if("var"!==t&&"assign"!==t&&"this"!==t&&"window"!==t&&"global"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"commonjs-module"!==t&&"amd"!==t&&"amd-require"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t)return e.errors=[{params:{}}],!1;c=n===l}else c=!0}}}}}return e.errors=i,0===l}function t(n,{instancePath:r="",parentData:o,parentDataProperty:i,rootData:l=n}={}){let a=null,p=0;const f=p;let c=!1;const u=p;if(p===u)if(n&&"object"==typeof n&&!Array.isArray(n)){let t;if(void 0===n.manifest&&(t="manifest")){const s={params:{missingProperty:t}};null===a?a=[s]:a.push(s),p++}else{const t=p;for(const s in n)if("context"!==s&&"extensions"!==s&&"manifest"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const e={params:{additionalProperty:s}};null===a?a=[e]:a.push(e),p++;break}if(t===p){if(void 0!==n.context){let e=n.context;const t=p;if(p===t)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 m=t===p}else m=!0;if(m){if(void 0!==n.extensions){let s=n.extensions;const e=p;if(p===e)if(Array.isArray(s)){const e=s.length;for(let t=0;t<e;t++){const e=p;if("string"!=typeof s[t]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(e!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}m=e===p}else m=!0;if(m){if(void 0!==n.manifest){let t=n.manifest;const o=p,i=p;let f=!1;const c=p;if(p===c)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 y=c===p;if(f=f||y,!f){const s=p;e(t,{instancePath:r+"/manifest",parentData:n,parentDataProperty:"manifest",rootData:l})||(a=null===a?e.errors:a.concat(e.errors),p=a.length),y=s===p,f=f||y}if(f)p=i,null!==a&&(i?a.length=i: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 e=p;if(p===e)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=e===p}else m=!0;if(m){if(void 0!==n.scope){let s=n.scope;const e=p;if(p===e)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=e===p}else m=!0;if(m){if(void 0!==n.sourceType){let s=n.sourceType;const e=p,t=p;let r=!1,o=null;const i=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(i===p&&(r=!0,o=0),r)p=t,null!==a&&(t?a.length=t:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}m=e===p}else m=!0;if(m)if(void 0!==n.type){let s=n.type;const e=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}m=e===p}else m=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var h=u===p;if(c=c||h,!c){const e=p;if(p===e)if(n&&"object"==typeof n&&!Array.isArray(n)){let e;if(void 0===n.content&&(e="content")||void 0===n.name&&(e="name")){const s={params:{missingProperty:e}};null===a?a=[s]:a.push(s),p++}else{const e=p;for(const s in n)if("content"!==s&&"context"!==s&&"extensions"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const e={params:{additionalProperty:s}};null===a?a=[e]:a.push(e),p++;break}if(e===p){if(void 0!==n.content){let s=n.content;const e=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 e in s){let t=s[e];const n=p;if(p===n)if(t&&"object"==typeof t&&!Array.isArray(t)){let s;if(void 0===t.id&&(s="id")){const e={params:{missingProperty:s}};null===a?a=[e]:a.push(e),p++}else{const s=p;for(const s in t)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const e={params:{additionalProperty:s}};null===a?a=[e]:a.push(e),p++;break}if(s===p){if(void 0!==t.buildMeta){let s=t.buildMeta;const e=p;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var d=e===p}else d=!0;if(d){if(void 0!==t.exports){let s=t.exports;const e=p,n=p;let r=!1;const o=p;if(p===o)if(Array.isArray(s)){const e=s.length;for(let t=0;t<e;t++){let e=s[t];const n=p;if(p===n)if("string"==typeof e){if(e.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(r=r||g,!r){const e=p;if(!0!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}g=e===p,r=r||g}if(r)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=e===p}else d=!0;if(d)if(void 0!==t.id){let s=t.id;const e=p,n=p;let r=!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(r=r||b,!r){const e=p;if(p===e)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=e===p,r=r||b}if(r)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=e===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++}var v=e===p}else v=!0;if(v){if(void 0!==n.context){let e=n.context;const t=p;if(p===t)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++}v=t===p}else v=!0;if(v){if(void 0!==n.extensions){let s=n.extensions;const e=p;if(p===e)if(Array.isArray(s)){const e=s.length;for(let t=0;t<e;t++){const e=p;if("string"!=typeof s[t]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(e!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0;if(v){if(void 0!==n.name){let s=n.name;const e=p;if(p===e)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=e===p}else v=!0;if(v){if(void 0!==n.scope){let s=n.scope;const e=p;if(p===e)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=e===p}else v=!0;if(v){if(void 0!==n.sourceType){let s=n.sourceType;const e=p,t=p;let r=!1,o=null;const i=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(i===p&&(r=!0,o=0),r)p=t,null!==a&&(t?a.length=t:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0;if(v)if(void 0!==n.type){let s=n.type;const e=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}h=e===p,c=c||h}if(!c){const s={params:{}};return null===a?a=[s]:a.push(s),p++,t.errors=a,!1}return p=f,null!==a&&(f?a.length=f:a=null),t.errors=a,0===p}module.exports=t,module.exports.default=t;
|
|
7
|
+
"use strict";module.exports=o,module.exports.default=o;let e={definitions:{DllReferencePluginOptionsContent:{type:"object",additionalProperties:{type:"object",additionalProperties:!1,properties:{buildMeta:{type:"object"},exports:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{enum:[!0]}]},id:{anyOf:[{type:"number"},{type:"string",minLength:1}]}},required:["id"]},minProperties:1},DllReferencePluginOptionsManifest:{type:"object",additionalProperties:!1,properties:{content:{$ref:"#/definitions/DllReferencePluginOptionsContent"},name:{type:"string",minLength:1},type:{$ref:"#/definitions/DllReferencePluginOptionsSourceType"}},required:["content"]},DllReferencePluginOptionsSourceType:{enum:["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},anyOf:[{type:"object",additionalProperties:!1,properties:{context:{type:"string",absolutePath:!0},extensions:{type:"array",items:{type:"string"}},manifest:{anyOf:[{type:"string",absolutePath:!0},{$ref:"#/definitions/DllReferencePluginOptionsManifest"}]},name:{type:"string",minLength:1},scope:{type:"string",minLength:1},sourceType:{oneOf:[{$ref:"#/definitions/DllReferencePluginOptionsSourceType"}]},type:{enum:["require","object"]}},required:["manifest"]},{type:"object",additionalProperties:!1,properties:{content:{$ref:"#/definitions/DllReferencePluginOptionsContent"},context:{type:"string",absolutePath:!0},extensions:{type:"array",items:{type:"string"}},name:{type:"string",minLength:1},scope:{type:"string",minLength:1},sourceType:{oneOf:[{$ref:"#/definitions/DllReferencePluginOptionsSourceType"}]},type:{enum:["require","object"]}},required:["content","name"]}],$id:"DllReferencePlugin.json"},t={enum:["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},s={type:"object",additionalProperties:{type:"object",additionalProperties:!1,properties:{buildMeta:{type:"object"},exports:{anyOf:[{type:"array",items:{type:"string",minLength:1}},{enum:[!0]}]},id:{anyOf:[{type:"number"},{type:"string",minLength:1}]}},required:["id"]},minProperties:1},n=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i,i=function(e){let t=e.length,s,n=0,i=0;for(;i<t;)n++,(s=e.charCodeAt(i++))>=55296&&s<=56319&&i<t&&(64512&(s=e.charCodeAt(i)))==56320&&i++;return n};function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let n=null,o=0;if(o===0){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let f;if(e.content===void 0&&(f="content"))return r.errors=[{params:{missingProperty:f}}],!1;{let f=o;for(let t in e)if("content"!==t&&"name"!==t&&"type"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(f===o){if(e.content!==void 0){let t=e.content,f=o;if(o==o){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;if(Object.keys(t).length<1)return r.errors=[{params:{limit:1}}],!1;for(let e in t){let u=t[e],f=o;if(o===f){if(!u||"object"!=typeof u||Array.isArray(u))return r.errors=[{params:{type:"object"}}],!1;{let e;if(u.id===void 0&&(e="id"))return r.errors=[{params:{missingProperty:e}}],!1;{let e=o;for(let e in u)if("buildMeta"!==e&&"exports"!==e&&"id"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(e===o){if(u.buildMeta!==void 0){let e=u.buildMeta;if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;var l=o===o}else l=!0;if(l){if(u.exports!==void 0){let e=u.exports,t=o,p=o,f=!1,c=o;if(o===c)if(Array.isArray(e)){let t=e.length;for(let s=0;s<t;s++){let t=e[s],r=o;if(o===r)if("string"==typeof t){if(i(t)<1){let e={params:{limit:1}};n===null?n=[e]:n.push(e),o++}}else{let e={params:{type:"string"}};n===null?n=[e]:n.push(e),o++}if(r!==o)break}}else{let e={params:{type:"array"}};n===null?n=[e]:n.push(e),o++}var a=c===o;if(!(f=f||a)){let t=o;if(!0!==e){let e={params:{allowedValues:s.additionalProperties.properties.exports.anyOf[1].enum}};n===null?n=[e]:n.push(e),o++}a=t===o,f=f||a}if(!f){let e={params:{}};return n===null?n=[e]:n.push(e),o++,r.errors=n,!1}o=p,n!==null&&(p?n.length=p:n=null),l=t===o}else l=!0;if(l)if(u.id!==void 0){let e=u.id,t=o,s=o,a=!1,f=o;if("number"!=typeof e){let e={params:{type:"number"}};n===null?n=[e]:n.push(e),o++}var p=f===o;if(!(a=a||p)){let t=o;if(o===t)if("string"==typeof e){if(i(e)<1){let e={params:{limit:1}};n===null?n=[e]:n.push(e),o++}}else{let e={params:{type:"string"}};n===null?n=[e]:n.push(e),o++}p=t===o,a=a||p}if(!a){let e={params:{}};return n===null?n=[e]:n.push(e),o++,r.errors=n,!1}o=s,n!==null&&(s?n.length=s:n=null),l=t===o}else l=!0}}}}}if(f!==o)break}}var u=f===o}else u=!0;if(u){if(e.name!==void 0){let t=e.name,s=o;if(o===s){if("string"!=typeof t)return r.errors=[{params:{type:"string"}}],!1;if(i(t)<1)return r.errors=[{params:{limit:1}}],!1}u=s===o}else u=!0;if(u)if(e.type!==void 0){let s=e.type;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)return r.errors=[{params:{allowedValues:t.enum}}],!1;u=o===o}else u=!0}}}}}return r.errors=n,o===0}function o(l,{instancePath:a="",parentData,parentDataProperty,rootData=l}={}){let p=null,u=0,f=u,c=!1,m=u;if(u===m)if(l&&"object"==typeof l&&!Array.isArray(l)){let s;if(l.manifest===void 0&&(s="manifest")){let e={params:{missingProperty:s}};p===null?p=[e]:p.push(e),u++}else{let s=u;for(let e in l)if("context"!==e&&"extensions"!==e&&"manifest"!==e&&"name"!==e&&"scope"!==e&&"sourceType"!==e&&"type"!==e){let t={params:{additionalProperty:e}};p===null?p=[t]:p.push(t),u++;break}if(s===u){if(l.context!==void 0){let e=l.context,t=u;if(u===t)if("string"==typeof e){if(e.includes("!")||!0!==n.test(e)){let e={params:{}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}var y=t===u}else y=!0;if(y){if(l.extensions!==void 0){let e=l.extensions,t=u;if(u===t)if(Array.isArray(e)){let t=e.length;for(let s=0;s<t;s++){let t=u;if("string"!=typeof e[s]){let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}if(t!==u)break}}else{let e={params:{type:"array"}};p===null?p=[e]:p.push(e),u++}y=t===u}else y=!0;if(y){if(l.manifest!==void 0){let e=l.manifest,t=u,s=u,i=!1,o=u;if(u===o)if("string"==typeof e){if(e.includes("!")||!0!==n.test(e)){let e={params:{}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}var d=o===u;if(!(i=i||d)){let t=u;r(e,{instancePath:a+"/manifest",parentData:l,parentDataProperty:"manifest",rootData})||(u=(p=p===null?r.errors:p.concat(r.errors)).length),d=t===u,i=i||d}if(i)u=s,p!==null&&(s?p.length=s:p=null);else{let e={params:{}};p===null?p=[e]:p.push(e),u++}y=t===u}else y=!0;if(y){if(l.name!==void 0){let e=l.name,t=u;if(u===t)if("string"==typeof e){if(i(e)<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}y=t===u}else y=!0;if(y){if(l.scope!==void 0){let e=l.scope,t=u;if(u===t)if("string"==typeof e){if(i(e)<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}y=t===u}else y=!0;if(y){if(l.sourceType!==void 0){let e=l.sourceType,s=u,n=u,i=!1,r=null,o=u;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){let e={params:{allowedValues:t.enum}};p===null?p=[e]:p.push(e),u++}if(o===u&&(i=!0,r=0),i)u=n,p!==null&&(n?p.length=n:p=null);else{let e={params:{passingSchemas:r}};p===null?p=[e]:p.push(e),u++}y=s===u}else y=!0;if(y)if(l.type!==void 0){let t=l.type,s=u;if("require"!==t&&"object"!==t){let t={params:{allowedValues:e.anyOf[0].properties.type.enum}};p===null?p=[t]:p.push(t),u++}y=s===u}else y=!0}}}}}}}}else{let e={params:{type:"object"}};p===null?p=[e]:p.push(e),u++}var h=m===u;if(!(c=c||h)){let r=u;if(u===r)if(l&&"object"==typeof l&&!Array.isArray(l)){let r;if(l.content===void 0&&(r="content")||l.name===void 0&&(r="name")){let e={params:{missingProperty:r}};p===null?p=[e]:p.push(e),u++}else{let r=u;for(let e in l)if("content"!==e&&"context"!==e&&"extensions"!==e&&"name"!==e&&"scope"!==e&&"sourceType"!==e&&"type"!==e){let t={params:{additionalProperty:e}};p===null?p=[t]:p.push(t),u++;break}if(r===u){if(l.content!==void 0){let e=l.content,t=u;if(u==u)if(e&&"object"==typeof e&&!Array.isArray(e))if(Object.keys(e).length<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}else for(let t in e){let n=e[t],r=u;if(u===r)if(n&&"object"==typeof n&&!Array.isArray(n)){let e;if(n.id===void 0&&(e="id")){let t={params:{missingProperty:e}};p===null?p=[t]:p.push(t),u++}else{let e=u;for(let e in n)if("buildMeta"!==e&&"exports"!==e&&"id"!==e){let t={params:{additionalProperty:e}};p===null?p=[t]:p.push(t),u++;break}if(e===u){if(n.buildMeta!==void 0){let e=n.buildMeta,t=u;if(!e||"object"!=typeof e||Array.isArray(e)){let e={params:{type:"object"}};p===null?p=[e]:p.push(e),u++}var g=t===u}else g=!0;if(g){if(n.exports!==void 0){let e=n.exports,t=u,r=u,o=!1,l=u;if(u===l)if(Array.isArray(e)){let t=e.length;for(let s=0;s<t;s++){let t=e[s],n=u;if(u===n)if("string"==typeof t){if(i(t)<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}if(n!==u)break}}else{let e={params:{type:"array"}};p===null?p=[e]:p.push(e),u++}var b=l===u;if(!(o=o||b)){let t=u;if(!0!==e){let e={params:{allowedValues:s.additionalProperties.properties.exports.anyOf[1].enum}};p===null?p=[e]:p.push(e),u++}b=t===u,o=o||b}if(o)u=r,p!==null&&(r?p.length=r:p=null);else{let e={params:{}};p===null?p=[e]:p.push(e),u++}g=t===u}else g=!0;if(g)if(n.id!==void 0){let e=n.id,t=u,s=u,r=!1,o=u;if("number"!=typeof e){let e={params:{type:"number"}};p===null?p=[e]:p.push(e),u++}var j=o===u;if(!(r=r||j)){let t=u;if(u===t)if("string"==typeof e){if(i(e)<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}j=t===u,r=r||j}if(r)u=s,p!==null&&(s?p.length=s:p=null);else{let e={params:{}};p===null?p=[e]:p.push(e),u++}g=t===u}else g=!0}}}}else{let e={params:{type:"object"}};p===null?p=[e]:p.push(e),u++}if(r!==u)break}else{let e={params:{type:"object"}};p===null?p=[e]:p.push(e),u++}var v=t===u}else v=!0;if(v){if(l.context!==void 0){let e=l.context,t=u;if(u===t)if("string"==typeof e){if(e.includes("!")||!0!==n.test(e)){let e={params:{}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}v=t===u}else v=!0;if(v){if(l.extensions!==void 0){let e=l.extensions,t=u;if(u===t)if(Array.isArray(e)){let t=e.length;for(let s=0;s<t;s++){let t=u;if("string"!=typeof e[s]){let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}if(t!==u)break}}else{let e={params:{type:"array"}};p===null?p=[e]:p.push(e),u++}v=t===u}else v=!0;if(v){if(l.name!==void 0){let e=l.name,t=u;if(u===t)if("string"==typeof e){if(i(e)<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}v=t===u}else v=!0;if(v){if(l.scope!==void 0){let e=l.scope,t=u;if(u===t)if("string"==typeof e){if(i(e)<1){let e={params:{limit:1}};p===null?p=[e]:p.push(e),u++}}else{let e={params:{type:"string"}};p===null?p=[e]:p.push(e),u++}v=t===u}else v=!0;if(v){if(l.sourceType!==void 0){let e=l.sourceType,s=u,n=u,i=!1,r=null,o=u;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){let e={params:{allowedValues:t.enum}};p===null?p=[e]:p.push(e),u++}if(o===u&&(i=!0,r=0),i)u=n,p!==null&&(n?p.length=n:p=null);else{let e={params:{passingSchemas:r}};p===null?p=[e]:p.push(e),u++}v=s===u}else v=!0;if(v)if(l.type!==void 0){let t=l.type,s=u;if("require"!==t&&"object"!==t){let t={params:{allowedValues:e.anyOf[1].properties.type.enum}};p===null?p=[t]:p.push(t),u++}v=s===u}else v=!0}}}}}}}}else{let e={params:{type:"object"}};p===null?p=[e]:p.push(e),u++}h=r===u,c=c||h}if(!c){let e={params:{}};return p===null?p=[e]:p.push(e),u++,o.errors=p,!1}return u=f,p!==null&&(f?p.length=f:p=null),o.errors=p,u===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
"use strict";module.exports=n,module.exports.default=n;let t={definitions:{HashFunction:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]}},type:"object",additionalProperties:!1,properties:{context:{type:"string",absolutePath:!0},hashDigest:{enum:["base64","base64url","hex","binary","utf8","utf-8","utf16le","utf-16le","latin1","ascii","ucs2","ucs-2"]},hashDigestLength:{type:"number",minimum:1},hashFunction:{oneOf:[{$ref:"#/definitions/HashFunction"}]}},$id:"HashedModuleIdsPlugin.json"},e=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i,s=function(t){let e=t.length,s,n=0,r=0;for(;r<e;)n++,(s=t.charCodeAt(r++))>=55296&&s<=56319&&r<e&&(64512&(s=t.charCodeAt(r)))==56320&&r++;return n};function n(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let i=null,a=0;if(a===0){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{let l=a;for(let t in r)if("context"!==t&&"hashDigest"!==t&&"hashDigestLength"!==t&&"hashFunction"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(l===a){if(r.context!==void 0){let t=r.context,s=a;if(a===s){if("string"!=typeof t)return n.errors=[{params:{type:"string"}}],!1;if(t.includes("!")||!0!==e.test(t))return n.errors=[{params:{}}],!1}var o=s===a}else o=!0;if(o){if(r.hashDigest!==void 0){let e=r.hashDigest;if("base64"!==e&&"base64url"!==e&&"hex"!==e&&"binary"!==e&&"utf8"!==e&&"utf-8"!==e&&"utf16le"!==e&&"utf-16le"!==e&&"latin1"!==e&&"ascii"!==e&&"ucs2"!==e&&"ucs-2"!==e)return n.errors=[{params:{allowedValues:t.properties.hashDigest.enum}}],!1;o=a===a}else o=!0;if(o){if(r.hashDigestLength!==void 0){let t=r.hashDigestLength,e=a;if(a===e){if("number"!=typeof t)return n.errors=[{params:{type:"number"}}],!1;if(t<1||isNaN(t))return n.errors=[{params:{comparison:">=",limit:1}}],!1}o=e===a}else o=!0;if(o)if(r.hashFunction!==void 0){let t=r.hashFunction,e=a,l=a,f=!1,h=null,c=a,p=a,m=!1,g=a;if(a===g)if("string"==typeof t){if(s(t)<1){let t={params:{limit:1}};i===null?i=[t]:i.push(t),a++}}else{let t={params:{type:"string"}};i===null?i=[t]:i.push(t),a++}var u=g===a;if(!(m=m||u)){let e=a;if(!(t instanceof Function)){let t={params:{}};i===null?i=[t]:i.push(t),a++}u=e===a,m=m||u}if(m)a=p,i!==null&&(p?i.length=p:i=null);else{let t={params:{}};i===null?i=[t]:i.push(t),a++}if(c===a&&(f=!0,h=0),!f){let t={params:{passingSchemas:h}};return i===null?i=[t]:i.push(t),a++,n.errors=i,!1}a=l,i!==null&&(l?i.length=l:i=null),o=e===a}else o=!0}}}}}return n.errors=i,a===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(t,{instancePath
|
|
7
|
+
"use strict";function r(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;for(let e in t)if("prioritiseInitial"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;return t.prioritiseInitial!==void 0&&"boolean"!=typeof t.prioritiseInitial?(r.errors=[{params:{type:"boolean"}}],!1):(r.errors=null,!0)}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(t,{instancePath
|
|
7
|
+
"use strict";function r(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;for(let e in t)if("prioritiseInitial"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;return t.prioritiseInitial!==void 0&&"boolean"!=typeof t.prioritiseInitial?(r.errors=[{params:{type:"boolean"}}],!1):(r.errors=null,!0)}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(e,{instancePath
|
|
7
|
+
"use strict";function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;for(let t in e)if("JSONParse"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;return e.JSONParse!==void 0&&"boolean"!=typeof e.JSONParse?(r.errors=[{params:{type:"boolean"}}],!1):(r.errors=null,!0)}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(e,{instancePath
|
|
7
|
+
"use strict";function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;for(let t in e)if("exportsDepth"!==t&&"namedExports"!==t&&"parse"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(e.exportsDepth!==void 0){if("number"!=typeof e.exportsDepth)return r.errors=[{params:{type:"number"}}],!1;var t=!0}else t=!0;if(t){if(e.namedExports!==void 0){if("boolean"!=typeof e.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;t=!0}else t=!0;if(t)if(e.parse!==void 0){if(!(e.parse instanceof Function))return r.errors=[{params:{}}],!1;t=!0}else t=!0}return r.errors=null,!0}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(e,{instancePath
|
|
7
|
+
"use strict";function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;for(let t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"maxSize"!==t&&"minSize"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(e.chunkOverhead!==void 0){if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var t=!0}else t=!0;if(t){if(e.entryChunkMultiplicator!==void 0){if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;t=!0}else t=!0;if(t){if(e.maxSize!==void 0){if("number"!=typeof e.maxSize)return r.errors=[{params:{type:"number"}}],!1;t=!0}else t=!0;if(t)if(e.minSize!==void 0){if("number"!=typeof e.minSize)return r.errors=[{params:{type:"number"}}],!1;t=!0}else t=!0}}return r.errors=null,!0}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(e,{instancePath
|
|
7
|
+
"use strict";function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let a;if(e.maxChunks===void 0&&(a="maxChunks"))return r.errors=[{params:{missingProperty:a}}],!1;for(let t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"maxChunks"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(e.chunkOverhead!==void 0){if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var t=!0}else t=!0;if(t){if(e.entryChunkMultiplicator!==void 0){if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;t=!0}else t=!0;if(t)if(e.maxChunks!==void 0){let a=e.maxChunks;if("number"!=typeof a)return r.errors=[{params:{type:"number"}}],!1;if(a<1||isNaN(a))return r.errors=[{params:{comparison:">=",limit:1}}],!1;t=!0}else t=!0}}return r.errors=null,!0}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(t,{instancePath
|
|
7
|
+
"use strict";function r(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;for(let e in t)if("stage"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;return t.stage!==void 0&&"number"!=typeof t.stage?(r.errors=[{params:{type:"number"}}],!1):(r.errors=null,!0)}module.exports=r,module.exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function r(e,{instancePath
|
|
7
|
+
"use strict";function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let n;if(e.minChunkSize===void 0&&(n="minChunkSize"))return r.errors=[{params:{missingProperty:n}}],!1;for(let t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"minChunkSize"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(e.chunkOverhead!==void 0){if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var t=!0}else t=!0;if(t){if(e.entryChunkMultiplicator!==void 0){if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;t=!0}else t=!0;if(t)if(e.minChunkSize!==void 0){if("number"!=typeof e.minChunkSize)return r.errors=[{params:{type:"number"}}],!1;t=!0}else t=!0}}return r.errors=null,!0}module.exports=r,module.exports.default=r;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
5
|
+
* DO NOT MODIFY BY HAND.
|
|
6
|
+
*/
|
|
7
|
+
"use strict";module.exports=o,module.exports.default=o;let r=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i,t=function(r){let t=r.length,e,a=0,n=0;for(;n<t;)a++,(e=r.charCodeAt(n++))>=55296&&e<=56319&&n<t&&(64512&(e=r.charCodeAt(n)))==56320&&n++;return a};function e(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){if(!Array.isArray(r))return e.errors=[{params:{type:"array"}}],!1;{let a=r.length;for(let n=0;n<a;n++){let a=r[n];if("string"!=typeof a)return e.errors=[{params:{type:"string"}}],!1;if(t(a)<1)return e.errors=[{params:{limit:1}}],!1}}return e.errors=null,!0}function a(r,{instancePath:n="",parentData,parentDataProperty,rootData=r}={}){let o=null,s=0;if(s===0){if(!r||"object"!=typeof r||Array.isArray(r))return a.errors=[{params:{type:"object"}}],!1;{let i;if(r.glob===void 0&&(i="glob"))return a.errors=[{params:{missingProperty:i}}],!1;{let i=s;for(let t in r)if("glob"!==t)return a.errors=[{params:{additionalProperty:t}}],!1;if(i===s&&r.glob!==void 0){let i=r.glob,p=s,u=!1,c=s;e(i,{instancePath:n+"/glob",parentData:r,parentDataProperty:"glob",rootData})||(s=(o=o===null?e.errors:o.concat(e.errors)).length);var l=c===s;if(!(u=u||l)){let r=s;if(s==s)if("string"==typeof i){if(t(i)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),s++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),s++}l=r===s,u=u||l}if(!u){let r={params:{}};return o===null?o=[r]:o.push(r),s++,a.errors=o,!1}s=p,o!==null&&(p?o.length=p:o=null)}}}}return a.errors=o,s===0}function n(t,{instancePath:e="",parentData,parentDataProperty,rootData=t}={}){let o=null,s=0;if(s===0){if(!t||"object"!=typeof t||Array.isArray(t))return n.errors=[{params:{type:"object"}}],!1;{let p=s;for(let r in t)if("dry"!==r&&"keep"!==r)return n.errors=[{params:{additionalProperty:r}}],!1;if(p===s){if(t.dry!==void 0){if("boolean"!=typeof t.dry)return n.errors=[{params:{type:"boolean"}}],!1;var l=s===s}else l=!0;if(l)if(t.keep!==void 0){let p=t.keep,u=s,c=s,f=!1,y=s;if(!(p instanceof RegExp)){let r={params:{}};o===null?o=[r]:o.push(r),s++}var i=y===s;if(!(f=f||i)){let n=s;if(s===n)if("string"==typeof p){if(p.includes("!")||!1!==r.test(p)){let r={params:{}};o===null?o=[r]:o.push(r),s++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),s++}if(i=n===s,!(f=f||i)){let r=s;if(!(p instanceof Function)){let r={params:{}};o===null?o=[r]:o.push(r),s++}if(i=r===s,!(f=f||i)){let r=s;a(p,{instancePath:e+"/keep",parentData:t,parentDataProperty:"keep",rootData})||(s=(o=o===null?a.errors:o.concat(a.errors)).length),i=r===s,f=f||i}}}if(!f){let r={params:{}};return o===null?o=[r]:o.push(r),s++,n.errors=o,!1}s=c,o!==null&&(c?o.length=c:o=null),l=u===s}else l=!0}}}return n.errors=o,s===0}function o(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let t=null,e=0;return n(r,{instancePath,parentData,parentDataProperty,rootData})||(e=(t=t===null?n.errors:t.concat(n.errors)).length),o.errors=t,e===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
"use strict";module.exports=n,module.exports.default=n;let r={type:"object",additionalProperties:!1,properties:{allowedUris:{$ref:"#/definitions/HttpUriOptionsAllowedUris"},cacheLocation:{anyOf:[{enum:[!1]},{type:"string",absolutePath:!0}]},frozen:{type:"boolean"},lockfileLocation:{type:"string",absolutePath:!0},proxy:{type:"string"},upgrade:{type:"boolean"}},required:["allowedUris"]},e=/^https?:\/\//u,t=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function o(n,{instancePath="",parentData,parentDataProperty,rootData=n}={}){let a=null,s=0;if(s===0){if(!n||"object"!=typeof n||Array.isArray(n))return o.errors=[{params:{type:"object"}}],!1;{let f;if(n.allowedUris===void 0&&(f="allowedUris"))return o.errors=[{params:{missingProperty:f}}],!1;{let f=s;for(let r in n)if("allowedUris"!==r&&"cacheLocation"!==r&&"frozen"!==r&&"lockfileLocation"!==r&&"proxy"!==r&&"upgrade"!==r)return o.errors=[{params:{additionalProperty:r}}],!1;if(f===s){if(n.allowedUris!==void 0){let r=n.allowedUris,t=s;if(s==s){if(!Array.isArray(r))return o.errors=[{params:{type:"array"}}],!1;{let t=r.length;for(let n=0;n<t;n++){let t=r[n],l=s,p=s,f=!1,c=s;if(!(t instanceof RegExp)){let r={params:{}};a===null?a=[r]:a.push(r),s++}var i=c===s;if(!(f=f||i)){let r=s;if(s===r)if("string"==typeof t){if(!e.test(t)){let r={params:{pattern:"^https?://"}};a===null?a=[r]:a.push(r),s++}}else{let r={params:{type:"string"}};a===null?a=[r]:a.push(r),s++}if(i=r===s,!(f=f||i)){let r=s;if(!(t instanceof Function)){let r={params:{}};a===null?a=[r]:a.push(r),s++}i=r===s,f=f||i}}if(!f){let r={params:{}};return a===null?a=[r]:a.push(r),s++,o.errors=a,!1}if(s=p,a!==null&&(p?a.length=p:a=null),l!==s)break}}}var l=t===s}else l=!0;if(l){if(n.cacheLocation!==void 0){let e=n.cacheLocation,i=s,f=s,c=!1,u=s;if(!1!==e){let e={params:{allowedValues:r.properties.cacheLocation.anyOf[0].enum}};a===null?a=[e]:a.push(e),s++}var p=u===s;if(!(c=c||p)){let r=s;if(s===r)if("string"==typeof e){if(e.includes("!")||!0!==t.test(e)){let r={params:{}};a===null?a=[r]:a.push(r),s++}}else{let r={params:{type:"string"}};a===null?a=[r]:a.push(r),s++}p=r===s,c=c||p}if(!c){let r={params:{}};return a===null?a=[r]:a.push(r),s++,o.errors=a,!1}s=f,a!==null&&(f?a.length=f:a=null),l=i===s}else l=!0;if(l){if(n.frozen!==void 0){if("boolean"!=typeof n.frozen)return o.errors=[{params:{type:"boolean"}}],!1;l=s===s}else l=!0;if(l){if(n.lockfileLocation!==void 0){let r=n.lockfileLocation,e=s;if(s===e){if("string"!=typeof r)return o.errors=[{params:{type:"string"}}],!1;if(r.includes("!")||!0!==t.test(r))return o.errors=[{params:{}}],!1}l=e===s}else l=!0;if(l){if(n.proxy!==void 0){if("string"!=typeof n.proxy)return o.errors=[{params:{type:"string"}}],!1;l=s===s}else l=!0;if(l)if(n.upgrade!==void 0){if("boolean"!=typeof n.upgrade)return o.errors=[{params:{type:"boolean"}}],!1;l=s===s}else l=!0}}}}}}}}return o.errors=a,s===0}function n(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let e=null,t=0,a=t,s=!1,i=null,l=t;if(o(r,{instancePath,parentData,parentDataProperty,rootData})||(t=(e=e===null?o.errors:e.concat(o.errors)).length),l===t&&(s=!0,i=0),!s){let r={params:{passingSchemas:i}};return e===null?e=[r]:e.push(r),t++,n.errors=e,!1}return t=a,e!==null&&(a?e.length=a:e=null),n.errors=e,t===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";function
|
|
7
|
+
"use strict";module.exports=n,module.exports.default=n;let t={type:"object",additionalProperties:!1,properties:{context:{type:"string"},source:{instanceof:"Function"},type:{type:"string"},version:{anyOf:[{type:"boolean",enum:[!0]},{type:"string"},{instanceof:"Function"}]}},required:["source"]};function e(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let n=null,s=0,o=s,a=!1,i=s;if("string"!=typeof r){let t={params:{type:"string"}};n===null?n=[t]:n.push(t),s++}var l=i===s;if(!(a=a||l)){let e=s;if(!(r instanceof Function)){let t={params:{}};n===null?n=[t]:n.push(t),s++}if(l=e===s,!(a=a||l)){let e=s;if(s==s)if(r&&"object"==typeof r&&!Array.isArray(r)){let e;if(r.source===void 0&&(e="source")){let t={params:{missingProperty:e}};n===null?n=[t]:n.push(t),s++}else{let e=s;for(let t in r)if("context"!==t&&"source"!==t&&"type"!==t&&"version"!==t){let e={params:{additionalProperty:t}};n===null?n=[e]:n.push(e),s++;break}if(e===s){if(r.context!==void 0){let t=s;if("string"!=typeof r.context){let t={params:{type:"string"}};n===null?n=[t]:n.push(t),s++}var p=t===s}else p=!0;if(p){if(r.source!==void 0){let t=s;if(!(r.source instanceof Function)){let t={params:{}};n===null?n=[t]:n.push(t),s++}p=t===s}else p=!0;if(p){if(r.type!==void 0){let t=s;if("string"!=typeof r.type){let t={params:{type:"string"}};n===null?n=[t]:n.push(t),s++}p=t===s}else p=!0;if(p)if(r.version!==void 0){let e=r.version,o=s,a=s,i=!1,l=s;if("boolean"!=typeof e){let t={params:{type:"boolean"}};n===null?n=[t]:n.push(t),s++}if(!0!==e){let e={params:{allowedValues:t.properties.version.anyOf[0].enum}};n===null?n=[e]:n.push(e),s++}var c=l===s;if(!(i=i||c)){let t=s;if("string"!=typeof e){let t={params:{type:"string"}};n===null?n=[t]:n.push(t),s++}if(c=t===s,!(i=i||c)){let t=s;if(!(e instanceof Function)){let t={params:{}};n===null?n=[t]:n.push(t),s++}c=t===s,i=i||c}}if(i)s=a,n!==null&&(a?n.length=a:n=null);else{let t={params:{}};n===null?n=[t]:n.push(t),s++}p=o===s}else p=!0}}}}}else{let t={params:{type:"object"}};n===null?n=[t]:n.push(t),s++}l=e===s,a=a||l}}if(!a){let t={params:{}};return n===null?n=[t]:n.push(t),s++,e.errors=n,!1}return s=o,n!==null&&(o?n.length=o:n=null),e.errors=n,s===0}function r(t,{instancePath:n="",parentData,parentDataProperty,rootData=t}={}){let s=null,o=0;if(o===0){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{let i;if(t.modules===void 0&&(i="modules"))return r.errors=[{params:{missingProperty:i}}],!1;{let i=o;for(let e in t)if("context"!==e&&"modules"!==e&&"scheme"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(i===o){if(t.context!==void 0){if("string"!=typeof t.context)return r.errors=[{params:{type:"string"}}],!1;var a=o===o}else a=!0;if(a){if(t.modules!==void 0){let i=t.modules,l=o;if(o===l){if(!i||"object"!=typeof i||Array.isArray(i))return r.errors=[{params:{type:"object"}}],!1;for(let t in i){let r=o;if(e(i[t],{instancePath:n+"/modules/"+t.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:i,parentDataProperty:t,rootData})||(o=(s=s===null?e.errors:s.concat(e.errors)).length),r!==o)break}}a=l===o}else a=!0;if(a)if(t.scheme!==void 0){if("string"!=typeof t.scheme)return r.errors=[{params:{type:"string"}}],!1;a=o===o}else a=!0}}}}}return r.errors=s,o===0}function n(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){let e=null,s=0,o=s,a=!1,i=null,l=s;if(r(t,{instancePath,parentData,parentDataProperty,rootData})||(s=(e=e===null?r.errors:e.concat(r.errors)).length),l===s&&(a=!0,i=0),!a){let t={params:{passingSchemas:i}};return e===null?e=[t]:e.push(t),s++,n.errors=e,!1}return s=o,e!==null&&(o?e.length=o:e=null),n.errors=e,s===0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
// @ts-nocheck
|
|
2
3
|
/*
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
4
5
|
* DO NOT MODIFY BY HAND.
|
|
5
|
-
* Run `yarn fix:special` to update
|
|
6
6
|
*/
|
|
7
|
-
"use strict";module.exports=
|
|
7
|
+
"use strict";module.exports=a,module.exports.default=a;let r=function(r){let e=r.length,t,s=0,n=0;for(;n<e;)s++,(t=r.charCodeAt(n++))>=55296&&t<=56319&&n<e&&(64512&(t=r.charCodeAt(n)))==56320&&n++;return s},e={type:"object",additionalProperties:!1,properties:{eager:{type:"boolean"},exclude:{$ref:"#/definitions/SharedModuleFilter"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/ConsumesItem"}]},include:{$ref:"#/definitions/SharedModuleFilter"},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"}}},t=Object.prototype.hasOwnProperty;function s(n,{instancePath="",parentData,parentDataProperty,rootData=n}={}){let o=null,a=0;if(a===0){if(!n||"object"!=typeof n||Array.isArray(n))return s.errors=[{params:{type:"object"}}],!1;{let y=a;for(let r in n)if(!t.call(e.properties,r))return s.errors=[{params:{additionalProperty:r}}],!1;if(y===a){if(n.eager!==void 0){if("boolean"!=typeof n.eager)return s.errors=[{params:{type:"boolean"}}],!1;var i=a===a}else i=!0;if(i){if(n.exclude!==void 0){let e=n.exclude,t=a;if(a==a){if(!e||"object"!=typeof e||Array.isArray(e))return s.errors=[{params:{type:"object"}}],!1;{let t=a;for(let r in e)if("request"!==r&&"version"!==r)return s.errors=[{params:{additionalProperty:r}}],!1;if(t===a){if(e.request!==void 0){let t=e.request,n=a,i=a,f=!1,u=a;if(!(t instanceof RegExp)){let r={params:{}};o===null?o=[r]:o.push(r),a++}var l=u===a;if(!(f=f||l)){let e=a;if(a===e)if("string"==typeof t){if(r(t)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),a++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),a++}l=e===a,f=f||l}if(!f){let r={params:{}};return o===null?o=[r]:o.push(r),a++,s.errors=o,!1}a=i,o!==null&&(i?o.length=i:o=null);var p=n===a}else p=!0;if(p)if(e.version!==void 0){let t=e.version,n=a;if(a===n){if("string"!=typeof t)return s.errors=[{params:{type:"string"}}],!1;if(r(t)<1)return s.errors=[{params:{limit:1}}],!1}p=n===a}else p=!0}}}i=t===a}else i=!0;if(i){if(n.import!==void 0){let t=n.import,l=a,p=a,u=!1,c=a;if(!1!==t){let r={params:{allowedValues:e.properties.import.anyOf[0].enum}};o===null?o=[r]:o.push(r),a++}var f=c===a;if(!(u=u||f)){let e=a;if(a==a)if("string"==typeof t){if(r(t)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),a++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),a++}f=e===a,u=u||f}if(!u){let r={params:{}};return o===null?o=[r]:o.push(r),a++,s.errors=o,!1}a=p,o!==null&&(p?o.length=p:o=null),i=l===a}else i=!0;if(i){if(n.include!==void 0){let e=n.include,t=a;if(a==a){if(!e||"object"!=typeof e||Array.isArray(e))return s.errors=[{params:{type:"object"}}],!1;{let t=a;for(let r in e)if("request"!==r&&"version"!==r)return s.errors=[{params:{additionalProperty:r}}],!1;if(t===a){if(e.request!==void 0){let t=e.request,n=a,i=a,l=!1,p=a;if(!(t instanceof RegExp)){let r={params:{}};o===null?o=[r]:o.push(r),a++}var u=p===a;if(!(l=l||u)){let e=a;if(a===e)if("string"==typeof t){if(r(t)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),a++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),a++}u=e===a,l=l||u}if(!l){let r={params:{}};return o===null?o=[r]:o.push(r),a++,s.errors=o,!1}a=i,o!==null&&(i?o.length=i:o=null);var c=n===a}else c=!0;if(c)if(e.version!==void 0){let t=e.version,n=a;if(a===n){if("string"!=typeof t)return s.errors=[{params:{type:"string"}}],!1;if(r(t)<1)return s.errors=[{params:{limit:1}}],!1}c=n===a}else c=!0}}}i=t===a}else i=!0;if(i){if(n.packageName!==void 0){let e=n.packageName,t=a;if(a===t){if("string"!=typeof e)return s.errors=[{params:{type:"string"}}],!1;if(r(e)<1)return s.errors=[{params:{limit:1}}],!1}i=t===a}else i=!0;if(i){if(n.requiredVersion!==void 0){let r=n.requiredVersion,t=a,l=a,p=!1,f=a;if(!1!==r){let r={params:{allowedValues:e.properties.requiredVersion.anyOf[0].enum}};o===null?o=[r]:o.push(r),a++}var m=f===a;if(!(p=p||m)){let e=a;if("string"!=typeof r){let r={params:{type:"string"}};o===null?o=[r]:o.push(r),a++}m=e===a,p=p||m}if(!p){let r={params:{}};return o===null?o=[r]:o.push(r),a++,s.errors=o,!1}a=l,o!==null&&(l?o.length=l:o=null),i=t===a}else i=!0;if(i){if(n.shareKey!==void 0){let e=n.shareKey,t=a;if(a===t){if("string"!=typeof e)return s.errors=[{params:{type:"string"}}],!1;if(r(e)<1)return s.errors=[{params:{limit:1}}],!1}i=t===a}else i=!0;if(i){if(n.shareScope!==void 0){let e=n.shareScope,t=a;if(a===t){if("string"!=typeof e)return s.errors=[{params:{type:"string"}}],!1;if(r(e)<1)return s.errors=[{params:{limit:1}}],!1}i=t===a}else i=!0;if(i){if(n.singleton!==void 0){if("boolean"!=typeof n.singleton)return s.errors=[{params:{type:"boolean"}}],!1;i=a===a}else i=!0;if(i)if(n.strictVersion!==void 0){if("boolean"!=typeof n.strictVersion)return s.errors=[{params:{type:"boolean"}}],!1;i=a===a}else i=!0}}}}}}}}}}}return s.errors=o,a===0}function n(e,{instancePath:t="",parentData,parentDataProperty,rootData=e}={}){let o=null,a=0;if(a===0){if(!e||"object"!=typeof e||Array.isArray(e))return n.errors=[{params:{type:"object"}}],!1;for(let l in e){let p=e[l],f=a,u=a,c=!1,m=a;s(p,{instancePath:t+"/"+l.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:e,parentDataProperty:l,rootData})||(a=(o=o===null?s.errors:o.concat(s.errors)).length);var i=m===a;if(!(c=c||i)){let e=a;if(a==a)if("string"==typeof p){if(r(p)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),a++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),a++}i=e===a,c=c||i}if(!c){let r={params:{}};return o===null?o=[r]:o.push(r),a++,n.errors=o,!1}if(a=u,o!==null&&(u?o.length=u:o=null),f!==a)break}}return n.errors=o,a===0}function o(e,{instancePath:t="",parentData,parentDataProperty,rootData=e}={}){let s=null,a=0,i=a,l=!1,p=a;if(a===p)if(Array.isArray(e)){let o=e.length;for(let i=0;i<o;i++){let o=e[i],l=a,p=a,u=!1,c=a;if(a==a)if("string"==typeof o){if(r(o)<1){let r={params:{limit:1}};s===null?s=[r]:s.push(r),a++}}else{let r={params:{type:"string"}};s===null?s=[r]:s.push(r),a++}var f=c===a;if(!(u=u||f)){let r=a;n(o,{instancePath:t+"/"+i,parentData:e,parentDataProperty:i,rootData})||(a=(s=s===null?n.errors:s.concat(n.errors)).length),f=r===a,u=u||f}if(u)a=p,s!==null&&(p?s.length=p:s=null);else{let r={params:{}};s===null?s=[r]:s.push(r),a++}if(l!==a)break}}else{let r={params:{type:"array"}};s===null?s=[r]:s.push(r),a++}var u=p===a;if(!(l=l||u)){let r=a;n(e,{instancePath:t,parentData,parentDataProperty,rootData})||(a=(s=s===null?n.errors:s.concat(n.errors)).length),u=r===a,l=l||u}if(!l){let r={params:{}};return s===null?s=[r]:s.push(r),a++,o.errors=s,!1}return a=i,s!==null&&(i?s.length=i:s=null),o.errors=s,a===0}function a(e,{instancePath:t="",parentData,parentDataProperty,rootData=e}={}){let s=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return a.errors=[{params:{type:"object"}}],!1;{let l;if(e.consumes===void 0&&(l="consumes"))return a.errors=[{params:{missingProperty:l}}],!1;{let l=n;for(let r in e)if("consumes"!==r&&"shareScope"!==r)return a.errors=[{params:{additionalProperty:r}}],!1;if(l===n){if(e.consumes!==void 0){let r=n;o(e.consumes,{instancePath:t+"/consumes",parentData:e,parentDataProperty:"consumes",rootData})||(n=(s=s===null?o.errors:s.concat(o.errors)).length);var i=r===n}else i=!0;if(i)if(e.shareScope!==void 0){let t=e.shareScope,s=n;if(n===s){if("string"!=typeof t)return a.errors=[{params:{type:"string"}}],!1;if(r(t)<1)return a.errors=[{params:{limit:1}}],!1}i=s===n}else i=!0}}}}return a.errors=s,n===0}
|