webpack 5.102.1 → 5.103.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.
Files changed (118) hide show
  1. package/README.md +121 -134
  2. package/lib/CompatibilityPlugin.js +25 -2
  3. package/lib/Compilation.js +25 -2
  4. package/lib/ConcatenationScope.js +0 -15
  5. package/lib/CssModule.js +6 -1
  6. package/lib/DefinePlugin.js +11 -11
  7. package/lib/Dependency.js +8 -1
  8. package/lib/DependencyTemplate.js +1 -0
  9. package/lib/DotenvPlugin.js +457 -0
  10. package/lib/EnvironmentPlugin.js +19 -16
  11. package/lib/EvalSourceMapDevToolPlugin.js +16 -0
  12. package/lib/ExportsInfo.js +6 -2
  13. package/lib/ExternalModule.js +20 -28
  14. package/lib/ExternalModuleFactoryPlugin.js +10 -8
  15. package/lib/ExternalsPlugin.js +2 -1
  16. package/lib/ManifestPlugin.js +235 -0
  17. package/lib/Module.js +3 -0
  18. package/lib/ModuleGraph.js +2 -1
  19. package/lib/ModuleSourceTypesConstants.js +0 -6
  20. package/lib/MultiCompiler.js +1 -1
  21. package/lib/NodeStuffPlugin.js +419 -121
  22. package/lib/NormalModule.js +17 -16
  23. package/lib/RuntimeGlobals.js +22 -4
  24. package/lib/RuntimePlugin.js +27 -6
  25. package/lib/RuntimeTemplate.js +115 -56
  26. package/lib/SourceMapDevToolPlugin.js +20 -0
  27. package/lib/WebpackOptionsApply.js +33 -9
  28. package/lib/asset/AssetBytesGenerator.js +1 -1
  29. package/lib/asset/AssetGenerator.js +1 -2
  30. package/lib/asset/AssetSourceGenerator.js +1 -1
  31. package/lib/config/browserslistTargetHandler.js +5 -0
  32. package/lib/config/defaults.js +98 -18
  33. package/lib/config/normalization.js +2 -1
  34. package/lib/config/target.js +6 -0
  35. package/lib/css/CssGenerator.js +283 -57
  36. package/lib/css/CssLoadingRuntimeModule.js +2 -0
  37. package/lib/css/CssMergeStyleSheetsRuntimeModule.js +56 -0
  38. package/lib/css/CssModulesPlugin.js +84 -34
  39. package/lib/css/CssParser.js +1174 -667
  40. package/lib/css/walkCssTokens.js +97 -0
  41. package/lib/dependencies/CommonJsImportsParserPlugin.js +0 -9
  42. package/lib/dependencies/CommonJsPlugin.js +12 -0
  43. package/lib/dependencies/CssIcssExportDependency.js +247 -8
  44. package/lib/dependencies/CssIcssFromIdentifierDependency.js +124 -0
  45. package/lib/dependencies/CssIcssGlobalIdentifierDependency.js +48 -0
  46. package/lib/dependencies/CssIcssImportDependency.js +60 -54
  47. package/lib/dependencies/CssIcssLocalIdentifierDependency.js +61 -0
  48. package/lib/dependencies/{CssSelfLocalIdentifierDependency.js → CssIcssSelfLocalIdentifierDependency.js} +88 -10
  49. package/lib/dependencies/CssIcssSymbolDependency.js +31 -29
  50. package/lib/dependencies/CssImportDependency.js +15 -5
  51. package/lib/dependencies/ExternalModuleInitFragment.js +1 -1
  52. package/lib/dependencies/ExternalModuleInitFragmentDependency.js +95 -0
  53. package/lib/dependencies/HarmonyAcceptDependency.js +6 -1
  54. package/lib/dependencies/HarmonyAcceptImportDependency.js +2 -1
  55. package/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js +12 -1
  56. package/lib/dependencies/HarmonyExportDependencyParserPlugin.js +32 -21
  57. package/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +12 -8
  58. package/lib/dependencies/HarmonyImportDependency.js +23 -27
  59. package/lib/dependencies/HarmonyImportDependencyParserPlugin.js +28 -69
  60. package/lib/dependencies/HarmonyImportSideEffectDependency.js +4 -3
  61. package/lib/dependencies/HarmonyImportSpecifierDependency.js +10 -8
  62. package/lib/dependencies/ImportDependency.js +8 -2
  63. package/lib/dependencies/ImportEagerDependency.js +6 -3
  64. package/lib/dependencies/ImportMetaPlugin.js +97 -9
  65. package/lib/dependencies/ImportParserPlugin.js +19 -21
  66. package/lib/dependencies/ImportPhase.js +121 -0
  67. package/lib/dependencies/ImportWeakDependency.js +6 -3
  68. package/lib/dependencies/ModuleDependency.js +5 -1
  69. package/lib/dependencies/ModuleHotAcceptDependency.js +1 -1
  70. package/lib/esm/ExportWebpackRequireRuntimeModule.js +1 -8
  71. package/lib/hmr/LazyCompilationPlugin.js +1 -0
  72. package/lib/ids/IdHelpers.js +4 -1
  73. package/lib/index.js +6 -0
  74. package/lib/javascript/ChunkHelpers.js +16 -5
  75. package/lib/javascript/JavascriptGenerator.js +101 -101
  76. package/lib/javascript/JavascriptModulesPlugin.js +23 -13
  77. package/lib/javascript/JavascriptParser.js +142 -38
  78. package/lib/json/JsonParser.js +7 -1
  79. package/lib/library/ModuleLibraryPlugin.js +0 -10
  80. package/lib/library/SystemLibraryPlugin.js +4 -0
  81. package/lib/library/UmdLibraryPlugin.js +1 -1
  82. package/lib/node/NodeTargetPlugin.js +9 -1
  83. package/lib/node/ReadFileCompileWasmPlugin.js +0 -2
  84. package/lib/optimize/ConcatenatedModule.js +161 -135
  85. package/lib/runtime/AsyncModuleRuntimeModule.js +28 -18
  86. package/lib/runtime/AutoPublicPathRuntimeModule.js +8 -3
  87. package/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +89 -55
  88. package/lib/util/comparators.js +4 -3
  89. package/lib/util/internalSerializables.js +4 -4
  90. package/lib/util/jsonParseEvenBetterErrors.js +10 -0
  91. package/lib/wasm/EnableWasmLoadingPlugin.js +10 -4
  92. package/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +8 -5
  93. package/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +8 -4
  94. package/lib/web/FetchCompileWasmPlugin.js +0 -2
  95. package/lib/webpack.js +85 -82
  96. package/module.d.ts +5 -0
  97. package/package.json +16 -14
  98. package/schemas/WebpackOptions.check.js +1 -1
  99. package/schemas/WebpackOptions.json +109 -27
  100. package/schemas/plugins/ManifestPlugin.check.d.ts +7 -0
  101. package/schemas/plugins/ManifestPlugin.check.js +6 -0
  102. package/schemas/plugins/ManifestPlugin.json +98 -0
  103. package/schemas/plugins/SourceMapDevToolPlugin.check.js +1 -1
  104. package/schemas/plugins/SourceMapDevToolPlugin.json +16 -3
  105. package/schemas/plugins/container/ContainerReferencePlugin.check.js +1 -1
  106. package/schemas/plugins/container/ContainerReferencePlugin.json +4 -1
  107. package/schemas/plugins/container/ExternalsType.check.js +1 -1
  108. package/schemas/plugins/container/ModuleFederationPlugin.check.js +1 -1
  109. package/schemas/plugins/container/ModuleFederationPlugin.json +4 -1
  110. package/schemas/plugins/css/CssAutoParserOptions.check.js +1 -1
  111. package/schemas/plugins/css/CssGlobalGeneratorOptions.check.js +1 -1
  112. package/schemas/plugins/css/CssGlobalParserOptions.check.js +1 -1
  113. package/schemas/plugins/css/CssModuleGeneratorOptions.check.js +1 -1
  114. package/schemas/plugins/css/CssModuleParserOptions.check.js +1 -1
  115. package/schemas/plugins/css/CssParserOptions.check.js +1 -1
  116. package/schemas/plugins/json/JsonModulesPluginParser.check.js +1 -1
  117. package/types.d.ts +560 -293
  118. package/lib/dependencies/CssLocalIdentifierDependency.js +0 -250
