@module-federation/enhanced 2.0.1 → 2.2.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 (285) hide show
  1. package/dist/CHANGELOG.md +2357 -0
  2. package/dist/README.md +213 -0
  3. package/dist/rstestmigrate.md +140 -0
  4. package/dist/src/_virtual/_rolldown/runtime.js +47 -0
  5. package/dist/src/index.d.ts +22 -19
  6. package/dist/src/index.js +47 -43
  7. package/dist/src/index.js.map +1 -1
  8. package/dist/src/lib/Constants.d.ts +25 -29
  9. package/dist/src/lib/Constants.js +136 -116
  10. package/dist/src/lib/Constants.js.map +1 -1
  11. package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +20 -16
  12. package/dist/src/lib/container/AsyncBoundaryPlugin.js +137 -196
  13. package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -1
  14. package/dist/src/lib/container/ContainerEntryDependency.d.ts +28 -23
  15. package/dist/src/lib/container/ContainerEntryDependency.js +39 -39
  16. package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
  17. package/dist/src/lib/container/ContainerEntryModule.d.ts +93 -84
  18. package/dist/src/lib/container/ContainerEntryModule.js +219 -234
  19. package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
  20. package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +15 -10
  21. package/dist/src/lib/container/ContainerEntryModuleFactory.js +21 -25
  22. package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
  23. package/dist/src/lib/container/ContainerExposedDependency.d.ts +29 -24
  24. package/dist/src/lib/container/ContainerExposedDependency.js +47 -47
  25. package/dist/src/lib/container/ContainerExposedDependency.js.map +1 -1
  26. package/dist/src/lib/container/ContainerPlugin.d.ts +12 -8
  27. package/dist/src/lib/container/ContainerPlugin.js +147 -211
  28. package/dist/src/lib/container/ContainerPlugin.js.map +1 -1
  29. package/dist/src/lib/container/ContainerReferencePlugin.d.ts +16 -12
  30. package/dist/src/lib/container/ContainerReferencePlugin.js +74 -102
  31. package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -1
  32. package/dist/src/lib/container/FallbackDependency.d.ts +24 -19
  33. package/dist/src/lib/container/FallbackDependency.js +46 -44
  34. package/dist/src/lib/container/FallbackDependency.js.map +1 -1
  35. package/dist/src/lib/container/FallbackItemDependency.d.ts +13 -8
  36. package/dist/src/lib/container/FallbackItemDependency.js +24 -24
  37. package/dist/src/lib/container/FallbackItemDependency.js.map +1 -1
  38. package/dist/src/lib/container/FallbackModule.d.ts +82 -71
  39. package/dist/src/lib/container/FallbackModule.js +133 -145
  40. package/dist/src/lib/container/FallbackModule.js.map +1 -1
  41. package/dist/src/lib/container/FallbackModuleFactory.d.ts +15 -10
  42. package/dist/src/lib/container/FallbackModuleFactory.js +20 -24
  43. package/dist/src/lib/container/FallbackModuleFactory.js.map +1 -1
  44. package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +11 -7
  45. package/dist/src/lib/container/HoistContainerReferencesPlugin.js +125 -188
  46. package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -1
  47. package/dist/src/lib/container/ModuleFederationPlugin.d.ts +20 -16
  48. package/dist/src/lib/container/ModuleFederationPlugin.js +143 -180
  49. package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
  50. package/dist/src/lib/container/RemoteModule.d.ts +79 -74
  51. package/dist/src/lib/container/RemoteModule.js +143 -153
  52. package/dist/src/lib/container/RemoteModule.js.map +1 -1
  53. package/dist/src/lib/container/RemoteRuntimeModule.d.ts +12 -7
  54. package/dist/src/lib/container/RemoteRuntimeModule.js +86 -120
  55. package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -1
  56. package/dist/src/lib/container/RemoteToExternalDependency.d.ts +13 -8
  57. package/dist/src/lib/container/RemoteToExternalDependency.js +25 -23
  58. package/dist/src/lib/container/RemoteToExternalDependency.js.map +1 -1
  59. package/dist/src/lib/container/constant.d.ts +3 -0
  60. package/dist/src/lib/container/constant.js +11 -14
  61. package/dist/src/lib/container/constant.js.map +1 -1
  62. package/dist/src/lib/container/options.d.ts +7 -3
  63. package/dist/src/lib/container/options.js +51 -69
  64. package/dist/src/lib/container/options.js.map +1 -1
  65. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.d.ts +14 -9
  66. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js +56 -64
  67. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js.map +1 -1
  68. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.d.ts +23 -19
  69. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js +71 -101
  70. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js.map +1 -1
  71. package/dist/src/lib/container/runtime/FederationModulesPlugin.d.ts +20 -16
  72. package/dist/src/lib/container/runtime/FederationModulesPlugin.js +55 -47
  73. package/dist/src/lib/container/runtime/FederationModulesPlugin.js.map +1 -1
  74. package/dist/src/lib/container/runtime/FederationRuntimeDependency.d.ts +9 -4
  75. package/dist/src/lib/container/runtime/FederationRuntimeDependency.js +16 -12
  76. package/dist/src/lib/container/runtime/FederationRuntimeDependency.js.map +1 -1
  77. package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +16 -11
  78. package/dist/src/lib/container/runtime/FederationRuntimeModule.js +39 -46
  79. package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -1
  80. package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +31 -18
  81. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +266 -345
  82. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -1
  83. package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +9 -4
  84. package/dist/src/lib/container/runtime/getFederationGlobal.js +43 -41
  85. package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -1
  86. package/dist/src/lib/container/runtime/utils.d.ts +24 -13
  87. package/dist/src/lib/container/runtime/utils.js +83 -101
  88. package/dist/src/lib/container/runtime/utils.js.map +1 -1
  89. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +15 -10
  90. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +27 -25
  91. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +1 -1
  92. package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +77 -68
  93. package/dist/src/lib/sharing/ConsumeSharedModule.js +186 -214
  94. package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -1
  95. package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +13 -9
  96. package/dist/src/lib/sharing/ConsumeSharedPlugin.js +308 -475
  97. package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
  98. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +16 -11
  99. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +107 -125
  100. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
  101. package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +14 -9
  102. package/dist/src/lib/sharing/ProvideForSharedDependency.js +25 -25
  103. package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +1 -1
  104. package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +44 -39
  105. package/dist/src/lib/sharing/ProvideSharedDependency.js +72 -76
  106. package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -1
  107. package/dist/src/lib/sharing/ProvideSharedModule.d.ts +91 -82
  108. package/dist/src/lib/sharing/ProvideSharedModule.js +177 -184
  109. package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -1
  110. package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +14 -9
  111. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +19 -25
  112. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -1
  113. package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +27 -21
  114. package/dist/src/lib/sharing/ProvideSharedPlugin.js +341 -550
  115. package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
  116. package/dist/src/lib/sharing/SharePlugin.d.ts +53 -49
  117. package/dist/src/lib/sharing/SharePlugin.js +86 -100
  118. package/dist/src/lib/sharing/SharePlugin.js.map +1 -1
  119. package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +12 -7
  120. package/dist/src/lib/sharing/ShareRuntimeModule.js +81 -100
  121. package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -1
  122. package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +11 -7
  123. package/dist/src/lib/sharing/resolveMatchedConfigs.js +58 -71
  124. package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +1 -1
  125. package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.d.ts +18 -14
  126. package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js +74 -128
  127. package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js.map +1 -1
  128. package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.d.ts +39 -34
  129. package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js +234 -322
  130. package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js.map +1 -1
  131. package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.d.ts +16 -11
  132. package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js +30 -28
  133. package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js.map +1 -1
  134. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.d.ts +28 -24
  135. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js +91 -95
  136. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js.map +1 -1
  137. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.d.ts +29 -24
  138. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js +47 -43
  139. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js.map +1 -1
  140. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.d.ts +20 -15
  141. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js +33 -29
  142. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js.map +1 -1
  143. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.d.ts +85 -77
  144. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js +141 -153
  145. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js.map +1 -1
  146. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.d.ts +15 -10
  147. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js +20 -24
  148. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js.map +1 -1
  149. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.d.ts +21 -16
  150. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js +157 -231
  151. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js.map +1 -1
  152. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.d.ts +14 -9
  153. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js +26 -27
  154. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js.map +1 -1
  155. package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.d.ts +18 -13
  156. package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js +41 -49
  157. package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js.map +1 -1
  158. package/dist/src/lib/sharing/utils.d.ts +27 -24
  159. package/dist/src/lib/sharing/utils.js +224 -367
  160. package/dist/src/lib/sharing/utils.js.map +1 -1
  161. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.d.ts +11 -7
  162. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js +56 -75
  163. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js.map +1 -1
  164. package/dist/src/lib/startup/StartupHelpers.d.ts +11 -6
  165. package/dist/src/lib/startup/StartupHelpers.js +128 -178
  166. package/dist/src/lib/startup/StartupHelpers.js.map +1 -1
  167. package/dist/src/prefetch.d.ts +3 -2
  168. package/dist/src/prefetch.js +17 -8
  169. package/dist/src/rspack.d.ts +3 -2
  170. package/dist/src/rspack.js +35 -11
  171. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +8 -4
  172. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +19 -16
  173. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +1 -1
  174. package/dist/src/runtime.d.ts +1 -1
  175. package/dist/src/runtime.js +11 -18
  176. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +13 -5
  177. package/dist/src/schemas/container/ContainerPlugin.check.js +958 -1218
  178. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
  179. package/dist/src/schemas/container/ContainerPlugin.d.ts +271 -268
  180. package/dist/src/schemas/container/ContainerPlugin.js +273 -361
  181. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
  182. package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +13 -5
  183. package/dist/src/schemas/container/ContainerReferencePlugin.check.js +335 -443
  184. package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -1
  185. package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +102 -99
  186. package/dist/src/schemas/container/ContainerReferencePlugin.js +122 -162
  187. package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -1
  188. package/dist/src/schemas/container/ExternalsType.check.d.ts +13 -5
  189. package/dist/src/schemas/container/ExternalsType.check.js +36 -62
  190. package/dist/src/schemas/container/ExternalsType.check.js.map +1 -1
  191. package/dist/src/schemas/container/ExternalsType.d.ts +5 -2
  192. package/dist/src/schemas/container/ExternalsType.js +8 -11
  193. package/dist/src/schemas/container/ExternalsType.js.map +1 -1
  194. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3001 -4812
  195. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
  196. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +819 -814
  197. package/dist/src/schemas/container/ModuleFederationPlugin.js +780 -1053
  198. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
  199. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.d.ts +13 -5
  200. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +568 -768
  201. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -1
  202. package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +197 -194
  203. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +212 -238
  204. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -1
  205. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +13 -5
  206. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +598 -804
  207. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -1
  208. package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +184 -181
  209. package/dist/src/schemas/sharing/ProvideSharedPlugin.js +196 -229
  210. package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -1
  211. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +12 -4
  212. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +285 -482
  213. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -1
  214. package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +103 -100
  215. package/dist/src/schemas/sharing/ProviderSharedPlugin.js +104 -126
  216. package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -1
  217. package/dist/src/schemas/sharing/SharePlugin.check.d.ts +13 -5
  218. package/dist/src/schemas/sharing/SharePlugin.check.js +749 -965
  219. package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -1
  220. package/dist/src/schemas/sharing/SharePlugin.d.ts +245 -242
  221. package/dist/src/schemas/sharing/SharePlugin.js +256 -293
  222. package/dist/src/schemas/sharing/SharePlugin.js.map +1 -1
  223. package/dist/src/utils.d.ts +3 -0
  224. package/dist/src/utils.js +35 -26
  225. package/dist/src/utils.js.map +1 -1
  226. package/dist/src/webpack.d.ts +2 -2
  227. package/dist/src/webpack.js +6 -40
  228. package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +9 -4
  229. package/dist/src/wrapper/AsyncBoundaryPlugin.js +12 -11
  230. package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -1
  231. package/dist/src/wrapper/BaseWrapperPlugin.d.ts +18 -13
  232. package/dist/src/wrapper/BaseWrapperPlugin.js +39 -39
  233. package/dist/src/wrapper/BaseWrapperPlugin.js.map +1 -1
  234. package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +10 -4
  235. package/dist/src/wrapper/ConsumeSharedPlugin.js +12 -11
  236. package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -1
  237. package/dist/src/wrapper/ContainerPlugin.d.ts +9 -4
  238. package/dist/src/wrapper/ContainerPlugin.js +12 -11
  239. package/dist/src/wrapper/ContainerPlugin.js.map +1 -1
  240. package/dist/src/wrapper/ContainerReferencePlugin.d.ts +9 -4
  241. package/dist/src/wrapper/ContainerReferencePlugin.js +12 -11
  242. package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -1
  243. package/dist/src/wrapper/FederationModulesPlugin.d.ts +18 -10
  244. package/dist/src/wrapper/FederationModulesPlugin.js +19 -19
  245. package/dist/src/wrapper/FederationModulesPlugin.js.map +1 -1
  246. package/dist/src/wrapper/FederationRuntimePlugin.d.ts +11 -6
  247. package/dist/src/wrapper/FederationRuntimePlugin.js +18 -17
  248. package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -1
  249. package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +8 -3
  250. package/dist/src/wrapper/HoistContainerReferencesPlugin.js +12 -11
  251. package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -1
  252. package/dist/src/wrapper/ModuleFederationPlugin.d.ts +12 -7
  253. package/dist/src/wrapper/ModuleFederationPlugin.js +73 -99
  254. package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -1
  255. package/dist/src/wrapper/ProvideSharedPlugin.d.ts +10 -4
  256. package/dist/src/wrapper/ProvideSharedPlugin.js +12 -11
  257. package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -1
  258. package/dist/src/wrapper/SharePlugin.d.ts +10 -4
  259. package/dist/src/wrapper/SharePlugin.js +12 -11
  260. package/dist/src/wrapper/SharePlugin.js.map +1 -1
  261. package/dist/src/wrapper/TreeShakingSharedPlugin.d.ts +9 -4
  262. package/dist/src/wrapper/TreeShakingSharedPlugin.js +12 -11
  263. package/dist/src/wrapper/TreeShakingSharedPlugin.js.map +1 -1
  264. package/package.json +21 -14
  265. package/dist/package.json +0 -110
  266. package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +0 -57
  267. package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +0 -33
  268. package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +0 -4
  269. package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +0 -28
  270. package/dist/src/declarations/plugins/container/Template.d.ts +0 -198
  271. package/dist/src/declarations/plugins/container/WebpackError.d.ts +0 -33
  272. package/dist/src/declarations/plugins/sharing/ConsumeSharedModule.d.ts +0 -86
  273. package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +0 -100
  274. package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +0 -102
  275. package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +0 -116
  276. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.d.ts +0 -20
  277. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js +0 -219
  278. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js.map +0 -1
  279. package/dist/src/prefetch.js.map +0 -1
  280. package/dist/src/rspack.js.map +0 -1
  281. package/dist/src/runtime.js.map +0 -1
  282. package/dist/src/types/runtime.d.ts +0 -10
  283. package/dist/src/types/runtime.js +0 -3
  284. package/dist/src/types/runtime.js.map +0 -1
  285. package/dist/src/webpack.js.map +0 -1
