webpack 5.59.0 → 5.71.0
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.
Potentially problematic release.
This version of webpack might be problematic. Click here for more details.
- package/README.md +1 -7
- package/hot/lazy-compilation-node.js +3 -1
- package/hot/poll.js +1 -1
- package/hot/signal.js +1 -1
- package/lib/APIPlugin.js +33 -0
- package/lib/BannerPlugin.js +10 -4
- package/lib/Cache.js +1 -1
- package/lib/CacheFacade.js +4 -11
- package/lib/Chunk.js +6 -3
- package/lib/ChunkGraph.js +1 -2
- package/lib/ChunkGroup.js +1 -1
- package/lib/CleanPlugin.js +81 -20
- package/lib/Compilation.js +179 -91
- package/lib/Compiler.js +86 -17
- package/lib/ConstPlugin.js +2 -2
- package/lib/ContextModule.js +142 -51
- package/lib/ContextModuleFactory.js +65 -25
- package/lib/DelegatedModule.js +1 -1
- package/lib/DelegatedModuleFactoryPlugin.js +1 -1
- package/lib/Dependency.js +17 -0
- package/lib/DependencyTemplate.js +9 -0
- package/lib/DependencyTemplates.js +1 -1
- package/lib/DllModule.js +1 -1
- package/lib/EntryOptionPlugin.js +2 -0
- package/lib/ErrorHelpers.js +2 -2
- package/lib/EvalDevToolModulePlugin.js +16 -1
- package/lib/EvalSourceMapDevToolPlugin.js +18 -1
- package/lib/ExportsInfo.js +4 -4
- package/lib/ExternalModule.js +94 -54
- package/lib/ExternalModuleFactoryPlugin.js +5 -5
- package/lib/FileSystemInfo.js +89 -44
- package/lib/Generator.js +3 -0
- package/lib/HookWebpackError.js +1 -1
- package/lib/HotModuleReplacementPlugin.js +3 -1
- package/lib/LoaderOptionsPlugin.js +1 -1
- package/lib/Module.js +27 -4
- package/lib/ModuleFilenameHelpers.js +8 -4
- package/lib/ModuleHashingError.js +29 -0
- package/lib/MultiCompiler.js +1 -1
- package/lib/MultiWatching.js +1 -1
- package/lib/NodeStuffPlugin.js +10 -0
- package/lib/NormalModule.js +41 -26
- package/lib/NormalModuleFactory.js +42 -37
- package/lib/ProgressPlugin.js +4 -5
- package/lib/RawModule.js +1 -1
- package/lib/RuntimeGlobals.js +29 -1
- package/lib/RuntimeModule.js +1 -1
- package/lib/RuntimePlugin.js +77 -1
- package/lib/RuntimeTemplate.js +114 -2
- package/lib/Template.js +2 -1
- package/lib/TemplatedPathPlugin.js +48 -23
- package/lib/WatchIgnorePlugin.js +19 -7
- package/lib/Watching.js +33 -19
- package/lib/WebpackOptionsApply.js +57 -11
- package/lib/asset/AssetGenerator.js +193 -63
- package/lib/asset/AssetModulesPlugin.js +3 -0
- package/lib/asset/RawDataUrlModule.js +148 -0
- package/lib/async-modules/AwaitDependenciesInitFragment.js +4 -4
- package/lib/buildChunkGraph.js +36 -6
- package/lib/cache/PackFileCacheStrategy.js +7 -4
- package/lib/cache/ResolverCachePlugin.js +90 -29
- package/lib/cli.js +44 -3
- package/lib/config/browserslistTargetHandler.js +41 -6
- package/lib/config/defaults.js +115 -19
- package/lib/config/normalization.js +9 -0
- package/lib/config/target.js +10 -0
- package/lib/container/ContainerEntryModule.js +8 -5
- package/lib/container/FallbackModule.js +4 -4
- package/lib/container/RemoteModule.js +4 -2
- package/lib/css/CssExportsGenerator.js +139 -0
- package/lib/css/CssGenerator.js +109 -0
- package/lib/css/CssLoadingRuntimeModule.js +440 -0
- package/lib/css/CssModulesPlugin.js +462 -0
- package/lib/css/CssParser.js +618 -0
- package/lib/css/walkCssTokens.js +659 -0
- package/lib/debug/ProfilingPlugin.js +24 -21
- package/lib/dependencies/AMDRequireDependency.js +6 -6
- package/lib/dependencies/CommonJsExportsParserPlugin.js +1 -2
- package/lib/dependencies/CommonJsFullRequireDependency.js +5 -1
- package/lib/dependencies/CommonJsImportsParserPlugin.js +5 -3
- package/lib/dependencies/CommonJsRequireContextDependency.js +5 -1
- package/lib/dependencies/ContextDependency.js +1 -0
- package/lib/dependencies/ContextDependencyHelpers.js +3 -3
- package/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +4 -1
- package/lib/dependencies/ContextElementDependency.js +41 -3
- package/lib/dependencies/CreateScriptUrlDependency.js +12 -0
- package/lib/dependencies/CssExportDependency.js +85 -0
- package/lib/dependencies/CssImportDependency.js +75 -0
- package/lib/dependencies/CssLocalIdentifierDependency.js +119 -0
- package/lib/dependencies/CssSelfLocalIdentifierDependency.js +101 -0
- package/lib/dependencies/CssUrlDependency.js +132 -0
- package/lib/dependencies/ExportsInfoDependency.js +6 -0
- package/lib/dependencies/HarmonyAcceptImportDependency.js +5 -3
- package/lib/dependencies/HarmonyCompatibilityDependency.js +5 -5
- package/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js +95 -0
- package/lib/dependencies/HarmonyExportDependencyParserPlugin.js +12 -3
- package/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +25 -17
- package/lib/dependencies/HarmonyExportInitFragment.js +4 -1
- package/lib/dependencies/HarmonyImportDependency.js +23 -0
- package/lib/dependencies/HarmonyImportDependencyParserPlugin.js +142 -45
- package/lib/dependencies/HarmonyImportSpecifierDependency.js +46 -22
- package/lib/dependencies/HarmonyModulesPlugin.js +10 -0
- package/lib/dependencies/ImportContextDependency.js +0 -2
- package/lib/dependencies/ImportMetaContextDependency.js +35 -0
- package/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +252 -0
- package/lib/dependencies/ImportMetaContextPlugin.js +59 -0
- package/lib/dependencies/ImportMetaPlugin.js +22 -3
- package/lib/dependencies/LoaderPlugin.js +4 -2
- package/lib/dependencies/RequireContextDependency.js +0 -16
- package/lib/dependencies/RequireEnsureDependency.js +2 -2
- package/lib/dependencies/URLDependency.js +3 -8
- package/lib/dependencies/URLPlugin.js +1 -1
- package/lib/esm/ModuleChunkFormatPlugin.js +74 -49
- package/lib/esm/ModuleChunkLoadingPlugin.js +3 -1
- package/lib/esm/ModuleChunkLoadingRuntimeModule.js +25 -9
- package/lib/hmr/HotModuleReplacement.runtime.js +29 -14
- package/lib/hmr/JavascriptHotModuleReplacement.runtime.js +4 -3
- package/lib/hmr/LazyCompilationPlugin.js +54 -26
- package/lib/hmr/lazyCompilationBackend.js +51 -12
- package/lib/ids/DeterministicModuleIdsPlugin.js +55 -35
- package/lib/ids/HashedModuleIdsPlugin.js +11 -14
- package/lib/ids/IdHelpers.js +25 -11
- package/lib/ids/NamedModuleIdsPlugin.js +6 -9
- package/lib/ids/NaturalModuleIdsPlugin.js +10 -13
- package/lib/ids/OccurrenceModuleIdsPlugin.js +13 -10
- package/lib/ids/SyncModuleIdsPlugin.js +140 -0
- package/lib/index.js +13 -0
- package/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +2 -2
- package/lib/javascript/BasicEvaluatedExpression.js +5 -2
- package/lib/javascript/ChunkHelpers.js +33 -0
- package/lib/javascript/JavascriptGenerator.js +1 -0
- package/lib/javascript/JavascriptModulesPlugin.js +27 -2
- package/lib/javascript/JavascriptParser.js +82 -48
- package/lib/javascript/StartupHelpers.js +7 -30
- package/lib/library/AssignLibraryPlugin.js +39 -15
- package/lib/library/EnableLibraryPlugin.js +11 -0
- package/lib/library/UmdLibraryPlugin.js +5 -3
- package/lib/node/NodeTargetPlugin.js +3 -0
- package/lib/node/NodeWatchFileSystem.js +85 -31
- package/lib/node/ReadFileChunkLoadingRuntimeModule.js +23 -8
- package/lib/node/RequireChunkLoadingRuntimeModule.js +24 -9
- package/lib/optimize/ConcatenatedModule.js +21 -9
- package/lib/optimize/ModuleConcatenationPlugin.js +5 -2
- package/lib/optimize/SplitChunksPlugin.js +8 -1
- package/lib/runtime/AsyncModuleRuntimeModule.js +27 -17
- package/lib/runtime/BaseUriRuntimeModule.js +31 -0
- package/lib/runtime/CreateScriptRuntimeModule.js +36 -0
- package/lib/runtime/CreateScriptUrlRuntimeModule.js +9 -34
- package/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +76 -0
- package/lib/schemes/HttpUriPlugin.js +77 -14
- package/lib/serialization/FileMiddleware.js +44 -9
- package/lib/sharing/ConsumeSharedModule.js +8 -2
- package/lib/sharing/ConsumeSharedRuntimeModule.js +26 -5
- package/lib/sharing/ProvideSharedModule.js +4 -2
- package/lib/sharing/ShareRuntimeModule.js +1 -1
- package/lib/sharing/utils.js +1 -1
- package/lib/stats/DefaultStatsFactoryPlugin.js +113 -68
- package/lib/stats/DefaultStatsPrinterPlugin.js +89 -24
- package/lib/util/ArrayHelpers.js +30 -0
- package/lib/util/AsyncQueue.js +1 -1
- package/lib/util/compileBooleanMatcher.js +1 -1
- package/lib/util/create-schema-validation.js +9 -2
- package/lib/util/createHash.js +12 -0
- package/lib/util/deprecation.js +10 -2
- package/lib/util/deterministicGrouping.js +1 -1
- package/lib/util/extractUrlAndGlobal.js +3 -0
- package/lib/util/fs.js +11 -0
- package/lib/util/hash/BatchedHash.js +7 -4
- package/lib/util/hash/md4.js +20 -0
- package/lib/util/hash/wasm-hash.js +163 -0
- package/lib/util/hash/xxhash64.js +5 -139
- package/lib/util/identifier.js +65 -44
- package/lib/util/internalSerializables.js +15 -0
- package/lib/util/nonNumericOnlyHash.js +22 -0
- package/lib/util/semver.js +17 -10
- package/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +9 -3
- package/lib/web/JsonpChunkLoadingRuntimeModule.js +20 -9
- package/lib/webpack.js +10 -3
- package/lib/webworker/ImportScriptsChunkLoadingPlugin.js +3 -11
- package/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +33 -22
- package/module.d.ts +215 -0
- package/package.json +23 -28
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +254 -29
- package/schemas/plugins/DllReferencePlugin.check.js +1 -1
- package/schemas/plugins/HashedModuleIdsPlugin.check.js +1 -1
- package/schemas/plugins/ProgressPlugin.check.js +1 -1
- package/schemas/plugins/asset/AssetGeneratorOptions.check.js +1 -1
- package/schemas/plugins/asset/AssetParserOptions.check.js +1 -1
- package/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +1 -1
- package/schemas/plugins/container/ContainerPlugin.check.js +1 -1
- package/schemas/plugins/container/ContainerPlugin.json +2 -1
- package/schemas/plugins/container/ContainerReferencePlugin.check.js +1 -1
- package/schemas/plugins/container/ContainerReferencePlugin.json +1 -0
- package/schemas/plugins/container/ExternalsType.check.js +1 -1
- package/schemas/plugins/container/ModuleFederationPlugin.check.js +1 -1
- package/schemas/plugins/container/ModuleFederationPlugin.json +3 -1
- package/schemas/plugins/css/CssGeneratorOptions.check.d.ts +7 -0
- package/schemas/plugins/css/CssGeneratorOptions.check.js +6 -0
- package/schemas/plugins/css/CssGeneratorOptions.json +3 -0
- package/schemas/plugins/css/CssParserOptions.check.d.ts +7 -0
- package/schemas/plugins/css/CssParserOptions.check.js +6 -0
- package/schemas/plugins/css/CssParserOptions.json +3 -0
- package/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +1 -1
- package/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +1 -1
- package/schemas/plugins/optimize/MinChunkSizePlugin.check.js +1 -1
- package/schemas/plugins/schemes/HttpUriPlugin.check.js +1 -1
- package/schemas/plugins/schemes/HttpUriPlugin.json +4 -0
- package/types.d.ts +628 -179
@@ -70,7 +70,7 @@
|
|
70
70
|
]
|
71
71
|
},
|
72
72
|
"AssetGeneratorDataUrlFunction": {
|
73
|
-
"description": "Function that executes for module and should return an DataUrl string.",
|
73
|
+
"description": "Function that executes for module and should return an DataUrl string. It can have a string as 'ident' property which contributes to the module hash.",
|
74
74
|
"instanceof": "Function",
|
75
75
|
"tsType": "((source: string | Buffer, context: { filename: string, module: import('../lib/Module') }) => string)"
|
76
76
|
},
|
@@ -108,6 +108,9 @@
|
|
108
108
|
"filename": {
|
109
109
|
"$ref": "#/definitions/FilenameTemplate"
|
110
110
|
},
|
111
|
+
"outputPath": {
|
112
|
+
"$ref": "#/definitions/AssetModuleOutputPath"
|
113
|
+
},
|
111
114
|
"publicPath": {
|
112
115
|
"$ref": "#/definitions/RawPublicPath"
|
113
116
|
}
|
@@ -136,6 +139,19 @@
|
|
136
139
|
}
|
137
140
|
]
|
138
141
|
},
|
142
|
+
"AssetModuleOutputPath": {
|
143
|
+
"description": "Emit the asset in the specified folder relative to 'output.path'. This should only be needed when custom 'publicPath' is specified to match the folder structure there.",
|
144
|
+
"anyOf": [
|
145
|
+
{
|
146
|
+
"type": "string",
|
147
|
+
"absolutePath": false
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"instanceof": "Function",
|
151
|
+
"tsType": "((pathData: import(\"../lib/Compilation\").PathData, assetInfo?: import(\"../lib/Compilation\").AssetInfo) => string)"
|
152
|
+
}
|
153
|
+
]
|
154
|
+
},
|
139
155
|
"AssetParserDataUrlFunction": {
|
140
156
|
"description": "Function that executes for module and should return whenever asset should be inlined as DataUrl.",
|
141
157
|
"instanceof": "Function",
|
@@ -182,6 +198,9 @@
|
|
182
198
|
"filename": {
|
183
199
|
"$ref": "#/definitions/FilenameTemplate"
|
184
200
|
},
|
201
|
+
"outputPath": {
|
202
|
+
"$ref": "#/definitions/AssetModuleOutputPath"
|
203
|
+
},
|
185
204
|
"publicPath": {
|
186
205
|
"$ref": "#/definitions/RawPublicPath"
|
187
206
|
}
|
@@ -335,6 +354,45 @@
|
|
335
354
|
"description": "This option enables cross-origin loading of chunks.",
|
336
355
|
"enum": [false, "anonymous", "use-credentials"]
|
337
356
|
},
|
357
|
+
"CssChunkFilename": {
|
358
|
+
"description": "Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.",
|
359
|
+
"oneOf": [
|
360
|
+
{
|
361
|
+
"$ref": "#/definitions/FilenameTemplate"
|
362
|
+
}
|
363
|
+
]
|
364
|
+
},
|
365
|
+
"CssExperimentOptions": {
|
366
|
+
"description": "Options for css handling.",
|
367
|
+
"type": "object",
|
368
|
+
"additionalProperties": false,
|
369
|
+
"properties": {
|
370
|
+
"exportsOnly": {
|
371
|
+
"description": "Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.",
|
372
|
+
"type": "boolean"
|
373
|
+
}
|
374
|
+
}
|
375
|
+
},
|
376
|
+
"CssFilename": {
|
377
|
+
"description": "Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.",
|
378
|
+
"oneOf": [
|
379
|
+
{
|
380
|
+
"$ref": "#/definitions/FilenameTemplate"
|
381
|
+
}
|
382
|
+
]
|
383
|
+
},
|
384
|
+
"CssGeneratorOptions": {
|
385
|
+
"description": "Generator options for css modules.",
|
386
|
+
"type": "object",
|
387
|
+
"additionalProperties": false,
|
388
|
+
"properties": {}
|
389
|
+
},
|
390
|
+
"CssParserOptions": {
|
391
|
+
"description": "Parser options for css modules.",
|
392
|
+
"type": "object",
|
393
|
+
"additionalProperties": false,
|
394
|
+
"properties": {}
|
395
|
+
},
|
338
396
|
"Dependencies": {
|
339
397
|
"description": "References to other configurations to depend on.",
|
340
398
|
"type": "array",
|
@@ -434,6 +492,14 @@
|
|
434
492
|
"type": "object",
|
435
493
|
"additionalProperties": false,
|
436
494
|
"properties": {
|
495
|
+
"asyncChunks": {
|
496
|
+
"description": "Enable/disable creating async chunks that are loaded on demand.",
|
497
|
+
"type": "boolean"
|
498
|
+
},
|
499
|
+
"baseUri": {
|
500
|
+
"description": "Base uri for this entry.",
|
501
|
+
"type": "string"
|
502
|
+
},
|
437
503
|
"chunkLoading": {
|
438
504
|
"$ref": "#/definitions/ChunkLoading"
|
439
505
|
},
|
@@ -487,6 +553,14 @@
|
|
487
553
|
"type": "object",
|
488
554
|
"additionalProperties": false,
|
489
555
|
"properties": {
|
556
|
+
"asyncChunks": {
|
557
|
+
"description": "Enable/disable creating async chunks that are loaded on demand.",
|
558
|
+
"type": "boolean"
|
559
|
+
},
|
560
|
+
"baseUri": {
|
561
|
+
"description": "Base uri for this entry.",
|
562
|
+
"type": "string"
|
563
|
+
},
|
490
564
|
"chunkLoading": {
|
491
565
|
"$ref": "#/definitions/ChunkLoading"
|
492
566
|
},
|
@@ -672,6 +746,14 @@
|
|
672
746
|
"module": {
|
673
747
|
"description": "The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').",
|
674
748
|
"type": "boolean"
|
749
|
+
},
|
750
|
+
"optionalChaining": {
|
751
|
+
"description": "The environment supports optional chaining ('obj?.a' or 'obj?.()').",
|
752
|
+
"type": "boolean"
|
753
|
+
},
|
754
|
+
"templateLiteral": {
|
755
|
+
"description": "The environment supports template literals.",
|
756
|
+
"type": "boolean"
|
675
757
|
}
|
676
758
|
}
|
677
759
|
},
|
@@ -681,14 +763,14 @@
|
|
681
763
|
"implements": ["#/definitions/ExperimentsCommon"],
|
682
764
|
"additionalProperties": false,
|
683
765
|
"properties": {
|
684
|
-
"asset": {
|
685
|
-
"description": "Allow module type 'asset' to generate assets.",
|
686
|
-
"type": "boolean"
|
687
|
-
},
|
688
766
|
"asyncWebAssembly": {
|
689
767
|
"description": "Support WebAssembly as asynchronous EcmaScript Module.",
|
690
768
|
"type": "boolean"
|
691
769
|
},
|
770
|
+
"backCompat": {
|
771
|
+
"description": "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.",
|
772
|
+
"type": "boolean"
|
773
|
+
},
|
692
774
|
"buildHttp": {
|
693
775
|
"description": "Build http(s): urls using a lockfile and resource content cache.",
|
694
776
|
"anyOf": [
|
@@ -704,12 +786,23 @@
|
|
704
786
|
"description": "Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.",
|
705
787
|
"type": "boolean"
|
706
788
|
},
|
789
|
+
"css": {
|
790
|
+
"description": "Enable css support.",
|
791
|
+
"anyOf": [
|
792
|
+
{
|
793
|
+
"type": "boolean"
|
794
|
+
},
|
795
|
+
{
|
796
|
+
"$ref": "#/definitions/CssExperimentOptions"
|
797
|
+
}
|
798
|
+
]
|
799
|
+
},
|
707
800
|
"futureDefaults": {
|
708
801
|
"description": "Apply defaults of next major version.",
|
709
802
|
"type": "boolean"
|
710
803
|
},
|
711
804
|
"layers": {
|
712
|
-
"description": "Enable module
|
805
|
+
"description": "Enable module layers.",
|
713
806
|
"type": "boolean"
|
714
807
|
},
|
715
808
|
"lazyCompilation": {
|
@@ -742,14 +835,14 @@
|
|
742
835
|
"type": "object",
|
743
836
|
"additionalProperties": false,
|
744
837
|
"properties": {
|
745
|
-
"asset": {
|
746
|
-
"description": "Allow module type 'asset' to generate assets.",
|
747
|
-
"type": "boolean"
|
748
|
-
},
|
749
838
|
"asyncWebAssembly": {
|
750
839
|
"description": "Support WebAssembly as asynchronous EcmaScript Module.",
|
751
840
|
"type": "boolean"
|
752
841
|
},
|
842
|
+
"backCompat": {
|
843
|
+
"description": "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.",
|
844
|
+
"type": "boolean"
|
845
|
+
},
|
753
846
|
"cacheUnaffected": {
|
754
847
|
"description": "Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.",
|
755
848
|
"type": "boolean"
|
@@ -759,7 +852,7 @@
|
|
759
852
|
"type": "boolean"
|
760
853
|
},
|
761
854
|
"layers": {
|
762
|
-
"description": "Enable module
|
855
|
+
"description": "Enable module layers.",
|
763
856
|
"type": "boolean"
|
764
857
|
},
|
765
858
|
"outputModule": {
|
@@ -782,14 +875,14 @@
|
|
782
875
|
"implements": ["#/definitions/ExperimentsCommon"],
|
783
876
|
"additionalProperties": false,
|
784
877
|
"properties": {
|
785
|
-
"asset": {
|
786
|
-
"description": "Allow module type 'asset' to generate assets.",
|
787
|
-
"type": "boolean"
|
788
|
-
},
|
789
878
|
"asyncWebAssembly": {
|
790
879
|
"description": "Support WebAssembly as asynchronous EcmaScript Module.",
|
791
880
|
"type": "boolean"
|
792
881
|
},
|
882
|
+
"backCompat": {
|
883
|
+
"description": "Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.",
|
884
|
+
"type": "boolean"
|
885
|
+
},
|
793
886
|
"buildHttp": {
|
794
887
|
"description": "Build http(s): urls using a lockfile and resource content cache.",
|
795
888
|
"oneOf": [
|
@@ -802,12 +895,20 @@
|
|
802
895
|
"description": "Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.",
|
803
896
|
"type": "boolean"
|
804
897
|
},
|
898
|
+
"css": {
|
899
|
+
"description": "Enable css support.",
|
900
|
+
"oneOf": [
|
901
|
+
{
|
902
|
+
"$ref": "#/definitions/CssExperimentOptions"
|
903
|
+
}
|
904
|
+
]
|
905
|
+
},
|
805
906
|
"futureDefaults": {
|
806
907
|
"description": "Apply defaults of next major version.",
|
807
908
|
"type": "boolean"
|
808
909
|
},
|
809
910
|
"layers": {
|
810
|
-
"description": "Enable module
|
911
|
+
"description": "Enable module layers.",
|
811
912
|
"type": "boolean"
|
812
913
|
},
|
813
914
|
"lazyCompilation": {
|
@@ -994,6 +1095,7 @@
|
|
994
1095
|
"commonjs",
|
995
1096
|
"commonjs2",
|
996
1097
|
"commonjs-module",
|
1098
|
+
"commonjs-static",
|
997
1099
|
"amd",
|
998
1100
|
"amd-require",
|
999
1101
|
"umd",
|
@@ -1068,12 +1170,12 @@
|
|
1068
1170
|
"description": "List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.",
|
1069
1171
|
"anyOf": [
|
1070
1172
|
{
|
1071
|
-
"description": "A RegExp matching
|
1173
|
+
"description": "A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)",
|
1072
1174
|
"instanceof": "RegExp",
|
1073
1175
|
"tsType": "RegExp"
|
1074
1176
|
},
|
1075
1177
|
{
|
1076
|
-
"description": "A path to
|
1178
|
+
"description": "A path to an immutable directory (usually a package manager cache directory).",
|
1077
1179
|
"type": "string",
|
1078
1180
|
"absolutePath": true,
|
1079
1181
|
"minLength": 1
|
@@ -1323,6 +1425,10 @@
|
|
1323
1425
|
"type": "string",
|
1324
1426
|
"absolutePath": true
|
1325
1427
|
},
|
1428
|
+
"proxy": {
|
1429
|
+
"description": "Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.",
|
1430
|
+
"type": "string"
|
1431
|
+
},
|
1326
1432
|
"upgrade": {
|
1327
1433
|
"description": "When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.",
|
1328
1434
|
"type": "boolean"
|
@@ -1474,6 +1580,10 @@
|
|
1474
1580
|
"description": "Enable/disable parsing of magic comments in CommonJs syntax.",
|
1475
1581
|
"type": "boolean"
|
1476
1582
|
},
|
1583
|
+
"exportsPresence": {
|
1584
|
+
"description": "Specifies the behavior of invalid export names in \"import ... from ...\" and \"export ... from ...\".",
|
1585
|
+
"enum": ["error", "warn", "auto", false]
|
1586
|
+
},
|
1477
1587
|
"exprContextCritical": {
|
1478
1588
|
"description": "Enable warnings for full dynamic dependencies.",
|
1479
1589
|
"type": "boolean"
|
@@ -1506,9 +1616,25 @@
|
|
1506
1616
|
"description": "Enable/disable parsing of import() syntax.",
|
1507
1617
|
"type": "boolean"
|
1508
1618
|
},
|
1619
|
+
"importExportsPresence": {
|
1620
|
+
"description": "Specifies the behavior of invalid export names in \"import ... from ...\".",
|
1621
|
+
"enum": ["error", "warn", "auto", false]
|
1622
|
+
},
|
1623
|
+
"importMeta": {
|
1624
|
+
"description": "Enable/disable evaluating import.meta.",
|
1625
|
+
"type": "boolean"
|
1626
|
+
},
|
1627
|
+
"importMetaContext": {
|
1628
|
+
"description": "Enable/disable evaluating import.meta.webpackContext.",
|
1629
|
+
"type": "boolean"
|
1630
|
+
},
|
1509
1631
|
"node": {
|
1510
1632
|
"$ref": "#/definitions/Node"
|
1511
1633
|
},
|
1634
|
+
"reexportExportsPresence": {
|
1635
|
+
"description": "Specifies the behavior of invalid export names in \"export ... from ...\". This might be useful to disable during the migration from \"export ... from ...\" to \"export type ... from ...\" when reexporting types in TypeScript.",
|
1636
|
+
"enum": ["error", "warn", "auto", false]
|
1637
|
+
},
|
1512
1638
|
"requireContext": {
|
1513
1639
|
"description": "Enable/disable parsing of require.context syntax.",
|
1514
1640
|
"type": "boolean"
|
@@ -1526,7 +1652,7 @@
|
|
1526
1652
|
"type": "boolean"
|
1527
1653
|
},
|
1528
1654
|
"strictExportPresence": {
|
1529
|
-
"description": "Emit errors instead of warnings when imported names don't exist in imported module.",
|
1655
|
+
"description": "Deprecated in favor of \"exportsPresence\". Emit errors instead of warnings when imported names don't exist in imported module.",
|
1530
1656
|
"type": "boolean"
|
1531
1657
|
},
|
1532
1658
|
"strictThisContextOnImports": {
|
@@ -1615,20 +1741,86 @@
|
|
1615
1741
|
}
|
1616
1742
|
]
|
1617
1743
|
},
|
1618
|
-
"
|
1619
|
-
"description": "Options for
|
1744
|
+
"LazyCompilationDefaultBackendOptions": {
|
1745
|
+
"description": "Options for the default backend.",
|
1620
1746
|
"type": "object",
|
1621
1747
|
"additionalProperties": false,
|
1622
1748
|
"properties": {
|
1623
|
-
"backend": {
|
1624
|
-
"description": "A custom backend.",
|
1625
|
-
"instanceof": "Function",
|
1626
|
-
"tsType": "(((compiler: import('../lib/Compiler'), client: string, callback: (err?: Error, api?: any) => void) => void) | ((compiler: import('../lib/Compiler'), client: string) => Promise<any>))"
|
1627
|
-
},
|
1628
1749
|
"client": {
|
1629
1750
|
"description": "A custom client.",
|
1630
1751
|
"type": "string"
|
1631
1752
|
},
|
1753
|
+
"listen": {
|
1754
|
+
"description": "Specifies where to listen to from the server.",
|
1755
|
+
"anyOf": [
|
1756
|
+
{
|
1757
|
+
"description": "A port.",
|
1758
|
+
"type": "number"
|
1759
|
+
},
|
1760
|
+
{
|
1761
|
+
"description": "Listen options.",
|
1762
|
+
"type": "object",
|
1763
|
+
"additionalProperties": true,
|
1764
|
+
"properties": {
|
1765
|
+
"host": {
|
1766
|
+
"description": "A host.",
|
1767
|
+
"type": "string"
|
1768
|
+
},
|
1769
|
+
"port": {
|
1770
|
+
"description": "A port.",
|
1771
|
+
"type": "number"
|
1772
|
+
}
|
1773
|
+
},
|
1774
|
+
"tsType": "import(\"net\").ListenOptions"
|
1775
|
+
},
|
1776
|
+
{
|
1777
|
+
"description": "A custom listen function.",
|
1778
|
+
"instanceof": "Function",
|
1779
|
+
"tsType": "((server: import(\"net\").Server) => void)"
|
1780
|
+
}
|
1781
|
+
]
|
1782
|
+
},
|
1783
|
+
"protocol": {
|
1784
|
+
"description": "Specifies the protocol the client should use to connect to the server.",
|
1785
|
+
"enum": ["http", "https"]
|
1786
|
+
},
|
1787
|
+
"server": {
|
1788
|
+
"description": "Specifies how to create the server handling the EventSource requests.",
|
1789
|
+
"anyOf": [
|
1790
|
+
{
|
1791
|
+
"description": "ServerOptions for the http or https createServer call.",
|
1792
|
+
"type": "object",
|
1793
|
+
"additionalProperties": true,
|
1794
|
+
"properties": {},
|
1795
|
+
"tsType": "(import(\"https\").ServerOptions | import(\"http\").ServerOptions)"
|
1796
|
+
},
|
1797
|
+
{
|
1798
|
+
"description": "A custom create server function.",
|
1799
|
+
"instanceof": "Function",
|
1800
|
+
"tsType": "(() => import(\"net\").Server)"
|
1801
|
+
}
|
1802
|
+
]
|
1803
|
+
}
|
1804
|
+
}
|
1805
|
+
},
|
1806
|
+
"LazyCompilationOptions": {
|
1807
|
+
"description": "Options for compiling entrypoints and import()s only when they are accessed.",
|
1808
|
+
"type": "object",
|
1809
|
+
"additionalProperties": false,
|
1810
|
+
"properties": {
|
1811
|
+
"backend": {
|
1812
|
+
"description": "Specifies the backend that should be used for handling client keep alive.",
|
1813
|
+
"anyOf": [
|
1814
|
+
{
|
1815
|
+
"description": "A custom backend.",
|
1816
|
+
"instanceof": "Function",
|
1817
|
+
"tsType": "(((compiler: import('../lib/Compiler'), callback: (err?: Error, api?: import(\"../lib/hmr/LazyCompilationPlugin\").BackendApi) => void) => void) | ((compiler: import('../lib/Compiler')) => Promise<import(\"../lib/hmr/LazyCompilationPlugin\").BackendApi>))"
|
1818
|
+
},
|
1819
|
+
{
|
1820
|
+
"$ref": "#/definitions/LazyCompilationDefaultBackendOptions"
|
1821
|
+
}
|
1822
|
+
]
|
1823
|
+
},
|
1632
1824
|
"entries": {
|
1633
1825
|
"description": "Enable/disable lazy compilation for entries.",
|
1634
1826
|
"type": "boolean"
|
@@ -1785,7 +1977,7 @@
|
|
1785
1977
|
"required": ["type"]
|
1786
1978
|
},
|
1787
1979
|
"LibraryType": {
|
1788
|
-
"description": "Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).",
|
1980
|
+
"description": "Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).",
|
1789
1981
|
"anyOf": [
|
1790
1982
|
{
|
1791
1983
|
"enum": [
|
@@ -1800,6 +1992,7 @@
|
|
1800
1992
|
"commonjs",
|
1801
1993
|
"commonjs2",
|
1802
1994
|
"commonjs-module",
|
1995
|
+
"commonjs-static",
|
1803
1996
|
"amd",
|
1804
1997
|
"amd-require",
|
1805
1998
|
"umd",
|
@@ -2631,6 +2824,18 @@
|
|
2631
2824
|
"type": "string",
|
2632
2825
|
"minLength": 1
|
2633
2826
|
},
|
2827
|
+
"chunks": {
|
2828
|
+
"description": "Select chunks for determining shared modules (defaults to \"async\", \"initial\" and \"all\" requires adding these chunks to the HTML).",
|
2829
|
+
"anyOf": [
|
2830
|
+
{
|
2831
|
+
"enum": ["initial", "async", "all"]
|
2832
|
+
},
|
2833
|
+
{
|
2834
|
+
"instanceof": "Function",
|
2835
|
+
"tsType": "((chunk: import('../lib/Chunk')) => boolean)"
|
2836
|
+
}
|
2837
|
+
]
|
2838
|
+
},
|
2634
2839
|
"maxAsyncSize": {
|
2635
2840
|
"description": "Maximal size hint for the on-demand chunks.",
|
2636
2841
|
"oneOf": [
|
@@ -2801,6 +3006,10 @@
|
|
2801
3006
|
"assetModuleFilename": {
|
2802
3007
|
"$ref": "#/definitions/AssetModuleFilename"
|
2803
3008
|
},
|
3009
|
+
"asyncChunks": {
|
3010
|
+
"description": "Enable/disable creating async chunks that are loaded on demand.",
|
3011
|
+
"type": "boolean"
|
3012
|
+
},
|
2804
3013
|
"auxiliaryComment": {
|
2805
3014
|
"cli": {
|
2806
3015
|
"exclude": true
|
@@ -2838,6 +3047,12 @@
|
|
2838
3047
|
"crossOriginLoading": {
|
2839
3048
|
"$ref": "#/definitions/CrossOriginLoading"
|
2840
3049
|
},
|
3050
|
+
"cssChunkFilename": {
|
3051
|
+
"$ref": "#/definitions/CssChunkFilename"
|
3052
|
+
},
|
3053
|
+
"cssFilename": {
|
3054
|
+
"$ref": "#/definitions/CssFilename"
|
3055
|
+
},
|
2841
3056
|
"devtoolFallbackModuleFilenameTemplate": {
|
2842
3057
|
"$ref": "#/definitions/DevtoolFallbackModuleFilenameTemplate"
|
2843
3058
|
},
|
@@ -3000,6 +3215,10 @@
|
|
3000
3215
|
"assetModuleFilename": {
|
3001
3216
|
"$ref": "#/definitions/AssetModuleFilename"
|
3002
3217
|
},
|
3218
|
+
"asyncChunks": {
|
3219
|
+
"description": "Enable/disable creating async chunks that are loaded on demand.",
|
3220
|
+
"type": "boolean"
|
3221
|
+
},
|
3003
3222
|
"charset": {
|
3004
3223
|
"$ref": "#/definitions/Charset"
|
3005
3224
|
},
|
@@ -3027,6 +3246,12 @@
|
|
3027
3246
|
"crossOriginLoading": {
|
3028
3247
|
"$ref": "#/definitions/CrossOriginLoading"
|
3029
3248
|
},
|
3249
|
+
"cssChunkFilename": {
|
3250
|
+
"$ref": "#/definitions/CssChunkFilename"
|
3251
|
+
},
|
3252
|
+
"cssFilename": {
|
3253
|
+
"$ref": "#/definitions/CssFilename"
|
3254
|
+
},
|
3030
3255
|
"devtoolFallbackModuleFilenameTemplate": {
|
3031
3256
|
"$ref": "#/definitions/DevtoolFallbackModuleFilenameTemplate"
|
3032
3257
|
},
|
@@ -4138,12 +4363,12 @@
|
|
4138
4363
|
"description": "List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.",
|
4139
4364
|
"anyOf": [
|
4140
4365
|
{
|
4141
|
-
"description": "A RegExp matching
|
4366
|
+
"description": "A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)",
|
4142
4367
|
"instanceof": "RegExp",
|
4143
4368
|
"tsType": "RegExp"
|
4144
4369
|
},
|
4145
4370
|
{
|
4146
|
-
"description": "A path to
|
4371
|
+
"description": "A path to an immutable directory (usually a package manager cache directory).",
|
4147
4372
|
"type": "string",
|
4148
4373
|
"absolutePath": true,
|
4149
4374
|
"minLength": 1
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* DO NOT MODIFY BY HAND.
|
4
4
|
* Run `yarn special-lint-fix` to update
|
5
5
|
*/
|
6
|
-
const s=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(s,{instancePath:e="",parentData:n,parentDataProperty:l,rootData:o=s}={}){let i=null,r=0;if(0===r){if(!s||"object"!=typeof s||Array.isArray(s))return t.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===s.content&&(e="content"))return t.errors=[{params:{missingProperty:e}}],!1;{const e=r;for(const e in s)if("content"!==e&&"name"!==e&&"type"!==e)return t.errors=[{params:{additionalProperty:e}}],!1;if(e===r){if(void 0!==s.content){let e=s.content;const n=r,l=r;let o=!1,f=null;const m=r;if(r==r)if(e&&"object"==typeof e&&!Array.isArray(e))if(Object.keys(e).length<1){const s={params:{limit:1}};null===i?i=[s]:i.push(s),r++}else for(const s in e){let t=e[s];const n=r;if(r===n)if(t&&"object"==typeof t&&!Array.isArray(t)){let s;if(void 0===t.id&&(s="id")){const t={params:{missingProperty:s}};null===i?i=[t]:i.push(t),r++}else{const s=r;for(const s in t)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const t={params:{additionalProperty:s}};null===i?i=[t]:i.push(t),r++;break}if(s===r){if(void 0!==t.buildMeta){let s=t.buildMeta;const e=r;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===i?i=[s]:i.push(s),r++}var a=e===r}else a=!0;if(a){if(void 0!==t.exports){let s=t.exports;const e=r,n=r;let l=!1;const o=r;if(r===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=r;if(r===n)if("string"==typeof t){if(t.length<1){const s={params:{}};null===i?i=[s]:i.push(s),r++}}else{const s={params:{type:"string"}};null===i?i=[s]:i.push(s),r++}if(n!==r)break}}else{const s={params:{type:"array"}};null===i?i=[s]:i.push(s),r++}var p=o===r;if(l=l||p,!l){const t=r;if(!0!==s){const s={params:{}};null===i?i=[s]:i.push(s),r++}p=t===r,l=l||p}if(l)r=n,null!==i&&(n?i.length=n:i=null);else{const s={params:{}};null===i?i=[s]:i.push(s),r++}a=e===r}else a=!0;if(a)if(void 0!==t.id){let s=t.id;const e=r,n=r;let l=!1;const o=r;if("number"!=typeof s||!isFinite(s)){const s={params:{type:"number"}};null===i?i=[s]:i.push(s),r++}var u=o===r;if(l=l||u,!l){const t=r;if(r===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===i?i=[s]:i.push(s),r++}}else{const s={params:{type:"string"}};null===i?i=[s]:i.push(s),r++}u=t===r,l=l||u}if(l)r=n,null!==i&&(n?i.length=n:i=null);else{const s={params:{}};null===i?i=[s]:i.push(s),r++}a=e===r}else a=!0}}}}else{const s={params:{type:"object"}};null===i?i=[s]:i.push(s),r++}if(n!==r)break}else{const s={params:{type:"object"}};null===i?i=[s]:i.push(s),r++}if(m===r&&(o=!0,f=0),!o){const s={params:{passingSchemas:f}};return null===i?i=[s]:i.push(s),r++,t.errors=i,!1}r=l,null!==i&&(l?i.length=l:i=null);var c=n===r}else c=!0;if(c){if(void 0!==s.name){let e=s.name;const n=r;if(r===n){if("string"!=typeof e)return t.errors=[{params:{type:"string"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1}c=n===r}else c=!0;if(c)if(void 0!==s.type){let e=s.type;const n=r,l=r;let o=!1,a=null;const p=r;if("var"!==e&&"assign"!==e&&"this"!==e&&"window"!==e&&"global"!==e&&"commonjs"!==e&&"commonjs2"!==e&&"commonjs-module"!==e&&"amd"!==e&&"amd-require"!==e&&"umd"!==e&&"umd2"!==e&&"jsonp"!==e&&"system"!==e){const s={params:{}};null===i?i=[s]:i.push(s),r++}if(p===r&&(o=!0,a=0),!o){const s={params:{passingSchemas:a}};return null===i?i=[s]:i.push(s),r++,t.errors=i,!1}r=l,null!==i&&(l?i.length=l:i=null),c=n===r}else c=!0}}}}}return t.errors=i,0===r}function e(n,{instancePath:l="",parentData:o,parentDataProperty:i,rootData:r=n}={}){let a=null,p=0;const u=p;let c=!1;const f=p;if(p===f)if(n&&"object"==typeof n&&!Array.isArray(n)){let e;if(void 0===n.manifest&&(e="manifest")){const s={params:{missingProperty:e}};null===a?a=[s]:a.push(s),p++}else{const e=p;for(const s in n)if("context"!==s&&"extensions"!==s&&"manifest"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(e===p){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}var m=e===p}else m=!0;if(m){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if("string"!=typeof s[e]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.manifest){let e=n.manifest;const o=p,i=p;let u=!1;const c=p;if(p===c)if("string"==typeof e){if(e.includes("!")||!0!==s.test(e)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}var y=c===p;if(u=u||y,!u){const s=p;t(e,{instancePath:l+"/manifest",parentData:n,parentDataProperty:"manifest",rootData:r})||(a=null===a?t.errors:a.concat(t.errors),p=a.length),y=s===p,u=u||y}if(u)p=i,null!==a&&(i?a.length=i:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}m=o===p}else m=!0;if(m){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const i=p;if("var"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(i===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m)if(void 0!==n.type){let s=n.type;const t=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var h=f===p;if(c=c||h,!c){const t=p;if(p===t)if(n&&"object"==typeof n&&!Array.isArray(n)){let t;if(void 0===n.content&&(t="content")||void 0===n.name&&(t="name")){const s={params:{missingProperty:t}};null===a?a=[s]:a.push(s),p++}else{const t=p;for(const s in n)if("content"!==s&&"context"!==s&&"extensions"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(t===p){if(void 0!==n.content){let s=n.content;const t=p,e=p;let l=!1,o=null;const i=p;if(p==p)if(s&&"object"==typeof s&&!Array.isArray(s))if(Object.keys(s).length<1){const s={params:{limit:1}};null===a?a=[s]:a.push(s),p++}else for(const t in s){let e=s[t];const n=p;if(p===n)if(e&&"object"==typeof e&&!Array.isArray(e)){let s;if(void 0===e.id&&(s="id")){const t={params:{missingProperty:s}};null===a?a=[t]:a.push(t),p++}else{const s=p;for(const s in e)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(s===p){if(void 0!==e.buildMeta){let s=e.buildMeta;const t=p;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var d=t===p}else d=!0;if(d){if(void 0!==e.exports){let s=e.exports;const t=p,n=p;let l=!1;const o=p;if(p===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=p;if(p===n)if("string"==typeof t){if(t.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}var g=o===p;if(l=l||g,!l){const t=p;if(!0!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}g=t===p,l=l||g}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0;if(d)if(void 0!==e.id){let s=e.id;const t=p,n=p;let l=!1;const o=p;if("number"!=typeof s||!isFinite(s)){const s={params:{type:"number"}};null===a?a=[s]:a.push(s),p++}var b=o===p;if(l=l||b,!l){const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}b=t===p,l=l||b}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}if(i===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}var v=t===p}else v=!0;if(v){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0;if(v){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if("string"!=typeof s[e]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const i=p;if("var"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(i===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v)if(void 0!==n.type){let s=n.type;const t=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}h=t===p,c=c||h}if(!c){const s={params:{}};return null===a?a=[s]:a.push(s),p++,e.errors=a,!1}return p=u,null!==a&&(u?a.length=u:a=null),e.errors=a,0===p}module.exports=e,module.exports.default=e;
|
6
|
+
const s=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(s,{instancePath:e="",parentData:n,parentDataProperty:l,rootData:o=s}={}){let r=null,i=0;if(0===i){if(!s||"object"!=typeof s||Array.isArray(s))return t.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===s.content&&(e="content"))return t.errors=[{params:{missingProperty:e}}],!1;{const e=i;for(const e in s)if("content"!==e&&"name"!==e&&"type"!==e)return t.errors=[{params:{additionalProperty:e}}],!1;if(e===i){if(void 0!==s.content){let e=s.content;const n=i,l=i;let o=!1,f=null;const m=i;if(i==i)if(e&&"object"==typeof e&&!Array.isArray(e))if(Object.keys(e).length<1){const s={params:{limit:1}};null===r?r=[s]:r.push(s),i++}else for(const s in e){let t=e[s];const n=i;if(i===n)if(t&&"object"==typeof t&&!Array.isArray(t)){let s;if(void 0===t.id&&(s="id")){const t={params:{missingProperty:s}};null===r?r=[t]:r.push(t),i++}else{const s=i;for(const s in t)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const t={params:{additionalProperty:s}};null===r?r=[t]:r.push(t),i++;break}if(s===i){if(void 0!==t.buildMeta){let s=t.buildMeta;const e=i;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===r?r=[s]:r.push(s),i++}var a=e===i}else a=!0;if(a){if(void 0!==t.exports){let s=t.exports;const e=i,n=i;let l=!1;const o=i;if(i===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=i;if(i===n)if("string"==typeof t){if(t.length<1){const s={params:{}};null===r?r=[s]:r.push(s),i++}}else{const s={params:{type:"string"}};null===r?r=[s]:r.push(s),i++}if(n!==i)break}}else{const s={params:{type:"array"}};null===r?r=[s]:r.push(s),i++}var p=o===i;if(l=l||p,!l){const t=i;if(!0!==s){const s={params:{}};null===r?r=[s]:r.push(s),i++}p=t===i,l=l||p}if(l)i=n,null!==r&&(n?r.length=n:r=null);else{const s={params:{}};null===r?r=[s]:r.push(s),i++}a=e===i}else a=!0;if(a)if(void 0!==t.id){let s=t.id;const e=i,n=i;let l=!1;const o=i;if("number"!=typeof s){const s={params:{type:"number"}};null===r?r=[s]:r.push(s),i++}var u=o===i;if(l=l||u,!l){const t=i;if(i===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===r?r=[s]:r.push(s),i++}}else{const s={params:{type:"string"}};null===r?r=[s]:r.push(s),i++}u=t===i,l=l||u}if(l)i=n,null!==r&&(n?r.length=n:r=null);else{const s={params:{}};null===r?r=[s]:r.push(s),i++}a=e===i}else a=!0}}}}else{const s={params:{type:"object"}};null===r?r=[s]:r.push(s),i++}if(n!==i)break}else{const s={params:{type:"object"}};null===r?r=[s]:r.push(s),i++}if(m===i&&(o=!0,f=0),!o){const s={params:{passingSchemas:f}};return null===r?r=[s]:r.push(s),i++,t.errors=r,!1}i=l,null!==r&&(l?r.length=l:r=null);var c=n===i}else c=!0;if(c){if(void 0!==s.name){let e=s.name;const n=i;if(i===n){if("string"!=typeof e)return t.errors=[{params:{type:"string"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1}c=n===i}else c=!0;if(c)if(void 0!==s.type){let e=s.type;const n=i,l=i;let o=!1,a=null;const p=i;if("var"!==e&&"assign"!==e&&"this"!==e&&"window"!==e&&"global"!==e&&"commonjs"!==e&&"commonjs2"!==e&&"commonjs-module"!==e&&"amd"!==e&&"amd-require"!==e&&"umd"!==e&&"umd2"!==e&&"jsonp"!==e&&"system"!==e){const s={params:{}};null===r?r=[s]:r.push(s),i++}if(p===i&&(o=!0,a=0),!o){const s={params:{passingSchemas:a}};return null===r?r=[s]:r.push(s),i++,t.errors=r,!1}i=l,null!==r&&(l?r.length=l:r=null),c=n===i}else c=!0}}}}}return t.errors=r,0===i}function e(n,{instancePath:l="",parentData:o,parentDataProperty:r,rootData:i=n}={}){let a=null,p=0;const u=p;let c=!1;const f=p;if(p===f)if(n&&"object"==typeof n&&!Array.isArray(n)){let e;if(void 0===n.manifest&&(e="manifest")){const s={params:{missingProperty:e}};null===a?a=[s]:a.push(s),p++}else{const e=p;for(const s in n)if("context"!==s&&"extensions"!==s&&"manifest"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(e===p){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}var m=e===p}else m=!0;if(m){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if("string"!=typeof s[e]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.manifest){let e=n.manifest;const o=p,r=p;let u=!1;const c=p;if(p===c)if("string"==typeof e){if(e.includes("!")||!0!==s.test(e)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}var y=c===p;if(u=u||y,!u){const s=p;t(e,{instancePath:l+"/manifest",parentData:n,parentDataProperty:"manifest",rootData:i})||(a=null===a?t.errors:a.concat(t.errors),p=a.length),y=s===p,u=u||y}if(u)p=r,null!==a&&(r?a.length=r:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}m=o===p}else m=!0;if(m){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const r=p;if("var"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m)if(void 0!==n.type){let s=n.type;const t=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var h=f===p;if(c=c||h,!c){const t=p;if(p===t)if(n&&"object"==typeof n&&!Array.isArray(n)){let t;if(void 0===n.content&&(t="content")||void 0===n.name&&(t="name")){const s={params:{missingProperty:t}};null===a?a=[s]:a.push(s),p++}else{const t=p;for(const s in n)if("content"!==s&&"context"!==s&&"extensions"!==s&&"name"!==s&&"scope"!==s&&"sourceType"!==s&&"type"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(t===p){if(void 0!==n.content){let s=n.content;const t=p,e=p;let l=!1,o=null;const r=p;if(p==p)if(s&&"object"==typeof s&&!Array.isArray(s))if(Object.keys(s).length<1){const s={params:{limit:1}};null===a?a=[s]:a.push(s),p++}else for(const t in s){let e=s[t];const n=p;if(p===n)if(e&&"object"==typeof e&&!Array.isArray(e)){let s;if(void 0===e.id&&(s="id")){const t={params:{missingProperty:s}};null===a?a=[t]:a.push(t),p++}else{const s=p;for(const s in e)if("buildMeta"!==s&&"exports"!==s&&"id"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(s===p){if(void 0!==e.buildMeta){let s=e.buildMeta;const t=p;if(!s||"object"!=typeof s||Array.isArray(s)){const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}var d=t===p}else d=!0;if(d){if(void 0!==e.exports){let s=e.exports;const t=p,n=p;let l=!1;const o=p;if(p===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=p;if(p===n)if("string"==typeof t){if(t.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}var g=o===p;if(l=l||g,!l){const t=p;if(!0!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}g=t===p,l=l||g}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0;if(d)if(void 0!==e.id){let s=e.id;const t=p,n=p;let l=!1;const o=p;if("number"!=typeof s){const s={params:{type:"number"}};null===a?a=[s]:a.push(s),p++}var b=o===p;if(l=l||b,!l){const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}b=t===p,l=l||b}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}var v=t===p}else v=!0;if(v){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if("string"==typeof t){if(t.includes("!")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0;if(v){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if("string"!=typeof s[e]){const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:"array"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if("string"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:"string"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const r=p;if("var"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v)if(void 0!==n.type){let s=n.type;const t=p;if("require"!==s&&"object"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0}}}}}}}}else{const s={params:{type:"object"}};null===a?a=[s]:a.push(s),p++}h=t===p,c=c||h}if(!c){const s={params:{}};return null===a?a=[s]:a.push(s),p++,e.errors=a,!1}return p=u,null!==a&&(u?a.length=u:a=null),e.errors=a,0===p}module.exports=e,module.exports.default=e;
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* DO NOT MODIFY BY HAND.
|
4
4
|
* Run `yarn special-lint-fix` to update
|
5
5
|
*/
|
6
|
-
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(r,{instancePath:s="",parentData:n,parentDataProperty:
|
6
|
+
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(r,{instancePath:s="",parentData:n,parentDataProperty:a,rootData:i=r}={}){let o=null,l=0;if(0===l){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{const s=l;for(const t in r)if("context"!==t&&"hashDigest"!==t&&"hashDigestLength"!==t&&"hashFunction"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(s===l){if(void 0!==r.context){let s=r.context;const n=l;if(l===n){if("string"!=typeof s)return e.errors=[{params:{type:"string"}}],!1;if(s.includes("!")||!0!==t.test(s))return e.errors=[{params:{}}],!1}var u=n===l}else u=!0;if(u){if(void 0!==r.hashDigest){let t=r.hashDigest;const s=l;if("hex"!==t&&"latin1"!==t&&"base64"!==t)return e.errors=[{params:{}}],!1;u=s===l}else u=!0;if(u){if(void 0!==r.hashDigestLength){let t=r.hashDigestLength;const s=l;if(l===s){if("number"!=typeof t)return e.errors=[{params:{type:"number"}}],!1;if(t<1||isNaN(t))return e.errors=[{params:{comparison:">=",limit:1}}],!1}u=s===l}else u=!0;if(u)if(void 0!==r.hashFunction){let t=r.hashFunction;const s=l,n=l;let a=!1,i=null;const p=l,h=l;let c=!1;const m=l;if(l===m)if("string"==typeof t){if(t.length<1){const t={params:{}};null===o?o=[t]:o.push(t),l++}}else{const t={params:{type:"string"}};null===o?o=[t]:o.push(t),l++}var f=m===l;if(c=c||f,!c){const e=l;if(!(t instanceof Function)){const t={params:{}};null===o?o=[t]:o.push(t),l++}f=e===l,c=c||f}if(c)l=h,null!==o&&(h?o.length=h:o=null);else{const t={params:{}};null===o?o=[t]:o.push(t),l++}if(p===l&&(a=!0,i=0),!a){const t={params:{passingSchemas:i}};return null===o?o=[t]:o.push(t),l++,e.errors=o,!1}l=n,null!==o&&(n?o.length=n:o=null),u=s===l}else u=!0}}}}}return e.errors=o,0===l}module.exports=e,module.exports.default=e;
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* DO NOT MODIFY BY HAND.
|
4
4
|
* Run `yarn special-lint-fix` to update
|
5
5
|
*/
|
6
|
-
"use strict";module.exports=t,module.exports.default=t;const e={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},
|
6
|
+
"use strict";module.exports=t,module.exports.default=t;const e={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},r=Object.prototype.hasOwnProperty;function n(t,{instancePath:o="",parentData:s,parentDataProperty:a,rootData:l=t}={}){let i=null,p=0;if(0===p){if(!t||"object"!=typeof t||Array.isArray(t))return n.errors=[{params:{type:"object"}}],!1;{const o=p;for(const o in t)if(!r.call(e,o))return n.errors=[{params:{additionalProperty:o}}],!1;if(o===p){if(void 0!==t.activeModules){const e=p;if("boolean"!=typeof t.activeModules)return n.errors=[{params:{type:"boolean"}}],!1;var u=e===p}else u=!0;if(u){if(void 0!==t.dependencies){const e=p;if("boolean"!=typeof t.dependencies)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.dependenciesCount){const e=p;if("number"!=typeof t.dependenciesCount)return n.errors=[{params:{type:"number"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.entries){const e=p;if("boolean"!=typeof t.entries)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.handler){const e=p,r=p;let o=!1,s=null;const a=p;if(!(t.handler instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),p++}if(a===p&&(o=!0,s=0),!o){const e={params:{passingSchemas:s}};return null===i?i=[e]:i.push(e),p++,n.errors=i,!1}p=r,null!==i&&(r?i.length=r:i=null),u=e===p}else u=!0;if(u){if(void 0!==t.modules){const e=p;if("boolean"!=typeof t.modules)return n.errors=[{params:{type:"boolean"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.modulesCount){const e=p;if("number"!=typeof t.modulesCount)return n.errors=[{params:{type:"number"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.percentBy){let e=t.percentBy;const r=p;if("entries"!==e&&"modules"!==e&&"dependencies"!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0;if(u)if(void 0!==t.profile){let e=t.profile;const r=p;if(!0!==e&&!1!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0}}}}}}}}}}return n.errors=i,0===p}function t(e,{instancePath:r="",parentData:o,parentDataProperty:s,rootData:a=e}={}){let l=null,i=0;const p=i;let u=!1;const f=i;n(e,{instancePath:r,parentData:o,parentDataProperty:s,rootData:a})||(l=null===l?n.errors:l.concat(n.errors),i=l.length);var c=f===i;if(u=u||c,!u){const r=i;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),i++}c=r===i,u=u||c}if(!u){const e={params:{}};return null===l?l=[e]:l.push(e),i++,t.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),t.errors=l,0===i}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* DO NOT MODIFY BY HAND.
|
4
4
|
* Run `yarn special-lint-fix` to update
|
5
5
|
*/
|
6
|
-
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(t,{instancePath:r="",parentData:e,parentDataProperty:a,rootData:s=t}={}){let o=null,l=0;const i=l;let p=!1;const
|
6
|
+
const t=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(t,{instancePath:r="",parentData:e,parentDataProperty:a,rootData:s=t}={}){let o=null,l=0;const i=l;let p=!1;const u=l;if(l==l)if(t&&"object"==typeof t&&!Array.isArray(t)){const n=l;for(const n in t)if("encoding"!==n&&"mimetype"!==n){const t={params:{additionalProperty:n}};null===o?o=[t]:o.push(t),l++;break}if(n===l){if(void 0!==t.encoding){let n=t.encoding;const r=l;if(!1!==n&&"base64"!==n){const t={params:{}};null===o?o=[t]:o.push(t),l++}var c=r===l}else c=!0;if(c)if(void 0!==t.mimetype){const n=l;if("string"!=typeof t.mimetype){const t={params:{type:"string"}};null===o?o=[t]:o.push(t),l++}c=n===l}else c=!0}}else{const t={params:{type:"object"}};null===o?o=[t]:o.push(t),l++}var f=u===l;if(p=p||f,!p){const n=l;if(!(t instanceof Function)){const t={params:{}};null===o?o=[t]:o.push(t),l++}f=n===l,p=p||f}if(!p){const t={params:{}};return null===o?o=[t]:o.push(t),l++,n.errors=o,!1}return l=i,null!==o&&(i?o.length=i:o=null),n.errors=o,0===l}function r(e,{instancePath:a="",parentData:s,parentDataProperty:o,rootData:l=e}={}){let i=null,p=0;if(0===p){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{const s=p;for(const t in e)if("dataUrl"!==t&&"emit"!==t&&"filename"!==t&&"outputPath"!==t&&"publicPath"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(s===p){if(void 0!==e.dataUrl){const t=p;n(e.dataUrl,{instancePath:a+"/dataUrl",parentData:e,parentDataProperty:"dataUrl",rootData:l})||(i=null===i?n.errors:i.concat(n.errors),p=i.length);var u=t===p}else u=!0;if(u){if(void 0!==e.emit){const t=p;if("boolean"!=typeof e.emit)return r.errors=[{params:{type:"boolean"}}],!1;u=t===p}else u=!0;if(u){if(void 0!==e.filename){let n=e.filename;const a=p,s=p;let o=!1;const l=p;if(p===l)if("string"==typeof n){if(n.includes("!")||!1!==t.test(n)){const t={params:{}};null===i?i=[t]:i.push(t),p++}else if(n.length<1){const t={params:{}};null===i?i=[t]:i.push(t),p++}}else{const t={params:{type:"string"}};null===i?i=[t]:i.push(t),p++}var c=l===p;if(o=o||c,!o){const t=p;if(!(n instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}c=t===p,o=o||c}if(!o){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),u=a===p}else u=!0;if(u){if(void 0!==e.outputPath){let n=e.outputPath;const a=p,s=p;let o=!1;const l=p;if(p===l)if("string"==typeof n){if(n.includes("!")||!1!==t.test(n)){const t={params:{}};null===i?i=[t]:i.push(t),p++}}else{const t={params:{type:"string"}};null===i?i=[t]:i.push(t),p++}var f=l===p;if(o=o||f,!o){const t=p;if(!(n instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}f=t===p,o=o||f}if(!o){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),u=a===p}else u=!0;if(u)if(void 0!==e.publicPath){let t=e.publicPath;const n=p,a=p;let s=!1;const o=p;if("string"!=typeof t){const t={params:{type:"string"}};null===i?i=[t]:i.push(t),p++}var h=o===p;if(s=s||h,!s){const n=p;if(!(t instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}h=n===p,s=s||h}if(!s){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=a,null!==i&&(a?i.length=a:i=null),u=n===p}else u=!0}}}}}}return r.errors=i,0===p}function e(t,{instancePath:n="",parentData:a,parentDataProperty:s,rootData:o=t}={}){let l=null,i=0;return r(t,{instancePath:n,parentData:a,parentDataProperty:s,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),e.errors=l,0===i}module.exports=e,module.exports.default=e;
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* DO NOT MODIFY BY HAND.
|
4
4
|
* Run `yarn special-lint-fix` to update
|
5
5
|
*/
|
6
|
-
"use strict";function t(r,{instancePath:a="",parentData:n,parentDataProperty:
|
6
|
+
"use strict";function t(r,{instancePath:a="",parentData:n,parentDataProperty:o,rootData:e=r}={}){let s=null,i=0;if(0===i){if(!r||"object"!=typeof r||Array.isArray(r))return t.errors=[{params:{type:"object"}}],!1;{const a=i;for(const a in r)if("dataUrlCondition"!==a)return t.errors=[{params:{additionalProperty:a}}],!1;if(a===i&&void 0!==r.dataUrlCondition){let a=r.dataUrlCondition;const n=i;let o=!1;const e=i;if(i==i)if(a&&"object"==typeof a&&!Array.isArray(a)){const t=i;for(const t in a)if("maxSize"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),i++;break}if(t===i&&void 0!==a.maxSize&&"number"!=typeof a.maxSize){const t={params:{type:"number"}};null===s?s=[t]:s.push(t),i++}}else{const t={params:{type:"object"}};null===s?s=[t]:s.push(t),i++}var l=e===i;if(o=o||l,!o){const t=i;if(!(a instanceof Function)){const t={params:{}};null===s?s=[t]:s.push(t),i++}l=t===i,o=o||l}if(!o){const r={params:{}};return null===s?s=[r]:s.push(r),i++,t.errors=s,!1}i=n,null!==s&&(n?s.length=n:s=null)}}}return t.errors=s,0===i}function r(a,{instancePath:n="",parentData:o,parentDataProperty:e,rootData:s=a}={}){let i=null,l=0;return t(a,{instancePath:n,parentData:o,parentDataProperty:e,rootData:s})||(i=null===i?t.errors:i.concat(t.errors),l=i.length),r.errors=i,0===l}module.exports=r,module.exports.default=r;
|