@@ -395,6 +395,9 @@
395
395
  "type": "object",
396
396
  "additionalProperties": false,
397
397
  "properties": {
398
+ "exportType": {
399
+ "$ref": "#/definitions/CssParserExportType"
400
+ },
398
401
  "import": {
399
402
  "$ref": "#/definitions/CssParserImport"
400
403
  },
@@ -473,6 +476,9 @@
473
476
  "esModule": {
474
477
  "$ref": "#/definitions/CssGeneratorEsModule"
475
478
  },
479
+ "exportType": {
480
+ "$ref": "#/definitions/CssParserExportType"
481
+ },
476
482
  "exportsConvention": {
477
483
  "$ref": "#/definitions/CssGeneratorExportsConvention"
478
484
  },
@@ -489,6 +495,9 @@
489
495
  "type": "object",
490
496
  "additionalProperties": false,
491
497
  "properties": {
498
+ "exportType": {
499
+ "$ref": "#/definitions/CssParserExportType"
500
+ },
492
501
  "import": {
493
502
  "$ref": "#/definitions/CssParserImport"
494
503
  },
@@ -508,6 +517,9 @@
508
517
  "esModule": {
509
518
  "$ref": "#/definitions/CssGeneratorEsModule"
510
519
  },
520
+ "exportType": {
521
+ "$ref": "#/definitions/CssParserExportType"
522
+ },
511
523
  "exportsConvention": {
512
524
  "$ref": "#/definitions/CssGeneratorExportsConvention"
513
525
  },
@@ -524,6 +536,9 @@
524
536
  "type": "object",
525
537
  "additionalProperties": false,
526
538
  "properties": {
539
+ "exportType": {
540
+ "$ref": "#/definitions/CssParserExportType"
541
+ },
527
542
  "import": {
528
543
  "$ref": "#/definitions/CssParserImport"
529
544
  },
@@ -535,6 +550,10 @@
535
550
  }
536
551
  }
537
552
  },
553
+ "CssParserExportType": {
554
+ "description": "Configure how CSS content is exported as default.",
555
+ "enum": ["link", "text", "css-style-sheet"]
556
+ },
538
557
  "CssParserImport": {
539
558
  "description": "Enable/disable `@import` at-rules handling.",
540
559
  "type": "boolean"
@@ -548,6 +567,9 @@
548
567
  "type": "object",
549
568
  "additionalProperties": false,
550
569
  "properties": {
570
+ "exportType": {
571
+ "$ref": "#/definitions/CssParserExportType"
572
+ },
551
573
  "import": {
552
574
  "$ref": "#/definitions/CssParserImport"
553
575
  },
@@ -629,6 +651,63 @@
629
651
  "description": "Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It's useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.",
630
652
  "type": "string"
631
653
  },
654
+ "Dotenv": {
655
+ "description": "Enable and configure the Dotenv plugin to load environment variables from .env files.",
656
+ "anyOf": [
657
+ {
658
+ "description": "Enable Dotenv plugin with default options.",
659
+ "type": "boolean"
660
+ },
661
+ {
662
+ "$ref": "#/definitions/DotenvPluginOptions"
663
+ }
664
+ ]
665
+ },
666
+ "DotenvPluginOptions": {
667
+ "description": "Options for Dotenv plugin.",
668
+ "type": "object",
669
+ "additionalProperties": false,
670
+ "properties": {
671
+ "dir": {
672
+ "description": "The directory from which .env files are loaded. Can be an absolute path, false will disable the .env file loading.",
673
+ "anyOf": [
674
+ {
675
+ "enum": [false]
676
+ },
677
+ {
678
+ "type": "string",
679
+ "absolutePath": true
680
+ }
681
+ ]
682
+ },
683
+ "prefix": {
684
+ "description": "Only expose environment variables that start with these prefixes. Defaults to 'WEBPACK_'.",
685
+ "anyOf": [
686
+ {
687
+ "type": "array",
688
+ "items": {
689
+ "description": "A prefix that environment variables must start with to be exposed.",
690
+ "type": "string",
691
+ "minLength": 1
692
+ }
693
+ },
694
+ {
695
+ "type": "string",
696
+ "minLength": 1
697
+ }
698
+ ]
699
+ },
700
+ "template": {
701
+ "description": "Template patterns for .env file names. Use [mode] as placeholder for the webpack mode. Defaults to ['.env', '.env.local', '.env.[mode]', '.env.[mode].local'].",
702
+ "type": "array",
703
+ "items": {
704
+ "description": "A template pattern for .env file names.",
705
+ "type": "string",
706
+ "minLength": 1
707
+ }
708
+ }
709
+ }
710
+ },
632
711
  "EmptyGeneratorOptions": {
633
712
  "description": "No generator options are supported for this module type.",
634
713
  "type": "object",
@@ -943,6 +1022,10 @@
943
1022
  "description": "The environment supports 'globalThis'.",
944
1023
  "type": "boolean"
945
1024
  },
1025
+ "importMetaDirnameAndFilename": {
1026
+ "description": "The environment supports `import.meta.dirname` and `import.meta.filename`.",
1027
+ "type": "boolean"
1028
+ },
946
1029
  "module": {
947
1030
  "description": "The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').",
948
1031
  "type": "boolean"
@@ -1294,7 +1377,10 @@
1294
1377
  "import",
1295
1378
  "module-import",
1296
1379
  "script",
1297
- "node-commonjs"
1380
+ "node-commonjs",
1381
+ "asset",
1382
+ "css-import",
1383
+ "css-url"
1298
1384
  ]
1299
1385
  },
