webpack 5.111.1 → 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/README.md +1 -1
- package/bin/webpack.js +13 -7
- package/lib/Chunk.js +3 -966
- package/lib/Compilation.js +373 -163
- package/lib/Compiler.js +31 -44
- package/lib/Dependency.js +3 -551
- package/lib/DependencyTemplate.js +3 -70
- package/lib/EntryPlugin.js +3 -68
- package/lib/Entrypoint.js +3 -121
- package/lib/ExternalsPlugin.js +3 -92
- package/lib/FileSystemInfo.js +3 -4629
- package/lib/InitFragment.js +3 -204
- package/lib/LibraryTemplatePlugin.js +3 -46
- package/lib/ModuleFilenameHelpers.js +3 -400
- package/lib/ModuleNotFoundError.js +2 -2
- package/lib/MultiCompiler.js +37 -8
- package/lib/NormalModule.js +3 -2242
- package/lib/NullFactory.js +3 -22
- package/lib/ProgressPlugin.js +3 -908
- package/lib/RawModule.js +3 -197
- package/lib/RequestShortener.js +3 -37
- package/lib/SingleEntryPlugin.js +1 -1
- package/lib/WebpackError.js +2 -2
- package/lib/asset/AssetBytesGenerator.js +21 -13
- package/lib/asset/AssetBytesParser.js +12 -10
- package/lib/asset/AssetGenerator.js +71 -69
- package/lib/asset/AssetModule.js +13 -2
- package/lib/asset/AssetModulesPlugin.js +10 -12
- package/lib/asset/AssetParser.js +10 -10
- package/lib/asset/AssetSourceGenerator.js +23 -15
- package/lib/asset/AssetSourceParser.js +12 -10
- package/lib/asset/RawDataUrlModule.js +17 -10
- package/lib/asset/WebManifestGenerator.js +17 -12
- package/lib/asset/WebManifestParser.js +8 -8
- package/lib/async-modules/AsyncModuleHelpers.js +12 -5
- package/lib/async-modules/AwaitDependenciesInitFragment.js +4 -4
- package/lib/async-modules/InferAsyncModulesPlugin.js +9 -3
- package/lib/async-modules/isGeneratorLowered.js +3 -3
- package/lib/bun/BunTargetPlugin.js +1 -1
- package/lib/cache/AddBuildDependenciesPlugin.js +2 -19
- package/lib/{Cache.js → cache/Cache.js} +1 -1
- package/lib/{CacheFacade.js → cache/CacheFacade.js} +6 -6
- package/lib/cache/IdleFileCachePlugin.js +2 -2
- package/lib/cache/MemoryCachePlugin.js +2 -2
- package/lib/cache/MemoryWithGcCachePlugin.js +2 -2
- package/lib/cache/PackFileCacheStrategy.js +13 -19
- package/lib/cache/ResolverCachePlugin.js +65 -11
- package/lib/cache/mergeEtags.js +1 -1
- package/lib/{OptionsApply.js → config/OptionsApply.js} +3 -3
- package/lib/{PlatformPlugin.js → config/PlatformPlugin.js} +2 -2
- package/lib/{WebpackOptionsApply.js → config/WebpackOptionsApply.js} +209 -212
- package/lib/{WebpackOptionsDefaulter.js → config/WebpackOptionsDefaulter.js} +3 -3
- package/lib/config/browserslistTargetHandler.js +1 -1
- package/lib/{cli.js → config/cli.js} +14 -164
- package/lib/config/defaults.js +166 -59
- package/lib/config/getClaimedAssetTypes.js +22 -14
- package/lib/config/normalization.js +18 -7
- package/lib/config/target.js +11 -1
- package/lib/container/ContainerEntryDependency.js +1 -1
- package/lib/container/ContainerEntryModule.js +13 -11
- package/lib/container/ContainerEntryModuleFactory.js +2 -2
- package/lib/container/ContainerExposedDependency.js +1 -1
- package/lib/container/ContainerPlugin.js +178 -5
- package/lib/container/ContainerReferencePlugin.js +75 -14
- package/lib/container/FallbackDependency.js +1 -1
- package/lib/container/FallbackItemDependency.js +1 -1
- package/lib/container/FallbackModule.js +12 -10
- package/lib/container/FallbackModuleFactory.js +2 -2
- package/lib/container/HoistContainerReferencesPlugin.js +10 -11
- package/lib/container/ModuleFederationPlugin.js +306 -7
- package/lib/container/RemoteModule.js +14 -10
- package/lib/container/RemoteRuntimeModule.js +5 -5
- package/lib/container/RemoteToExternalDependency.js +1 -1
- package/lib/container/moduleFederationHooks.js +1 -1
- package/lib/context/ContextModule.js +37 -26
- package/lib/context/ContextModuleFactory.js +14 -11
- package/lib/context/ContextReplacementPlugin.js +6 -12
- package/lib/css/CssGenerator.js +78 -68
- package/lib/css/CssInjectStyleRuntimeModule.js +36 -30
- package/lib/css/CssLoadingRuntimeModule.js +77 -44
- package/lib/css/CssModule.js +37 -29
- package/lib/css/CssModulesPlugin.js +129 -45
- package/lib/css/CssParser.js +714 -322
- package/lib/css/CssServerStylesRuntimeModule.js +3 -3
- package/lib/{util → css}/conventions.js +1 -1
- package/lib/css/cssMinify.js +110 -37
- package/lib/css/data.js +6990 -5125
- package/lib/css/syntax-parser.js +20734 -0
- package/lib/css/syntax-printer.js +6092 -0
- package/lib/css/syntax.js +37 -18686
- package/lib/debug/ProfilingPlugin.js +106 -51
- package/lib/{DefinePlugin.js → define/DefinePlugin.js} +416 -55
- package/lib/{DotenvPlugin.js → define/DotenvPlugin.js} +19 -15
- package/lib/{EnvironmentPlugin.js → define/EnvironmentPlugin.js} +6 -4
- package/lib/deno/DenoTargetPlugin.js +1 -1
- package/lib/dependencies/ConstDependency.js +3 -120
- package/lib/dependencies/ContextElementDependency.js +5 -172
- package/lib/dependencies/NullDependency.js +3 -37
- package/lib/dependencies/{AMDDefineDependency.js → amd/AMDDefineDependency.js} +12 -11
- package/lib/dependencies/{AMDDefineDependencyParserPlugin.js → amd/AMDDefineDependencyParserPlugin.js} +10 -11
- package/lib/dependencies/{AMDPlugin.js → amd/AMDPlugin.js} +11 -11
- package/lib/dependencies/{AMDRequireArrayDependency.js → amd/AMDRequireArrayDependency.js} +15 -13
- package/lib/dependencies/{AMDRequireContextDependency.js → amd/AMDRequireContextDependency.js} +11 -10
- package/lib/dependencies/{AMDRequireDependenciesBlock.js → amd/AMDRequireDependenciesBlock.js} +7 -6
- package/lib/dependencies/{AMDRequireDependenciesBlockParserPlugin.js → amd/AMDRequireDependenciesBlockParserPlugin.js} +14 -11
- package/lib/dependencies/{AMDRequireDependency.js → amd/AMDRequireDependency.js} +13 -12
- package/lib/dependencies/{AMDRequireItemDependency.js → amd/AMDRequireItemDependency.js} +8 -7
- package/lib/dependencies/{AMDRuntimeModules.js → amd/AMDRuntimeModules.js} +3 -3
- package/lib/dependencies/{LocalModule.js → amd/LocalModule.js} +8 -4
- package/lib/dependencies/{LocalModuleDependency.js → amd/LocalModuleDependency.js} +17 -10
- package/lib/dependencies/{LocalModulesHelpers.js → amd/LocalModulesHelpers.js} +1 -1
- package/lib/dependencies/{RequireJsStuffPlugin.js → amd/RequireJsStuffPlugin.js} +9 -9
- package/lib/dependencies/{UnsupportedDependency.js → amd/UnsupportedDependency.js} +11 -10
- package/lib/dependencies/{CommonJsDependencyHelpers.js → commonjs/CommonJsDependencyHelpers.js} +8 -9
- package/lib/dependencies/{CommonJsExportRequireDependency.js → commonjs/CommonJsExportRequireDependency.js} +166 -36
- package/lib/dependencies/{CommonJsExportsDependency.js → commonjs/CommonJsExportsDependency.js} +15 -14
- package/lib/dependencies/{CommonJsExportsParserPlugin.js → commonjs/CommonJsExportsParserPlugin.js} +154 -92
- package/lib/dependencies/{CommonJsFullRequireDependency.js → commonjs/CommonJsFullRequireDependency.js} +32 -24
- package/lib/dependencies/{CommonJsImportsParserPlugin.js → commonjs/CommonJsImportsParserPlugin.js} +36 -33
- package/lib/dependencies/{CommonJsObjectExportDependency.js → commonjs/CommonJsObjectExportDependency.js} +17 -16
- package/lib/dependencies/{CommonJsPlugin.js → commonjs/CommonJsPlugin.js} +48 -39
- package/lib/dependencies/{CommonJsRequireContextDependency.js → commonjs/CommonJsRequireContextDependency.js} +15 -14
- package/lib/dependencies/{CommonJsRequireDependency.js → commonjs/CommonJsRequireDependency.js} +33 -25
- package/lib/dependencies/{CommonJsSelfReferenceDependency.js → commonjs/CommonJsSelfReferenceDependency.js} +17 -16
- package/lib/dependencies/{ModuleDecoratorDependency.js → commonjs/ModuleDecoratorDependency.js} +16 -15
- package/lib/dependencies/{RequireEnsureDependenciesBlock.js → commonjs/RequireEnsureDependenciesBlock.js} +8 -7
- package/lib/dependencies/{RequireEnsureDependenciesBlockParserPlugin.js → commonjs/RequireEnsureDependenciesBlockParserPlugin.js} +9 -6
- package/lib/dependencies/{RequireEnsureDependency.js → commonjs/RequireEnsureDependency.js} +13 -12
- package/lib/dependencies/{RequireEnsureItemDependency.js → commonjs/RequireEnsureItemDependency.js} +7 -6
- package/lib/dependencies/{RequireEnsurePlugin.js → commonjs/RequireEnsurePlugin.js} +8 -8
- package/lib/dependencies/{RequireHeaderDependency.js → commonjs/RequireHeaderDependency.js} +14 -13
- package/lib/dependencies/{RequireIncludeDependency.js → commonjs/RequireIncludeDependency.js} +13 -12
- package/lib/dependencies/{RequireIncludeDependencyParserPlugin.js → commonjs/RequireIncludeDependencyParserPlugin.js} +3 -27
- package/lib/dependencies/{RequireIncludePlugin.js → commonjs/RequireIncludePlugin.js} +4 -4
- package/lib/dependencies/{RequireResolveContextDependency.js → commonjs/RequireResolveContextDependency.js} +11 -10
- package/lib/dependencies/{RequireResolveDependency.js → commonjs/RequireResolveDependency.js} +12 -11
- package/lib/dependencies/{RequireResolveHeaderDependency.js → commonjs/RequireResolveHeaderDependency.js} +13 -12
- package/lib/dependencies/commonjs/TopLevelThisParserPlugin.js +59 -0
- package/lib/dependencies/{ContextDependency.js → context/ContextDependency.js} +15 -14
- package/lib/dependencies/{ContextDependencyHelpers.js → context/ContextDependencyHelpers.js} +31 -9
- package/lib/dependencies/{ContextDependencyTemplateAsId.js → context/ContextDependencyTemplateAsId.js} +3 -3
- package/lib/dependencies/{ContextDependencyTemplateAsRequireCall.js → context/ContextDependencyTemplateAsRequireCall.js} +3 -3
- package/lib/dependencies/context/ContextElementDependency.js +198 -0
- package/lib/dependencies/{ImportMetaContextDependency.js → context/ImportMetaContextDependency.js} +7 -6
- package/lib/dependencies/{ImportMetaContextDependencyParserPlugin.js → context/ImportMetaContextDependencyParserPlugin.js} +10 -11
- package/lib/dependencies/{ImportMetaContextPlugin.js → context/ImportMetaContextPlugin.js} +5 -5
- package/lib/dependencies/{ImportMetaGlobDependency.js → context/ImportMetaGlobDependency.js} +7 -6
- package/lib/dependencies/{ImportMetaGlobDependencyParserPlugin.js → context/ImportMetaGlobDependencyParserPlugin.js} +7 -10
- package/lib/dependencies/{ImportMetaGlobHelpers.js → context/ImportMetaGlobHelpers.js} +17 -19
- package/lib/dependencies/{RequireContextDependency.js → context/RequireContextDependency.js} +7 -6
- package/lib/dependencies/{RequireContextDependencyParserPlugin.js → context/RequireContextDependencyParserPlugin.js} +2 -2
- package/lib/dependencies/{RequireContextPlugin.js → context/RequireContextPlugin.js} +5 -5
- package/lib/dependencies/{CachedConstDependency.js → core/CachedConstDependency.js} +21 -17
- package/lib/dependencies/core/ConstDependency.js +131 -0
- package/lib/dependencies/{ImportPhase.js → core/ImportPhase.js} +5 -4
- package/lib/dependencies/{ModuleDependency.js → core/ModuleDependency.js} +10 -7
- package/lib/dependencies/{ModuleDependencyTemplateAsId.js → core/ModuleDependencyTemplateAsId.js} +3 -3
- package/lib/dependencies/{ModuleDependencyTemplateAsRequireId.js → core/ModuleDependencyTemplateAsRequireId.js} +2 -2
- package/lib/dependencies/{ModuleInitFragmentDependency.js → core/ModuleInitFragmentDependency.js} +10 -9
- package/lib/dependencies/core/NullDependency.js +44 -0
- package/lib/dependencies/{RuntimeRequirementsDependency.js → core/RuntimeRequirementsDependency.js} +10 -9
- package/lib/dependencies/{StaticExportsDependency.js → core/StaticExportsDependency.js} +15 -8
- package/lib/dependencies/{CssIcssExportDependency.js → css/CssIcssExportDependency.js} +375 -99
- package/lib/dependencies/{CssIcssImportDependency.js → css/CssIcssImportDependency.js} +24 -19
- package/lib/dependencies/{CssIcssSymbolDependency.js → css/CssIcssSymbolDependency.js} +13 -12
- package/lib/dependencies/{CssImportDependency.js → css/CssImportDependency.js} +15 -11
- package/lib/dependencies/{CssUrlDependency.js → css/CssUrlDependency.js} +25 -22
- package/lib/dependencies/{CreateRequireParserPlugin.js → esm/CreateRequireParserPlugin.js} +9 -9
- package/lib/dependencies/{HarmonyAcceptDependency.js → esm/ESMAcceptDependency.js} +41 -38
- package/lib/dependencies/esm/ESMAcceptImportDependency.js +39 -0
- package/lib/dependencies/{HarmonyCompatibilityDependency.js → esm/ESMCompatibilityDependency.js} +29 -21
- package/lib/dependencies/{HarmonyDetectionParserPlugin.js → esm/ESMDetectionParserPlugin.js} +20 -20
- package/lib/dependencies/{HarmonyEvaluatedImportSpecifierDependency.js → esm/ESMEvaluatedImportSpecifierDependency.js} +33 -30
- package/lib/dependencies/{HarmonyExportDependencyParserPlugin.js → esm/ESMExportDependencyParserPlugin.js} +60 -89
- package/lib/dependencies/{HarmonyExportExpressionDependency.js → esm/ESMExportExpressionDependency.js} +80 -45
- package/lib/dependencies/{HarmonyExportHeaderDependency.js → esm/ESMExportHeaderDependency.js} +17 -15
- package/lib/dependencies/esm/ESMExportImportedSideEffectDependency.js +37 -0
- package/lib/dependencies/{HarmonyExportImportedSpecifierDependency.js → esm/ESMExportImportedSpecifierDependency.js} +146 -133
- package/lib/dependencies/{HarmonyExportInitFragment.js → esm/ESMExportInitFragment.js} +48 -30
- package/lib/dependencies/{HarmonyExportSpecifierDependency.js → esm/ESMExportSpecifierDependency.js} +78 -37
- package/lib/dependencies/{HarmonyExports.js → esm/ESMExports.js} +4 -12
- package/lib/dependencies/{HarmonyImportBareSideEffectDependency.js → esm/ESMImportBareSideEffectDependency.js} +21 -13
- package/lib/dependencies/{HarmonyImportDependency.js → esm/ESMImportDependency.js} +86 -68
- package/lib/dependencies/{HarmonyImportDependencyParserPlugin.js → esm/ESMImportDependencyParserPlugin.js} +104 -100
- package/lib/dependencies/{HarmonyImportGuard.js → esm/ESMImportGuard.js} +36 -51
- package/lib/dependencies/{HarmonyImportSideEffectDependency.js → esm/ESMImportSideEffectDependency.js} +83 -39
- package/lib/dependencies/{HarmonyImportSpecifierDependency.js → esm/ESMImportSpecifierDependency.js} +98 -60
- package/lib/dependencies/esm/ESMLiveExportDependency.js +311 -0
- package/lib/dependencies/esm/ESMLiveExportParserPlugin.js +862 -0
- package/lib/dependencies/esm/ESMModulesPlugin.js +205 -0
- package/lib/dependencies/{HarmonyTopLevelThisParserPlugin.js → esm/ESMTopLevelThisParserPlugin.js} +7 -7
- package/lib/dependencies/{TopLevelAwaitDependency.js → esm/TopLevelAwaitDependency.js} +12 -18
- package/lib/dependencies/{DynamicExports.js → helpers/DynamicExports.js} +5 -7
- package/lib/{util → dependencies/helpers}/chainedImports.js +5 -5
- package/lib/dependencies/{processExportInfo.js → helpers/processExportInfo.js} +4 -4
- package/lib/{util → dependencies/helpers}/traverseDestructuringAssignmentProperties.js +1 -1
- package/lib/dependencies/{ImportMetaHotAcceptDependency.js → hmr/ImportMetaHotAcceptDependency.js} +8 -7
- package/lib/dependencies/{ImportMetaHotDeclineDependency.js → hmr/ImportMetaHotDeclineDependency.js} +8 -7
- package/lib/dependencies/{ModuleHotAcceptDependency.js → hmr/ModuleHotAcceptDependency.js} +8 -7
- package/lib/dependencies/{ModuleHotDeclineDependency.js → hmr/ModuleHotDeclineDependency.js} +8 -7
- package/lib/dependencies/{HtmlEntryDependency.js → html/HtmlEntryDependency.js} +52 -151
- package/lib/dependencies/{HtmlInlineHtmlDependency.js → html/HtmlInlineHtmlDependency.js} +13 -15
- package/lib/dependencies/{HtmlInlineScriptDependency.js → html/HtmlInlineScriptDependency.js} +69 -23
- package/lib/dependencies/{HtmlInlineStyleDependency.js → html/HtmlInlineStyleDependency.js} +50 -18
- package/lib/dependencies/{HtmlSourceDependency.js → html/HtmlSourceDependency.js} +23 -16
- package/lib/dependencies/{ImportContextDependency.js → import/ImportContextDependency.js} +24 -10
- package/lib/dependencies/{ImportDependency.js → import/ImportDependency.js} +26 -18
- package/lib/dependencies/{ImportEagerDependency.js → import/ImportEagerDependency.js} +18 -10
- package/lib/dependencies/{ImportParserPlugin.js → import/ImportParserPlugin.js} +22 -25
- package/lib/dependencies/{ImportPlugin.js → import/ImportPlugin.js} +4 -4
- package/lib/dependencies/{ImportWeakDependency.js → import/ImportWeakDependency.js} +18 -10
- package/lib/dependencies/{importOptionsCheck.js → import/importOptionsCheck.js} +2 -2
- package/lib/dependencies/{BuildTimeConstDependency.js → import-meta/BuildTimeConstDependency.js} +12 -11
- package/lib/dependencies/{ImportMetaMainDependency.js → import-meta/ImportMetaMainDependency.js} +12 -11
- package/lib/dependencies/{ImportMetaPlugin.js → import-meta/ImportMetaPlugin.js} +122 -103
- package/lib/dependencies/{SystemPlugin.js → system/SystemPlugin.js} +11 -38
- package/lib/dependencies/{SystemRuntimeModule.js → system/SystemRuntimeModule.js} +3 -3
- package/lib/dependencies/{ImportMetaResolveDependency.js → url/ImportMetaResolveDependency.js} +9 -8
- package/lib/dependencies/{URLContextDependency.js → url/URLContextDependency.js} +11 -10
- package/lib/dependencies/{URLDependency.js → url/URLDependency.js} +28 -20
- package/lib/{url → dependencies/url}/URLParserPlugin.js +17 -19
- package/lib/dependencies/{URLPlugin.js → url/URLPlugin.js} +6 -7
- package/lib/dependencies/{WebAssemblyExportImportedDependency.js → wasm/WebAssemblyExportImportedDependency.js} +18 -11
- package/lib/dependencies/{WebAssemblyImportDependency.js → wasm/WebAssemblyImportDependency.js} +19 -12
- package/lib/dependencies/{CreateScriptUrlDependency.js → worker/CreateScriptUrlDependency.js} +12 -11
- package/lib/dependencies/{WorkerAndWorkletPlugin.js → worker/WorkerAndWorkletPlugin.js} +82 -53
- package/lib/dependencies/{WorkerDependency.js → worker/WorkerDependency.js} +22 -15
- package/lib/dependencies/{WorkletDependency.js → worker/WorkletDependency.js} +19 -18
- package/lib/{EvalDevToolModulePlugin.js → devtool/EvalDevToolModulePlugin.js} +20 -6
- package/lib/{EvalSourceMapDevToolPlugin.js → devtool/EvalSourceMapDevToolPlugin.js} +32 -24
- package/lib/devtool/ModuleFilenameHelpers.js +413 -0
- package/lib/{SourceMapDevToolModuleOptionsPlugin.js → devtool/SourceMapDevToolModuleOptionsPlugin.js} +10 -3
- package/lib/{SourceMapDevToolPlugin.js → devtool/SourceMapDevToolPlugin.js} +155 -27
- package/lib/{util → devtool}/generateDebugId.js +1 -1
- package/lib/{IgnoreWarningsPlugin.js → diagnostics/IgnoreWarningsPlugin.js} +2 -2
- package/lib/{NoEmitOnErrorsPlugin.js → diagnostics/NoEmitOnErrorsPlugin.js} +1 -1
- package/lib/diagnostics/WarnCaseSensitiveModulesPlugin.js +64 -0
- package/lib/{WarnDeprecatedOptionPlugin.js → diagnostics/WarnDeprecatedOptionPlugin.js} +2 -22
- package/lib/diagnostics/WarnNoModeSetPlugin.js +27 -0
- package/lib/dll/DelegatedModule.js +23 -21
- package/lib/dll/DelegatedModuleFactoryPlugin.js +2 -2
- package/lib/dll/DelegatedPlugin.js +1 -1
- package/lib/{dependencies → dll}/DelegatedSourceDependency.js +5 -4
- package/lib/{dependencies → dll}/DllEntryDependency.js +6 -5
- package/lib/dll/DllEntryPlugin.js +3 -3
- package/lib/dll/DllModule.js +14 -10
- package/lib/dll/DllModuleFactory.js +3 -3
- package/lib/dll/DllPlugin.js +18 -6
- package/lib/dll/DllReferencePlugin.js +103 -30
- package/lib/dll/LibManifestPlugin.js +9 -7
- package/lib/electron/ElectronTargetPlugin.js +2 -2
- package/lib/{DynamicEntryPlugin.js → entry/DynamicEntryPlugin.js} +3 -3
- package/lib/{dependencies → entry}/EntryDependency.js +11 -2
- package/lib/{EntryOptionPlugin.js → entry/EntryOptionPlugin.js} +6 -6
- package/lib/entry/EntryPlugin.js +75 -0
- package/lib/errors/AbstractMethodError.js +1 -1
- package/lib/{performance → errors}/AssetsOverSizeLimitWarning.js +2 -2
- package/lib/errors/AsyncDependencyToInitialChunkError.js +2 -2
- package/lib/errors/BuildCycleError.js +1 -1
- package/lib/{WarnCaseSensitiveModulesPlugin.js → errors/CaseSensitiveModulesWarning.js} +4 -56
- package/lib/errors/ChunkRenderError.js +1 -1
- package/lib/errors/CodeGenerationError.js +1 -1
- package/lib/errors/CommentCompilationWarning.js +1 -1
- package/lib/errors/ConflictingEntryExportsWarning.js +38 -0
- package/lib/{dependencies → errors}/CriticalDependencyWarning.js +4 -3
- package/lib/errors/DeprecatedOptionWarning.js +30 -0
- package/lib/errors/DllManifestError.js +26 -0
- package/lib/{performance → errors}/DuplicatePackagesWarning.js +6 -6
- package/lib/{dependencies/HarmonyLinkingError.js → errors/ESMLinkingError.js} +4 -4
- package/lib/{performance → errors}/EntrypointsOverSizeLimitWarning.js +2 -2
- package/lib/errors/EnvironmentNotSupportAsyncWarning.js +2 -2
- package/lib/{ErrorHelpers.js → errors/ErrorHelpers.js} +9 -6
- package/lib/errors/ExternalStarReexportError.js +2 -2
- package/lib/{library → errors}/FalseIIFEUmdWarning.js +1 -1
- package/lib/errors/HookWebpackError.js +6 -5
- package/lib/errors/IgnoreErrorModuleFactory.js +3 -3
- package/lib/errors/InvalidDependenciesModuleWarning.js +1 -1
- package/lib/errors/JSONParseError.js +4 -4
- package/lib/{optimize → errors}/MinMaxSizeWarning.js +1 -1
- package/lib/errors/ModuleBuildError.js +1 -1
- package/lib/errors/ModuleDependencyError.js +2 -2
- package/lib/errors/ModuleDependencyWarning.js +2 -2
- package/lib/errors/ModuleError.js +1 -1
- package/lib/errors/ModuleHashingError.js +1 -1
- package/lib/errors/ModuleNotFoundError.js +3 -3
- package/lib/errors/ModuleParseError.js +1 -1
- package/lib/errors/ModuleRestoreError.js +1 -1
- package/lib/errors/ModuleStoreError.js +1 -1
- package/lib/errors/ModuleWarning.js +1 -1
- package/lib/{performance → errors}/NoAsyncChunksWarning.js +1 -1
- package/lib/{WarnNoModeSetPlugin.js → errors/NoModeWarning.js} +2 -19
- package/lib/errors/NodeStuffInWebError.js +7 -2
- package/lib/errors/PathVariableError.js +31 -0
- package/lib/errors/RequireIncludeDeprecationWarning.js +40 -0
- package/lib/{performance → errors}/RuntimeInLargeChunkWarning.js +1 -1
- package/lib/errors/RuntimeModuleGenerationError.js +51 -0
- package/lib/errors/SSRManifestAutoPublicPathWarning.js +24 -0
- package/lib/errors/SystemImportDeprecationWarning.js +43 -0
- package/lib/errors/UnmergeableEntryExportsError.js +34 -0
- package/lib/errors/UnsupportedFeatureWarning.js +1 -1
- package/lib/{wasm-sync → errors}/UnsupportedWebAssemblyFeatureError.js +1 -1
- package/lib/{wasm-sync → errors}/WebAssemblyInInitialChunkError.js +7 -5
- package/lib/errors/WebpackError.js +13 -3
- package/lib/esm/ExportWebpackRequireRuntimeModule.js +2 -2
- package/lib/esm/ModuleChunkFormatPlugin.js +55 -20
- package/lib/esm/ModuleChunkLoadingPlugin.js +3 -3
- package/lib/esm/ModuleChunkLoadingRuntimeModule.js +8 -8
- package/lib/{ExternalModule.js → externals/ExternalModule.js} +90 -63
- package/lib/{ExternalModuleFactoryPlugin.js → externals/ExternalModuleFactoryPlugin.js} +42 -41
- package/lib/externals/ExternalsPlugin.js +99 -0
- package/lib/fs/FileSystemInfo.js +4642 -0
- package/lib/{util → fs}/fs.js +22 -9
- package/lib/{AsyncDependenciesBlock.js → graph/AsyncDependenciesBlock.js} +27 -4
- package/lib/graph/Chunk.js +985 -0
- package/lib/{ChunkGraph.js → graph/ChunkGraph.js} +192 -80
- package/lib/{ChunkGroup.js → graph/ChunkGroup.js} +11 -3
- package/lib/{DependenciesBlock.js → graph/DependenciesBlock.js} +16 -4
- package/lib/graph/Dependency.js +634 -0
- package/lib/graph/Entrypoint.js +136 -0
- package/lib/{ExportsInfo.js → graph/ExportsInfo.js} +131 -83
- package/lib/{HotUpdateChunk.js → graph/HotUpdateChunk.js} +8 -0
- package/lib/{ModuleGraph.js → graph/ModuleGraph.js} +44 -33
- package/lib/{ModuleGraphConnection.js → graph/ModuleGraphConnection.js} +2 -2
- package/lib/{buildChunkGraph.js → graph/buildChunkGraph.js} +169 -76
- package/lib/{util → graph}/findGraphRoots.js +15 -9
- package/lib/graph/isDependencyKind.js +23 -0
- package/lib/hmr/HotModuleReplacement.runtime.js +12 -11
- package/lib/{HotModuleReplacementPlugin.js → hmr/HotModuleReplacementPlugin.js} +51 -57
- package/lib/hmr/HotModuleReplacementRuntimeModule.js +3 -3
- package/lib/hmr/JavascriptHotModuleReplacement.runtime.js +25 -26
- package/lib/hmr/JavascriptHotModuleReplacementHelper.js +2 -2
- package/lib/hmr/LazyCompilationPlugin.js +32 -28
- package/lib/html/HtmlGenerator.js +132 -60
- package/lib/html/HtmlModule.js +16 -2
- package/lib/html/HtmlModulesPlugin.js +184 -87
- package/lib/html/HtmlParser.js +511 -160
- package/lib/html/builtinEmbeddedRenderer.js +70 -25
- package/lib/html/data.js +44 -22
- package/lib/html/htmlMinify.js +114 -41
- package/lib/html/syntax-parser.js +15795 -0
- package/lib/html/syntax-printer.js +1033 -0
- package/lib/html/syntax.js +37 -13952
- package/lib/html/xmlMinify.js +70 -0
- package/lib/ids/ChunkModuleIdRangePlugin.js +2 -2
- package/lib/ids/DeterministicModuleIdsPlugin.js +1 -1
- package/lib/ids/HashedModuleIdsPlugin.js +32 -5
- package/lib/ids/IdHelpers.js +4 -4
- package/lib/ids/NaturalChunkIdsPlugin.js +1 -1
- package/lib/ids/OccurrenceChunkIdsPlugin.js +6 -5
- package/lib/ids/OccurrenceModuleIdsPlugin.js +6 -5
- package/lib/{RecordIdsPlugin.js → ids/RecordIdsPlugin.js} +5 -5
- package/lib/ids/SyncModuleIdsPlugin.js +3 -3
- package/lib/{util → ids}/numberHash.js +1 -1
- package/lib/index.js +312 -105
- package/lib/{APIPlugin.js → javascript/APIPlugin.js} +31 -37
- package/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +4 -5
- package/lib/javascript/BasicEvaluatedExpression.js +9 -9
- package/lib/javascript/ChunkHelpers.js +64 -4
- package/lib/javascript/CommonJsChunkFormatPlugin.js +5 -13
- package/lib/{CompatibilityPlugin.js → javascript/CompatibilityPlugin.js} +7 -7
- package/lib/{ConstPlugin.js → javascript/ConstPlugin.js} +75 -8
- package/lib/{ExportsInfoApiPlugin.js → javascript/ExportsInfoApiPlugin.js} +5 -5
- package/lib/{dependencies → javascript}/ExportsInfoDependency.js +10 -9
- package/lib/javascript/JavascriptGenerator.js +32 -27
- package/lib/{JavascriptMetaInfoPlugin.js → javascript/JavascriptMetaInfoPlugin.js} +8 -20
- package/lib/javascript/JavascriptModule.js +14 -3
- package/lib/javascript/JavascriptModulesPlugin.js +441 -214
- package/lib/javascript/JavascriptParser.js +318 -144
- package/lib/javascript/JavascriptParserHelpers.js +1 -1
- package/lib/javascript/MergedEntryExports.js +196 -0
- package/lib/javascript/ScopeAnalyzer.js +3924 -13
- package/lib/javascript/StartupHelpers.js +6 -6
- package/lib/{UseStrictPlugin.js → javascript/UseStrictPlugin.js} +13 -19
- package/lib/{dependencies → javascript}/WebpackIsIncludedDependency.js +10 -9
- package/lib/{WebpackIsIncludedPlugin.js → javascript/WebpackIsIncludedPlugin.js} +8 -8
- package/lib/javascript/data.js +533 -122
- package/lib/javascript/jsMinify.js +272 -0
- package/lib/javascript/regexp.js +67 -32
- package/lib/javascript/syntax-parser.js +19169 -0
- package/lib/javascript/syntax-printer-data.js +1099 -0
- package/lib/javascript/syntax-printer.js +53878 -0
- package/lib/javascript/syntax.js +20 -11274
- package/lib/json/JsonData.js +1 -1
- package/lib/{dependencies → json}/JsonExportsDependency.js +8 -7
- package/lib/json/JsonGenerator.js +24 -16
- package/lib/json/JsonModule.js +13 -2
- package/lib/json/JsonModulesPlugin.js +1 -1
- package/lib/json/JsonParser.js +11 -10
- package/lib/json/jsonMinify.js +69 -0
- package/lib/library/AbstractLibraryPlugin.js +28 -15
- package/lib/library/AmdLibraryPlugin.js +4 -4
- package/lib/library/AssignLibraryPlugin.js +28 -12
- package/lib/library/EnableLibraryPlugin.js +1 -1
- package/lib/library/ExportPropertyLibraryPlugin.js +4 -4
- package/lib/library/JsonpLibraryPlugin.js +2 -2
- package/lib/library/LibraryTemplatePlugin.js +53 -0
- package/lib/library/ModuleLibraryPlugin.js +557 -187
- package/lib/library/SystemLibraryPlugin.js +6 -8
- package/lib/library/UmdLibraryPlugin.js +3 -4
- package/lib/{dependencies → loaders}/LoaderDependency.js +3 -3
- package/lib/{dependencies → loaders}/LoaderImportDependency.js +9 -3
- package/lib/{LoaderOptionsPlugin.js → loaders/LoaderOptionsPlugin.js} +30 -12
- package/lib/{dependencies → loaders}/LoaderPlugin.js +2 -2
- package/lib/loaders/LoaderRunner.js +94 -46
- package/lib/{LoaderTargetPlugin.js → loaders/LoaderTargetPlugin.js} +2 -2
- package/lib/loaders/loadLoader.js +16 -10
- package/lib/logging/Logger.js +7 -9
- package/lib/logging/ProgressPlugin.js +957 -0
- package/lib/{CodeGenerationResults.js → module/CodeGenerationResults.js} +7 -7
- package/lib/{Generator.js → module/Generator.js} +33 -23
- package/lib/{Module.js → module/Module.js} +121 -53
- package/lib/{ModuleFactory.js → module/ModuleFactory.js} +3 -3
- package/lib/module/NormalModule.js +2350 -0
- package/lib/{NormalModuleFactory.js → module/NormalModuleFactory.js} +64 -71
- package/lib/module/NullFactory.js +29 -0
- package/lib/{Parser.js → module/Parser.js} +12 -5
- package/lib/module/RawModule.js +208 -0
- package/lib/{SelfModuleFactory.js → module/SelfModuleFactory.js} +1 -1
- package/lib/{util → module}/extractSourceMap.js +71 -20
- package/lib/{util → module}/findCaseMismatch.js +4 -4
- package/lib/node/CommonJsChunkLoadingPlugin.js +3 -3
- package/lib/{dependencies → node}/ExternalModuleDependency.js +8 -7
- package/lib/{dependencies → node}/ExternalModuleInitFragment.js +7 -6
- package/lib/{dependencies → node}/ExternalModuleInitFragmentDependency.js +14 -9
- package/lib/node/NodeEnvironmentPlugin.js +11 -1
- package/lib/{NodeStuffPlugin.js → node/NodeStuffPlugin.js} +17 -17
- package/lib/node/NodeTargetPlugin.js +1 -1
- package/lib/node/NodeWatchFileSystem.js +58 -6
- package/lib/node/ReadFileChunkLoadingRuntimeModule.js +7 -7
- package/lib/node/ReadFileCompileAsyncWasmPlugin.js +13 -19
- package/lib/node/ReadFileCompileWasmPlugin.js +9 -11
- package/lib/node/RequireChunkLoadingRuntimeModule.js +7 -7
- package/lib/node/nodeConsole.js +6 -7
- package/lib/optimize/AggressiveMergingPlugin.js +2 -2
- package/lib/optimize/AggressiveSplittingPlugin.js +12 -8
- package/lib/{CircularModulesPlugin.js → optimize/CircularModulesPlugin.js} +14 -14
- package/lib/optimize/ConcatenatedModule.js +231 -220
- package/lib/{ConcatenationScope.js → optimize/ConcatenationScope.js} +39 -6
- package/lib/optimize/ConstExportsPlugin.js +7 -7
- package/lib/optimize/EnsureChunkConditionsPlugin.js +3 -3
- package/lib/{FlagAllModulesAsUsedPlugin.js → optimize/FlagAllModulesAsUsedPlugin.js} +3 -3
- package/lib/{FlagDependencyExportsPlugin.js → optimize/FlagDependencyExportsPlugin.js} +23 -28
- package/lib/{FlagDependencyUsagePlugin.js → optimize/FlagDependencyUsagePlugin.js} +44 -19
- package/lib/{FlagEntryExportAsUsedPlugin.js → optimize/FlagEntryExportAsUsedPlugin.js} +2 -2
- package/lib/optimize/FlagIncludedChunksPlugin.js +2 -2
- package/lib/optimize/InlineExports.js +12 -7
- package/lib/optimize/InnerGraph.js +5 -13
- package/lib/optimize/InnerGraphPlugin.js +10 -10
- package/lib/optimize/LazyBarrels.js +620 -0
- package/lib/{util → optimize}/LazyBucketSortedSet.js +2 -2
- package/lib/optimize/LimitChunkCountPlugin.js +16 -7
- package/lib/optimize/MangleExportsPlugin.js +5 -5
- package/lib/optimize/MergeDuplicateChunksPlugin.js +7 -6
- package/lib/optimize/MinChunkSizePlugin.js +9 -6
- package/lib/optimize/ModuleConcatenationPlugin.js +28 -22
- package/lib/{dependencies → optimize}/PureExpressionDependency.js +11 -10
- package/lib/optimize/RealContentHashPlugin.js +18 -13
- package/lib/optimize/RemoveEmptyChunksPlugin.js +2 -2
- package/lib/optimize/RemoveParentModulesPlugin.js +4 -4
- package/lib/optimize/SideEffectsFlagPlugin.js +24 -38
- package/lib/optimize/SplitChunksPlugin.js +719 -174
- package/lib/{util → optimize}/TupleQueue.js +9 -9
- package/lib/optimize/chunkSetIntersections.js +437 -0
- package/lib/{util → optimize}/deterministicGrouping.js +17 -17
- package/lib/{BannerPlugin.js → output/BannerPlugin.js} +82 -14
- package/lib/{CleanPlugin.js → output/CleanPlugin.js} +69 -25
- package/lib/{CopyPlugin.js → output/CopyPlugin.js} +144 -70
- package/lib/{ManifestPlugin.js → output/ManifestPlugin.js} +91 -17
- package/lib/output/SSRManifestPlugin.js +349 -0
- package/lib/performance/AnalyzableBailoutsPlugin.js +1 -1
- package/lib/performance/AsyncChunkWaterfallsPlugin.js +1 -1
- package/lib/performance/BroadContextsPlugin.js +4 -4
- package/lib/performance/CacheEffectivenessPlugin.js +2 -3
- package/lib/performance/ConflictingResourceHintsPlugin.js +1 -1
- package/lib/performance/DuplicateModulesPlugin.js +3 -4
- package/lib/performance/DuplicatePackagesPlugin.js +3 -3
- package/lib/performance/DynamicExportsPlugin.js +2 -2
- package/lib/performance/EvalUsagePlugin.js +4 -6
- package/lib/performance/HotspotsPlugin.js +39 -14
- package/lib/performance/LargeModulesPlugin.js +2 -3
- package/lib/performance/LegacyJavascriptPlugin.js +1 -2
- package/lib/performance/MissingSideEffectsPlugin.js +2 -3
- package/lib/performance/MissingSourceMapsPlugin.js +5 -6
- package/lib/performance/PureAnnotationsPlugin.js +19 -13
- package/lib/performance/RedundantDynamicImportsPlugin.js +6 -8
- package/lib/performance/ScopeHoistingBailoutsPlugin.js +2 -2
- package/lib/performance/SizeLimitsPlugin.js +11 -12
- package/lib/performance/TopLevelThisPlugin.js +22 -13
- package/lib/performance/UnsplitVendorsPlugin.js +1 -2
- package/lib/performance/UnusedAliasesPlugin.js +6 -7
- package/lib/performance/UnusedAssetsPlugin.js +5 -5
- package/lib/performance/UnusedDefinesPlugin.js +2 -2
- package/lib/performance/UnusedExternalsPlugin.js +3 -4
- package/lib/performance/UnusedFederationPlugin.js +2 -4
- package/lib/performance/UnusedModulesPlugin.js +5 -4
- package/lib/performance/getModuleSize.js +1 -1
- package/lib/performance/hasOnlyUnusedExports.js +4 -4
- package/lib/performance/isOnlyReexported.js +7 -6
- package/lib/{AutomaticPrefetchPlugin.js → prefetch/AutomaticPrefetchPlugin.js} +4 -5
- package/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js +2 -2
- package/lib/prefetch/ChunkPrefetchPreloadPlugin.js +1 -1
- package/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +4 -4
- package/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js +4 -4
- package/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js +4 -4
- package/lib/{dependencies → prefetch}/PrefetchDependency.js +1 -1
- package/lib/{PrefetchPlugin.js → prefetch/PrefetchPlugin.js} +2 -2
- package/lib/prefetch/ResourceHintPlugin.js +66 -45
- package/lib/prefetch/ResourceHintRuntimeModule.js +3 -3
- package/lib/prefetch/StartupAssetHintRuntimeModule.js +3 -3
- package/lib/prefetch/parseResourceHintOptions.js +4 -3
- package/lib/{ProvidePlugin.js → provide/ProvidePlugin.js} +7 -7
- package/lib/{dependencies → provide}/ProvidedDependency.js +50 -17
- package/lib/{IgnorePlugin.js → resolve/IgnorePlugin.js} +30 -13
- package/lib/{NormalModuleReplacementPlugin.js → resolve/NormalModuleReplacementPlugin.js} +4 -4
- package/lib/{ResolverFactory.js → resolve/ResolverFactory.js} +18 -5
- package/lib/resolve/getResolveOptionsKey.js +59 -0
- package/lib/rules/BasicEffectRulePlugin.js +1 -1
- package/lib/rules/RuleSetCompiler.js +42 -51
- package/lib/rules/UseEffectRulePlugin.js +1 -3
- package/lib/runtime/AsyncModuleGeneratorRuntimeModule.js +2 -2
- package/lib/runtime/AsyncModuleRuntimeModule.js +14 -5
- package/lib/runtime/AutoPublicPathRuntimeModule.js +5 -5
- package/lib/runtime/BaseUriRuntimeModule.js +3 -3
- package/lib/runtime/ChunkNameRuntimeModule.js +2 -2
- package/lib/runtime/CompatGetDefaultExportRuntimeModule.js +2 -2
- package/lib/runtime/CompatRuntimeModule.js +4 -4
- package/lib/runtime/ConcatenationWrapRuntimeModule.js +2 -2
- package/lib/runtime/ConstructRequireRuntimeModule.js +2 -2
- package/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js +2 -2
- package/lib/runtime/CreateScriptRuntimeModule.js +2 -2
- package/lib/runtime/CreateScriptUrlRuntimeModule.js +2 -2
- package/lib/runtime/DefinePropertyGettersRuntimeModule.js +6 -6
- package/lib/runtime/EnsureChunkRuntimeModule.js +4 -4
- package/lib/runtime/GetChunkFilenameRuntimeModule.js +7 -11
- package/lib/runtime/GetFullHashRuntimeModule.js +2 -2
- package/lib/runtime/GetMainFilenameRuntimeModule.js +4 -4
- package/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +3 -3
- package/lib/runtime/GetWorkletBootstrapRuntimeModule.js +3 -3
- package/lib/runtime/GlobalRuntimeModule.js +3 -3
- package/lib/runtime/HasOwnPropertyRuntimeModule.js +3 -3
- package/lib/runtime/HelperRuntimeModule.js +16 -1
- package/lib/runtime/LoadScriptRuntimeModule.js +3 -3
- package/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +80 -17
- package/lib/runtime/MakeNamespaceObjectRuntimeModule.js +2 -2
- package/lib/runtime/NonceRuntimeModule.js +2 -2
- package/lib/runtime/OnChunksLoadedRuntimeModule.js +4 -4
- package/lib/runtime/PublicPathRuntimeModule.js +2 -2
- package/lib/runtime/RelativeUrlRuntimeModule.js +2 -2
- package/lib/{RuntimeGlobals.js → runtime/RuntimeGlobals.js} +24 -1
- package/lib/runtime/RuntimeIdRuntimeModule.js +4 -4
- package/lib/{RuntimeModule.js → runtime/RuntimeModule.js} +36 -21
- package/lib/{RuntimePlugin.js → runtime/RuntimePlugin.js} +50 -50
- package/lib/runtime/SetAnonymousDefaultNameRuntimeModule.js +2 -2
- package/lib/runtime/SpecNamespaceObjectRuntimeModule.js +2 -2
- package/lib/runtime/StartupChunkDependenciesPlugin.js +2 -2
- package/lib/runtime/StartupChunkDependenciesRuntimeModule.js +5 -5
- package/lib/runtime/StartupEntrypointRuntimeModule.js +3 -3
- package/lib/runtime/SystemContextRuntimeModule.js +2 -2
- package/lib/runtime/ToBinaryRuntimeModule.js +3 -3
- package/lib/runtime/WorkerRuntimeModule.js +1 -1
- package/lib/runtime/baseUri.js +1 -1
- package/lib/schemes/DataUriPlugin.js +1 -1
- package/lib/schemes/HttpUriPlugin.js +68 -13
- package/lib/schemes/VirtualUrlPlugin.js +52 -16
- package/lib/serialization/AggregateErrorSerializer.js +4 -4
- package/lib/serialization/BinaryMiddleware.js +4 -1
- package/lib/serialization/ErrorObjectSerializer.js +2 -5
- package/lib/serialization/FileMiddleware.js +3 -3
- package/lib/serialization/ObjectMiddleware.js +62 -29
- package/lib/serialization/PlainObjectSerializer.js +3 -7
- package/lib/serialization/Serializer.js +21 -11
- package/lib/serialization/SerializerMiddleware.js +10 -8
- package/lib/serialization/SingleItemMiddleware.js +4 -2
- package/lib/sharing/ConsumeSharedFallbackDependency.js +9 -1
- package/lib/sharing/ConsumeSharedModule.js +18 -14
- package/lib/sharing/ConsumeSharedPlugin.js +148 -42
- package/lib/sharing/ConsumeSharedRuntimeModule.js +8 -8
- package/lib/sharing/ProvideForSharedDependency.js +9 -1
- package/lib/sharing/ProvideSharedDependency.js +1 -1
- package/lib/sharing/ProvideSharedModule.js +11 -9
- package/lib/sharing/ProvideSharedModuleFactory.js +2 -2
- package/lib/sharing/ProvideSharedPlugin.js +111 -20
- package/lib/sharing/SharePlugin.js +102 -9
- package/lib/sharing/ShareRuntimeModule.js +6 -6
- package/lib/sharing/resolveMatchedConfigs.js +1 -1
- package/lib/{util → sharing}/semver.js +14 -16
- package/lib/sharing/utils.js +59 -2
- package/lib/stats/DefaultStatsFactoryPlugin.js +57 -54
- package/lib/stats/DefaultStatsPresetPlugin.js +3 -7
- package/lib/stats/DefaultStatsPrinterPlugin.js +15 -14
- package/lib/{MultiStats.js → stats/MultiStats.js} +4 -4
- package/lib/{Stats.js → stats/Stats.js} +4 -4
- package/lib/stats/StatsFactory.js +208 -37
- package/lib/stats/StatsPrinter.js +126 -13
- package/lib/{ChunkTemplate.js → template/ChunkTemplate.js} +7 -7
- package/lib/{ConditionalInitFragment.js → template/ConditionalInitFragment.js} +3 -3
- package/lib/template/DependencyTemplate.js +77 -0
- package/lib/{DependencyTemplates.js → template/DependencyTemplates.js} +9 -4
- package/lib/template/InitFragment.js +223 -0
- package/lib/{MainTemplate.js → template/MainTemplate.js} +11 -11
- package/lib/{ModuleInfoHeaderPlugin.js → template/ModuleInfoHeaderPlugin.js} +30 -8
- package/lib/{ModuleTemplate.js → template/ModuleTemplate.js} +6 -6
- package/lib/{RuntimeTemplate.js → template/RuntimeTemplate.js} +158 -95
- package/lib/{Template.js → template/Template.js} +14 -12
- package/lib/{TemplatedPathPlugin.js → template/TemplatedPathPlugin.js} +19 -23
- package/lib/typescript/TypeScriptPlugin.js +3 -3
- package/lib/util/RequestShortener.js +44 -0
- package/lib/util/SortableSet.js +87 -22
- package/lib/util/SourceProcessor.js +439 -51
- package/lib/util/TupleSet.js +27 -27
- package/lib/util/WeakTupleMap.js +20 -16
- package/lib/util/buildDiagnostics.js +2 -2
- package/lib/util/cleverMerge.js +61 -33
- package/lib/util/comparators.js +19 -15
- package/lib/util/concatenate.js +28 -147
- package/lib/util/createMappings.js +111 -0
- package/lib/util/dataURL.js +96 -15
- package/lib/util/deprecation.js +5 -4
- package/lib/util/extractComments.js +118 -0
- package/lib/util/formatLocation.js +1 -1
- package/lib/util/globUtils.js +198 -20
- package/lib/util/haltVisitors.js +51 -0
- package/lib/util/handlerKeys.js +2 -2
- package/lib/util/identifier.js +117 -1
- package/lib/util/implicitTypeLoaderFallback.js +6 -4
- package/lib/util/internalSerializables.js +296 -102
- package/lib/util/magicComment.js +12 -7
- package/lib/util/makeSerializable.js +28 -7
- package/lib/util/memoize.js +1 -1
- package/lib/util/parseJson.js +2 -2
- package/lib/util/preloadModuleType.js +5 -2
- package/lib/util/registerExternalSerializer.js +2 -2
- package/lib/util/removeBOM.js +1 -1
- package/lib/util/runtime.js +1 -1
- package/lib/util/serialization.js +35 -28
- package/lib/util/source.js +2 -2
- package/lib/util/terminalColors.js +161 -0
- package/lib/{wasm-async → wasm}/AsyncWasmCompileRuntimeModule.js +5 -5
- package/lib/{wasm-async → wasm}/AsyncWasmLoadingRuntimeModule.js +5 -5
- package/lib/{wasm-async → wasm}/AsyncWasmModule.js +19 -5
- package/lib/{wasm-async → wasm}/AsyncWebAssemblyGenerator.js +17 -9
- package/lib/{wasm-async → wasm}/AsyncWebAssemblyJavascriptGenerator.js +24 -15
- package/lib/{wasm-async → wasm}/AsyncWebAssemblyModulesPlugin.js +26 -10
- package/lib/{wasm-async → wasm}/AsyncWebAssemblyParser.js +14 -12
- package/lib/wasm/EnableWasmLoadingPlugin.js +1 -1
- package/lib/{wasm-async → wasm}/UniversalCompileAsyncWasmPlugin.js +11 -13
- package/lib/wasm/wasmModuleFilename.js +2 -2
- package/lib/wasm-sync/SyncWasmModule.js +18 -3
- package/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +8 -8
- package/lib/wasm-sync/WasmFinalizeExportsPlugin.js +3 -3
- package/lib/wasm-sync/WebAssemblyGenerator.js +22 -16
- package/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +28 -21
- package/lib/wasm-sync/WebAssemblyModulesPlugin.js +9 -7
- package/lib/wasm-sync/WebAssemblyParser.js +15 -17
- package/lib/wasm-sync/WebAssemblyUtils.js +6 -5
- package/lib/{MultiWatching.js → watch/MultiWatching.js} +3 -3
- package/lib/{WatchIgnorePlugin.js → watch/WatchIgnorePlugin.js} +43 -9
- package/lib/{Watching.js → watch/Watching.js} +8 -8
- package/lib/web/FetchCompileAsyncWasmPlugin.js +12 -18
- package/lib/web/FetchCompileWasmPlugin.js +8 -10
- package/lib/web/JsonpChunkLoadingPlugin.js +3 -3
- package/lib/web/JsonpChunkLoadingRuntimeModule.js +6 -6
- package/lib/web/JsonpTemplatePlugin.js +1 -1
- package/lib/webpack.js +27 -17
- package/lib/webworker/ImportScriptsChunkLoadingPlugin.js +3 -3
- package/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +6 -6
- package/package.json +57 -36
- package/schemas/WebpackOptions.check.js +4 -3
- package/schemas/WebpackOptions.d.json.ts +2 -0
- package/schemas/WebpackOptions.json +295 -75
- package/schemas/plugins/BannerPlugin.check.js +4 -3
- package/schemas/plugins/BannerPlugin.json +29 -2
- package/schemas/plugins/HtmlGeneratorOptions.check.js +4 -3
- package/schemas/plugins/HtmlParserOptions.check.js +4 -3
- package/schemas/plugins/IgnorePlugin.check.js +4 -3
- package/schemas/plugins/IgnorePlugin.d.json.ts +2 -0
- package/schemas/plugins/IgnorePlugin.json +1 -1
- package/schemas/plugins/LoaderOptionsPlugin.check.js +4 -3
- package/schemas/plugins/ManifestPlugin.check.js +4 -3
- package/schemas/plugins/ManifestPlugin.json +3 -3
- package/schemas/plugins/ProgressPlugin.check.js +4 -3
- package/schemas/plugins/ProgressPlugin.json +2 -7
- package/schemas/plugins/SSRManifestPlugin.check.js +7 -0
- package/schemas/plugins/SSRManifestPlugin.json +20 -0
- package/schemas/plugins/SourceMapDevToolPlugin.check.js +4 -3
- package/schemas/plugins/SourceMapDevToolPlugin.json +44 -12
- package/schemas/plugins/WatchIgnorePlugin.check.js +4 -3
- package/schemas/plugins/WatchIgnorePlugin.json +12 -3
- package/schemas/plugins/asset/AssetGeneratorOptions.check.js +4 -3
- package/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +4 -3
- package/schemas/plugins/asset/AssetParserOptions.check.js +4 -3
- package/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +4 -3
- package/schemas/plugins/container/ContainerPlugin.check.js +4 -3
- package/schemas/plugins/container/ContainerPlugin.json +8 -0
- package/schemas/plugins/container/ContainerReferencePlugin.check.js +4 -3
- package/schemas/plugins/container/ExternalsType.check.js +4 -3
- package/schemas/plugins/container/ModuleFederationPlugin.check.js +4 -3
- package/schemas/plugins/container/ModuleFederationPlugin.json +40 -0
- package/schemas/plugins/css/CssAutoOrModuleParserOptions.check.js +4 -3
- package/schemas/plugins/css/CssGeneratorOptions.check.js +4 -3
- package/schemas/plugins/css/CssModuleGeneratorOptions.check.js +4 -3
- package/schemas/plugins/css/CssModuleParserOptions.check.js +4 -3
- package/schemas/plugins/css/CssParserOptions.check.js +4 -3
- package/schemas/plugins/debug/ProfilingPlugin.check.js +4 -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 +4 -3
- package/schemas/plugins/dll/DllReferencePlugin.check.js +4 -3
- package/schemas/plugins/dll/DllReferencePlugin.json +3 -18
- package/schemas/plugins/ids/HashedModuleIdsPlugin.check.js +4 -3
- package/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +4 -3
- package/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +4 -3
- package/schemas/plugins/json/JsonModulesPluginGenerator.check.js +4 -3
- package/schemas/plugins/json/JsonModulesPluginParser.check.js +4 -3
- package/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +4 -3
- package/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +4 -3
- package/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.js +4 -3
- package/schemas/plugins/optimize/MinChunkSizePlugin.check.js +4 -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 +4 -3
- package/schemas/plugins/schemes/VirtualUrlPlugin.check.js +4 -3
- package/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +4 -3
- package/schemas/plugins/sharing/ConsumeSharedPlugin.json +32 -0
- package/schemas/plugins/sharing/ProvideSharedPlugin.check.js +4 -3
- package/schemas/plugins/sharing/ProvideSharedPlugin.json +32 -0
- package/schemas/plugins/sharing/SharePlugin.check.js +4 -3
- package/schemas/plugins/sharing/SharePlugin.json +32 -0
- package/types.d.ts +20780 -14174
- package/lib/LazyBarrel.js +0 -388
- package/lib/dependencies/HarmonyAcceptImportDependency.js +0 -39
- package/lib/dependencies/HarmonyModulesPlugin.js +0 -192
- package/lib/javascript/ChunkFormatHelpers.js +0 -72
- package/lib/javascript/grammar.js +0 -5546
- package/lib/javascript/parser.js +0 -1500
- package/lib/javascript/regexpData.js +0 -51
- package/lib/performance/getSourceModules.js +0 -22
- package/lib/util/Semaphore.js +0 -65
- package/lib/util/objectToMap.js +0 -15
- package/schemas/WebpackOptions.check.d.ts +0 -7
- package/schemas/_container.json +0 -155
- package/schemas/_sharing.json +0 -118
- package/schemas/plugins/BannerPlugin.check.d.ts +0 -7
- package/schemas/plugins/HtmlGeneratorOptions.check.d.ts +0 -7
- package/schemas/plugins/HtmlParserOptions.check.d.ts +0 -7
- package/schemas/plugins/IgnorePlugin.check.d.ts +0 -7
- package/schemas/plugins/LoaderOptionsPlugin.check.d.ts +0 -7
- package/schemas/plugins/ManifestPlugin.check.d.ts +0 -7
- package/schemas/plugins/ProgressPlugin.check.d.ts +0 -7
- package/schemas/plugins/SourceMapDevToolPlugin.check.d.ts +0 -7
- package/schemas/plugins/WatchIgnorePlugin.check.d.ts +0 -7
- package/schemas/plugins/asset/AssetGeneratorOptions.check.d.ts +0 -7
- package/schemas/plugins/asset/AssetInlineGeneratorOptions.check.d.ts +0 -7
- package/schemas/plugins/asset/AssetParserOptions.check.d.ts +0 -7
- package/schemas/plugins/asset/AssetResourceGeneratorOptions.check.d.ts +0 -7
- package/schemas/plugins/container/ContainerPlugin.check.d.ts +0 -7
- package/schemas/plugins/container/ContainerReferencePlugin.check.d.ts +0 -7
- package/schemas/plugins/container/ExternalsType.check.d.ts +0 -7
- package/schemas/plugins/container/ModuleFederationPlugin.check.d.ts +0 -7
- package/schemas/plugins/css/CssAutoOrModuleParserOptions.check.d.ts +0 -7
- package/schemas/plugins/css/CssGeneratorOptions.check.d.ts +0 -7
- package/schemas/plugins/css/CssModuleGeneratorOptions.check.d.ts +0 -7
- package/schemas/plugins/css/CssModuleParserOptions.check.d.ts +0 -7
- package/schemas/plugins/css/CssParserOptions.check.d.ts +0 -7
- package/schemas/plugins/debug/ProfilingPlugin.check.d.ts +0 -7
- package/schemas/plugins/dll/DllPlugin.check.d.ts +0 -7
- package/schemas/plugins/dll/DllReferencePlugin.check.d.ts +0 -7
- package/schemas/plugins/ids/HashedModuleIdsPlugin.check.d.ts +0 -7
- package/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.d.ts +0 -7
- package/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.d.ts +0 -7
- package/schemas/plugins/json/JsonModulesPluginGenerator.check.d.ts +0 -7
- package/schemas/plugins/json/JsonModulesPluginParser.check.d.ts +0 -7
- package/schemas/plugins/optimize/AggressiveSplittingPlugin.check.d.ts +0 -7
- package/schemas/plugins/optimize/LimitChunkCountPlugin.check.d.ts +0 -7
- package/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.d.ts +0 -7
- package/schemas/plugins/optimize/MinChunkSizePlugin.check.d.ts +0 -7
- package/schemas/plugins/schemes/HttpUriPlugin.check.d.ts +0 -7
- package/schemas/plugins/schemes/VirtualUrlPlugin.check.d.ts +0 -7
- package/schemas/plugins/sharing/ConsumeSharedPlugin.check.d.ts +0 -7
- package/schemas/plugins/sharing/ProvideSharedPlugin.check.d.ts +0 -7
- package/schemas/plugins/sharing/SharePlugin.check.d.ts +0 -7
- /package/lib/{validateSchema.js → config/validateSchema.js} +0 -0
- /package/lib/{util → css}/topologicalSort.js +0 -0
- /package/lib/dependencies/{getFunctionExpression.js → helpers/getFunctionExpression.js} +0 -0
- /package/lib/{util → externals}/extractUrlAndGlobal.js +0 -0
- /package/lib/{util → fs}/StackedCacheMap.js +0 -0
- /package/lib/{util → javascript}/StackedMap.js +0 -0
- /package/lib/{ModuleProfile.js → module/ModuleProfile.js} +0 -0
- /package/lib/{ModuleSourceTypeConstants.js → module/ModuleSourceTypeConstants.js} +0 -0
- /package/lib/{ModuleTypeConstants.js → module/ModuleTypeConstants.js} +0 -0
- /package/lib/{OptimizationStages.js → optimize/OptimizationStages.js} +0 -0
- /package/lib/{util → optimize}/Queue.js +0 -0
- /package/lib/{util → stats}/smartGrouping.js +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
"use strict";function r(t,{instancePath
|
|
7
|
+
"use strict";module.exports=s,module.exports.default=s;let r=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i,t=function(r){let t=r.length,s,e=0,n=0;for(;n<t;)e++,(s=r.charCodeAt(n++))>=55296&&s<=56319&&n<t&&(64512&(s=r.charCodeAt(n)))==56320&&n++;return e};function s(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let n=null,a=0;if(a===0){if(!e||"object"!=typeof e||Array.isArray(e))return s.errors=[{params:{type:"object"}}],!1;{let i;if(e.paths===void 0&&(i="paths"))return s.errors=[{params:{missingProperty:i}}],!1;{let i=a;for(let r in e)if("paths"!==r)return s.errors=[{params:{additionalProperty:r}}],!1;if(i===a&&e.paths!==void 0){let i=e.paths;if(a==a){if(!Array.isArray(i))return s.errors=[{params:{type:"array"}}],!1;if(i.length<1)return s.errors=[{params:{limit:1}}],!1;{let e=i.length;for(let l=0;l<e;l++){let e=i[l],p=a,u=a,f=!1,c=a;if(!(e instanceof RegExp)){let r={params:{}};n===null?n=[r]:n.push(r),a++}var o=c===a;if(!(f=f||o)){let s=a;if(a===s)if("string"==typeof e){if(e.includes("!")||!0!==r.test(e)){let r={params:{}};n===null?n=[r]:n.push(r),a++}}else{let r={params:{type:"string"}};n===null?n=[r]:n.push(r),a++}if(o=s===a,!(f=f||o)){let s=a;if(a===s)if("string"==typeof e){if(t(e)<1){let r={params:{limit:1}};n===null?n=[r]:n.push(r),a++}else if(e.includes("!")||!1!==r.test(e)){let r={params:{}};n===null?n=[r]:n.push(r),a++}}else{let r={params:{type:"string"}};n===null?n=[r]:n.push(r),a++}o=s===a,f=f||o}}if(!f){let r={params:{}};return n===null?n=[r]:n.push(r),a++,s.errors=n,!1}if(a=u,n!==null&&(u?n.length=u:n=null),p!==a)break}}}}}}}return s.errors=n,a===0}
|
|
@@ -4,17 +4,26 @@
|
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"properties": {
|
|
6
6
|
"paths": {
|
|
7
|
-
"description": "A list of RegExps
|
|
7
|
+
"description": "A list of RegExps, absolute paths or globs to directories or files that should be ignored.",
|
|
8
8
|
"type": "array",
|
|
9
9
|
"items": {
|
|
10
|
-
"description": "RegExp
|
|
10
|
+
"description": "RegExp, absolute path or glob to directories or files that should be ignored.",
|
|
11
11
|
"anyOf": [
|
|
12
12
|
{
|
|
13
13
|
"instanceof": "RegExp",
|
|
14
14
|
"tsType": "RegExp"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"
|
|
17
|
+
"description": "An absolute path to a directory or file that should be ignored.",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"absolutePath": true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"description": "A glob matching, at any depth, the directories or files that should be ignored.",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"absolutePath": false,
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"added": "5.112.0"
|
|
18
27
|
}
|
|
19
28
|
]
|
|
20
29
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
+
"use strict";module.exports=s,module.exports.default=s;let t={type:"object",additionalProperties:!1,properties:{encoding:{enum:[!1,"base64"]},mimetype:{type:"string"}}};function n(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let r=null,a=0,s=a,o=!1,i=a;if(a==a)if(e&&"object"==typeof e&&!Array.isArray(e)){let n=a;for(let t in e)if("encoding"!==t&&"mimetype"!==t){let n={params:{additionalProperty:t}};r===null?r=[n]:r.push(n),a++;break}if(n===a){if(e.encoding!==void 0){let n=e.encoding,s=a;if(!1!==n&&"base64"!==n){let n={params:{allowedValues:t.properties.encoding.enum}};r===null?r=[n]:r.push(n),a++}var l=s===a}else l=!0;if(l)if(e.mimetype!==void 0){let t=a;if("string"!=typeof e.mimetype){let t={params:{type:"string"}};r===null?r=[t]:r.push(t),a++}l=t===a}else l=!0}}else{let t={params:{type:"object"}};r===null?r=[t]:r.push(t),a++}var p=i===a;if(!(o=o||p)){let t=a;if(!(e instanceof Function)){let t={params:{}};r===null?r=[t]:r.push(t),a++}p=t===a,o=o||p}if(!o){let t={params:{}};return r===null?r=[t]:r.push(t),a++,n.errors=r,!1}return a=s,r!==null&&(s?r.length=s:r=null),n.errors=r,a===0}let e=function(t){let n=t.length,e,r=0,a=0;for(;a<n;)r++,(e=t.charCodeAt(a++))>=55296&&e<=56319&&a<n&&(64512&(e=t.charCodeAt(a)))==56320&&a++;return r},r=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function a(t,{instancePath:s="",parentData,parentDataProperty,rootData=t}={}){let o=null,i=0;if(i===0){if(!t||"object"!=typeof t||Array.isArray(t))return a.errors=[{params:{type:"object"}}],!1;{let f=i;for(let n in t)if("binary"!==n&&"dataUrl"!==n&&"emit"!==n&&"filename"!==n&&"outputPath"!==n&&"publicPath"!==n)return a.errors=[{params:{additionalProperty:n}}],!1;if(f===i){if(t.binary!==void 0){if("boolean"!=typeof t.binary)return a.errors=[{params:{type:"boolean"}}],!1;var l=i===i}else l=!0;if(l){if(t.dataUrl!==void 0){let e=i;n(t.dataUrl,{instancePath:s+"/dataUrl",parentData:t,parentDataProperty:"dataUrl",rootData})||(i=(o=o===null?n.errors:o.concat(n.errors)).length),l=e===i}else l=!0;if(l){if(t.emit!==void 0){if("boolean"!=typeof t.emit)return a.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(t.filename!==void 0){let n=t.filename,s=i,u=i,c=!1,f=i;if(i===f)if("string"==typeof n){if(e(n)<1){let t={params:{limit:1}};o===null?o=[t]:o.push(t),i++}else if(n.includes("!")||!1!==r.test(n)){let t={params:{}};o===null?o=[t]:o.push(t),i++}}else{let t={params:{type:"string"}};o===null?o=[t]:o.push(t),i++}var p=f===i;if(!(c=c||p)){let t=i;if(!(n instanceof Function)){let t={params:{}};o===null?o=[t]:o.push(t),i++}p=t===i,c=c||p}if(!c){let t={params:{}};return o===null?o=[t]:o.push(t),i++,a.errors=o,!1}i=u,o!==null&&(u?o.length=u:o=null),l=s===i}else l=!0;if(l){if(t.outputPath!==void 0){let n=t.outputPath,e=i,s=i,p=!1,c=i;if(i===c)if("string"==typeof n){if(n.includes("!")||!1!==r.test(n)){let t={params:{}};o===null?o=[t]:o.push(t),i++}}else{let t={params:{type:"string"}};o===null?o=[t]:o.push(t),i++}var u=c===i;if(!(p=p||u)){let t=i;if(!(n instanceof Function)){let t={params:{}};o===null?o=[t]:o.push(t),i++}u=t===i,p=p||u}if(!p){let t={params:{}};return o===null?o=[t]:o.push(t),i++,a.errors=o,!1}i=s,o!==null&&(s?o.length=s:o=null),l=e===i}else l=!0;if(l)if(t.publicPath!==void 0){let n=t.publicPath,e=i,r=i,s=!1,p=i;if("string"!=typeof n){let t={params:{type:"string"}};o===null?o=[t]:o.push(t),i++}var c=p===i;if(!(s=s||c)){let t=i;if(!(n instanceof Function)){let t={params:{}};o===null?o=[t]:o.push(t),i++}c=t===i,s=s||c}if(!s){let t={params:{}};return o===null?o=[t]:o.push(t),i++,a.errors=o,!1}i=r,o!==null&&(r?o.length=r:o=null),l=e===i}else l=!0}}}}}}}return a.errors=o,i===0}function s(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){let n=null,e=0;return a(t,{instancePath,parentData,parentDataProperty,rootData})||(e=(n=n===null?a.errors:n.concat(a.errors)).length),s.errors=n,e===0}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
"use strict";function
|
|
7
|
+
"use strict";module.exports=a,module.exports.default=a;let t={type:"object",additionalProperties:!1,properties:{encoding:{enum:[!1,"base64"]},mimetype:{type:"string"}}};function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let a=null,n=0,o=n,s=!1,i=n;if(n==n)if(e&&"object"==typeof e&&!Array.isArray(e)){let r=n;for(let t in e)if("encoding"!==t&&"mimetype"!==t){let r={params:{additionalProperty:t}};a===null?a=[r]:a.push(r),n++;break}if(r===n){if(e.encoding!==void 0){let r=e.encoding,o=n;if(!1!==r&&"base64"!==r){let r={params:{allowedValues:t.properties.encoding.enum}};a===null?a=[r]:a.push(r),n++}var l=o===n}else l=!0;if(l)if(e.mimetype!==void 0){let t=n;if("string"!=typeof e.mimetype){let t={params:{type:"string"}};a===null?a=[t]:a.push(t),n++}l=t===n}else l=!0}}else{let t={params:{type:"object"}};a===null?a=[t]:a.push(t),n++}var p=i===n;if(!(s=s||p)){let t=n;if(!(e instanceof Function)){let t={params:{}};a===null?a=[t]:a.push(t),n++}p=t===n,s=s||p}if(!s){let t={params:{}};return a===null?a=[t]:a.push(t),n++,r.errors=a,!1}return n=o,a!==null&&(o?a.length=o:a=null),r.errors=a,n===0}function e(t,{instancePath:a="",parentData,parentDataProperty,rootData=t}={}){let n=null,o=0;if(o===0){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;{let i=o;for(let r in t)if("binary"!==r&&"dataUrl"!==r)return e.errors=[{params:{additionalProperty:r}}],!1;if(i===o){if(t.binary!==void 0){if("boolean"!=typeof t.binary)return e.errors=[{params:{type:"boolean"}}],!1;var s=o===o}else s=!0;if(s)if(t.dataUrl!==void 0){let e=o;r(t.dataUrl,{instancePath:a+"/dataUrl",parentData:t,parentDataProperty:"dataUrl",rootData})||(o=(n=n===null?r.errors:n.concat(r.errors)).length),s=e===o}else s=!0}}}return e.errors=n,o===0}function a(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){let r=null,n=0;return e(t,{instancePath,parentData,parentDataProperty,rootData})||(n=(r=r===null?e.errors:r.concat(e.errors)).length),a.errors=r,n===0}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
"use strict";function t(r,{instancePath
|
|
7
|
+
"use strict";function t(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let a=null,n=0;if(n===0){if(!r||"object"!=typeof r||Array.isArray(r))return t.errors=[{params:{type:"object"}}],!1;{let e=n;for(let a in r)if("dataUrlCondition"!==a)return t.errors=[{params:{additionalProperty:a}}],!1;if(e===n&&r.dataUrlCondition!==void 0){let e=r.dataUrlCondition,s=n,i=!1,l=n;if(n==n)if(e&&"object"==typeof e&&!Array.isArray(e)){let t=n;for(let t in e)if("maxSize"!==t){let r={params:{additionalProperty:t}};a===null?a=[r]:a.push(r),n++;break}if(t===n&&e.maxSize!==void 0&&"number"!=typeof e.maxSize){let t={params:{type:"number"}};a===null?a=[t]:a.push(t),n++}}else{let t={params:{type:"object"}};a===null?a=[t]:a.push(t),n++}var o=l===n;if(!(i=i||o)){let t=n;if(!(e instanceof Function)){let t={params:{}};a===null?a=[t]:a.push(t),n++}o=t===n,i=i||o}if(!i){let r={params:{}};return a===null?a=[r]:a.push(r),n++,t.errors=a,!1}n=s,a!==null&&(s?a.length=s:a=null)}}}return t.errors=a,n===0}function r(a,{instancePath="",parentData,parentDataProperty,rootData=a}={}){let n=null,o=0;return t(a,{instancePath,parentData,parentDataProperty,rootData})||(o=(n=n===null?t.errors:n.concat(t.errors)).length),r.errors=n,o===0}module.exports=r,module.exports.default=r;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
+
"use strict";module.exports=e,module.exports.default=e;let t=function(t){let n=t.length,r,e=0,a=0;for(;a<n;)e++,(r=t.charCodeAt(a++))>=55296&&r<=56319&&a<n&&(64512&(r=t.charCodeAt(a)))==56320&&a++;return e},n=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function r(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let a=null,s=0;if(s===0){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let p=s;for(let t in e)if("binary"!==t&&"emit"!==t&&"filename"!==t&&"outputPath"!==t&&"publicPath"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(p===s){if(e.binary!==void 0){if("boolean"!=typeof e.binary)return r.errors=[{params:{type:"boolean"}}],!1;var o=s===s}else o=!0;if(o){if(e.emit!==void 0){if("boolean"!=typeof e.emit)return r.errors=[{params:{type:"boolean"}}],!1;o=s===s}else o=!0;if(o){if(e.filename!==void 0){let i=e.filename,u=s,p=s,f=!1,c=s;if(s===c)if("string"==typeof i){if(t(i)<1){let t={params:{limit:1}};a===null?a=[t]:a.push(t),s++}else if(i.includes("!")||!1!==n.test(i)){let t={params:{}};a===null?a=[t]:a.push(t),s++}}else{let t={params:{type:"string"}};a===null?a=[t]:a.push(t),s++}var l=c===s;if(!(f=f||l)){let t=s;if(!(i instanceof Function)){let t={params:{}};a===null?a=[t]:a.push(t),s++}l=t===s,f=f||l}if(!f){let t={params:{}};return a===null?a=[t]:a.push(t),s++,r.errors=a,!1}s=p,a!==null&&(p?a.length=p:a=null),o=u===s}else o=!0;if(o){if(e.outputPath!==void 0){let t=e.outputPath,l=s,u=s,p=!1,f=s;if(s===f)if("string"==typeof t){if(t.includes("!")||!1!==n.test(t)){let t={params:{}};a===null?a=[t]:a.push(t),s++}}else{let t={params:{type:"string"}};a===null?a=[t]:a.push(t),s++}var i=f===s;if(!(p=p||i)){let n=s;if(!(t instanceof Function)){let t={params:{}};a===null?a=[t]:a.push(t),s++}i=n===s,p=p||i}if(!p){let t={params:{}};return a===null?a=[t]:a.push(t),s++,r.errors=a,!1}s=u,a!==null&&(u?a.length=u:a=null),o=l===s}else o=!0;if(o)if(e.publicPath!==void 0){let t=e.publicPath,n=s,l=s,i=!1,p=s;if("string"!=typeof t){let t={params:{type:"string"}};a===null?a=[t]:a.push(t),s++}var u=p===s;if(!(i=i||u)){let n=s;if(!(t instanceof Function)){let t={params:{}};a===null?a=[t]:a.push(t),s++}u=n===s,i=i||u}if(!i){let t={params:{}};return a===null?a=[t]:a.push(t),s++,r.errors=a,!1}s=l,a!==null&&(l?a.length=l:a=null),o=n===s}else o=!0}}}}}}return r.errors=a,s===0}function e(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){let n=null,a=0;return r(t,{instancePath,parentData,parentDataProperty,rootData})||(a=(n=n===null?r.errors:n.concat(r.errors)).length),e.errors=n,a===0}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
const r=/^(?:file:(?=\/))?(?:[A-Za-z]:[\\/]|\\\\|\/)/i;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}module.exports=p,module.exports.default=p;const i=new RegExp("^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$","u");function l(r,{instancePath:t="",parentData:e,parentDataProperty:n,rootData:s=r}={}){let p=null,f=0;if(0===f){if(!r||"object"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===r.type&&(e="type"))return l.errors=[{params:{missingProperty:e}}],!1;{const e=f;for(const t in r)if("amdContainer"!==t&&"auxiliaryComment"!==t&&"export"!==t&&"name"!==t&&"type"!==t&&"umdAmdContainer"!==t&&"umdNamedDefine"!==t)return l.errors=[{params:{additionalProperty:t}}],!1;if(e===f){if(void 0!==r.amdContainer){let t=r.amdContainer;const e=f;if(f==f){if("string"!=typeof t)return l.errors=[{params:{type:"string"}}],!1;if(t.length<1)return l.errors=[{params:{}}],!1}var u=e===f}else u=!0;if(u){if(void 0!==r.auxiliaryComment){const e=f;a(r.auxiliaryComment,{instancePath:t+"/auxiliaryComment",parentData:r,parentDataProperty:"auxiliaryComment",rootData:s})||(p=null===p?a.errors:p.concat(a.errors),f=p.length),u=e===f}else u=!0;if(u){if(void 0!==r.export){let t=r.export;const e=f,n=f;let s=!1;const a=f;if(f===a)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=f;if(f===n)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++}if(n!==f)break}}else{const r={params:{type:"array"}};null===p?p=[r]:p.push(r),f++}var c=a===f;if(s=s||c,!s){const r=f;if(f===r)if("string"==typeof t){if(t.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=r===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!==r.name){const e=f;o(r.name,{instancePath:t+"/name",parentData:r,parentDataProperty:"name",rootData:s})||(p=null===p?o.errors:p.concat(o.errors),f=p.length),u=e===f}else u=!0;if(u){if(void 0!==r.type){let t=r.type;const e=f,n=f;let s=!1;const a=f;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===p?p=[r]:p.push(r),f++}var m=a===f;if(s=s||m,!s){const r=f;if("string"!=typeof t){const r={params:{type:"string"}};null===p?p=[r]:p.push(r),f++}m=r===f,s=s||m}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!==r.umdAmdContainer){let t=r.umdAmdContainer;const e=f;if(f==f){if("string"!=typeof t)return l.errors=[{params:{type:"string"}}],!1;if(!i.test(t))return l.errors=[{params:{pattern:"^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$"}}],!1;if(t.length<1)return l.errors=[{params:{}}],!1}u=e===f}else u=!0;if(u)if(void 0!==r.umdNamedDefine){const t=f;if("boolean"!=typeof r.umdNamedDefine)return l.errors=[{params:{type:"boolean"}}],!1;u=t===f}else u=!0}}}}}}}}}return l.errors=p,0===f}function p(t,{instancePath:e="",parentData:n,parentDataProperty:a,rootData:o=t}={}){let i=null,f=0;if(0===f){if(!t||"object"!=typeof t||Array.isArray(t))return p.errors=[{params:{type:"object"}}],!1;{let n;if(void 0===t.name&&(n="name")||void 0===t.exposes&&(n="exposes"))return p.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 p.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})||(i=null===i?s.errors:i.concat(s.errors),f=i.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 p.errors=[{params:{type:"string"}}],!1;if(e.includes("!")||!1!==r.test(e))return p.errors=[{params:{}}],!1;if(e.length<1)return p.errors=[{params:{}}],!1}u=n===f}else u=!0;if(u){if(void 0!==t.library){const r=f;l(t.library,{instancePath:e+"/library",parentData:t,parentDataProperty:"library",rootData:o})||(i=null===i?l.errors:i.concat(l.errors),f=i.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 p.errors=[{params:{type:"string"}}],!1;if(r.length<1)return p.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===i?i=[r]:i.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===i?i=[r]:i.push(r),f++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),f++}c=t===f,s=s||c}if(!s){const r={params:{}};return null===i?i=[r]:i.push(r),f++,p.errors=i,!1}f=n,null!==i&&(n?i.length=n:i=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 p.errors=[{params:{type:"string"}}],!1;if(r.length<1)return p.errors=[{params:{}}],!1}u=e===f}else u=!0}}}}}}}}return p.errors=i,0===f}
|
|
7
|
+
"use strict";module.exports=c,module.exports.default=c;let r={anyOf:[{enum:[!1]},{type:"string",minLength:1}]},t=function(r){let t=r.length,e,n=0,s=0;for(;s<t;)n++,(e=r.charCodeAt(s++))>=55296&&e<=56319&&s<t&&(64512&(e=r.charCodeAt(s)))==56320&&s++;return n};function e(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){if(!Array.isArray(r))return e.errors=[{params:{type:"array"}}],!1;{let n=r.length;for(let s=0;s<n;s++){let n=r[s];if("string"!=typeof n)return e.errors=[{params:{type:"string"}}],!1;if(t(n)<1)return e.errors=[{params:{limit:1}}],!1}}return e.errors=null,!0}function n(r,{instancePath:s="",parentData,parentDataProperty,rootData=r}={}){let a=null,o=0;if(o===0){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{let p;if(r.import===void 0&&(p="import"))return n.errors=[{params:{missingProperty:p}}],!1;{let p=o;for(let t in r)if("import"!==t&&"name"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(p===o){if(r.import!==void 0){let p=r.import,f=o,u=o,m=!1,c=o;if(o==o)if("string"==typeof p){if(t(p)<1){let r={params:{limit:1}};a===null?a=[r]:a.push(r),o++}}else{let r={params:{type:"string"}};a===null?a=[r]:a.push(r),o++}var i=c===o;if(!(m=m||i)){let t=o;e(p,{instancePath:s+"/import",parentData:r,parentDataProperty:"import",rootData})||(o=(a=a===null?e.errors:a.concat(e.errors)).length),i=t===o,m=m||i}if(!m){let r={params:{}};return a===null?a=[r]:a.push(r),o++,n.errors=a,!1}o=u,a!==null&&(u?a.length=u:a=null);var l=f===o}else l=!0;if(l)if(r.name!==void 0){if("string"!=typeof r.name)return n.errors=[{params:{type:"string"}}],!1;l=o===o}else l=!0}}}}return n.errors=a,o===0}function s(r,{instancePath:a="",parentData,parentDataProperty,rootData=r}={}){let o=null,i=0;if(i===0){if(!r||"object"!=typeof r||Array.isArray(r))return s.errors=[{params:{type:"object"}}],!1;for(let p in r){let f=r[p],u=i,m=i,c=!1,y=i;n(f,{instancePath:a+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:p,rootData})||(i=(o=o===null?n.errors:o.concat(n.errors)).length);var l=y===i;if(!(c=c||l)){let n=i;if(i==i)if("string"==typeof f){if(t(f)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),i++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),i++}if(l=n===i,!(c=c||l)){let t=i;e(f,{instancePath:a+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:p,rootData})||(i=(o=o===null?e.errors:o.concat(e.errors)).length),l=t===i,c=c||l}}if(!c){let r={params:{}};return o===null?o=[r]:o.push(r),i++,s.errors=o,!1}if(i=m,o!==null&&(m?o.length=m:o=null),u!==i)break}}return s.errors=o,i===0}function a(r,{instancePath:e="",parentData,parentDataProperty,rootData=r}={}){let n=null,o=0,i=o,l=!1,p=o;if(o===p)if(Array.isArray(r)){let a=r.length;for(let i=0;i<a;i++){let a=r[i],l=o,p=o,u=!1,m=o;if(o==o)if("string"==typeof a){if(t(a)<1){let r={params:{limit:1}};n===null?n=[r]:n.push(r),o++}}else{let r={params:{type:"string"}};n===null?n=[r]:n.push(r),o++}var f=m===o;if(!(u=u||f)){let t=o;s(a,{instancePath:e+"/"+i,parentData:r,parentDataProperty:i,rootData})||(o=(n=n===null?s.errors:n.concat(s.errors)).length),f=t===o,u=u||f}if(u)o=p,n!==null&&(p?n.length=p:n=null);else{let r={params:{}};n===null?n=[r]:n.push(r),o++}if(l!==o)break}}else{let r={params:{type:"array"}};n===null?n=[r]:n.push(r),o++}var u=p===o;if(!(l=l||u)){let t=o;s(r,{instancePath:e,parentData,parentDataProperty,rootData})||(o=(n=n===null?s.errors:n.concat(s.errors)).length),u=t===o,l=l||u}if(!l){let r={params:{}};return n===null?n=[r]:n.push(r),o++,a.errors=n,!1}return o=i,n!==null&&(i?n.length=i:n=null),a.errors=n,o===0}let o={enum:["last","all"]},i={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"}]};function l(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let t=null,e=0,n=e,s=!1,a=e;if("string"!=typeof r){let r={params:{type:"string"}};t===null?t=[r]:t.push(r),e++}var o=a===e;if(!(s=s||o)){let n=e;if(e==e)if(r&&"object"==typeof r&&!Array.isArray(r)){let n=e;for(let n in r)if("amd"!==n&&"commonjs"!==n&&"commonjs2"!==n&&"root"!==n){let r={params:{additionalProperty:n}};t===null?t=[r]:t.push(r),e++;break}if(n===e){if(r.amd!==void 0){let n=e;if("string"!=typeof r.amd){let r={params:{type:"string"}};t===null?t=[r]:t.push(r),e++}var i=n===e}else i=!0;if(i){if(r.commonjs!==void 0){let n=e;if("string"!=typeof r.commonjs){let r={params:{type:"string"}};t===null?t=[r]:t.push(r),e++}i=n===e}else i=!0;if(i){if(r.commonjs2!==void 0){let n=e;if("string"!=typeof r.commonjs2){let r={params:{type:"string"}};t===null?t=[r]:t.push(r),e++}i=n===e}else i=!0;if(i)if(r.root!==void 0){let n=e;if("string"!=typeof r.root){let r={params:{type:"string"}};t===null?t=[r]:t.push(r),e++}i=n===e}else i=!0}}}}else{let r={params:{type:"object"}};t===null?t=[r]:t.push(r),e++}o=n===e,s=s||o}if(!s){let r={params:{}};return t===null?t=[r]:t.push(r),e++,l.errors=t,!1}return e=n,t!==null&&(n?t.length=n:t=null),l.errors=t,e===0}function p(r,{instancePath="",parentData,parentDataProperty,rootData=r}={}){let e=null,n=0,s=n,a=!1,o=n;if(n===o)if(Array.isArray(r))if(r.length<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}else{let s=r.length;for(let a=0;a<s;a++){let s=r[a],o=n;if(n===o)if("string"==typeof s){if(t(s)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),n++}if(o!==n)break}}else{let r={params:{type:"array"}};e===null?e=[r]:e.push(r),n++}var i=o===n;if(!(a=a||i)){let s=n;if(n===s)if("string"==typeof r){if(t(r)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),n++}if(i=s===n,!(a=a||i)){let s=n;if(n==n)if(r&&"object"==typeof r&&!Array.isArray(r)){let s=n;for(let t in r)if("amd"!==t&&"commonjs"!==t&&"root"!==t){let r={params:{additionalProperty:t}};e===null?e=[r]:e.push(r),n++;break}if(s===n){if(r.amd!==void 0){let s=r.amd,a=n;if(n===a)if("string"==typeof s){if(t(s)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),n++}var l=a===n}else l=!0;if(l){if(r.commonjs!==void 0){let s=r.commonjs,a=n;if(n===a)if("string"==typeof s){if(t(s)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),n++}l=a===n}else l=!0;if(l)if(r.root!==void 0){let s=r.root,a=n,o=n,i=!1,p=n;if(n===p)if(Array.isArray(s)){let r=s.length;for(let a=0;a<r;a++){let r=s[a],o=n;if(n===o)if("string"==typeof r){if(t(r)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),n++}if(o!==n)break}}else{let r={params:{type:"array"}};e===null?e=[r]:e.push(r),n++}var f=p===n;if(!(i=i||f)){let r=n;if(n===r)if("string"==typeof s){if(t(s)<1){let r={params:{limit:1}};e===null?e=[r]:e.push(r),n++}}else{let r={params:{type:"string"}};e===null?e=[r]:e.push(r),n++}f=r===n,i=i||f}if(i)n=o,e!==null&&(o?e.length=o:e=null);else{let r={params:{}};e===null?e=[r]:e.push(r),n++}l=a===n}else l=!0}}}else{let r={params:{type:"object"}};e===null?e=[r]:e.push(r),n++}i=s===n,a=a||i}}if(!a){let r={params:{}};return e===null?e=[r]:e.push(r),n++,p.errors=e,!1}return n=s,e!==null&&(s?e.length=s:e=null),p.errors=e,n===0}let f=RegExp("^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$","u");function u(r,{instancePath:e="",parentData,parentDataProperty,rootData=r}={}){let n=null,s=0;if(s===0){if(!r||"object"!=typeof r||Array.isArray(r))return u.errors=[{params:{type:"object"}}],!1;{let y;if(r.type===void 0&&(y="type"))return u.errors=[{params:{missingProperty:y}}],!1;{let y=s;for(let t in r)if("amdContainer"!==t&&"auxiliaryComment"!==t&&"entryExports"!==t&&"export"!==t&&"name"!==t&&"type"!==t&&"umdAmdContainer"!==t&&"umdNamedDefine"!==t)return u.errors=[{params:{additionalProperty:t}}],!1;if(y===s){if(r.amdContainer!==void 0){let e=r.amdContainer;if(s==s){if("string"!=typeof e)return u.errors=[{params:{type:"string"}}],!1;if(t(e)<1)return u.errors=[{params:{limit:1}}],!1}var a=s===s}else a=!0;if(a){if(r.auxiliaryComment!==void 0){let t=s;l(r.auxiliaryComment,{instancePath:e+"/auxiliaryComment",parentData:r,parentDataProperty:"auxiliaryComment",rootData})||(s=(n=n===null?l.errors:n.concat(l.errors)).length),a=t===s}else a=!0;if(a){if(r.entryExports!==void 0){let t=r.entryExports;if("last"!==t&&"all"!==t)return u.errors=[{params:{allowedValues:o.enum}}],!1;a=s===s}else a=!0;if(a){if(r.export!==void 0){let e=r.export,o=s,i=s,l=!1,p=s;if(s===p)if(Array.isArray(e)){let r=e.length;for(let a=0;a<r;a++){let r=e[a],o=s;if(s===o)if("string"==typeof r){if(t(r)<1){let r={params:{limit:1}};n===null?n=[r]:n.push(r),s++}}else{let r={params:{type:"string"}};n===null?n=[r]:n.push(r),s++}if(o!==s)break}}else{let r={params:{type:"array"}};n===null?n=[r]:n.push(r),s++}var m=p===s;if(!(l=l||m)){let r=s;if(s===r)if("string"==typeof e){if(t(e)<1){let r={params:{limit:1}};n===null?n=[r]:n.push(r),s++}}else{let r={params:{type:"string"}};n===null?n=[r]:n.push(r),s++}m=r===s,l=l||m}if(!l){let r={params:{}};return n===null?n=[r]:n.push(r),s++,u.errors=n,!1}s=i,n!==null&&(i?n.length=i:n=null),a=o===s}else a=!0;if(a){if(r.name!==void 0){let t=s;p(r.name,{instancePath:e+"/name",parentData:r,parentDataProperty:"name",rootData})||(s=(n=n===null?p.errors:n.concat(p.errors)).length),a=t===s}else a=!0;if(a){if(r.type!==void 0){let t=r.type,e=s,o=s,l=!1,p=s;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){let r={params:{allowedValues:i.anyOf[0].enum}};n===null?n=[r]:n.push(r),s++}var c=p===s;if(!(l=l||c)){let r=s;if("string"!=typeof t){let r={params:{type:"string"}};n===null?n=[r]:n.push(r),s++}c=r===s,l=l||c}if(!l){let r={params:{}};return n===null?n=[r]:n.push(r),s++,u.errors=n,!1}s=o,n!==null&&(o?n.length=o:n=null),a=e===s}else a=!0;if(a){if(r.umdAmdContainer!==void 0){let e=r.umdAmdContainer;if(s==s){if("string"!=typeof e)return u.errors=[{params:{type:"string"}}],!1;if(t(e)<1)return u.errors=[{params:{limit:1}}],!1;if(!f.test(e))return u.errors=[{params:{pattern:"^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$"}}],!1}a=s===s}else a=!0;if(a)if(r.umdNamedDefine!==void 0){if("boolean"!=typeof r.umdNamedDefine)return u.errors=[{params:{type:"boolean"}}],!1;a=s===s}else a=!0}}}}}}}}}}return u.errors=n,s===0}let m=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function c(e,{instancePath:n="",parentData,parentDataProperty,rootData=e}={}){let s=null,o=0;if(o===0){if(!e||"object"!=typeof e||Array.isArray(e))return c.errors=[{params:{type:"object"}}],!1;{let p;if(e.name===void 0&&(p="name")||e.exposes===void 0&&(p="exposes"))return c.errors=[{params:{missingProperty:p}}],!1;{let p=o;for(let r in e)if("exposes"!==r&&"filename"!==r&&"library"!==r&&"name"!==r&&"runtime"!==r&&"shareScope"!==r)return c.errors=[{params:{additionalProperty:r}}],!1;if(p===o){if(e.exposes!==void 0){let r=o;a(e.exposes,{instancePath:n+"/exposes",parentData:e,parentDataProperty:"exposes",rootData})||(o=(s=s===null?a.errors:s.concat(a.errors)).length);var i=r===o}else i=!0;if(i){if(e.filename!==void 0){let r=e.filename,n=o;if(o===n){if("string"!=typeof r)return c.errors=[{params:{type:"string"}}],!1;if(t(r)<1)return c.errors=[{params:{limit:1}}],!1;if(r.includes("!")||!1!==m.test(r))return c.errors=[{params:{}}],!1}i=n===o}else i=!0;if(i){if(e.library!==void 0){let r=o;u(e.library,{instancePath:n+"/library",parentData:e,parentDataProperty:"library",rootData})||(o=(s=s===null?u.errors:s.concat(u.errors)).length),i=r===o}else i=!0;if(i){if(e.name!==void 0){let r=e.name,n=o;if(o===n){if("string"!=typeof r)return c.errors=[{params:{type:"string"}}],!1;if(t(r)<1)return c.errors=[{params:{limit:1}}],!1}i=n===o}else i=!0;if(i){if(e.runtime!==void 0){let n=e.runtime,a=o,p=o,f=!1,u=o;if(!1!==n){let t={params:{allowedValues:r.anyOf[0].enum}};s===null?s=[t]:s.push(t),o++}var l=u===o;if(!(f=f||l)){let r=o;if(o===r)if("string"==typeof n){if(t(n)<1){let r={params:{limit:1}};s===null?s=[r]:s.push(r),o++}}else{let r={params:{type:"string"}};s===null?s=[r]:s.push(r),o++}l=r===o,f=f||l}if(!f){let r={params:{}};return s===null?s=[r]:s.push(r),o++,c.errors=s,!1}o=p,s!==null&&(p?s.length=p:s=null),i=a===o}else i=!0;if(i)if(e.shareScope!==void 0){let r=e.shareScope,n=o;if(o===n){if("string"!=typeof r)return c.errors=[{params:{type:"string"}}],!1;if(t(r)<1)return c.errors=[{params:{limit:1}}],!1}i=n===o}else i=!0}}}}}}}}return c.errors=s,o===0}
|
|
@@ -161,6 +161,11 @@
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
|
+
"LibraryEntryExports": {
|
|
165
|
+
"description": "Which modules of an entry the library exposes the exports of: only the last one, or all of them, where a name more than one module binds differently is left out, as 'export *' does.",
|
|
166
|
+
"enum": ["last", "all"],
|
|
167
|
+
"added": "5.112.0"
|
|
168
|
+
},
|
|
164
169
|
"LibraryExport": {
|
|
165
170
|
"description": "Specify which export should be exposed as library.",
|
|
166
171
|
"anyOf": [
|
|
@@ -210,6 +215,9 @@
|
|
|
210
215
|
"auxiliaryComment": {
|
|
211
216
|
"$ref": "#/definitions/AuxiliaryComment"
|
|
212
217
|
},
|
|
218
|
+
"entryExports": {
|
|
219
|
+
"$ref": "#/definitions/LibraryEntryExports"
|
|
220
|
+
},
|
|
213
221
|
"export": {
|
|
214
222
|
"$ref": "#/definitions/LibraryExport"
|
|
215
223
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
"use strict";function r(t,{instancePath
|
|
7
|
+
"use strict";module.exports=o,module.exports.default=o;let r={enum:["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","amd-async","umd","umd2","jsonp","system","promise","import","module-import","script","node-commonjs","asset","asset-url","css-import","css-url"]},t=function(r){let t=r.length,e,a=0,s=0;for(;s<t;)a++,(e=r.charCodeAt(s++))>=55296&&e<=56319&&s<t&&(64512&(e=r.charCodeAt(s)))==56320&&s++;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 s=0;s<a;s++){let a=r[s];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:s="",parentData,parentDataProperty,rootData=r}={}){let n=null,o=0;if(o===0){if(!r||"object"!=typeof r||Array.isArray(r))return a.errors=[{params:{type:"object"}}],!1;{let p;if(r.external===void 0&&(p="external"))return a.errors=[{params:{missingProperty:p}}],!1;{let p=o;for(let t in r)if("external"!==t&&"shareScope"!==t)return a.errors=[{params:{additionalProperty:t}}],!1;if(p===o){if(r.external!==void 0){let p=r.external,c=o,u=o,m=!1,f=o;if(o==o)if("string"==typeof p){if(t(p)<1){let r={params:{limit:1}};n===null?n=[r]:n.push(r),o++}}else{let r={params:{type:"string"}};n===null?n=[r]:n.push(r),o++}var l=f===o;if(!(m=m||l)){let t=o;e(p,{instancePath:s+"/external",parentData:r,parentDataProperty:"external",rootData})||(o=(n=n===null?e.errors:n.concat(e.errors)).length),l=t===o,m=m||l}if(!m){let r={params:{}};return n===null?n=[r]:n.push(r),o++,a.errors=n,!1}o=u,n!==null&&(u?n.length=u:n=null);var i=c===o}else i=!0;if(i)if(r.shareScope!==void 0){let e=r.shareScope,s=o;if(o===s){if("string"!=typeof e)return a.errors=[{params:{type:"string"}}],!1;if(t(e)<1)return a.errors=[{params:{limit:1}}],!1}i=s===o}else i=!0}}}}return a.errors=n,o===0}function s(r,{instancePath:n="",parentData,parentDataProperty,rootData=r}={}){let o=null,l=0;if(l===0){if(!r||"object"!=typeof r||Array.isArray(r))return s.errors=[{params:{type:"object"}}],!1;for(let p in r){let c=r[p],u=l,m=l,f=!1,y=l;a(c,{instancePath:n+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:p,rootData})||(l=(o=o===null?a.errors:o.concat(a.errors)).length);var i=y===l;if(!(f=f||i)){let a=l;if(l==l)if("string"==typeof c){if(t(c)<1){let r={params:{limit:1}};o===null?o=[r]:o.push(r),l++}}else{let r={params:{type:"string"}};o===null?o=[r]:o.push(r),l++}if(i=a===l,!(f=f||i)){let t=l;e(c,{instancePath:n+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:p,rootData})||(l=(o=o===null?e.errors:o.concat(e.errors)).length),i=t===l,f=f||i}}if(!f){let r={params:{}};return o===null?o=[r]:o.push(r),l++,s.errors=o,!1}if(l=m,o!==null&&(m?o.length=m:o=null),u!==l)break}}return s.errors=o,l===0}function n(r,{instancePath:e="",parentData,parentDataProperty,rootData=r}={}){let a=null,o=0,l=o,i=!1,p=o;if(o===p)if(Array.isArray(r)){let n=r.length;for(let l=0;l<n;l++){let n=r[l],i=o,p=o,u=!1,m=o;if(o==o)if("string"==typeof n){if(t(n)<1){let r={params:{limit:1}};a===null?a=[r]:a.push(r),o++}}else{let r={params:{type:"string"}};a===null?a=[r]:a.push(r),o++}var c=m===o;if(!(u=u||c)){let t=o;s(n,{instancePath:e+"/"+l,parentData:r,parentDataProperty:l,rootData})||(o=(a=a===null?s.errors:a.concat(s.errors)).length),c=t===o,u=u||c}if(u)o=p,a!==null&&(p?a.length=p:a=null);else{let r={params:{}};a===null?a=[r]:a.push(r),o++}if(i!==o)break}}else{let r={params:{type:"array"}};a===null?a=[r]:a.push(r),o++}var u=p===o;if(!(i=i||u)){let t=o;s(r,{instancePath:e,parentData,parentDataProperty,rootData})||(o=(a=a===null?s.errors:a.concat(s.errors)).length),u=t===o,i=i||u}if(!i){let r={params:{}};return a===null?a=[r]:a.push(r),o++,n.errors=a,!1}return o=l,a!==null&&(l?a.length=l:a=null),n.errors=a,o===0}function o(e,{instancePath:a="",parentData,parentDataProperty,rootData=e}={}){let s=null,l=0;if(l===0){if(!e||"object"!=typeof e||Array.isArray(e))return o.errors=[{params:{type:"object"}}],!1;{let p;if(e.remoteType===void 0&&(p="remoteType")||e.remotes===void 0&&(p="remotes"))return o.errors=[{params:{missingProperty:p}}],!1;{let p=l;for(let r in e)if("remoteType"!==r&&"remotes"!==r&&"shareScope"!==r)return o.errors=[{params:{additionalProperty:r}}],!1;if(p===l){if(e.remoteType!==void 0){let t=e.remoteType,a=l,n=l,p=!1,c=null,u=l;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&&"amd-async"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t&&"promise"!==t&&"import"!==t&&"module-import"!==t&&"script"!==t&&"node-commonjs"!==t&&"asset"!==t&&"asset-url"!==t&&"css-import"!==t&&"css-url"!==t){let t={params:{allowedValues:r.enum}};s===null?s=[t]:s.push(t),l++}if(u===l&&(p=!0,c=0),!p){let r={params:{passingSchemas:c}};return s===null?s=[r]:s.push(r),l++,o.errors=s,!1}l=n,s!==null&&(n?s.length=n:s=null);var i=a===l}else i=!0;if(i){if(e.remotes!==void 0){let r=l;n(e.remotes,{instancePath:a+"/remotes",parentData:e,parentDataProperty:"remotes",rootData})||(l=(s=s===null?n.errors:s.concat(n.errors)).length),i=r===l}else i=!0;if(i)if(e.shareScope!==void 0){let r=e.shareScope,a=l;if(l===a){if("string"!=typeof r)return o.errors=[{params:{type:"string"}}],!1;if(t(r)<1)return o.errors=[{params:{limit:1}}],!1}i=a===l}else i=!0}}}}}return o.errors=s,l===0}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
"use strict";function
|
|
7
|
+
"use strict";module.exports=o,module.exports.default=o;let s={enum:["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","amd-async","umd","umd2","jsonp","system","promise","import","module-import","script","node-commonjs","asset","asset-url","css-import","css-url"]};function o(m,{instancePath="",parentData,parentDataProperty,rootData=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&&"amd-async"!==m&&"umd"!==m&&"umd2"!==m&&"jsonp"!==m&&"system"!==m&&"promise"!==m&&"import"!==m&&"module-import"!==m&&"script"!==m&&"node-commonjs"!==m&&"asset"!==m&&"asset-url"!==m&&"css-import"!==m&&"css-url"!==m?(o.errors=[{params:{allowedValues:s.enum}}],!1):(o.errors=null,!0)}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
1
3
|
/*
|
|
2
|
-
* This file was automatically generated.
|
|
4
|
+
* This file was automatically generated by "schema-utils".
|
|
3
5
|
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn fix:special` to update
|
|
5
6
|
*/
|
|
6
|
-
const t=/^(?:file:(?=\/))?(?:[A-Za-z]:[\\/]|\\\\|\/)/i;module.exports=b,module.exports.default=b;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","amd-async","umd","umd2","jsonp","system","promise","import","module-import","script","node-commonjs","asset","asset-url","css-import","css-url"]},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"},umdAmdContainer:{$ref:"#/definitions/UmdAmdContainer"},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"}]}},UmdAmdContainer:{type:"string",minLength:1,pattern:"^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$"},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,m=l;let c=!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(c=c||p,!c){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,c=c||p}if(!c){const t={params:{}};return null===i?i=[t]:i.push(t),l++,s.errors=i,!1}l=m,null!==i&&(m?i.length=m: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 m=p,c=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=c,null!==l&&(c?l.length=c:l=null),m!==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 m=l;if(l===m)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 m=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 c=m===l;if(f=f||c,!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),c=o===l,f=f||c}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=m===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 m=f===o;if(p=p||m,!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 c=e===o}else c=!0;if(c){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++}c=e===o}else c=!0;if(c){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++}c=e===o}else c=!0;if(c)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++}c=e===o}else c=!0}}}}else{const t={params:{type:"object"}};null===a?a=[t]:a.push(t),o++}m=e===o,p=p||m}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 m=f===o;if(p=p||m,!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(m=e===o,p=p||m,!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 c=r===o}else c=!0;if(c){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++}c=r===o}else c=!0;if(c)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++}c=r===o}else c=!0}}}else{const t={params:{type:"object"}};null===a?a=[t]:a.push(t),o++}m=e===o,p=p||m}}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}const p=new RegExp("^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$","u");function f(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 f.errors=[{params:{type:"object"}}],!1;{let r;if(void 0===t.type&&(r="type"))return f.errors=[{params:{missingProperty:r}}],!1;{const r=o;for(const e in t)if("amdContainer"!==e&&"auxiliaryComment"!==e&&"export"!==e&&"name"!==e&&"type"!==e&&"umdAmdContainer"!==e&&"umdNamedDefine"!==e)return f.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 f.errors=[{params:{type:"string"}}],!1;if(e.length<1)return f.errors=[{params:{}}],!1}var m=r===o}else m=!0;if(m){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),m=r===o}else m=!0;if(m){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++,f.errors=a,!1}o=n,null!==a&&(n?a.length=n:a=null),m=r===o}else m=!0;if(m){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),m=r===o}else m=!0;if(m){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 u=i===o;if(s=s||u,!s){const t=o;if("string"!=typeof e){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),o++}u=t===o,s=s||u}if(!s){const t={params:{}};return null===a?a=[t]:a.push(t),o++,f.errors=a,!1}o=n,null!==a&&(n?a.length=n:a=null),m=r===o}else m=!0;if(m){if(void 0!==t.umdAmdContainer){let e=t.umdAmdContainer;const r=o;if(o==o){if("string"!=typeof e)return f.errors=[{params:{type:"string"}}],!1;if(!p.test(e))return f.errors=[{params:{pattern:"^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$"}}],!1;if(e.length<1)return f.errors=[{params:{}}],!1}m=r===o}else m=!0;if(m)if(void 0!==t.umdNamedDefine){const e=o;if("boolean"!=typeof t.umdNamedDefine)return f.errors=[{params:{type:"boolean"}}],!1;m=e===o}else m=!0}}}}}}}}}return f.errors=a,0===o}function m(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:s=t}={}){if(!Array.isArray(t))return m.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 m.errors=[{params:{type:"string"}}],!1;if(e.length<1)return m.errors=[{params:{}}],!1;if(0!==n)break}}return m.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 f=!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(f=f||i,!f){const n=o;m(r,{instancePath:e+"/external",parentData:t,parentDataProperty:"external",rootData:s})||(a=null===a?m.errors:a.concat(m.errors),o=a.length),i=n===o,f=f||i}if(!f){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 u(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 u.errors=[{params:{type:"object"}}],!1;for(const r in t){let n=t[r];const l=o,p=o;let f=!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(f=f||i,!f){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,f=f||i,!f){const l=o;m(n,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:s})||(a=null===a?m.errors:a.concat(m.errors),o=a.length),i=l===o,f=f||i}}if(!f){const t={params:{}};return null===a?a=[t]:a.push(t),o++,u.errors=a,!1}if(o=p,null!==a&&(p?a.length=p:a=null),l!==o)break}}return u.errors=a,0===o}function y(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 m=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=m===o;if(p=p||f,!p){const i=o;u(r,{instancePath:e+"/"+n,parentData:t,parentDataProperty:n,rootData:s})||(a=null===a?u.errors:a.concat(u.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 m=p===o;if(l=l||m,!l){const i=o;u(t,{instancePath:e,parentData:r,parentDataProperty:n,rootData:s})||(a=null===a?u.errors:a.concat(u.errors),o=a.length),m=i===o,l=l||m}if(!l){const t={params:{}};return null===a?a=[t]:a.push(t),o++,y.errors=a,!1}return o=i,null!==a&&(i?a.length=i:a=null),y.errors=a,0===o}const h={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 g(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 g.errors=[{params:{type:"object"}}],!1;{const e=i;for(const e in t)if(!r.call(h.properties,e))return g.errors=[{params:{additionalProperty:e}}],!1;if(e===i){if(void 0!==t.eager){const e=i;if("boolean"!=typeof t.eager)return g.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++,g.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 g.errors=[{params:{type:"string"}}],!1;if(e.length<1)return g.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++,g.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 g.errors=[{params:{type:"string"}}],!1;if(e.length<1)return g.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 g.errors=[{params:{type:"string"}}],!1;if(e.length<1)return g.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 g.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 g.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 m=a===i;if(s=s||m,!s){const t=i;if("string"!=typeof e){const t={params:{type:"string"}};null===o?o=[t]:o.push(t),i++}m=t===i,s=s||m}if(!s){const t={params:{}};return null===o?o=[t]:o.push(t),i++,g.errors=o,!1}i=n,null!==o&&(n?o.length=n:o=null),l=r===i}else l=!0}}}}}}}}}}return g.errors=o,0===i}function d(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 d.errors=[{params:{type:"object"}}],!1;for(const r in t){let n=t[r];const l=o,p=o;let f=!1;const m=o;g(n,{instancePath:e+"/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:r,rootData:s})||(a=null===a?g.errors:a.concat(g.errors),o=a.length);var i=m===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++,d.errors=a,!1}if(o=p,null!==a&&(p?a.length=p:a=null),l!==o)break}}return d.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 m=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=m===o;if(p=p||f,!p){const i=o;d(r,{instancePath:e+"/"+n,parentData:t,parentDataProperty:n,rootData:s})||(a=null===a?d.errors:a.concat(d.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 m=p===o;if(l=l||m,!l){const i=o;d(t,{instancePath:e,parentData:r,parentDataProperty:n,rootData:s})||(a=null===a?d.errors:a.concat(d.errors),o=a.length),m=i===o,l=l||m}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 b(n,{instancePath:s="",parentData:a,parentDataProperty:i,rootData:l=n}={}){let p=null,m=0;if(0===m){if(!n||"object"!=typeof n||Array.isArray(n))return b.errors=[{params:{type:"object"}}],!1;{const a=m;for(const t in n)if(!r.call(e.properties,t))return b.errors=[{params:{additionalProperty:t}}],!1;if(a===m){if(void 0!==n.exposes){const t=m;o(n.exposes,{instancePath:s+"/exposes",parentData:n,parentDataProperty:"exposes",rootData:l})||(p=null===p?o.errors:p.concat(o.errors),m=p.length);var c=t===m}else c=!0;if(c){if(void 0!==n.filename){let e=n.filename;const r=m;if(m===r){if("string"!=typeof e)return b.errors=[{params:{type:"string"}}],!1;if(e.includes("!")||!1!==t.test(e))return b.errors=[{params:{}}],!1}c=r===m}else c=!0;if(c){if(void 0!==n.library){const t=m;f(n.library,{instancePath:s+"/library",parentData:n,parentDataProperty:"library",rootData:l})||(p=null===p?f.errors:p.concat(f.errors),m=p.length),c=t===m}else c=!0;if(c){if(void 0!==n.name){const t=m;if("string"!=typeof n.name)return b.errors=[{params:{type:"string"}}],!1;c=t===m}else c=!0;if(c){if(void 0!==n.remoteType){let t=n.remoteType;const e=m,r=m;let s=!1,a=null;const o=m;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&&"amd-async"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t&&"promise"!==t&&"import"!==t&&"module-import"!==t&&"script"!==t&&"node-commonjs"!==t&&"asset"!==t&&"asset-url"!==t&&"css-import"!==t&&"css-url"!==t){const t={params:{}};null===p?p=[t]:p.push(t),m++}if(o===m&&(s=!0,a=0),!s){const t={params:{passingSchemas:a}};return null===p?p=[t]:p.push(t),m++,b.errors=p,!1}m=r,null!==p&&(r?p.length=r:p=null),c=e===m}else c=!0;if(c){if(void 0!==n.remotes){const t=m;y(n.remotes,{instancePath:s+"/remotes",parentData:n,parentDataProperty:"remotes",rootData:l})||(p=null===p?y.errors:p.concat(y.errors),m=p.length),c=t===m}else c=!0;if(c){if(void 0!==n.runtime){let t=n.runtime;const e=m,r=m;let s=!1;const a=m;if(!1!==t){const t={params:{}};null===p?p=[t]:p.push(t),m++}var u=a===m;if(s=s||u,!s){const e=m;if(m===e)if("string"==typeof t){if(t.length<1){const t={params:{}};null===p?p=[t]:p.push(t),m++}}else{const t={params:{type:"string"}};null===p?p=[t]:p.push(t),m++}u=e===m,s=s||u}if(!s){const t={params:{}};return null===p?p=[t]:p.push(t),m++,b.errors=p,!1}m=r,null!==p&&(r?p.length=r:p=null),c=e===m}else c=!0;if(c){if(void 0!==n.shareScope){let t=n.shareScope;const e=m;if(m===e){if("string"!=typeof t)return b.errors=[{params:{type:"string"}}],!1;if(t.length<1)return b.errors=[{params:{}}],!1}c=e===m}else c=!0;if(c)if(void 0!==n.shared){const t=m;D(n.shared,{instancePath:s+"/shared",parentData:n,parentDataProperty:"shared",rootData:l})||(p=null===p?D.errors:p.concat(D.errors),m=p.length),c=t===m}else c=!0}}}}}}}}}}return b.errors=p,0===m}
|
|
7
|
+
"use strict";module.exports=x,module.exports.default=x;let 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","amd-async","umd","umd2","jsonp","system","promise","import","module-import","script","node-commonjs","asset","asset-url","css-import","css-url"]},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}]}}},LibraryEntryExports:{enum:["last","all"]},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"},entryExports:{$ref:"#/definitions/LibraryEntryExports"},export:{$ref:"#/definitions/LibraryExport"},name:{$ref:"#/definitions/LibraryName"},type:{$ref:"#/definitions/LibraryType"},umdAmdContainer:{$ref:"#/definitions/UmdAmdContainer"},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"},exclude:{$ref:"#/definitions/SharedModuleFilter"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/SharedItem"}]},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"},version:{anyOf:[{enum:[!1]},{type:"string"}]}}},SharedItem:{type:"string",minLength:1},SharedModuleFilter:{type:"object",additionalProperties:!1,properties:{request:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1}]},version:{type:"string",minLength:1}}},SharedObject:{type:"object",additionalProperties:{anyOf:[{$ref:"#/definitions/SharedConfig"},{$ref:"#/definitions/SharedItem"}]}},UmdAmdContainer:{type:"string",minLength:1,pattern:"^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$"},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"}},$id:"ModuleFederationPlugin.json"},r={enum:["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","commonjs-static","amd","amd-require","amd-async","umd","umd2","jsonp","system","promise","import","module-import","script","node-commonjs","asset","asset-url","css-import","css-url"]},t={anyOf:[{enum:[!1]},{type:"string",minLength:1}]},n=Object.prototype.hasOwnProperty,s=function(e){let r=e.length,t,n=0,s=0;for(;s<r;)n++,(t=e.charCodeAt(s++))>=55296&&t<=56319&&s<r&&(64512&(t=e.charCodeAt(s)))==56320&&s++;return n};function a(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!Array.isArray(e))return a.errors=[{params:{type:"array"}}],!1;{let r=e.length;for(let t=0;t<r;t++){let r=e[t];if("string"!=typeof r)return a.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return a.errors=[{params:{limit:1}}],!1}}return a.errors=null,!0}function o(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return o.errors=[{params:{type:"object"}}],!1;{let p;if(e.import===void 0&&(p="import"))return o.errors=[{params:{missingProperty:p}}],!1;{let p=n;for(let r in e)if("import"!==r&&"name"!==r)return o.errors=[{params:{additionalProperty:r}}],!1;if(p===n){if(e.import!==void 0){let p=e.import,f=n,m=n,u=!1,c=n;if(n==n)if("string"==typeof p){if(s(p)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}var i=c===n;if(!(u=u||i)){let s=n;a(p,{instancePath:r+"/import",parentData:e,parentDataProperty:"import",rootData})||(n=(t=t===null?a.errors:t.concat(a.errors)).length),i=s===n,u=u||i}if(!u){let e={params:{}};return t===null?t=[e]:t.push(e),n++,o.errors=t,!1}n=m,t!==null&&(m?t.length=m:t=null);var l=f===n}else l=!0;if(l)if(e.name!==void 0){if("string"!=typeof e.name)return o.errors=[{params:{type:"string"}}],!1;l=n===n}else l=!0}}}}return o.errors=t,n===0}function i(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return i.errors=[{params:{type:"object"}}],!1;for(let p in e){let f=e[p],m=n,u=n,c=!1,y=n;o(f,{instancePath:r+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:e,parentDataProperty:p,rootData})||(n=(t=t===null?o.errors:t.concat(o.errors)).length);var l=y===n;if(!(c=c||l)){let o=n;if(n==n)if("string"==typeof f){if(s(f)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}if(l=o===n,!(c=c||l)){let s=n;a(f,{instancePath:r+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:e,parentDataProperty:p,rootData})||(n=(t=t===null?a.errors:t.concat(a.errors)).length),l=s===n,c=c||l}}if(!c){let e={params:{}};return t===null?t=[e]:t.push(e),n++,i.errors=t,!1}if(n=u,t!==null&&(u?t.length=u:t=null),m!==n)break}}return i.errors=t,n===0}function l(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0,a=n,o=!1,p=n;if(n===p)if(Array.isArray(e)){let a=e.length;for(let o=0;o<a;o++){let a=e[o],l=n,p=n,m=!1,u=n;if(n==n)if("string"==typeof a){if(s(a)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}var f=u===n;if(!(m=m||f)){let s=n;i(a,{instancePath:r+"/"+o,parentData:e,parentDataProperty:o,rootData})||(n=(t=t===null?i.errors:t.concat(i.errors)).length),f=s===n,m=m||f}if(m)n=p,t!==null&&(p?t.length=p:t=null);else{let e={params:{}};t===null?t=[e]:t.push(e),n++}if(l!==n)break}}else{let e={params:{type:"array"}};t===null?t=[e]:t.push(e),n++}var m=p===n;if(!(o=o||m)){let s=n;i(e,{instancePath:r,parentData,parentDataProperty,rootData})||(n=(t=t===null?i.errors:t.concat(i.errors)).length),m=s===n,o=o||m}if(!o){let e={params:{}};return t===null?t=[e]:t.push(e),n++,l.errors=t,!1}return n=a,t!==null&&(a?t.length=a:t=null),l.errors=t,n===0}let p={enum:["last","all"]},f={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"}]};function m(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let r=null,t=0,n=t,s=!1,a=t;if("string"!=typeof e){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}var o=a===t;if(!(s=s||o)){let n=t;if(t==t)if(e&&"object"==typeof e&&!Array.isArray(e)){let n=t;for(let n in e)if("amd"!==n&&"commonjs"!==n&&"commonjs2"!==n&&"root"!==n){let e={params:{additionalProperty:n}};r===null?r=[e]:r.push(e),t++;break}if(n===t){if(e.amd!==void 0){let n=t;if("string"!=typeof e.amd){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}var i=n===t}else i=!0;if(i){if(e.commonjs!==void 0){let n=t;if("string"!=typeof e.commonjs){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}i=n===t}else i=!0;if(i){if(e.commonjs2!==void 0){let n=t;if("string"!=typeof e.commonjs2){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}i=n===t}else i=!0;if(i)if(e.root!==void 0){let n=t;if("string"!=typeof e.root){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}i=n===t}else i=!0}}}}else{let e={params:{type:"object"}};r===null?r=[e]:r.push(e),t++}o=n===t,s=s||o}if(!s){let e={params:{}};return r===null?r=[e]:r.push(e),t++,m.errors=r,!1}return t=n,r!==null&&(n?r.length=n:r=null),m.errors=r,t===0}function u(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let r=null,t=0,n=t,a=!1,o=t;if(t===o)if(Array.isArray(e))if(e.length<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}else{let n=e.length;for(let a=0;a<n;a++){let n=e[a],o=t;if(t===o)if("string"==typeof n){if(s(n)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}if(o!==t)break}}else{let e={params:{type:"array"}};r===null?r=[e]:r.push(e),t++}var i=o===t;if(!(a=a||i)){let n=t;if(t===n)if("string"==typeof e){if(s(e)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}if(i=n===t,!(a=a||i)){let n=t;if(t==t)if(e&&"object"==typeof e&&!Array.isArray(e)){let n=t;for(let n in e)if("amd"!==n&&"commonjs"!==n&&"root"!==n){let e={params:{additionalProperty:n}};r===null?r=[e]:r.push(e),t++;break}if(n===t){if(e.amd!==void 0){let n=e.amd,a=t;if(t===a)if("string"==typeof n){if(s(n)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}var l=a===t}else l=!0;if(l){if(e.commonjs!==void 0){let n=e.commonjs,a=t;if(t===a)if("string"==typeof n){if(s(n)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}l=a===t}else l=!0;if(l)if(e.root!==void 0){let n=e.root,a=t,o=t,i=!1,f=t;if(t===f)if(Array.isArray(n)){let e=n.length;for(let a=0;a<e;a++){let e=n[a],o=t;if(t===o)if("string"==typeof e){if(s(e)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}if(o!==t)break}}else{let e={params:{type:"array"}};r===null?r=[e]:r.push(e),t++}var p=f===t;if(!(i=i||p)){let e=t;if(t===e)if("string"==typeof n){if(s(n)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}p=e===t,i=i||p}if(i)t=o,r!==null&&(o?r.length=o:r=null);else{let e={params:{}};r===null?r=[e]:r.push(e),t++}l=a===t}else l=!0}}}else{let e={params:{type:"object"}};r===null?r=[e]:r.push(e),t++}i=n===t,a=a||i}}if(!a){let e={params:{}};return r===null?r=[e]:r.push(e),t++,u.errors=r,!1}return t=n,r!==null&&(n?r.length=n:r=null),u.errors=r,t===0}let c=RegExp("^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$","u");function y(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return y.errors=[{params:{type:"object"}}],!1;{let l;if(e.type===void 0&&(l="type"))return y.errors=[{params:{missingProperty:l}}],!1;{let l=n;for(let r in e)if("amdContainer"!==r&&"auxiliaryComment"!==r&&"entryExports"!==r&&"export"!==r&&"name"!==r&&"type"!==r&&"umdAmdContainer"!==r&&"umdNamedDefine"!==r)return y.errors=[{params:{additionalProperty:r}}],!1;if(l===n){if(e.amdContainer!==void 0){let r=e.amdContainer;if(n==n){if("string"!=typeof r)return y.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return y.errors=[{params:{limit:1}}],!1}var a=n===n}else a=!0;if(a){if(e.auxiliaryComment!==void 0){let s=n;m(e.auxiliaryComment,{instancePath:r+"/auxiliaryComment",parentData:e,parentDataProperty:"auxiliaryComment",rootData})||(n=(t=t===null?m.errors:t.concat(m.errors)).length),a=s===n}else a=!0;if(a){if(e.entryExports!==void 0){let r=e.entryExports;if("last"!==r&&"all"!==r)return y.errors=[{params:{allowedValues:p.enum}}],!1;a=n===n}else a=!0;if(a){if(e.export!==void 0){let r=e.export,i=n,l=n,p=!1,f=n;if(n===f)if(Array.isArray(r)){let e=r.length;for(let a=0;a<e;a++){let e=r[a],o=n;if(n===o)if("string"==typeof e){if(s(e)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}if(o!==n)break}}else{let e={params:{type:"array"}};t===null?t=[e]:t.push(e),n++}var o=f===n;if(!(p=p||o)){let e=n;if(n===e)if("string"==typeof r){if(s(r)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}o=e===n,p=p||o}if(!p){let e={params:{}};return t===null?t=[e]:t.push(e),n++,y.errors=t,!1}n=l,t!==null&&(l?t.length=l:t=null),a=i===n}else a=!0;if(a){if(e.name!==void 0){let s=n;u(e.name,{instancePath:r+"/name",parentData:e,parentDataProperty:"name",rootData})||(n=(t=t===null?u.errors:t.concat(u.errors)).length),a=s===n}else a=!0;if(a){if(e.type!==void 0){let r=e.type,s=n,o=n,l=!1,p=n;if("var"!==r&&"module"!==r&&"assign"!==r&&"assign-properties"!==r&&"this"!==r&&"window"!==r&&"self"!==r&&"global"!==r&&"commonjs"!==r&&"commonjs2"!==r&&"commonjs-module"!==r&&"commonjs-static"!==r&&"amd"!==r&&"amd-require"!==r&&"umd"!==r&&"umd2"!==r&&"jsonp"!==r&&"system"!==r){let e={params:{allowedValues:f.anyOf[0].enum}};t===null?t=[e]:t.push(e),n++}var i=p===n;if(!(l=l||i)){let e=n;if("string"!=typeof r){let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}i=e===n,l=l||i}if(!l){let e={params:{}};return t===null?t=[e]:t.push(e),n++,y.errors=t,!1}n=o,t!==null&&(o?t.length=o:t=null),a=s===n}else a=!0;if(a){if(e.umdAmdContainer!==void 0){let r=e.umdAmdContainer;if(n==n){if("string"!=typeof r)return y.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return y.errors=[{params:{limit:1}}],!1;if(!c.test(r))return y.errors=[{params:{pattern:"^[A-Za-z_$][A-Za-z0-9_$]*(\\.[A-Za-z_$][A-Za-z0-9_$]*)*$"}}],!1}a=n===n}else a=!0;if(a)if(e.umdNamedDefine!==void 0){if("boolean"!=typeof e.umdNamedDefine)return y.errors=[{params:{type:"boolean"}}],!1;a=n===n}else a=!0}}}}}}}}}}return y.errors=t,n===0}function d(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){if(!Array.isArray(e))return d.errors=[{params:{type:"array"}}],!1;{let r=e.length;for(let t=0;t<r;t++){let r=e[t];if("string"!=typeof r)return d.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return d.errors=[{params:{limit:1}}],!1}}return d.errors=null,!0}function g(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return g.errors=[{params:{type:"object"}}],!1;{let i;if(e.external===void 0&&(i="external"))return g.errors=[{params:{missingProperty:i}}],!1;{let i=n;for(let r in e)if("external"!==r&&"shareScope"!==r)return g.errors=[{params:{additionalProperty:r}}],!1;if(i===n){if(e.external!==void 0){let i=e.external,l=n,p=n,f=!1,m=n;if(n==n)if("string"==typeof i){if(s(i)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}var a=m===n;if(!(f=f||a)){let s=n;d(i,{instancePath:r+"/external",parentData:e,parentDataProperty:"external",rootData})||(n=(t=t===null?d.errors:t.concat(d.errors)).length),a=s===n,f=f||a}if(!f){let e={params:{}};return t===null?t=[e]:t.push(e),n++,g.errors=t,!1}n=p,t!==null&&(p?t.length=p:t=null);var o=l===n}else o=!0;if(o)if(e.shareScope!==void 0){let r=e.shareScope,t=n;if(n===t){if("string"!=typeof r)return g.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return g.errors=[{params:{limit:1}}],!1}o=t===n}else o=!0}}}}return g.errors=t,n===0}function h(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return h.errors=[{params:{type:"object"}}],!1;for(let o in e){let i=e[o],l=n,p=n,f=!1,m=n;g(i,{instancePath:r+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:e,parentDataProperty:o,rootData})||(n=(t=t===null?g.errors:t.concat(g.errors)).length);var a=m===n;if(!(f=f||a)){let l=n;if(n==n)if("string"==typeof i){if(s(i)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}if(a=l===n,!(f=f||a)){let s=n;d(i,{instancePath:r+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:e,parentDataProperty:o,rootData})||(n=(t=t===null?d.errors:t.concat(d.errors)).length),a=s===n,f=f||a}}if(!f){let e={params:{}};return t===null?t=[e]:t.push(e),n++,h.errors=t,!1}if(n=p,t!==null&&(p?t.length=p:t=null),l!==n)break}}return h.errors=t,n===0}function D(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0,a=n,o=!1,i=n;if(n===i)if(Array.isArray(e)){let a=e.length;for(let o=0;o<a;o++){let a=e[o],i=n,p=n,f=!1,m=n;if(n==n)if("string"==typeof a){if(s(a)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}var l=m===n;if(!(f=f||l)){let s=n;h(a,{instancePath:r+"/"+o,parentData:e,parentDataProperty:o,rootData})||(n=(t=t===null?h.errors:t.concat(h.errors)).length),l=s===n,f=f||l}if(f)n=p,t!==null&&(p?t.length=p:t=null);else{let e={params:{}};t===null?t=[e]:t.push(e),n++}if(i!==n)break}}else{let e={params:{type:"array"}};t===null?t=[e]:t.push(e),n++}var p=i===n;if(!(o=o||p)){let s=n;h(e,{instancePath:r,parentData,parentDataProperty,rootData})||(n=(t=t===null?h.errors:t.concat(h.errors)).length),p=s===n,o=o||p}if(!o){let e={params:{}};return t===null?t=[e]:t.push(e),n++,D.errors=t,!1}return n=a,t!==null&&(a?t.length=a:t=null),D.errors=t,n===0}let b={type:"object",additionalProperties:!1,properties:{eager:{type:"boolean"},exclude:{$ref:"#/definitions/SharedModuleFilter"},import:{anyOf:[{enum:[!1]},{$ref:"#/definitions/SharedItem"}]},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"},version:{anyOf:[{enum:[!1]},{type:"string"}]}}};function j(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let r=null,t=0;if(t===0){if(!e||"object"!=typeof e||Array.isArray(e))return j.errors=[{params:{type:"object"}}],!1;{let c=t;for(let r in e)if(!n.call(b.properties,r))return j.errors=[{params:{additionalProperty:r}}],!1;if(c===t){if(e.eager!==void 0){if("boolean"!=typeof e.eager)return j.errors=[{params:{type:"boolean"}}],!1;var a=t===t}else a=!0;if(a){if(e.exclude!==void 0){let n=e.exclude,l=t;if(t==t){if(!n||"object"!=typeof n||Array.isArray(n))return j.errors=[{params:{type:"object"}}],!1;{let e=t;for(let e in n)if("request"!==e&&"version"!==e)return j.errors=[{params:{additionalProperty:e}}],!1;if(e===t){if(n.request!==void 0){let e=n.request,a=t,l=t,p=!1,f=t;if(!(e instanceof RegExp)){let e={params:{}};r===null?r=[e]:r.push(e),t++}var o=f===t;if(!(p=p||o)){let n=t;if(t===n)if("string"==typeof e){if(s(e)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}o=n===t,p=p||o}if(!p){let e={params:{}};return r===null?r=[e]:r.push(e),t++,j.errors=r,!1}t=l,r!==null&&(l?r.length=l:r=null);var i=a===t}else i=!0;if(i)if(n.version!==void 0){let e=n.version,r=t;if(t===r){if("string"!=typeof e)return j.errors=[{params:{type:"string"}}],!1;if(s(e)<1)return j.errors=[{params:{limit:1}}],!1}i=r===t}else i=!0}}}a=l===t}else a=!0;if(a){if(e.import!==void 0){let n=e.import,o=t,i=t,p=!1,f=t;if(!1!==n){let e={params:{allowedValues:b.properties.import.anyOf[0].enum}};r===null?r=[e]:r.push(e),t++}var l=f===t;if(!(p=p||l)){let e=t;if(t==t)if("string"==typeof n){if(s(n)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}l=e===t,p=p||l}if(!p){let e={params:{}};return r===null?r=[e]:r.push(e),t++,j.errors=r,!1}t=i,r!==null&&(i?r.length=i:r=null),a=o===t}else a=!0;if(a){if(e.include!==void 0){let n=e.include,o=t;if(t==t){if(!n||"object"!=typeof n||Array.isArray(n))return j.errors=[{params:{type:"object"}}],!1;{let e=t;for(let e in n)if("request"!==e&&"version"!==e)return j.errors=[{params:{additionalProperty:e}}],!1;if(e===t){if(n.request!==void 0){let e=n.request,a=t,o=t,i=!1,l=t;if(!(e instanceof RegExp)){let e={params:{}};r===null?r=[e]:r.push(e),t++}var p=l===t;if(!(i=i||p)){let n=t;if(t===n)if("string"==typeof e){if(s(e)<1){let e={params:{limit:1}};r===null?r=[e]:r.push(e),t++}}else{let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}p=n===t,i=i||p}if(!i){let e={params:{}};return r===null?r=[e]:r.push(e),t++,j.errors=r,!1}t=o,r!==null&&(o?r.length=o:r=null);var f=a===t}else f=!0;if(f)if(n.version!==void 0){let e=n.version,r=t;if(t===r){if("string"!=typeof e)return j.errors=[{params:{type:"string"}}],!1;if(s(e)<1)return j.errors=[{params:{limit:1}}],!1}f=r===t}else f=!0}}}a=o===t}else a=!0;if(a){if(e.packageName!==void 0){let r=e.packageName,n=t;if(t===n){if("string"!=typeof r)return j.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return j.errors=[{params:{limit:1}}],!1}a=n===t}else a=!0;if(a){if(e.requiredVersion!==void 0){let n=e.requiredVersion,s=t,o=t,i=!1,l=t;if(!1!==n){let e={params:{allowedValues:b.properties.requiredVersion.anyOf[0].enum}};r===null?r=[e]:r.push(e),t++}var m=l===t;if(!(i=i||m)){let e=t;if("string"!=typeof n){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}m=e===t,i=i||m}if(!i){let e={params:{}};return r===null?r=[e]:r.push(e),t++,j.errors=r,!1}t=o,r!==null&&(o?r.length=o:r=null),a=s===t}else a=!0;if(a){if(e.shareKey!==void 0){let r=e.shareKey,n=t;if(t===n){if("string"!=typeof r)return j.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return j.errors=[{params:{limit:1}}],!1}a=n===t}else a=!0;if(a){if(e.shareScope!==void 0){let r=e.shareScope,n=t;if(t===n){if("string"!=typeof r)return j.errors=[{params:{type:"string"}}],!1;if(s(r)<1)return j.errors=[{params:{limit:1}}],!1}a=n===t}else a=!0;if(a){if(e.singleton!==void 0){if("boolean"!=typeof e.singleton)return j.errors=[{params:{type:"boolean"}}],!1;a=t===t}else a=!0;if(a){if(e.strictVersion!==void 0){if("boolean"!=typeof e.strictVersion)return j.errors=[{params:{type:"boolean"}}],!1;a=t===t}else a=!0;if(a)if(e.version!==void 0){let n=e.version,s=t,o=t,i=!1,l=t;if(!1!==n){let e={params:{allowedValues:b.properties.version.anyOf[0].enum}};r===null?r=[e]:r.push(e),t++}var u=l===t;if(!(i=i||u)){let e=t;if("string"!=typeof n){let e={params:{type:"string"}};r===null?r=[e]:r.push(e),t++}u=e===t,i=i||u}if(!i){let e={params:{}};return r===null?r=[e]:r.push(e),t++,j.errors=r,!1}t=o,r!==null&&(o?r.length=o:r=null),a=s===t}else a=!0}}}}}}}}}}}}return j.errors=r,t===0}function v(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0;if(n===0){if(!e||"object"!=typeof e||Array.isArray(e))return v.errors=[{params:{type:"object"}}],!1;for(let o in e){let i=e[o],l=n,p=n,f=!1,m=n;j(i,{instancePath:r+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:e,parentDataProperty:o,rootData})||(n=(t=t===null?j.errors:t.concat(j.errors)).length);var a=m===n;if(!(f=f||a)){let e=n;if(n==n)if("string"==typeof i){if(s(i)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}a=e===n,f=f||a}if(!f){let e={params:{}};return t===null?t=[e]:t.push(e),n++,v.errors=t,!1}if(n=p,t!==null&&(p?t.length=p:t=null),l!==n)break}}return v.errors=t,n===0}function P(e,{instancePath:r="",parentData,parentDataProperty,rootData=e}={}){let t=null,n=0,a=n,o=!1,i=n;if(n===i)if(Array.isArray(e)){let a=e.length;for(let o=0;o<a;o++){let a=e[o],i=n,p=n,f=!1,m=n;if(n==n)if("string"==typeof a){if(s(a)<1){let e={params:{limit:1}};t===null?t=[e]:t.push(e),n++}}else{let e={params:{type:"string"}};t===null?t=[e]:t.push(e),n++}var l=m===n;if(!(f=f||l)){let s=n;v(a,{instancePath:r+"/"+o,parentData:e,parentDataProperty:o,rootData})||(n=(t=t===null?v.errors:t.concat(v.errors)).length),l=s===n,f=f||l}if(f)n=p,t!==null&&(p?t.length=p:t=null);else{let e={params:{}};t===null?t=[e]:t.push(e),n++}if(i!==n)break}}else{let e={params:{type:"array"}};t===null?t=[e]:t.push(e),n++}var p=i===n;if(!(o=o||p)){let s=n;v(e,{instancePath:r,parentData,parentDataProperty,rootData})||(n=(t=t===null?v.errors:t.concat(v.errors)).length),p=s===n,o=o||p}if(!o){let e={params:{}};return t===null?t=[e]:t.push(e),n++,P.errors=t,!1}return n=a,t!==null&&(a?t.length=a:t=null),P.errors=t,n===0}let A=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function x(a,{instancePath:o="",parentData,parentDataProperty,rootData=a}={}){let i=null,p=0;if(p===0){if(!a||"object"!=typeof a||Array.isArray(a))return x.errors=[{params:{type:"object"}}],!1;{let u=p;for(let r in a)if(!n.call(e.properties,r))return x.errors=[{params:{additionalProperty:r}}],!1;if(u===p){if(a.exposes!==void 0){let e=p;l(a.exposes,{instancePath:o+"/exposes",parentData:a,parentDataProperty:"exposes",rootData})||(p=(i=i===null?l.errors:i.concat(l.errors)).length);var f=e===p}else f=!0;if(f){if(a.filename!==void 0){let e=a.filename,r=p;if(p===r){if("string"!=typeof e)return x.errors=[{params:{type:"string"}}],!1;if(e.includes("!")||!1!==A.test(e))return x.errors=[{params:{}}],!1}f=r===p}else f=!0;if(f){if(a.library!==void 0){let e=p;y(a.library,{instancePath:o+"/library",parentData:a,parentDataProperty:"library",rootData})||(p=(i=i===null?y.errors:i.concat(y.errors)).length),f=e===p}else f=!0;if(f){if(a.name!==void 0){if("string"!=typeof a.name)return x.errors=[{params:{type:"string"}}],!1;f=p===p}else f=!0;if(f){if(a.remoteType!==void 0){let e=a.remoteType,t=p,n=p,s=!1,o=null,l=p;if("var"!==e&&"module"!==e&&"assign"!==e&&"this"!==e&&"window"!==e&&"self"!==e&&"global"!==e&&"commonjs"!==e&&"commonjs2"!==e&&"commonjs-module"!==e&&"commonjs-static"!==e&&"amd"!==e&&"amd-require"!==e&&"amd-async"!==e&&"umd"!==e&&"umd2"!==e&&"jsonp"!==e&&"system"!==e&&"promise"!==e&&"import"!==e&&"module-import"!==e&&"script"!==e&&"node-commonjs"!==e&&"asset"!==e&&"asset-url"!==e&&"css-import"!==e&&"css-url"!==e){let e={params:{allowedValues:r.enum}};i===null?i=[e]:i.push(e),p++}if(l===p&&(s=!0,o=0),!s){let e={params:{passingSchemas:o}};return i===null?i=[e]:i.push(e),p++,x.errors=i,!1}p=n,i!==null&&(n?i.length=n:i=null),f=t===p}else f=!0;if(f){if(a.remotes!==void 0){let e=p;D(a.remotes,{instancePath:o+"/remotes",parentData:a,parentDataProperty:"remotes",rootData})||(p=(i=i===null?D.errors:i.concat(D.errors)).length),f=e===p}else f=!0;if(f){if(a.runtime!==void 0){let e=a.runtime,r=p,n=p,o=!1,l=p;if(!1!==e){let e={params:{allowedValues:t.anyOf[0].enum}};i===null?i=[e]:i.push(e),p++}var m=l===p;if(!(o=o||m)){let r=p;if(p===r)if("string"==typeof e){if(s(e)<1){let e={params:{limit:1}};i===null?i=[e]:i.push(e),p++}}else{let e={params:{type:"string"}};i===null?i=[e]:i.push(e),p++}m=r===p,o=o||m}if(!o){let e={params:{}};return i===null?i=[e]:i.push(e),p++,x.errors=i,!1}p=n,i!==null&&(n?i.length=n:i=null),f=r===p}else f=!0;if(f){if(a.shareScope!==void 0){let e=a.shareScope,r=p;if(p===r){if("string"!=typeof e)return x.errors=[{params:{type:"string"}}],!1;if(s(e)<1)return x.errors=[{params:{limit:1}}],!1}f=r===p}else f=!0;if(f)if(a.shared!==void 0){let e=p;P(a.shared,{instancePath:o+"/shared",parentData:a,parentDataProperty:"shared",rootData})||(p=(i=i===null?P.errors:i.concat(P.errors)).length),f=e===p}else f=!0}}}}}}}}}}return x.errors=i,p===0}
|