@@ -1,809 +1,603 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validate = void 0;
4
- // @ts-nocheck
5
- /* eslint-disable */
6
- /*
7
- * This file was automatically generated.
8
- * DO NOT MODIFY BY HAND.
9
- */
10
- exports.validate = o;
11
- exports.default = o;
12
- const r = {
13
- type: 'object',
14
- additionalProperties: !1,
15
- properties: {
16
- eager: { type: 'boolean' },
17
- shareKey: { type: 'string', minLength: 1 },
18
- request: { type: 'string', minLength: 1 },
19
- shareScope: {
20
- anyOf: [
21
- { type: 'string', minLength: 1 },
22
- { type: 'array', items: { type: 'string', minLength: 1 } },
23
- ],
24
- },
25
- requiredVersion: { anyOf: [{ enum: [!1] }, { type: 'string' }] },
26
- strictVersion: { type: 'boolean' },
27
- singleton: { type: 'boolean' },
28
- layer: { type: 'string', minLength: 1 },
29
- issuerLayer: { type: 'string', minLength: 1 },
30
- version: { anyOf: [{ enum: [!1] }, { type: 'string' }] },
31
- exclude: { $ref: '#/definitions/IncludeExcludeOptions' },
32
- include: { $ref: '#/definitions/IncludeExcludeOptions' },
33
- allowNodeModulesSuffixMatch: { type: 'boolean' },
34
- treeShakingMode: {
35
- type: 'string',
36
- enum: ['server-calc', 'runtime-infer'],
37
- },
38
- },
39
- }, e = Object.prototype.hasOwnProperty;
40
- function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, rootData: a = s, } = {}) {
41
- let l = null, p = 0;
42
- if (0 === p) {
43
- if (!s || 'object' != typeof s || Array.isArray(s))
44
- return (t.errors = [{ params: { type: 'object' } }]), !1;
45
- {
46
- const n = p;
47
- for (const n in s)
48
- if (!e.call(r.properties, n))
49
- return (t.errors = [{ params: { additionalProperty: n } }]), !1;
50
- if (n === p) {
51
- if (void 0 !== s.eager) {
52
- const r = p;
53
- if ('boolean' != typeof s.eager)
54
- return (t.errors = [{ params: { type: 'boolean' } }]), !1;
55
- var f = r === p;
56
- }
57
- else
58
- f = !0;
59
- if (f) {
60
- if (void 0 !== s.shareKey) {
61
- let r = s.shareKey;
62
- const e = p;
63
- if (p === e) {
64
- if ('string' != typeof r)
65
- return (t.errors = [{ params: { type: 'string' } }]), !1;
66
- if (r.length < 1)
67
- return (t.errors = [{ params: {} }]), !1;
68
- }
69
- f = e === p;
70
- }
71
- else
72
- f = !0;
73
- if (f) {
74
- if (void 0 !== s.request) {
75
- let r = s.request;
76
- const e = p;
77
- if (p === e) {
78
- if ('string' != typeof r)
79
- return (t.errors = [{ params: { type: 'string' } }]), !1;
80
- if (r.length < 1)
81
- return (t.errors = [{ params: {} }]), !1;
82
- }
83
- f = e === p;
84
- }
85
- else
86
- f = !0;
87
- if (f) {
88
- if (void 0 !== s.shareScope) {
89
- let r = s.shareScope;
90
- const e = p, n = p;
91
- let o = !1;
92
- const i = p;
93
- if (p === i)
94
- if ('string' == typeof r) {
95
- if (r.length < 1) {
96
- const r = { params: {} };
97
- null === l ? (l = [r]) : l.push(r), p++;
98
- }
99
- }
100
- else {
101
- const r = { params: { type: 'string' } };
102
- null === l ? (l = [r]) : l.push(r), p++;
103
- }
104
- var u = i === p;
105
- if (((o = o || u), !o)) {
106
- const e = p;
107
- if (p === e)
108
- if (Array.isArray(r)) {
109
- const e = r.length;
110
- for (let t = 0; t < e; t++) {
111
- let e = r[t];
112
- const s = p;
113
- if (p === s)
114
- if ('string' == typeof e) {
115
- if (e.length < 1) {
116
- const r = { params: {} };
117
- null === l ? (l = [r]) : l.push(r), p++;
118
- }
119
- }
120
- else {
121
- const r = { params: { type: 'string' } };
122
- null === l ? (l = [r]) : l.push(r), p++;
123
- }
124
- if (s !== p)
125
- break;
126
- }
127
- }
128
- else {
129
- const r = { params: { type: 'array' } };
130
- null === l ? (l = [r]) : l.push(r), p++;
131
- }
132
- (u = e === p), (o = o || u);
133
- }
134
- if (!o) {
135
- const r = { params: {} };
136
- return (null === l ? (l = [r]) : l.push(r), p++, (t.errors = l), !1);
137
- }
138
- (p = n),
139
- null !== l && (n ? (l.length = n) : (l = null)),
140
- (f = e === p);
141
- }
142
- else
143
- f = !0;
144
- if (f) {
145
- if (void 0 !== s.requiredVersion) {
146
- let e = s.requiredVersion;
147
- const n = p, o = p;
148
- let i = !1;
149
- const a = p;
150
- if (!1 !== e) {
151
- const e = {
152
- params: {
153
- allowedValues: r.properties.requiredVersion.anyOf[0].enum,
154
- },
155
- };
156
- null === l ? (l = [e]) : l.push(e), p++;
157
- }
158
- var c = a === p;
159
- if (((i = i || c), !i)) {
160
- const r = p;
161
- if ('string' != typeof e) {
162
- const r = { params: { type: 'string' } };
163
- null === l ? (l = [r]) : l.push(r), p++;
164
- }
165
- (c = r === p), (i = i || c);
166
- }
167
- if (!i) {
168
- const r = { params: {} };
169
- return (null === l ? (l = [r]) : l.push(r),
170
- p++,
171
- (t.errors = l),
172
- !1);
173
- }
174
- (p = o),
175
- null !== l && (o ? (l.length = o) : (l = null)),
176
- (f = n === p);
177
- }
178
- else
179
- f = !0;
180
- if (f) {
181
- if (void 0 !== s.strictVersion) {
182
- const r = p;
183
- if ('boolean' != typeof s.strictVersion)
184
- return (t.errors = [{ params: { type: 'boolean' } }]), !1;
185
- f = r === p;
186
- }
187
- else
188
- f = !0;
189
- if (f) {
190
- if (void 0 !== s.singleton) {
191
- const r = p;
192
- if ('boolean' != typeof s.singleton)
193
- return ((t.errors = [{ params: { type: 'boolean' } }]), !1);
194
- f = r === p;
195
- }
196
- else
197
- f = !0;
198
- if (f) {
199
- if (void 0 !== s.layer) {
200
- let r = s.layer;
201
- const e = p;
202
- if (p === e) {
203
- if ('string' != typeof r)
204
- return ((t.errors = [{ params: { type: 'string' } }]), !1);
205
- if (r.length < 1)
206
- return (t.errors = [{ params: {} }]), !1;
207
- }
208
- f = e === p;
209
- }
210
- else
211
- f = !0;
212
- if (f) {
213
- if (void 0 !== s.issuerLayer) {
214
- let r = s.issuerLayer;
215
- const e = p;
216
- if (p === e) {
217
- if ('string' != typeof r)
218
- return ((t.errors = [{ params: { type: 'string' } }]),
219
- !1);
220
- if (r.length < 1)
221
- return (t.errors = [{ params: {} }]), !1;
222
- }
223
- f = e === p;
224
- }
225
- else
226
- f = !0;
227
- if (f) {
228
- if (void 0 !== s.version) {
229
- let e = s.version;
230
- const n = p, o = p;
231
- let i = !1;
232
- const a = p;
233
- if (!1 !== e) {
234
- const e = {
235
- params: {
236
- allowedValues: r.properties.version.anyOf[0].enum,
237
- },
238
- };
239
- null === l ? (l = [e]) : l.push(e), p++;
240
- }
241
- var y = a === p;
242
- if (((i = i || y), !i)) {
243
- const r = p;
244
- if ('string' != typeof e) {
245
- const r = { params: { type: 'string' } };
246
- null === l ? (l = [r]) : l.push(r), p++;
247
- }
248
- (y = r === p), (i = i || y);
249
- }
250
- if (!i) {
251
- const r = { params: {} };
252
- return (null === l ? (l = [r]) : l.push(r),
253
- p++,
254
- (t.errors = l),
255
- !1);
256
- }
257
- (p = o),
258
- null !== l && (o ? (l.length = o) : (l = null)),
259
- (f = n === p);
260
- }
261
- else
262
- f = !0;
263
- if (f) {
264
- if (void 0 !== s.exclude) {
265
- let r = s.exclude;
266
- const e = p, n = p, o = p;
267
- let i = !1;
268
- const a = p;
269
- if (r &&
270
- 'object' == typeof r &&
271
- !Array.isArray(r)) {
272
- let e;
273
- if (void 0 === r.request && (e = 'request')) {
274
- const r = { params: { missingProperty: e } };
275
- null === l ? (l = [r]) : l.push(r), p++;
276
- }
277
- }
278
- var g = a === p;
279
- if (((i = i || g), !i)) {
280
- const e = p;
281
- if (r &&
282
- 'object' == typeof r &&
283
- !Array.isArray(r)) {
284
- let e;
285
- if (void 0 === r.version && (e = 'version')) {
286
- const r = {
287
- params: { missingProperty: e },
288
- };
289
- null === l ? (l = [r]) : l.push(r), p++;
290
- }
291
- }
292
- (g = e === p), (i = i || g);
293
- }
294
- if (!i) {
295
- const r = { params: {} };
296
- return (null === l ? (l = [r]) : l.push(r),
297
- p++,
298
- (t.errors = l),
299
- !1);
300
- }
301
- if (((p = o),
302
- null !== l && (o ? (l.length = o) : (l = null)),
303
- p === n)) {
304
- if (!r ||
305
- 'object' != typeof r ||
306
- Array.isArray(r))
307
- return ((t.errors = [
308
- { params: { type: 'object' } },
309
- ]),
310
- !1);
311
- {
312
- const e = p;
313
- for (const e in r)
314
- if ('request' !== e &&
315
- 'version' !== e &&
316
- 'fallbackVersion' !== e)
317
- return ((t.errors = [
318
- { params: { additionalProperty: e } },
319
- ]),
320
- !1);
321
- if (e === p) {
322
- if (void 0 !== r.request) {
323
- let e = r.request;
324
- const s = p, n = p;
325
- let o = !1;
326
- const i = p;
327
- if ('string' != typeof e) {
328
- const r = {
329
- params: { type: 'string' },
330
- };
331
- null === l ? (l = [r]) : l.push(r), p++;
332
- }
333
- var h = i === p;
334
- if (((o = o || h), !o)) {
335
- const r = p;
336
- if (!(e instanceof RegExp)) {
337
- const r = { params: {} };
338
- null === l ? (l = [r]) : l.push(r),
339
- p++;
340
- }
341
- (h = r === p), (o = o || h);
342
- }
343
- if (!o) {
344
- const r = { params: {} };
345
- return (null === l ? (l = [r]) : l.push(r),
346
- p++,
347
- (t.errors = l),
348
- !1);
349
- }
350
- (p = n),
351
- null !== l &&
352
- (n ? (l.length = n) : (l = null));
353
- var m = s === p;
354
- }
355
- else
356
- m = !0;
357
- if (m) {
358
- if (void 0 !== r.version) {
359
- const e = p;
360
- if ('string' != typeof r.version)
361
- return ((t.errors = [
362
- { params: { type: 'string' } },
363
- ]),
364
- !1);
365
- m = e === p;
366
- }
367
- else
368
- m = !0;
369
- if (m)
370
- if (void 0 !== r.fallbackVersion) {
371
- const e = p;
372
- if ('string' != typeof r.fallbackVersion)
373
- return ((t.errors = [
374
- { params: { type: 'string' } },
375
- ]),
376
- !1);
377
- m = e === p;
378
- }
379
- else
380
- m = !0;
381
- }
382
- }
383
- }
384
- }
385
- f = e === p;
386
- }
387
- else
388
- f = !0;
389
- if (f) {
390
- if (void 0 !== s.include) {
391
- let r = s.include;
392
- const e = p, n = p, o = p;
393
- let i = !1;
394
- const a = p;
395
- if (r &&
396
- 'object' == typeof r &&
397
- !Array.isArray(r)) {
398
- let e;
399
- if (void 0 === r.request && (e = 'request')) {
400
- const r = {
401
- params: { missingProperty: e },
402
- };
403
- null === l ? (l = [r]) : l.push(r), p++;
404
- }
405
- }
406
- var d = a === p;
407
- if (((i = i || d), !i)) {
408
- const e = p;
409
- if (r &&
410
- 'object' == typeof r &&
411
- !Array.isArray(r)) {
412
- let e;
413
- if (void 0 === r.version &&
414
- (e = 'version')) {
415
- const r = {
416
- params: { missingProperty: e },
417
- };
418
- null === l ? (l = [r]) : l.push(r), p++;
419
- }
420
- }
421
- (d = e === p), (i = i || d);
422
- }
423
- if (!i) {
424
- const r = { params: {} };
425
- return (null === l ? (l = [r]) : l.push(r),
426
- p++,
427
- (t.errors = l),
428
- !1);
429
- }
430
- if (((p = o),
431
- null !== l &&
432
- (o ? (l.length = o) : (l = null)),
433
- p === n)) {
434
- if (!r ||
435
- 'object' != typeof r ||
436
- Array.isArray(r))
437
- return ((t.errors = [
438
- { params: { type: 'object' } },
439
- ]),
440
- !1);
441
- {
442
- const e = p;
443
- for (const e in r)
444
- if ('request' !== e &&
445
- 'version' !== e &&
446
- 'fallbackVersion' !== e)
447
- return ((t.errors = [
448
- {
449
- params: { additionalProperty: e },
450
- },
451
- ]),
452
- !1);
453
- if (e === p) {
454
- if (void 0 !== r.request) {
455
- let e = r.request;
456
- const s = p, n = p;
457
- let o = !1;
458
- const i = p;
459
- if ('string' != typeof e) {
460
- const r = {
461
- params: { type: 'string' },
462
- };
463
- null === l ? (l = [r]) : l.push(r),
464
- p++;
465
- }
466
- var v = i === p;
467
- if (((o = o || v), !o)) {
468
- const r = p;
469
- if (!(e instanceof RegExp)) {
470
- const r = { params: {} };
471
- null === l ? (l = [r]) : l.push(r),
472
- p++;
473
- }
474
- (v = r === p), (o = o || v);
475
- }
476
- if (!o) {
477
- const r = { params: {} };
478
- return (null === l ? (l = [r]) : l.push(r),
479
- p++,
480
- (t.errors = l),
481
- !1);
482
- }
483
- (p = n),
484
- null !== l &&
485
- (n ? (l.length = n) : (l = null));
486
- var b = s === p;
487
- }
488
- else
489
- b = !0;
490
- if (b) {
491
- if (void 0 !== r.version) {
492
- const e = p;
493
- if ('string' != typeof r.version)
494
- return ((t.errors = [
495
- { params: { type: 'string' } },
496
- ]),
497
- !1);
498
- b = e === p;
499
- }
500
- else
501
- b = !0;
502
- if (b)
503
- if (void 0 !== r.fallbackVersion) {
504
- const e = p;
505
- if ('string' !=
506
- typeof r.fallbackVersion)
507
- return ((t.errors = [
508
- {
509
- params: { type: 'string' },
510
- },
511
- ]),
512
- !1);
513
- b = e === p;
514
- }
515
- else
516
- b = !0;
517
- }
518
- }
519
- }
520
- }
521
- f = e === p;
522
- }
523
- else
524
- f = !0;
525
- if (f) {
526
- if (void 0 !== s.allowNodeModulesSuffixMatch) {
527
- const r = p;
528
- if ('boolean' !=
529
- typeof s.allowNodeModulesSuffixMatch)
530
- return ((t.errors = [
531
- { params: { type: 'boolean' } },
532
- ]),
533
- !1);
534
- f = r === p;
535
- }
536
- else
537
- f = !0;
538
- if (f)
539
- if (void 0 !== s.treeShakingMode) {
540
- let e = s.treeShakingMode;
541
- const n = p;
542
- if ('string' != typeof e)
543
- return ((t.errors = [
544
- { params: { type: 'string' } },
545
- ]),
546
- !1);
547
- if ('server-calc' !== e &&
548
- 'runtime-infer' !== e)
549
- return ((t.errors = [
550
- {
551
- params: {
552
- allowedValues: r.properties.treeShakingMode
553
- .enum,
554
- },
555
- },
556
- ]),
557
- !1);
558
- f = n === p;
559
- }
560
- else
561
- f = !0;
562
- }
563
- }
564
- }
565
- }
566
- }
567
- }
568
- }
569
- }
570
- }
571
- }
572
- }
573
- }
574
- }
575
- }
576
- }
577
- return (t.errors = l), 0 === p;
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.js');
3
+
4
+ //#region src/schemas/sharing/ProvideSharedPlugin.check.ts
5
+ var ProvideSharedPlugin_check_exports = /* @__PURE__ */ require_runtime.__exportAll({
6
+ default: () => ProvideSharedPlugin_check_default,
7
+ validate: () => validate
8
+ });
9
+ function t(s, { instancePath: n = "", parentData: o, parentDataProperty: i, rootData: a = s } = {}) {
10
+ let l = null, p = 0;
11
+ if (0 === p) {
12
+ if (!s || "object" != typeof s || Array.isArray(s)) return t.errors = [{ params: { type: "object" } }], !1;
13
+ {
14
+ const n = p;
15
+ for (const n in s) if (!e.call(r.properties, n)) return t.errors = [{ params: { additionalProperty: n } }], !1;
16
+ if (n === p) {
17
+ if (void 0 !== s.eager) {
18
+ const r = p;
19
+ if ("boolean" != typeof s.eager) return t.errors = [{ params: { type: "boolean" } }], !1;
20
+ var f = r === p;
21
+ } else f = !0;
22
+ if (f) {
23
+ if (void 0 !== s.shareKey) {
24
+ let r = s.shareKey;
25
+ const e = p;
26
+ if (p === e) {
27
+ if ("string" != typeof r) return t.errors = [{ params: { type: "string" } }], !1;
28
+ if (r.length < 1) return t.errors = [{ params: {} }], !1;
29
+ }
30
+ f = e === p;
31
+ } else f = !0;
32
+ if (f) {
33
+ if (void 0 !== s.request) {
34
+ let r = s.request;
35
+ const e = p;
36
+ if (p === e) {
37
+ if ("string" != typeof r) return t.errors = [{ params: { type: "string" } }], !1;
38
+ if (r.length < 1) return t.errors = [{ params: {} }], !1;
39
+ }
40
+ f = e === p;
41
+ } else f = !0;
42
+ if (f) {
43
+ if (void 0 !== s.shareScope) {
44
+ let r = s.shareScope;
45
+ const e = p, n = p;
46
+ let o = !1;
47
+ const i = p;
48
+ if (p === i) if ("string" == typeof r) {
49
+ if (r.length < 1) {
50
+ const r = { params: {} };
51
+ null === l ? l = [r] : l.push(r), p++;
52
+ }
53
+ } else {
54
+ const r = { params: { type: "string" } };
55
+ null === l ? l = [r] : l.push(r), p++;
56
+ }
57
+ var u = i === p;
58
+ if (o = o || u, !o) {
59
+ const e = p;
60
+ if (p === e) if (Array.isArray(r)) {
61
+ const e = r.length;
62
+ for (let t = 0; t < e; t++) {
63
+ let e = r[t];
64
+ const s = p;
65
+ if (p === s) if ("string" == typeof e) {
66
+ if (e.length < 1) {
67
+ const r = { params: {} };
68
+ null === l ? l = [r] : l.push(r), p++;
69
+ }
70
+ } else {
71
+ const r = { params: { type: "string" } };
72
+ null === l ? l = [r] : l.push(r), p++;
73
+ }
74
+ if (s !== p) break;
75
+ }
76
+ } else {
77
+ const r = { params: { type: "array" } };
78
+ null === l ? l = [r] : l.push(r), p++;
79
+ }
80
+ u = e === p, o = o || u;
81
+ }
82
+ if (!o) {
83
+ const r = { params: {} };
84
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
85
+ }
86
+ p = n, null !== l && (n ? l.length = n : l = null), f = e === p;
87
+ } else f = !0;
88
+ if (f) {
89
+ if (void 0 !== s.requiredVersion) {
90
+ let e = s.requiredVersion;
91
+ const n = p, o = p;
92
+ let i = !1;
93
+ const a = p;
94
+ if (!1 !== e) {
95
+ const e = { params: { allowedValues: r.properties.requiredVersion.anyOf[0].enum } };
96
+ null === l ? l = [e] : l.push(e), p++;
97
+ }
98
+ var c = a === p;
99
+ if (i = i || c, !i) {
100
+ const r = p;
101
+ if ("string" != typeof e) {
102
+ const r = { params: { type: "string" } };
103
+ null === l ? l = [r] : l.push(r), p++;
104
+ }
105
+ c = r === p, i = i || c;
106
+ }
107
+ if (!i) {
108
+ const r = { params: {} };
109
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
110
+ }
111
+ p = o, null !== l && (o ? l.length = o : l = null), f = n === p;
112
+ } else f = !0;
113
+ if (f) {
114
+ if (void 0 !== s.strictVersion) {
115
+ const r = p;
116
+ if ("boolean" != typeof s.strictVersion) return t.errors = [{ params: { type: "boolean" } }], !1;
117
+ f = r === p;
118
+ } else f = !0;
119
+ if (f) {
120
+ if (void 0 !== s.singleton) {
121
+ const r = p;
122
+ if ("boolean" != typeof s.singleton) return t.errors = [{ params: { type: "boolean" } }], !1;
123
+ f = r === p;
124
+ } else f = !0;
125
+ if (f) {
126
+ if (void 0 !== s.layer) {
127
+ let r = s.layer;
128
+ const e = p;
129
+ if (p === e) {
130
+ if ("string" != typeof r) return t.errors = [{ params: { type: "string" } }], !1;
131
+ if (r.length < 1) return t.errors = [{ params: {} }], !1;
132
+ }
133
+ f = e === p;
134
+ } else f = !0;
135
+ if (f) {
136
+ if (void 0 !== s.issuerLayer) {
137
+ let r = s.issuerLayer;
138
+ const e = p;
139
+ if (p === e) {
140
+ if ("string" != typeof r) return t.errors = [{ params: { type: "string" } }], !1;
141
+ if (r.length < 1) return t.errors = [{ params: {} }], !1;
142
+ }
143
+ f = e === p;
144
+ } else f = !0;
145
+ if (f) {
146
+ if (void 0 !== s.version) {
147
+ let e = s.version;
148
+ const n = p, o = p;
149
+ let i = !1;
150
+ const a = p;
151
+ if (!1 !== e) {
152
+ const e = { params: { allowedValues: r.properties.version.anyOf[0].enum } };
153
+ null === l ? l = [e] : l.push(e), p++;
154
+ }
155
+ var y = a === p;
156
+ if (i = i || y, !i) {
157
+ const r = p;
158
+ if ("string" != typeof e) {
159
+ const r = { params: { type: "string" } };
160
+ null === l ? l = [r] : l.push(r), p++;
161
+ }
162
+ y = r === p, i = i || y;
163
+ }
164
+ if (!i) {
165
+ const r = { params: {} };
166
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
167
+ }
168
+ p = o, null !== l && (o ? l.length = o : l = null), f = n === p;
169
+ } else f = !0;
170
+ if (f) {
171
+ if (void 0 !== s.exclude) {
172
+ let r = s.exclude;
173
+ const e = p, n = p, o = p;
174
+ let i = !1;
175
+ const a = p;
176
+ if (r && "object" == typeof r && !Array.isArray(r)) {
177
+ let e;
178
+ if (void 0 === r.request && (e = "request")) {
179
+ const r = { params: { missingProperty: e } };
180
+ null === l ? l = [r] : l.push(r), p++;
181
+ }
182
+ }
183
+ var g = a === p;
184
+ if (i = i || g, !i) {
185
+ const e = p;
186
+ if (r && "object" == typeof r && !Array.isArray(r)) {
187
+ let e;
188
+ if (void 0 === r.version && (e = "version")) {
189
+ const r = { params: { missingProperty: e } };
190
+ null === l ? l = [r] : l.push(r), p++;
191
+ }
192
+ }
193
+ g = e === p, i = i || g;
194
+ }
195
+ if (!i) {
196
+ const r = { params: {} };
197
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
198
+ }
199
+ if (p = o, null !== l && (o ? l.length = o : l = null), p === n) {
200
+ if (!r || "object" != typeof r || Array.isArray(r)) return t.errors = [{ params: { type: "object" } }], !1;
201
+ {
202
+ const e = p;
203
+ for (const e in r) if ("request" !== e && "version" !== e && "fallbackVersion" !== e) return t.errors = [{ params: { additionalProperty: e } }], !1;
204
+ if (e === p) {
205
+ if (void 0 !== r.request) {
206
+ let e = r.request;
207
+ const s = p, n = p;
208
+ let o = !1;
209
+ const i = p;
210
+ if ("string" != typeof e) {
211
+ const r = { params: { type: "string" } };
212
+ null === l ? l = [r] : l.push(r), p++;
213
+ }
214
+ var h = i === p;
215
+ if (o = o || h, !o) {
216
+ const r = p;
217
+ if (!(e instanceof RegExp)) {
218
+ const r = { params: {} };
219
+ null === l ? l = [r] : l.push(r), p++;
220
+ }
221
+ h = r === p, o = o || h;
222
+ }
223
+ if (!o) {
224
+ const r = { params: {} };
225
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
226
+ }
227
+ p = n, null !== l && (n ? l.length = n : l = null);
228
+ var m = s === p;
229
+ } else m = !0;
230
+ if (m) {
231
+ if (void 0 !== r.version) {
232
+ const e = p;
233
+ if ("string" != typeof r.version) return t.errors = [{ params: { type: "string" } }], !1;
234
+ m = e === p;
235
+ } else m = !0;
236
+ if (m) if (void 0 !== r.fallbackVersion) {
237
+ const e = p;
238
+ if ("string" != typeof r.fallbackVersion) return t.errors = [{ params: { type: "string" } }], !1;
239
+ m = e === p;
240
+ } else m = !0;
241
+ }
242
+ }
243
+ }
244
+ }
245
+ f = e === p;
246
+ } else f = !0;
247
+ if (f) {
248
+ if (void 0 !== s.include) {
249
+ let r = s.include;
250
+ const e = p, n = p, o = p;
251
+ let i = !1;
252
+ const a = p;
253
+ if (r && "object" == typeof r && !Array.isArray(r)) {
254
+ let e;
255
+ if (void 0 === r.request && (e = "request")) {
256
+ const r = { params: { missingProperty: e } };
257
+ null === l ? l = [r] : l.push(r), p++;
258
+ }
259
+ }
260
+ var d = a === p;
261
+ if (i = i || d, !i) {
262
+ const e = p;
263
+ if (r && "object" == typeof r && !Array.isArray(r)) {
264
+ let e;
265
+ if (void 0 === r.version && (e = "version")) {
266
+ const r = { params: { missingProperty: e } };
267
+ null === l ? l = [r] : l.push(r), p++;
268
+ }
269
+ }
270
+ d = e === p, i = i || d;
271
+ }
272
+ if (!i) {
273
+ const r = { params: {} };
274
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
275
+ }
276
+ if (p = o, null !== l && (o ? l.length = o : l = null), p === n) {
277
+ if (!r || "object" != typeof r || Array.isArray(r)) return t.errors = [{ params: { type: "object" } }], !1;
278
+ {
279
+ const e = p;
280
+ for (const e in r) if ("request" !== e && "version" !== e && "fallbackVersion" !== e) return t.errors = [{ params: { additionalProperty: e } }], !1;
281
+ if (e === p) {
282
+ if (void 0 !== r.request) {
283
+ let e = r.request;
284
+ const s = p, n = p;
285
+ let o = !1;
286
+ const i = p;
287
+ if ("string" != typeof e) {
288
+ const r = { params: { type: "string" } };
289
+ null === l ? l = [r] : l.push(r), p++;
290
+ }
291
+ var v = i === p;
292
+ if (o = o || v, !o) {
293
+ const r = p;
294
+ if (!(e instanceof RegExp)) {
295
+ const r = { params: {} };
296
+ null === l ? l = [r] : l.push(r), p++;
297
+ }
298
+ v = r === p, o = o || v;
299
+ }
300
+ if (!o) {
301
+ const r = { params: {} };
302
+ return null === l ? l = [r] : l.push(r), p++, t.errors = l, !1;
303
+ }
304
+ p = n, null !== l && (n ? l.length = n : l = null);
305
+ var b = s === p;
306
+ } else b = !0;
307
+ if (b) {
308
+ if (void 0 !== r.version) {
309
+ const e = p;
310
+ if ("string" != typeof r.version) return t.errors = [{ params: { type: "string" } }], !1;
311
+ b = e === p;
312
+ } else b = !0;
313
+ if (b) if (void 0 !== r.fallbackVersion) {
314
+ const e = p;
315
+ if ("string" != typeof r.fallbackVersion) return t.errors = [{ params: { type: "string" } }], !1;
316
+ b = e === p;
317
+ } else b = !0;
318
+ }
319
+ }
320
+ }
321
+ }
322
+ f = e === p;
323
+ } else f = !0;
324
+ if (f) {
325
+ if (void 0 !== s.allowNodeModulesSuffixMatch) {
326
+ const r = p;
327
+ if ("boolean" != typeof s.allowNodeModulesSuffixMatch) return t.errors = [{ params: { type: "boolean" } }], !1;
328
+ f = r === p;
329
+ } else f = !0;
330
+ if (f) if (void 0 !== s.treeShakingMode) {
331
+ let e = s.treeShakingMode;
332
+ const n = p;
333
+ if ("string" != typeof e) return t.errors = [{ params: { type: "string" } }], !1;
334
+ if ("server-calc" !== e && "runtime-infer" !== e) return t.errors = [{ params: { allowedValues: r.properties.treeShakingMode.enum } }], !1;
335
+ f = n === p;
336
+ } else f = !0;
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ return t.errors = l, 0 === p;
578
353
  }
579
- function s(r, { instancePath: e = '', parentData: n, parentDataProperty: o, rootData: i = r, } = {}) {
580
- let a = null, l = 0;
581
- if (0 === l) {
582
- if (!r || 'object' != typeof r || Array.isArray(r))
583
- return (s.errors = [{ params: { type: 'object' } }]), !1;
584
- for (const n in r) {
585
- let o = r[n];
586
- const f = l, u = l;
587
- let c = !1;
588
- const y = l;
589
- t(o, {
590
- instancePath: e + '/' + n.replace(/~/g, '~0').replace(/\//g, '~1'),
591
- parentData: r,
592
- parentDataProperty: n,
593
- rootData: i,
594
- }) || ((a = null === a ? t.errors : a.concat(t.errors)), (l = a.length));
595
- var p = y === l;
596
- if (((c = c || p), !c)) {
597
- const r = l;
598
- if (l == l)
599
- if ('string' == typeof o) {
600
- if (o.length < 1) {
601
- const r = { params: {} };
602
- null === a ? (a = [r]) : a.push(r), l++;
603
- }
604
- }
605
- else {
606
- const r = { params: { type: 'string' } };
607
- null === a ? (a = [r]) : a.push(r), l++;
608
- }
609
- (p = r === l), (c = c || p);
610
- }
611
- if (!c) {
612
- const r = { params: {} };
613
- return null === a ? (a = [r]) : a.push(r), l++, (s.errors = a), !1;
614
- }
615
- if (((l = u), null !== a && (u ? (a.length = u) : (a = null)), f !== l))
616
- break;
617
- }
618
- }
619
- return (s.errors = a), 0 === l;
354
+ function s(r, { instancePath: e = "", parentData: n, parentDataProperty: o, rootData: i = r } = {}) {
355
+ let a = null, l = 0;
356
+ if (0 === l) {
357
+ if (!r || "object" != typeof r || Array.isArray(r)) return s.errors = [{ params: { type: "object" } }], !1;
358
+ for (const n in r) {
359
+ let o = r[n];
360
+ const f = l, u = l;
361
+ let c = !1;
362
+ const y = l;
363
+ t(o, {
364
+ instancePath: e + "/" + n.replace(/~/g, "~0").replace(/\//g, "~1"),
365
+ parentData: r,
366
+ parentDataProperty: n,
367
+ rootData: i
368
+ }) || (a = null === a ? t.errors : a.concat(t.errors), l = a.length);
369
+ var p = y === l;
370
+ if (c = c || p, !c) {
371
+ const r = l;
372
+ if (l == l) if ("string" == typeof o) {
373
+ if (o.length < 1) {
374
+ const r = { params: {} };
375
+ null === a ? a = [r] : a.push(r), l++;
376
+ }
377
+ } else {
378
+ const r = { params: { type: "string" } };
379
+ null === a ? a = [r] : a.push(r), l++;
380
+ }
381
+ p = r === l, c = c || p;
382
+ }
383
+ if (!c) {
384
+ const r = { params: {} };
385
+ return null === a ? a = [r] : a.push(r), l++, s.errors = a, !1;
386
+ }
387
+ if (l = u, null !== a && (u ? a.length = u : a = null), f !== l) break;
388
+ }
389
+ }
390
+ return s.errors = a, 0 === l;
620
391
  }
621
- function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, rootData: i = r, } = {}) {
622
- let a = null, l = 0;
623
- const p = l;
624
- let f = !1;
625
- const u = l;
626
- if (l === u)
627
- if (Array.isArray(r)) {
628
- const t = r.length;
629
- for (let n = 0; n < t; n++) {
630
- let t = r[n];
631
- const o = l, p = l;
632
- let f = !1;
633
- const u = l;
634
- if (l == l)
635
- if ('string' == typeof t) {
636
- if (t.length < 1) {
637
- const r = { params: {} };
638
- null === a ? (a = [r]) : a.push(r), l++;
639
- }
640
- }
641
- else {
642
- const r = { params: { type: 'string' } };
643
- null === a ? (a = [r]) : a.push(r), l++;
644
- }
645
- var c = u === l;
646
- if (((f = f || c), !f)) {
647
- const o = l;
648
- s(t, {
649
- instancePath: e + '/' + n,
650
- parentData: r,
651
- parentDataProperty: n,
652
- rootData: i,
653
- }) ||
654
- ((a = null === a ? s.errors : a.concat(s.errors)), (l = a.length)),
655
- (c = o === l),
656
- (f = f || c);
657
- }
658
- if (f)
659
- (l = p), null !== a && (p ? (a.length = p) : (a = null));
660
- else {
661
- const r = { params: {} };
662
- null === a ? (a = [r]) : a.push(r), l++;
663
- }
664
- if (o !== l)
665
- break;
666
- }
667
- }
668
- else {
669
- const r = { params: { type: 'array' } };
670
- null === a ? (a = [r]) : a.push(r), l++;
671
- }
672
- var y = u === l;
673
- if (((f = f || y), !f)) {
674
- const n = l;
675
- s(r, {
676
- instancePath: e,
677
- parentData: t,
678
- parentDataProperty: o,
679
- rootData: i,
680
- }) || ((a = null === a ? s.errors : a.concat(s.errors)), (l = a.length)),
681
- (y = n === l),
682
- (f = f || y);
683
- }
684
- if (!f) {
685
- const r = { params: {} };
686
- return null === a ? (a = [r]) : a.push(r), l++, (n.errors = a), !1;
687
- }
688
- return ((l = p),
689
- null !== a && (p ? (a.length = p) : (a = null)),
690
- (n.errors = a),
691
- 0 === l);
392
+ function n(r, { instancePath: e = "", parentData: t, parentDataProperty: o, rootData: i = r } = {}) {
393
+ let a = null, l = 0;
394
+ const p = l;
395
+ let f = !1;
396
+ const u = l;
397
+ if (l === u) if (Array.isArray(r)) {
398
+ const t = r.length;
399
+ for (let n = 0; n < t; n++) {
400
+ let t = r[n];
401
+ const o = l, p = l;
402
+ let f = !1;
403
+ const u = l;
404
+ if (l == l) if ("string" == typeof t) {
405
+ if (t.length < 1) {
406
+ const r = { params: {} };
407
+ null === a ? a = [r] : a.push(r), l++;
408
+ }
409
+ } else {
410
+ const r = { params: { type: "string" } };
411
+ null === a ? a = [r] : a.push(r), l++;
412
+ }
413
+ var c = u === l;
414
+ if (f = f || c, !f) {
415
+ const o = l;
416
+ s(t, {
417
+ instancePath: e + "/" + n,
418
+ parentData: r,
419
+ parentDataProperty: n,
420
+ rootData: i
421
+ }) || (a = null === a ? s.errors : a.concat(s.errors), l = a.length), c = o === l, f = f || c;
422
+ }
423
+ if (f) l = p, null !== a && (p ? a.length = p : a = null);
424
+ else {
425
+ const r = { params: {} };
426
+ null === a ? a = [r] : a.push(r), l++;
427
+ }
428
+ if (o !== l) break;
429
+ }
430
+ } else {
431
+ const r = { params: { type: "array" } };
432
+ null === a ? a = [r] : a.push(r), l++;
433
+ }
434
+ var y = u === l;
435
+ if (f = f || y, !f) {
436
+ const n = l;
437
+ s(r, {
438
+ instancePath: e,
439
+ parentData: t,
440
+ parentDataProperty: o,
441
+ rootData: i
442
+ }) || (a = null === a ? s.errors : a.concat(s.errors), l = a.length), y = n === l, f = f || y;
443
+ }
444
+ if (!f) {
445
+ const r = { params: {} };
446
+ return null === a ? a = [r] : a.push(r), l++, n.errors = a, !1;
447
+ }
448
+ return l = p, null !== a && (p ? a.length = p : a = null), n.errors = a, 0 === l;
692
449
  }
693
- function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, rootData: i = r, } = {}) {
694
- let a = null, l = 0;
695
- if (0 === l) {
696
- if (!r || 'object' != typeof r || Array.isArray(r))
697
- return (o.errors = [{ params: { type: 'object' } }]), !1;
698
- {
699
- let t;
700
- if (void 0 === r.provides && (t = 'provides'))
701
- return (o.errors = [{ params: { missingProperty: t } }]), !1;
702
- {
703
- const t = l;
704
- for (const e in r)
705
- if ('provides' !== e && 'shareScope' !== e && 'experiments' !== e)
706
- return (o.errors = [{ params: { additionalProperty: e } }]), !1;
707
- if (t === l) {
708
- if (void 0 !== r.provides) {
709
- const t = l;
710
- n(r.provides, {
711
- instancePath: e + '/provides',
712
- parentData: r,
713
- parentDataProperty: 'provides',
714
- rootData: i,
715
- }) ||
716
- ((a = null === a ? n.errors : a.concat(n.errors)),
717
- (l = a.length));
718
- var p = t === l;
719
- }
720
- else
721
- p = !0;
722
- if (p) {
723
- if (void 0 !== r.shareScope) {
724
- let e = r.shareScope;
725
- const t = l, s = l;
726
- let n = !1;
727
- const i = l;
728
- if (l === i)
729
- if ('string' == typeof e) {
730
- if (e.length < 1) {
731
- const r = { params: {} };
732
- null === a ? (a = [r]) : a.push(r), l++;
733
- }
734
- }
735
- else {
736
- const r = { params: { type: 'string' } };
737
- null === a ? (a = [r]) : a.push(r), l++;
738
- }
739
- var f = i === l;
740
- if (((n = n || f), !n)) {
741
- const r = l;
742
- if (l === r)
743
- if (Array.isArray(e)) {
744
- const r = e.length;
745
- for (let t = 0; t < r; t++) {
746
- let r = e[t];
747
- const s = l;
748
- if (l === s)
749
- if ('string' == typeof r) {
750
- if (r.length < 1) {
751
- const r = { params: {} };
752
- null === a ? (a = [r]) : a.push(r), l++;
753
- }
754
- }
755
- else {
756
- const r = { params: { type: 'string' } };
757
- null === a ? (a = [r]) : a.push(r), l++;
758
- }
759
- if (s !== l)
760
- break;
761
- }
762
- }
763
- else {
764
- const r = { params: { type: 'array' } };
765
- null === a ? (a = [r]) : a.push(r), l++;
766
- }
767
- (f = r === l), (n = n || f);
768
- }
769
- if (!n) {
770
- const r = { params: {} };
771
- return (null === a ? (a = [r]) : a.push(r), l++, (o.errors = a), !1);
772
- }
773
- (l = s),
774
- null !== a && (s ? (a.length = s) : (a = null)),
775
- (p = t === l);
776
- }
777
- else
778
- p = !0;
779
- if (p)
780
- if (void 0 !== r.experiments) {
781
- let e = r.experiments;
782
- const t = l;
783
- if (l === t) {
784
- if (!e || 'object' != typeof e || Array.isArray(e))
785
- return (o.errors = [{ params: { type: 'object' } }]), !1;
786
- {
787
- const r = l;
788
- for (const r in e)
789
- if ('allowNodeModulesSuffixMatch' !== r)
790
- return ((o.errors = [{ params: { additionalProperty: r } }]),
791
- !1);
792
- if (r === l &&
793
- void 0 !== e.allowNodeModulesSuffixMatch &&
794
- 'boolean' != typeof e.allowNodeModulesSuffixMatch)
795
- return (o.errors = [{ params: { type: 'boolean' } }]), !1;
796
- }
797
- }
798
- p = t === l;
799
- }
800
- else
801
- p = !0;
802
- }
803
- }
804
- }
805
- }
806
- }
807
- return (o.errors = a), 0 === l;
450
+ function o(r, { instancePath: e = "", parentData: t, parentDataProperty: s, rootData: i = r } = {}) {
451
+ let a = null, l = 0;
452
+ if (0 === l) {
453
+ if (!r || "object" != typeof r || Array.isArray(r)) return o.errors = [{ params: { type: "object" } }], !1;
454
+ {
455
+ let t;
456
+ if (void 0 === r.provides && (t = "provides")) return o.errors = [{ params: { missingProperty: t } }], !1;
457
+ {
458
+ const t = l;
459
+ for (const e in r) if ("provides" !== e && "shareScope" !== e && "experiments" !== e) return o.errors = [{ params: { additionalProperty: e } }], !1;
460
+ if (t === l) {
461
+ if (void 0 !== r.provides) {
462
+ const t = l;
463
+ n(r.provides, {
464
+ instancePath: e + "/provides",
465
+ parentData: r,
466
+ parentDataProperty: "provides",
467
+ rootData: i
468
+ }) || (a = null === a ? n.errors : a.concat(n.errors), l = a.length);
469
+ var p = t === l;
470
+ } else p = !0;
471
+ if (p) {
472
+ if (void 0 !== r.shareScope) {
473
+ let e = r.shareScope;
474
+ const t = l, s = l;
475
+ let n = !1;
476
+ const i = l;
477
+ if (l === i) if ("string" == typeof e) {
478
+ if (e.length < 1) {
479
+ const r = { params: {} };
480
+ null === a ? a = [r] : a.push(r), l++;
481
+ }
482
+ } else {
483
+ const r = { params: { type: "string" } };
484
+ null === a ? a = [r] : a.push(r), l++;
485
+ }
486
+ var f = i === l;
487
+ if (n = n || f, !n) {
488
+ const r = l;
489
+ if (l === r) if (Array.isArray(e)) {
490
+ const r = e.length;
491
+ for (let t = 0; t < r; t++) {
492
+ let r = e[t];
493
+ const s = l;
494
+ if (l === s) if ("string" == typeof r) {
495
+ if (r.length < 1) {
496
+ const r = { params: {} };
497
+ null === a ? a = [r] : a.push(r), l++;
498
+ }
499
+ } else {
500
+ const r = { params: { type: "string" } };
501
+ null === a ? a = [r] : a.push(r), l++;
502
+ }
503
+ if (s !== l) break;
504
+ }
505
+ } else {
506
+ const r = { params: { type: "array" } };
507
+ null === a ? a = [r] : a.push(r), l++;
508
+ }
509
+ f = r === l, n = n || f;
510
+ }
511
+ if (!n) {
512
+ const r = { params: {} };
513
+ return null === a ? a = [r] : a.push(r), l++, o.errors = a, !1;
514
+ }
515
+ l = s, null !== a && (s ? a.length = s : a = null), p = t === l;
516
+ } else p = !0;
517
+ if (p) if (void 0 !== r.experiments) {
518
+ let e = r.experiments;
519
+ const t = l;
520
+ if (l === t) {
521
+ if (!e || "object" != typeof e || Array.isArray(e)) return o.errors = [{ params: { type: "object" } }], !1;
522
+ {
523
+ const r = l;
524
+ for (const r in e) if ("allowNodeModulesSuffixMatch" !== r) return o.errors = [{ params: { additionalProperty: r } }], !1;
525
+ if (r === l && void 0 !== e.allowNodeModulesSuffixMatch && "boolean" != typeof e.allowNodeModulesSuffixMatch) return o.errors = [{ params: { type: "boolean" } }], !1;
526
+ }
527
+ }
528
+ p = t === l;
529
+ } else p = !0;
530
+ }
531
+ }
532
+ }
533
+ }
534
+ }
535
+ return o.errors = a, 0 === l;
808
536
  }
537
+ var validate, ProvideSharedPlugin_check_default, r, e;
538
+ var init_ProvideSharedPlugin_check = require_runtime.__esmMin((() => {
539
+ validate = o;
540
+ ProvideSharedPlugin_check_default = o;
541
+ r = {
542
+ type: "object",
543
+ additionalProperties: !1,
544
+ properties: {
545
+ eager: { type: "boolean" },
546
+ shareKey: {
547
+ type: "string",
548
+ minLength: 1
549
+ },
550
+ request: {
551
+ type: "string",
552
+ minLength: 1
553
+ },
554
+ shareScope: { anyOf: [{
555
+ type: "string",
556
+ minLength: 1
557
+ }, {
558
+ type: "array",
559
+ items: {
560
+ type: "string",
561
+ minLength: 1
562
+ }
563
+ }] },
564
+ requiredVersion: { anyOf: [{ enum: [!1] }, { type: "string" }] },
565
+ strictVersion: { type: "boolean" },
566
+ singleton: { type: "boolean" },
567
+ layer: {
568
+ type: "string",
569
+ minLength: 1
570
+ },
571
+ issuerLayer: {
572
+ type: "string",
573
+ minLength: 1
574
+ },
575
+ version: { anyOf: [{ enum: [!1] }, { type: "string" }] },
576
+ exclude: { $ref: "#/definitions/IncludeExcludeOptions" },
577
+ include: { $ref: "#/definitions/IncludeExcludeOptions" },
578
+ allowNodeModulesSuffixMatch: { type: "boolean" },
579
+ treeShakingMode: {
580
+ type: "string",
581
+ enum: ["server-calc", "runtime-infer"]
582
+ }
583
+ }
584
+ }, e = Object.prototype.hasOwnProperty;
585
+ }));
586
+
587
+ //#endregion
588
+ init_ProvideSharedPlugin_check();
589
+ Object.defineProperty(exports, 'ProvideSharedPlugin_check_exports', {
590
+ enumerable: true,
591
+ get: function () {
592
+ return ProvideSharedPlugin_check_exports;
593
+ }
594
+ });
595
+ exports.default = ProvideSharedPlugin_check_default;
596
+ Object.defineProperty(exports, 'init_ProvideSharedPlugin_check', {
597
+ enumerable: true,
598
+ get: function () {
599
+ return init_ProvideSharedPlugin_check;
600
+ }
601
+ });
602
+ exports.validate = validate;
809
603
  //# sourceMappingURL=ProvideSharedPlugin.check.js.map