1300
1386
  "Falsy": {
@@ -1375,8 +1461,7 @@
1375
1461
  {
1376
1462
  "description": "A path to an immutable directory (usually a package manager cache directory).",
1377
1463
  "type": "string",
1378
- "absolutePath": true,
1379
- "minLength": 1
1464
+ "absolutePath": true
1380
1465
  }
1381
1466
  ]
1382
1467
  }
@@ -1395,8 +1480,7 @@
1395
1480
  {
1396
1481
  "description": "A path to a managed directory (usually a node_modules directory).",
1397
1482
  "type": "string",
1398
- "absolutePath": true,
1399
- "minLength": 1
1483
+ "absolutePath": true
1400
1484
  }
1401
1485
  ]
1402
1486
  }
@@ -1569,20 +1653,7 @@
1569
1653
  },
1570
1654
  "HashDigest": {
1571
1655
  "description": "Digest types used for the hash.",
1572
- "enum": [
1573
- "base64",
1574
- "base64url",
1575
- "hex",
1576
- "binary",
1577
- "utf8",
1578
- "utf-8",
1579
- "utf16le",
1580
- "utf-16le",
1581
- "latin1",
1582
- "ascii",
1583
- "ucs2",
1584
- "ucs-2"
1585
- ]
1656
+ "type": "string"
1586
1657
  },
1587
1658
  "HashDigestLength": {
1588
1659
  "description": "Number of chars which are used for the hash.",
@@ -1920,6 +1991,11 @@
1920
1991
  "description": "Override the module to strict or non-strict. This may affect the behavior of the module (some behaviors differ between strict and non-strict), so please configure this option carefully.",
1921
1992
  "enum": ["strict", "non-strict"]
1922
1993
  },
1994
+ "parse": {
1995
+ "description": "Function to parser source code.",
1996
+ "instanceof": "Function",
1997
+ "tsType": "(import('../lib/javascript/JavascriptParser').ParseFunction)"
1998
+ },
1923
1999
  "reexportExportsPresence": {
1924
2000
  "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.",
1925
2001
  "enum": ["error", "warn", "auto", false]
@@ -2038,6 +2114,10 @@
2038
2114
  "description": "The depth of json dependency flagged as `exportInfo`.",
2039
2115
  "type": "number"
2040
2116
  },
2117
+ "namedExports": {
2118
+ "description": "Allow named exports for json of object type.",
2119
+ "type": "boolean"
2120
+ },
2041
2121
  "parse": {
2042
2122
  "description": "Function to parser content and return JSON.",
2043
2123
  "instanceof": "Function",
@@ -4405,8 +4485,7 @@
4405
4485
  },
4406
4486
  {
4407
4487
  "type": "string",
4408
- "absolutePath": true,
4409
- "minLength": 1
4488
+ "absolutePath": true
4410
4489
  }
4411
4490
  ]
4412
4491
  }
@@ -5011,8 +5090,7 @@
5011
5090
  {
5012
5091
  "description": "A path to an immutable directory (usually a package manager cache directory).",
5013
5092
  "type": "string",
5014
- "absolutePath": true,
5015
- "minLength": 1
5093
+ "absolutePath": true
5016
5094
  }
5017
5095
  ]
5018
5096
  }
@@ -5031,8 +5109,7 @@
5031
5109
  {
5032
5110
  "description": "A path to a managed directory (usually a node_modules directory).",
5033
5111
  "type": "string",
5034
- "absolutePath": true,
5035
- "minLength": 1
5112
+ "absolutePath": true
5036
5113
  }
5037
5114
  ]
5038
5115
  }
@@ -5096,8 +5173,7 @@
5096
5173
  {
5097
5174
  "description": "A path to an unmanaged directory.",
5098
5175
  "type": "string",
5099
- "absolutePath": true,
5100
- "minLength": 1
5176
+ "absolutePath": true
5101
5177
  }
5102
5178
  ]
5103
5179
  }
@@ -5813,6 +5889,9 @@
5813
5889
  "devtool": {
5814
5890
  "$ref": "#/definitions/DevTool"
5815
5891
  },
5892
+ "dotenv": {
5893
+ "$ref": "#/definitions/Dotenv"
5894
+ },
5816
5895
  "entry": {
5817
5896
  "$ref": "#/definitions/EntryNormalized"
5818
5897
  },
@@ -5963,6 +6042,9 @@
5963
6042
  "devtool": {
5964
6043
  "$ref": "#/definitions/DevTool"
5965
6044
  },
6045
+ "dotenv": {
6046
+ "$ref": "#/definitions/Dotenv"
6047
+ },
5966
6048
  "entry": {
5967
6049
  "$ref": "#/definitions/Entry"
5968
6050
  },
@@ -0,0 +1,7 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn fix:special` to update
5
+ */
6
+ declare const check: (options: import("../../declarations/plugins/ManifestPlugin").ManifestPluginOptions) => boolean;
7
+ export = check;
@@ -0,0 +1,6 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn fix:special` to update
5
+ */
6
+ const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(t,{instancePath:i="",parentData:n,parentDataProperty:o,rootData:s=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:"object"}}],!1;{const i=0;for(const r in t)if("entrypoints"!==r&&"filename"!==r&&"filter"!==r&&"generate"!==r&&"prefix"!==r&&"serialize"!==r)return e.errors=[{params:{additionalProperty:r}}],!1;if(0===i){if(void 0!==t.entrypoints){const r=0;if("boolean"!=typeof t.entrypoints)return e.errors=[{params:{type:"boolean"}}],!1;var a=0===r}else a=!0;if(a){if(void 0!==t.filename){let i=t.filename;const n=0;if(0===n){if("string"!=typeof i)return e.errors=[{params:{type:"string"}}],!1;if(i.includes("!")||!1!==r.test(i))return e.errors=[{params:{}}],!1;if(i.length<1)return e.errors=[{params:{}}],!1}a=0===n}else a=!0;if(a){if(void 0!==t.filter){const r=0;if(!(t.filter instanceof Function))return e.errors=[{params:{}}],!1;a=0===r}else a=!0;if(a){if(void 0!==t.generate){const r=0;if(!(t.generate instanceof Function))return e.errors=[{params:{}}],!1;a=0===r}else a=!0;if(a){if(void 0!==t.prefix){const r=0;if("string"!=typeof t.prefix)return e.errors=[{params:{type:"string"}}],!1;a=0===r}else a=!0;if(a)if(void 0!==t.serialize){const r=0;if(!(t.serialize instanceof Function))return e.errors=[{params:{}}],!1;a=0===r}else a=!0}}}}}}return e.errors=null,!0}module.exports=e,module.exports.default=e;
@@ -0,0 +1,98 @@
1
+ {
2
+ "definitions": {
3
+ "ManifestEntrypoint": {
4
+ "description": "Describes a manifest entrypoint.",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "imports": {
9
+ "description": "Contains the names of entrypoints.",
10
+ "type": "array",
11
+ "items": {
12
+ "description": "The name of file.",
13
+ "type": "string",
14
+ "minLength": 1
15
+ }
16
+ },
17
+ "parents": {
18
+ "description": "Contains the names of parent entrypoints.",
19
+ "type": "array",
20
+ "items": {
21
+ "description": "The entrypoint name.",
22
+ "type": "string",
23
+ "minLength": 1
24
+ }
25
+ }
26
+ },
27
+ "required": ["imports"]
28
+ },
29
+ "ManifestItem": {
30
+ "description": "Describes a manifest asset that links the emitted path to the producing asset.",
31
+ "type": "object",
32
+ "additionalProperties": false,
33
+ "properties": {
34
+ "file": {
35
+ "description": "The path absolute URL (this indicates that the path is absolute from the server's root directory) to file.",
36
+ "type": "string"
37
+ },
38
+ "src": {
39
+ "description": "The source path relative to the context.",
40
+ "type": "string"
41
+ }
42
+ },
43
+ "required": ["file"]
44
+ },
45
+ "ManifestObject": {
46
+ "description": "The manifest object.",
47
+ "type": "object",
48
+ "additionalProperties": true,
49
+ "properties": {
50
+ "assets": {
51
+ "description": "Contains the names of assets.",
52
+ "type": "object",
53
+ "tsType": "Record<string, ManifestItem>"
54
+ },
55
+ "entrypoints": {
56
+ "description": "Contains the names of entrypoints.",
57
+ "type": "object",
58
+ "tsType": "Record<string, ManifestEntrypoint>"
59
+ }
60
+ },
61
+ "required": ["assets", "entrypoints"]
62
+ }
63
+ },
64
+ "title": "ManifestPluginOptions",
65
+ "type": "object",
66
+ "additionalProperties": false,
67
+ "properties": {
68
+ "entrypoints": {
69
+ "description": "Enables/disables generation of the entrypoints manifest section.",
70
+ "type": "boolean"
71
+ },
72
+ "filename": {
73
+ "description": "Specifies the filename of the output file on disk. By default the plugin will emit `manifest.json` inside the 'output.path' directory.",
74
+ "type": "string",
75
+ "absolutePath": false,
76
+ "minLength": 1
77
+ },
78
+ "filter": {
79
+ "description": "Allows filtering the files which make up the manifest.",
80
+ "instanceof": "Function",
81
+ "tsType": "(item: ManifestItem) => boolean"
82
+ },
83
+ "generate": {
84
+ "description": "A function that receives the manifest object, modifies it, and returns the modified manifest.",
85
+ "instanceof": "Function",
86
+ "tsType": "(manifest: ManifestObject) => ManifestObject"
87
+ },
88
+ "prefix": {
89
+ "description": "Specifies a path prefix for all keys in the manifest.",
90
+ "type": "string"
91
+ },
92
+ "serialize": {
93
+ "description": "A function that receives the manifest object and returns the manifest string.",
94
+ "instanceof": "Function",
95
+ "tsType": "(manifest: ManifestObject) => string"
96
+ }
97
+ }
98
+ }
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn fix:special` to update
5
5
  */
6
- const e=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=l,module.exports.default=l;const n={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1},{instanceof:"Function"}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},debugIds:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}}},t=Object.prototype.hasOwnProperty;function s(e,{instancePath:n="",parentData:t,parentDataProperty:l,rootData:r=e}={}){let o=null,a=0;const i=a;let u=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let t=0;t<n;t++){let n=e[t];const s=a,l=a;let r=!1,i=null;const u=a,p=a;let c=!1;const m=a;if(!(n instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=m===a;if(c=c||f,!c){const e=a;if(a===e)if("string"==typeof n){if(n.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}if(f=e===a,c=c||f,!c){const e=a;if(!(n instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=e===a,c=c||f}}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u===a&&(r=!0,i=0),r)a=l,null!==o&&(l?o.length=l:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}if(s!==a)break}}else{const e={params:{type:"array"}};null===o?o=[e]:o.push(e),a++}var c=p===a;if(u=u||c,!u){const n=a,t=a;let s=!1;const l=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=l===a;if(s=s||m,!s){const n=a;if(a===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}if(m=n===a,s=s||m,!s){const n=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}m=n===a,s=s||m}}if(s)a=t,null!==o&&(t?o.length=t:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}c=n===a,u=u||c}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,s.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),s.errors=o,0===a}function l(r,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:u=r}={}){let p=null,f=0;if(0===f){if(!r||"object"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:"object"}}],!1;{const a=f;for(const e in r)if(!t.call(n.properties,e))return l.errors=[{params:{additionalProperty:e}}],!1;if(a===f){if(void 0!==r.append){let e=r.append;const n=f,t=f;let s=!1;const o=f;if(!1!==e&&null!==e){const e={params:{}};null===p?p=[e]:p.push(e),f++}var c=o===f;if(s=s||c,!s){const n=f;if(f===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}if(c=n===f,s=s||c,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}c=n===f,s=s||c}}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null);var m=n===f}else m=!0;if(m){if(void 0!==r.columns){const e=f;if("boolean"!=typeof r.columns)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.debugIds){const e=f;if("boolean"!=typeof r.debugIds)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.exclude){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.exclude,{instancePath:o+"/exclude",parentData:r,parentDataProperty:"exclude",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.fallbackModuleFilenameTemplate){let e=r.fallbackModuleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var h=o===f;if(s=s||h,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}h=n===f,s=s||h}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.fileContext){const e=f;if("string"!=typeof r.fileContext)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.filename){let n=r.filename;const t=f,s=f;let o=!1;const a=f;if(!1!==n&&null!==n){const e={params:{}};null===p?p=[e]:p.push(e),f++}var y=a===f;if(o=o||y,!o){const t=f;if(f===t)if("string"==typeof n){if(n.includes("!")||!1!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),f++}else if(n.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}y=t===f,o=o||y}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=s,null!==p&&(s?p.length=s:p=null),m=t===f}else m=!0;if(m){if(void 0!==r.include){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.include,{instancePath:o+"/include",parentData:r,parentDataProperty:"include",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.module){const e=f;if("boolean"!=typeof r.module)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.moduleFilenameTemplate){let e=r.moduleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var g=o===f;if(s=s||g,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}g=n===f,s=s||g}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.namespace){const e=f;if("string"!=typeof r.namespace)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.noSources){const e=f;if("boolean"!=typeof r.noSources)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.publicPath){const e=f;if("string"!=typeof r.publicPath)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.sourceRoot){const e=f;if("string"!=typeof r.sourceRoot)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m)if(void 0!==r.test){const e=f;s(r.test,{instancePath:o+"/test",parentData:r,parentDataProperty:"test",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),m=e===f}else m=!0}}}}}}}}}}}}}}}}return l.errors=p,0===f}
6
+ const n=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=l,module.exports.default=l;const e={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1},{instanceof:"Function"}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},debugIds:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},ignoreList:{oneOf:[{$ref:"#/definitions/rules"}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{oneOf:[{$ref:"#/definitions/rules"}]}}},t=Object.prototype.hasOwnProperty;function s(n,{instancePath:e="",parentData:t,parentDataProperty:l,rootData:r=n}={}){let o=null,a=0;const i=a;let u=!1;const p=a;if(a===p)if(Array.isArray(n)){const e=n.length;for(let t=0;t<e;t++){let e=n[t];const s=a,l=a;let r=!1,i=null;const u=a,p=a;let c=!1;const m=a;if(!(e instanceof RegExp)){const n={params:{}};null===o?o=[n]:o.push(n),a++}var f=m===a;if(c=c||f,!c){const n=a;if(a===n)if("string"==typeof e){if(e.length<1){const n={params:{}};null===o?o=[n]:o.push(n),a++}}else{const n={params:{type:"string"}};null===o?o=[n]:o.push(n),a++}if(f=n===a,c=c||f,!c){const n=a;if(!(e instanceof Function)){const n={params:{}};null===o?o=[n]:o.push(n),a++}f=n===a,c=c||f}}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const n={params:{}};null===o?o=[n]:o.push(n),a++}if(u===a&&(r=!0,i=0),r)a=l,null!==o&&(l?o.length=l:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),a++}if(s!==a)break}}else{const n={params:{type:"array"}};null===o?o=[n]:o.push(n),a++}var c=p===a;if(u=u||c,!u){const e=a,t=a;let s=!1;const l=a;if(!(n instanceof RegExp)){const n={params:{}};null===o?o=[n]:o.push(n),a++}var m=l===a;if(s=s||m,!s){const e=a;if(a===e)if("string"==typeof n){if(n.length<1){const n={params:{}};null===o?o=[n]:o.push(n),a++}}else{const n={params:{type:"string"}};null===o?o=[n]:o.push(n),a++}if(m=e===a,s=s||m,!s){const e=a;if(!(n instanceof Function)){const n={params:{}};null===o?o=[n]:o.push(n),a++}m=e===a,s=s||m}}if(s)a=t,null!==o&&(t?o.length=t:o=null);else{const n={params:{}};null===o?o=[n]:o.push(n),a++}c=e===a,u=u||c}if(!u){const n={params:{}};return null===o?o=[n]:o.push(n),a++,s.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),s.errors=o,0===a}function l(r,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:u=r}={}){let p=null,f=0;if(0===f){if(!r||"object"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:"object"}}],!1;{const a=f;for(const n in r)if(!t.call(e.properties,n))return l.errors=[{params:{additionalProperty:n}}],!1;if(a===f){if(void 0!==r.append){let n=r.append;const e=f,t=f;let s=!1;const o=f;if(!1!==n&&null!==n){const n={params:{}};null===p?p=[n]:p.push(n),f++}var c=o===f;if(s=s||c,!s){const e=f;if(f===e)if("string"==typeof n){if(n.length<1){const n={params:{}};null===p?p=[n]:p.push(n),f++}}else{const n={params:{type:"string"}};null===p?p=[n]:p.push(n),f++}if(c=e===f,s=s||c,!s){const e=f;if(!(n instanceof Function)){const n={params:{}};null===p?p=[n]:p.push(n),f++}c=e===f,s=s||c}}if(!s){const n={params:{}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null);var m=e===f}else m=!0;if(m){if(void 0!==r.columns){const n=f;if("boolean"!=typeof r.columns)return l.errors=[{params:{type:"boolean"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.debugIds){const n=f;if("boolean"!=typeof r.debugIds)return l.errors=[{params:{type:"boolean"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.exclude){const n=f,e=f;let t=!1,a=null;const i=f;if(s(r.exclude,{instancePath:o+"/exclude",parentData:r,parentDataProperty:"exclude",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const n={params:{passingSchemas:a}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=e,null!==p&&(e?p.length=e:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.fallbackModuleFilenameTemplate){let n=r.fallbackModuleFilenameTemplate;const e=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof n){if(n.length<1){const n={params:{}};null===p?p=[n]:p.push(n),f++}}else{const n={params:{type:"string"}};null===p?p=[n]:p.push(n),f++}var h=o===f;if(s=s||h,!s){const e=f;if(!(n instanceof Function)){const n={params:{}};null===p?p=[n]:p.push(n),f++}h=e===f,s=s||h}if(!s){const n={params:{}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.fileContext){const n=f;if("string"!=typeof r.fileContext)return l.errors=[{params:{type:"string"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.filename){let e=r.filename;const t=f,s=f;let o=!1;const a=f;if(!1!==e&&null!==e){const n={params:{}};null===p?p=[n]:p.push(n),f++}var g=a===f;if(o=o||g,!o){const t=f;if(f===t)if("string"==typeof e){if(e.includes("!")||!1!==n.test(e)){const n={params:{}};null===p?p=[n]:p.push(n),f++}else if(e.length<1){const n={params:{}};null===p?p=[n]:p.push(n),f++}}else{const n={params:{type:"string"}};null===p?p=[n]:p.push(n),f++}g=t===f,o=o||g}if(!o){const n={params:{}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=s,null!==p&&(s?p.length=s:p=null),m=t===f}else m=!0;if(m){if(void 0!==r.ignoreList){const n=f,e=f;let t=!1,a=null;const i=f;if(s(r.ignoreList,{instancePath:o+"/ignoreList",parentData:r,parentDataProperty:"ignoreList",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const n={params:{passingSchemas:a}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=e,null!==p&&(e?p.length=e:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.include){const n=f,e=f;let t=!1,a=null;const i=f;if(s(r.include,{instancePath:o+"/include",parentData:r,parentDataProperty:"include",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const n={params:{passingSchemas:a}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=e,null!==p&&(e?p.length=e:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.module){const n=f;if("boolean"!=typeof r.module)return l.errors=[{params:{type:"boolean"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.moduleFilenameTemplate){let n=r.moduleFilenameTemplate;const e=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof n){if(n.length<1){const n={params:{}};null===p?p=[n]:p.push(n),f++}}else{const n={params:{type:"string"}};null===p?p=[n]:p.push(n),f++}var y=o===f;if(s=s||y,!s){const e=f;if(!(n instanceof Function)){const n={params:{}};null===p?p=[n]:p.push(n),f++}y=e===f,s=s||y}if(!s){const n={params:{}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.namespace){const n=f;if("string"!=typeof r.namespace)return l.errors=[{params:{type:"string"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.noSources){const n=f;if("boolean"!=typeof r.noSources)return l.errors=[{params:{type:"boolean"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.publicPath){const n=f;if("string"!=typeof r.publicPath)return l.errors=[{params:{type:"string"}}],!1;m=n===f}else m=!0;if(m){if(void 0!==r.sourceRoot){const n=f;if("string"!=typeof r.sourceRoot)return l.errors=[{params:{type:"string"}}],!1;m=n===f}else m=!0;if(m)if(void 0!==r.test){const n=f,e=f;let t=!1,a=null;const i=f;if(s(r.test,{instancePath:o+"/test",parentData:r,parentDataProperty:"test",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const n={params:{passingSchemas:a}};return null===p?p=[n]:p.push(n),f++,l.errors=p,!1}f=e,null!==p&&(e?p.length=e:p=null),m=n===f}else m=!0}}}}}}}}}}}}}}}}}return l.errors=p,0===f}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "definitions": {
3
3
  "rule": {
4
- "description": "Include source maps for modules based on their extension (defaults to .js and .css).",
4
+ "description": "Condition used to match resource (string, RegExp or Function).",
5
5
  "anyOf": [
6
6
  {
7
7
  "instanceof": "RegExp",
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "rules": {
21
- "description": "Include source maps for modules based on their extension (defaults to .js and .css).",
21
+ "description": "One or multiple conditions used to match resource.",
22
22
  "anyOf": [
23
23
  {
24
24
  "type": "array",
@@ -106,6 +106,14 @@
106
106
  }
107
107
  ]
108
108
  },
109
+ "ignoreList": {
110
+ "description": "Decide whether to ignore source files that match the specified value in the SourceMap.",
111
+ "oneOf": [
112
+ {
113
+ "$ref": "#/definitions/rules"
114
+ }
115
+ ]
116
+ },
109
117
  "include": {
110
118
  "description": "Include source maps for module paths that match the given value.",
111
119
  "oneOf": [
@@ -149,7 +157,12 @@
149
157
  "type": "string"
150
158
  },
151
159
  "test": {
152
- "$ref": "#/definitions/rules"
160
+ "description": "Include source maps for modules based on their extension (defaults to .js and .css).",
161
+ "oneOf": [
162
+ {
163
+ "$ref": "#/definitions/rules"
164
+ }
165
+ ]
153
166
  }
154
167
  }
155
168
  }
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn fix:special` to update
5
5
  */
6
- "use strict";function r(t,{instancePath:e="",parentData:a,parentDataProperty:n,rootData:o=t}={}){if(!Array.isArray(t))return r.errors=[{params:{type:"array"}}],!1;{const e=t.length;for(let a=0;a<e;a++){let e=t[a];const n=0;if("string"!=typeof e)return r.errors=[{params:{type:"string"}}],!1;if(e.length<1)return r.errors=[{params:{}}],!1;if(0!==n)break}}return r.errors=null,!0}function t(e,{instancePath:a="",parentData:n,parentDataProperty:o,rootData:s=e}={}){let l=null,p=0;if(0===p){if(!e||"object"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:"object"}}],!1;{let n;if(void 0===e.external&&(n="external"))return t.errors=[{params:{missingProperty:n}}],!1;{const n=p;for(const r in e)if("external"!==r&&"shareScope"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(n===p){if(void 0!==e.external){let n=e.external;const o=p,u=p;let f=!1;const m=p;if(p==p)if("string"==typeof n){if(n.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}var i=m===p;if(f=f||i,!f){const t=p;r(n,{instancePath:a+"/external",parentData:e,parentDataProperty:"external",rootData:s})||(l=null===l?r.errors:l.concat(r.errors),p=l.length),i=t===p,f=f||i}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=u,null!==l&&(u?l.length=u:l=null);var c=o===p}else c=!0;if(c)if(void 0!==e.shareScope){let r=e.shareScope;const a=p;if(p===a){if("string"!=typeof r)return t.errors=[{params:{type:"string"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}c=a===p}else c=!0}}}}return t.errors=l,0===p}function e(a,{instancePath:n="",parentData:o,parentDataProperty:s,rootData:l=a}={}){let p=null,i=0;if(0===i){if(!a||"object"!=typeof a||Array.isArray(a))return e.errors=[{params:{type:"object"}}],!1;for(const o in a){let s=a[o];const u=i,f=i;let m=!1;const y=i;t(s,{instancePath:n+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:a,parentDataProperty:o,rootData:l})||(p=null===p?t.errors:p.concat(t.errors),i=p.length);var c=y===i;if(m=m||c,!m){const t=i;if(i==i)if("string"==typeof s){if(s.length<1){const r={params:{}};null===p?p=[r]:p.push(r),i++}}else{const r={params:{type:"string"}};null===p?p=[r]:p.push(r),i++}if(c=t===i,m=m||c,!m){const t=i;r(s,{instancePath:n+"/"+o.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:a,parentDataProperty:o,rootData:l})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),c=t===i,m=m||c}}if(!m){const r={params:{}};return null===p?p=[r]:p.push(r),i++,e.errors=p,!1}if(i=f,null!==p&&(f?p.length=f:p=null),u!==i)break}}return e.errors=p,0===i}function a(r,{instancePath:t="",parentData:n,parentDataProperty:o,rootData:s=r}={}){let l=null,p=0;const i=p;let c=!1;const u=p;if(p===u)if(Array.isArray(r)){const a=r.length;for(let n=0;n<a;n++){let a=r[n];const o=p,i=p;let c=!1;const u=p;if(p==p)if("string"==typeof a){if(a.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}var f=u===p;if(c=c||f,!c){const o=p;e(a,{instancePath:t+"/"+n,parentData:r,parentDataProperty:n,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),f=o===p,c=c||f}if(c)p=i,null!==l&&(i?l.length=i:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),p++}if(o!==p)break}}else{const r={params:{type:"array"}};null===l?l=[r]:l.push(r),p++}var m=u===p;if(c=c||m,!c){const a=p;e(r,{instancePath:t,parentData:n,parentDataProperty:o,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),m=a===p,c=c||m}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),p++,a.errors=l,!1}return p=i,null!==l&&(i?l.length=i:l=null),a.errors=l,0===p}function n(r,{instancePath:t="",parentData:e,parentDataProperty:o,rootData:s=r}={}){let l=null,p=0;if(0===p){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===r.remoteType&&(e="remoteType")||void 0===r.remotes&&(e="remotes"))return n.errors=[{params:{missingProperty:e}}],!1;{const e=p;for(const t in r)if("remoteType"!==t&&"remotes"!==t&&"shareScope"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(e===p){if(void 0!==r.remoteType){let t=r.remoteType;const e=p,a=p;let o=!1,s=null;const c=p;if("var"!==t&&"module"!==t&&"assign"!==t&&"this"!==t&&"window"!==t&&"self"!==t&&"global"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"commonjs-module"!==t&&"commonjs-static"!==t&&"amd"!==t&&"amd-require"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t&&"promise"!==t&&"import"!==t&&"module-import"!==t&&"script"!==t&&"node-commonjs"!==t){const r={params:{}};null===l?l=[r]:l.push(r),p++}if(c===p&&(o=!0,s=0),!o){const r={params:{passingSchemas:s}};return null===l?l=[r]:l.push(r),p++,n.errors=l,!1}p=a,null!==l&&(a?l.length=a:l=null);var i=e===p}else i=!0;if(i){if(void 0!==r.remotes){const e=p;a(r.remotes,{instancePath:t+"/remotes",parentData:r,parentDataProperty:"remotes",rootData:s})||(l=null===l?a.errors:l.concat(a.errors),p=l.length),i=e===p}else i=!0;if(i)if(void 0!==r.shareScope){let t=r.shareScope;const e=p;if(p===e){if("string"!=typeof t)return n.errors=[{params:{type:"string"}}],!1;if(t.length<1)return n.errors=[{params:{}}],!1}i=e===p}else i=!0}}}}}return n.errors=l,0===p}module.exports=n,module.exports.default=n;
6
+ "use strict";function r(t,{instancePath:e="",parentData:a,parentDataProperty:n,rootData:s=t}={}){if(!Array.isArray(t))return r.errors=[{params:{type:"array"}}],!1;{const e=t.length;for(let a=0;a<e;a++){let e=t[a];const n=0;if("string"!=typeof e)return r.errors=[{params:{type:"string"}}],!1;if(e.length<1)return r.errors=[{params:{}}],!1;if(0!==n)break}}return r.errors=null,!0}function t(e,{instancePath:a="",parentData:n,parentDataProperty:s,rootData:o=e}={}){let l=null,p=0;if(0===p){if(!e||"object"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:"object"}}],!1;{let n;if(void 0===e.external&&(n="external"))return t.errors=[{params:{missingProperty:n}}],!1;{const n=p;for(const r in e)if("external"!==r&&"shareScope"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(n===p){if(void 0!==e.external){let n=e.external;const s=p,u=p;let f=!1;const m=p;if(p==p)if("string"==typeof n){if(n.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}var i=m===p;if(f=f||i,!f){const t=p;r(n,{instancePath:a+"/external",parentData:e,parentDataProperty:"external",rootData:o})||(l=null===l?r.errors:l.concat(r.errors),p=l.length),i=t===p,f=f||i}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=u,null!==l&&(u?l.length=u:l=null);var c=s===p}else c=!0;if(c)if(void 0!==e.shareScope){let r=e.shareScope;const a=p;if(p===a){if("string"!=typeof r)return t.errors=[{params:{type:"string"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}c=a===p}else c=!0}}}}return t.errors=l,0===p}function e(a,{instancePath:n="",parentData:s,parentDataProperty:o,rootData:l=a}={}){let p=null,i=0;if(0===i){if(!a||"object"!=typeof a||Array.isArray(a))return e.errors=[{params:{type:"object"}}],!1;for(const s in a){let o=a[s];const u=i,f=i;let m=!1;const y=i;t(o,{instancePath:n+"/"+s.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:a,parentDataProperty:s,rootData:l})||(p=null===p?t.errors:p.concat(t.errors),i=p.length);var c=y===i;if(m=m||c,!m){const t=i;if(i==i)if("string"==typeof o){if(o.length<1){const r={params:{}};null===p?p=[r]:p.push(r),i++}}else{const r={params:{type:"string"}};null===p?p=[r]:p.push(r),i++}if(c=t===i,m=m||c,!m){const t=i;r(o,{instancePath:n+"/"+s.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:a,parentDataProperty:s,rootData:l})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),c=t===i,m=m||c}}if(!m){const r={params:{}};return null===p?p=[r]:p.push(r),i++,e.errors=p,!1}if(i=f,null!==p&&(f?p.length=f:p=null),u!==i)break}}return e.errors=p,0===i}function a(r,{instancePath:t="",parentData:n,parentDataProperty:s,rootData:o=r}={}){let l=null,p=0;const i=p;let c=!1;const u=p;if(p===u)if(Array.isArray(r)){const a=r.length;for(let n=0;n<a;n++){let a=r[n];const s=p,i=p;let c=!1;const u=p;if(p==p)if("string"==typeof a){if(a.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),p++}var f=u===p;if(c=c||f,!c){const s=p;e(a,{instancePath:t+"/"+n,parentData:r,parentDataProperty:n,rootData:o})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),f=s===p,c=c||f}if(c)p=i,null!==l&&(i?l.length=i:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),p++}if(s!==p)break}}else{const r={params:{type:"array"}};null===l?l=[r]:l.push(r),p++}var m=u===p;if(c=c||m,!c){const a=p;e(r,{instancePath:t,parentData:n,parentDataProperty:s,rootData:o})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),m=a===p,c=c||m}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),p++,a.errors=l,!1}return p=i,null!==l&&(i?l.length=i:l=null),a.errors=l,0===p}function n(r,{instancePath:t="",parentData:e,parentDataProperty:s,rootData:o=r}={}){let l=null,p=0;if(0===p){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;{let e;if(void 0===r.remoteType&&(e="remoteType")||void 0===r.remotes&&(e="remotes"))return n.errors=[{params:{missingProperty:e}}],!1;{const e=p;for(const t in r)if("remoteType"!==t&&"remotes"!==t&&"shareScope"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(e===p){if(void 0!==r.remoteType){let t=r.remoteType;const e=p,a=p;let s=!1,o=null;const c=p;if("var"!==t&&"module"!==t&&"assign"!==t&&"this"!==t&&"window"!==t&&"self"!==t&&"global"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"commonjs-module"!==t&&"commonjs-static"!==t&&"amd"!==t&&"amd-require"!==t&&"umd"!==t&&"umd2"!==t&&"jsonp"!==t&&"system"!==t&&"promise"!==t&&"import"!==t&&"module-import"!==t&&"script"!==t&&"node-commonjs"!==t&&"asset"!==t&&"css-import"!==t&&"css-url"!==t){const r={params:{}};null===l?l=[r]:l.push(r),p++}if(c===p&&(s=!0,o=0),!s){const r={params:{passingSchemas:o}};return null===l?l=[r]:l.push(r),p++,n.errors=l,!1}p=a,null!==l&&(a?l.length=a:l=null);var i=e===p}else i=!0;if(i){if(void 0!==r.remotes){const e=p;a(r.remotes,{instancePath:t+"/remotes",parentData:r,parentDataProperty:"remotes",rootData:o})||(l=null===l?a.errors:l.concat(a.errors),p=l.length),i=e===p}else i=!0;if(i)if(void 0!==r.shareScope){let t=r.shareScope;const e=p;if(p===e){if("string"!=typeof t)return n.errors=[{params:{type:"string"}}],!1;if(t.length<1)return n.errors=[{params:{}}],!1}i=e===p}else i=!0}}}}}return n.errors=l,0===p}module.exports=n,module.exports.default=n;
@@ -24,7 +24,10 @@
24
24
  "import",
25
25
  "module-import",
26
26
  "script",
27
- "node-commonjs"
27
+ "node-commonjs",
28
+ "asset",
29
+ "css-import",
30
+ "css-url"
28
31
  ]
29
32
  },
30
33
  "Remotes": {
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn fix:special` to update
5
5
  */
6
- "use strict";function o(m,{instancePath:r="",parentData:s,parentDataProperty:t,rootData:e=m}={}){return"var"!==m&&"module"!==m&&"assign"!==m&&"this"!==m&&"window"!==m&&"self"!==m&&"global"!==m&&"commonjs"!==m&&"commonjs2"!==m&&"commonjs-module"!==m&&"commonjs-static"!==m&&"amd"!==m&&"amd-require"!==m&&"umd"!==m&&"umd2"!==m&&"jsonp"!==m&&"system"!==m&&"promise"!==m&&"import"!==m&&"module-import"!==m&&"script"!==m&&"node-commonjs"!==m?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}module.exports=o,module.exports.default=o;
6
+ "use strict";function o(s,{instancePath:r="",parentData:m,parentDataProperty:t,rootData:e=s}={}){return"var"!==s&&"module"!==s&&"assign"!==s&&"this"!==s&&"window"!==s&&"self"!==s&&"global"!==s&&"commonjs"!==s&&"commonjs2"!==s&&"commonjs-module"!==s&&"commonjs-static"!==s&&"amd"!==s&&"amd-require"!==s&&"umd"!==s&&"umd2"!==s&&"jsonp"!==s&&"system"!==s&&"promise"!==s&&"import"!==s&&"module-import"!==s&&"script"!==s&&"node-commonjs"!==s&&"asset"!==s&&"css-import"!==s&&"css-url"!==s?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}module.exports=o,module.exports.default=o;