@module-federation/enhanced 0.19.1 → 0.20.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 (60) hide show
  1. package/README.md +1 -1
  2. package/dist/package.json +3 -2
  3. package/dist/src/declarations/plugins/sharing/ConsumeSharedModule.d.ts +1 -1
  4. package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +1 -1
  5. package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +1 -1
  6. package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +1 -1
  7. package/dist/src/lib/container/ContainerEntryModule.js +1 -1
  8. package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
  9. package/dist/src/lib/container/ModuleFederationPlugin.js +2 -1
  10. package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
  11. package/dist/src/lib/container/RemoteRuntimeModule.js +13 -2
  12. package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -1
  13. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js +5 -5
  14. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js.map +1 -1
  15. package/dist/src/lib/container/runtime/FederationModulesPlugin.js +11 -2
  16. package/dist/src/lib/container/runtime/FederationModulesPlugin.js.map +1 -1
  17. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +16 -7
  18. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -1
  19. package/dist/src/lib/container/runtime/getFederationGlobal.js +22 -3
  20. package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -1
  21. package/dist/src/lib/container/runtime/utils.js +35 -16
  22. package/dist/src/lib/container/runtime/utils.js.map +1 -1
  23. package/dist/src/lib/sharing/ConsumeSharedPlugin.js +48 -7
  24. package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
  25. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +19 -26
  26. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
  27. package/dist/src/lib/sharing/ProvideSharedPlugin.js +4 -4
  28. package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
  29. package/dist/src/lib/sharing/SharePlugin.js +2 -2
  30. package/dist/src/lib/sharing/SharePlugin.js.map +1 -1
  31. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +1 -1
  32. package/dist/src/schemas/container/ContainerPlugin.check.js +175 -97
  33. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
  34. package/dist/src/schemas/container/ContainerPlugin.d.ts +12 -1
  35. package/dist/src/schemas/container/ContainerPlugin.js +18 -1
  36. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
  37. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +1925 -1095
  38. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
  39. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +105 -5
  40. package/dist/src/schemas/container/ModuleFederationPlugin.js +126 -5
  41. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
  42. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +6 -6
  43. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -1
  44. package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +2 -2
  45. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +2 -2
  46. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -1
  47. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +1 -1
  48. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +79 -79
  49. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -1
  50. package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +2 -2
  51. package/dist/src/schemas/sharing/ProvideSharedPlugin.js +2 -2
  52. package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -1
  53. package/dist/src/schemas/sharing/SharePlugin.check.d.ts +3 -3
  54. package/dist/src/schemas/sharing/SharePlugin.check.js +97 -98
  55. package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -1
  56. package/dist/src/schemas/sharing/SharePlugin.d.ts +2 -2
  57. package/dist/src/schemas/sharing/SharePlugin.js +2 -2
  58. package/dist/src/schemas/sharing/SharePlugin.js.map +1 -1
  59. package/dist/src/types/runtime.d.ts +4 -1
  60. package/package.json +14 -13
@@ -1 +1 @@
1
- {"version":3,"file":"ConsumeSharedPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/sharing/ConsumeSharedPlugin.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,oBAAoB;AACpB;;;GAGG;;AAEH,kBAAe;IACb,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,WAAW,EACT,0IAA0I;YAC5I,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,WAAW,EAAE,mDAAmD;wBAChE,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,4BAA4B;6BACnC;4BACD;gCACE,IAAI,EAAE,8BAA8B;6BACrC;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE,8BAA8B;iBACrC;aACF;SACF;QACD,cAAc,EAAE;YACd,WAAW,EACT,8EAA8E;YAChF,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,WAAW,EACT,iLAAiL;oBACnL,IAAI,EAAE,SAAS;iBAChB;gBACD,MAAM,EAAE;oBACN,WAAW,EACT,6FAA6F;oBAC/F,KAAK,EAAE;wBACL;4BACE,WAAW,EAAE,qBAAqB;4BAClC,IAAI,EAAE,CAAC,KAAK,CAAC;yBACd;wBACD;4BACE,IAAI,EAAE,4BAA4B;yBACnC;qBACF;iBACF;gBACD,WAAW,EAAE;oBACX,WAAW,EACT,yJAAyJ;oBAC3J,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;iBACb;gBACD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d,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,wBAAwB;SAC/B;QACD,UAAU,EAAE;YACV,WAAW,EACT,yEAAyE;YAC3E,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;iBACb;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,CAAC;qBACb;iBACF;aACF;SACF;QACD,WAAW,EAAE;YACX,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,8BAA8B,EAAE;oBAC9B,WAAW,EAAE,oDAAoD;oBACjE,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF;IACD,QAAQ,EAAE,CAAC,UAAU,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"ConsumeSharedPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/sharing/ConsumeSharedPlugin.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,oBAAoB;AACpB;;;GAGG;;AAEH,kBAAe;IACb,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,WAAW,EACT,0IAA0I;YAC5I,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,WAAW,EAAE,mDAAmD;wBAChE,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,4BAA4B;6BACnC;4BACD;gCACE,IAAI,EAAE,8BAA8B;6BACrC;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE,8BAA8B;iBACrC;aACF;SACF;QACD,cAAc,EAAE;YACd,WAAW,EACT,8EAA8E;YAChF,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,WAAW,EACT,iLAAiL;oBACnL,IAAI,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pB,WAAW,EAAE,+CAA+C;yBAC7D;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,kEAAkE;iBACrE;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,sGAAsG;iBACzG;aACF;YACD,oBAAoB,EAAE,KAAK;SAC5B;KACF;IACD,KAAK,EAAE,4BAA4B;IACnC,WAAW,EAAE,uCAAuC;IACpD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,wBAAwB;SAC/B;QACD,UAAU,EAAE;YACV,WAAW,EACT,yEAAyE;YAC3E,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;iBACb;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,CAAC;qBACb;iBACF;aACF;SACF;QACD,WAAW,EAAE;YACX,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,2BAA2B,EAAE;oBAC3B,WAAW,EAAE,oDAAoD;oBACjE,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF;IACD,QAAQ,EAAE,CAAC,UAAU,CAAC;CACd,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export declare const validate: typeof o;
2
2
  export default o;
3
- declare function o(r: any, { instancePath: e, parentData: t, parentDataProperty: s, rootData: i, }?: {
3
+ declare function o(r: any, { instancePath: e, parentData: t, parentDataProperty: s, rootData: a, }?: {
4
4
  instancePath?: string | undefined;
5
5
  rootData?: any;
6
6
  }): any;
@@ -30,10 +30,10 @@ const r = {
30
30
  version: { anyOf: [{ enum: [!1] }, { type: 'string' }] },
31
31
  exclude: { $ref: '#/definitions/IncludeExcludeOptions' },
32
32
  include: { $ref: '#/definitions/IncludeExcludeOptions' },
33
- nodeModulesReconstructedLookup: { type: 'boolean' },
33
+ allowNodeModulesSuffixMatch: { type: 'boolean' },
34
34
  },
35
35
  }, e = Object.prototype.hasOwnProperty;
36
- function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, rootData: a = s, } = {}) {
36
+ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: a, rootData: i = s, } = {}) {
37
37
  let l = null, p = 0;
38
38
  if (0 === p) {
39
39
  if (!s || 'object' != typeof s || Array.isArray(s))
@@ -85,8 +85,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
85
85
  let r = s.shareScope;
86
86
  const e = p, n = p;
87
87
  let o = !1;
88
- const i = p;
89
- if (p === i)
88
+ const a = p;
89
+ if (p === a)
90
90
  if ('string' == typeof r) {
91
91
  if (r.length < 1) {
92
92
  const r = { params: {} };
@@ -97,7 +97,7 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
97
97
  const r = { params: { type: 'string' } };
98
98
  null === l ? (l = [r]) : l.push(r), p++;
99
99
  }
100
- var u = i === p;
100
+ var u = a === p;
101
101
  if (((o = o || u), !o)) {
102
102
  const e = p;
103
103
  if (p === e)
@@ -141,8 +141,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
141
141
  if (void 0 !== s.requiredVersion) {
142
142
  let e = s.requiredVersion;
143
143
  const n = p, o = p;
144
- let i = !1;
145
- const a = p;
144
+ let a = !1;
145
+ const i = p;
146
146
  if (!1 !== e) {
147
147
  const e = {
148
148
  params: {
@@ -151,16 +151,16 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
151
151
  };
152
152
  null === l ? (l = [e]) : l.push(e), p++;
153
153
  }
154
- var c = a === p;
155
- if (((i = i || c), !i)) {
154
+ var c = i === p;
155
+ if (((a = a || c), !a)) {
156
156
  const r = p;
157
157
  if ('string' != typeof e) {
158
158
  const r = { params: { type: 'string' } };
159
159
  null === l ? (l = [r]) : l.push(r), p++;
160
160
  }
161
- (c = r === p), (i = i || c);
161
+ (c = r === p), (a = a || c);
162
162
  }
163
- if (!i) {
163
+ if (!a) {
164
164
  const r = { params: {} };
165
165
  return (null === l ? (l = [r]) : l.push(r),
166
166
  p++,
@@ -224,8 +224,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
224
224
  if (void 0 !== s.version) {
225
225
  let e = s.version;
226
226
  const n = p, o = p;
227
- let i = !1;
228
- const a = p;
227
+ let a = !1;
228
+ const i = p;
229
229
  if (!1 !== e) {
230
230
  const e = {
231
231
  params: {
@@ -234,16 +234,16 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
234
234
  };
235
235
  null === l ? (l = [e]) : l.push(e), p++;
236
236
  }
237
- var y = a === p;
238
- if (((i = i || y), !i)) {
237
+ var y = i === p;
238
+ if (((a = a || y), !a)) {
239
239
  const r = p;
240
240
  if ('string' != typeof e) {
241
241
  const r = { params: { type: 'string' } };
242
242
  null === l ? (l = [r]) : l.push(r), p++;
243
243
  }
244
- (y = r === p), (i = i || y);
244
+ (y = r === p), (a = a || y);
245
245
  }
246
- if (!i) {
246
+ if (!a) {
247
247
  const r = { params: {} };
248
248
  return (null === l ? (l = [r]) : l.push(r),
249
249
  p++,
@@ -260,8 +260,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
260
260
  if (void 0 !== s.exclude) {
261
261
  let r = s.exclude;
262
262
  const e = p, n = p, o = p;
263
- let i = !1;
264
- const a = p;
263
+ let a = !1;
264
+ const i = p;
265
265
  if (r &&
266
266
  'object' == typeof r &&
267
267
  !Array.isArray(r)) {
@@ -271,8 +271,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
271
271
  null === l ? (l = [r]) : l.push(r), p++;
272
272
  }
273
273
  }
274
- var g = a === p;
275
- if (((i = i || g), !i)) {
274
+ var h = i === p;
275
+ if (((a = a || h), !a)) {
276
276
  const e = p;
277
277
  if (r &&
278
278
  'object' == typeof r &&
@@ -285,9 +285,9 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
285
285
  null === l ? (l = [r]) : l.push(r), p++;
286
286
  }
287
287
  }
288
- (g = e === p), (i = i || g);
288
+ (h = e === p), (a = a || h);
289
289
  }
290
- if (!i) {
290
+ if (!a) {
291
291
  const r = { params: {} };
292
292
  return (null === l ? (l = [r]) : l.push(r),
293
293
  p++,
@@ -319,22 +319,22 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
319
319
  let e = r.request;
320
320
  const s = p, n = p;
321
321
  let o = !1;
322
- const i = p;
322
+ const a = p;
323
323
  if ('string' != typeof e) {
324
324
  const r = {
325
325
  params: { type: 'string' },
326
326
  };
327
327
  null === l ? (l = [r]) : l.push(r), p++;
328
328
  }
329
- var h = i === p;
330
- if (((o = o || h), !o)) {
329
+ var g = a === p;
330
+ if (((o = o || g), !o)) {
331
331
  const r = p;
332
332
  if (!(e instanceof RegExp)) {
333
333
  const r = { params: {} };
334
334
  null === l ? (l = [r]) : l.push(r),
335
335
  p++;
336
336
  }
337
- (h = r === p), (o = o || h);
337
+ (g = r === p), (o = o || g);
338
338
  }
339
339
  if (!o) {
340
340
  const r = { params: {} };
@@ -386,8 +386,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
386
386
  if (void 0 !== s.include) {
387
387
  let r = s.include;
388
388
  const e = p, n = p, o = p;
389
- let i = !1;
390
- const a = p;
389
+ let a = !1;
390
+ const i = p;
391
391
  if (r &&
392
392
  'object' == typeof r &&
393
393
  !Array.isArray(r)) {
@@ -399,8 +399,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
399
399
  null === l ? (l = [r]) : l.push(r), p++;
400
400
  }
401
401
  }
402
- var d = a === p;
403
- if (((i = i || d), !i)) {
402
+ var d = i === p;
403
+ if (((a = a || d), !a)) {
404
404
  const e = p;
405
405
  if (r &&
406
406
  'object' == typeof r &&
@@ -414,9 +414,9 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
414
414
  null === l ? (l = [r]) : l.push(r), p++;
415
415
  }
416
416
  }
417
- (d = e === p), (i = i || d);
417
+ (d = e === p), (a = a || d);
418
418
  }
419
- if (!i) {
419
+ if (!a) {
420
420
  const r = { params: {} };
421
421
  return (null === l ? (l = [r]) : l.push(r),
422
422
  p++,
@@ -451,7 +451,7 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
451
451
  let e = r.request;
452
452
  const s = p, n = p;
453
453
  let o = !1;
454
- const i = p;
454
+ const a = p;
455
455
  if ('string' != typeof e) {
456
456
  const r = {
457
457
  params: { type: 'string' },
@@ -459,7 +459,7 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
459
459
  null === l ? (l = [r]) : l.push(r),
460
460
  p++;
461
461
  }
462
- var v = i === p;
462
+ var v = a === p;
463
463
  if (((o = o || v), !o)) {
464
464
  const r = p;
465
465
  if (!(e instanceof RegExp)) {
@@ -519,10 +519,10 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
519
519
  else
520
520
  f = !0;
521
521
  if (f)
522
- if (void 0 !== s.nodeModulesReconstructedLookup) {
522
+ if (void 0 !== s.allowNodeModulesSuffixMatch) {
523
523
  const r = p;
524
524
  if ('boolean' !=
525
- typeof s.nodeModulesReconstructedLookup)
525
+ typeof s.allowNodeModulesSuffixMatch)
526
526
  return ((t.errors = [
527
527
  { params: { type: 'boolean' } },
528
528
  ]),
@@ -547,8 +547,8 @@ function t(s, { instancePath: n = '', parentData: o, parentDataProperty: i, root
547
547
  }
548
548
  return (t.errors = l), 0 === p;
549
549
  }
550
- function s(r, { instancePath: e = '', parentData: n, parentDataProperty: o, rootData: i = r, } = {}) {
551
- let a = null, l = 0;
550
+ function s(r, { instancePath: e = '', parentData: n, parentDataProperty: o, rootData: a = r, } = {}) {
551
+ let i = null, l = 0;
552
552
  if (0 === l) {
553
553
  if (!r || 'object' != typeof r || Array.isArray(r))
554
554
  return (s.errors = [{ params: { type: 'object' } }]), !1;
@@ -561,8 +561,8 @@ function s(r, { instancePath: e = '', parentData: n, parentDataProperty: o, root
561
561
  instancePath: e + '/' + n.replace(/~/g, '~0').replace(/\//g, '~1'),
562
562
  parentData: r,
563
563
  parentDataProperty: n,
564
- rootData: i,
565
- }) || ((a = null === a ? t.errors : a.concat(t.errors)), (l = a.length));
564
+ rootData: a,
565
+ }) || ((i = null === i ? t.errors : i.concat(t.errors)), (l = i.length));
566
566
  var p = y === l;
567
567
  if (((c = c || p), !c)) {
568
568
  const r = l;
@@ -570,27 +570,27 @@ function s(r, { instancePath: e = '', parentData: n, parentDataProperty: o, root
570
570
  if ('string' == typeof o) {
571
571
  if (o.length < 1) {
572
572
  const r = { params: {} };
573
- null === a ? (a = [r]) : a.push(r), l++;
573
+ null === i ? (i = [r]) : i.push(r), l++;
574
574
  }
575
575
  }
576
576
  else {
577
577
  const r = { params: { type: 'string' } };
578
- null === a ? (a = [r]) : a.push(r), l++;
578
+ null === i ? (i = [r]) : i.push(r), l++;
579
579
  }
580
580
  (p = r === l), (c = c || p);
581
581
  }
582
582
  if (!c) {
583
583
  const r = { params: {} };
584
- return null === a ? (a = [r]) : a.push(r), l++, (s.errors = a), !1;
584
+ return null === i ? (i = [r]) : i.push(r), l++, (s.errors = i), !1;
585
585
  }
586
- if (((l = u), null !== a && (u ? (a.length = u) : (a = null)), f !== l))
586
+ if (((l = u), null !== i && (u ? (i.length = u) : (i = null)), f !== l))
587
587
  break;
588
588
  }
589
589
  }
590
- return (s.errors = a), 0 === l;
590
+ return (s.errors = i), 0 === l;
591
591
  }
592
- function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, rootData: i = r, } = {}) {
593
- let a = null, l = 0;
592
+ function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, rootData: a = r, } = {}) {
593
+ let i = null, l = 0;
594
594
  const p = l;
595
595
  let f = !1;
596
596
  const u = l;
@@ -606,12 +606,12 @@ function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, root
606
606
  if ('string' == typeof t) {
607
607
  if (t.length < 1) {
608
608
  const r = { params: {} };
609
- null === a ? (a = [r]) : a.push(r), l++;
609
+ null === i ? (i = [r]) : i.push(r), l++;
610
610
  }
611
611
  }
612
612
  else {
613
613
  const r = { params: { type: 'string' } };
614
- null === a ? (a = [r]) : a.push(r), l++;
614
+ null === i ? (i = [r]) : i.push(r), l++;
615
615
  }
616
616
  var c = u === l;
617
617
  if (((f = f || c), !f)) {
@@ -620,17 +620,17 @@ function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, root
620
620
  instancePath: e + '/' + n,
621
621
  parentData: r,
622
622
  parentDataProperty: n,
623
- rootData: i,
623
+ rootData: a,
624
624
  }) ||
625
- ((a = null === a ? s.errors : a.concat(s.errors)), (l = a.length)),
625
+ ((i = null === i ? s.errors : i.concat(s.errors)), (l = i.length)),
626
626
  (c = o === l),
627
627
  (f = f || c);
628
628
  }
629
629
  if (f)
630
- (l = p), null !== a && (p ? (a.length = p) : (a = null));
630
+ (l = p), null !== i && (p ? (i.length = p) : (i = null));
631
631
  else {
632
632
  const r = { params: {} };
633
- null === a ? (a = [r]) : a.push(r), l++;
633
+ null === i ? (i = [r]) : i.push(r), l++;
634
634
  }
635
635
  if (o !== l)
636
636
  break;
@@ -638,7 +638,7 @@ function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, root
638
638
  }
639
639
  else {
640
640
  const r = { params: { type: 'array' } };
641
- null === a ? (a = [r]) : a.push(r), l++;
641
+ null === i ? (i = [r]) : i.push(r), l++;
642
642
  }
643
643
  var y = u === l;
644
644
  if (((f = f || y), !f)) {
@@ -647,22 +647,22 @@ function n(r, { instancePath: e = '', parentData: t, parentDataProperty: o, root
647
647
  instancePath: e,
648
648
  parentData: t,
649
649
  parentDataProperty: o,
650
- rootData: i,
651
- }) || ((a = null === a ? s.errors : a.concat(s.errors)), (l = a.length)),
650
+ rootData: a,
651
+ }) || ((i = null === i ? s.errors : i.concat(s.errors)), (l = i.length)),
652
652
  (y = n === l),
653
653
  (f = f || y);
654
654
  }
655
655
  if (!f) {
656
656
  const r = { params: {} };
657
- return null === a ? (a = [r]) : a.push(r), l++, (n.errors = a), !1;
657
+ return null === i ? (i = [r]) : i.push(r), l++, (n.errors = i), !1;
658
658
  }
659
659
  return ((l = p),
660
- null !== a && (p ? (a.length = p) : (a = null)),
661
- (n.errors = a),
660
+ null !== i && (p ? (i.length = p) : (i = null)),
661
+ (n.errors = i),
662
662
  0 === l);
663
663
  }
664
- function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, rootData: i = r, } = {}) {
665
- let a = null, l = 0;
664
+ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, rootData: a = r, } = {}) {
665
+ let i = null, l = 0;
666
666
  if (0 === l) {
667
667
  if (!r || 'object' != typeof r || Array.isArray(r))
668
668
  return (o.errors = [{ params: { type: 'object' } }]), !1;
@@ -682,10 +682,10 @@ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, root
682
682
  instancePath: e + '/provides',
683
683
  parentData: r,
684
684
  parentDataProperty: 'provides',
685
- rootData: i,
685
+ rootData: a,
686
686
  }) ||
687
- ((a = null === a ? n.errors : a.concat(n.errors)),
688
- (l = a.length));
687
+ ((i = null === i ? n.errors : i.concat(n.errors)),
688
+ (l = i.length));
689
689
  var p = t === l;
690
690
  }
691
691
  else
@@ -695,19 +695,19 @@ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, root
695
695
  let e = r.shareScope;
696
696
  const t = l, s = l;
697
697
  let n = !1;
698
- const i = l;
699
- if (l === i)
698
+ const a = l;
699
+ if (l === a)
700
700
  if ('string' == typeof e) {
701
701
  if (e.length < 1) {
702
702
  const r = { params: {} };
703
- null === a ? (a = [r]) : a.push(r), l++;
703
+ null === i ? (i = [r]) : i.push(r), l++;
704
704
  }
705
705
  }
706
706
  else {
707
707
  const r = { params: { type: 'string' } };
708
- null === a ? (a = [r]) : a.push(r), l++;
708
+ null === i ? (i = [r]) : i.push(r), l++;
709
709
  }
710
- var f = i === l;
710
+ var f = a === l;
711
711
  if (((n = n || f), !n)) {
712
712
  const r = l;
713
713
  if (l === r)
@@ -720,12 +720,12 @@ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, root
720
720
  if ('string' == typeof r) {
721
721
  if (r.length < 1) {
722
722
  const r = { params: {} };
723
- null === a ? (a = [r]) : a.push(r), l++;
723
+ null === i ? (i = [r]) : i.push(r), l++;
724
724
  }
725
725
  }
726
726
  else {
727
727
  const r = { params: { type: 'string' } };
728
- null === a ? (a = [r]) : a.push(r), l++;
728
+ null === i ? (i = [r]) : i.push(r), l++;
729
729
  }
730
730
  if (s !== l)
731
731
  break;
@@ -733,16 +733,16 @@ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, root
733
733
  }
734
734
  else {
735
735
  const r = { params: { type: 'array' } };
736
- null === a ? (a = [r]) : a.push(r), l++;
736
+ null === i ? (i = [r]) : i.push(r), l++;
737
737
  }
738
738
  (f = r === l), (n = n || f);
739
739
  }
740
740
  if (!n) {
741
741
  const r = { params: {} };
742
- return (null === a ? (a = [r]) : a.push(r), l++, (o.errors = a), !1);
742
+ return (null === i ? (i = [r]) : i.push(r), l++, (o.errors = i), !1);
743
743
  }
744
744
  (l = s),
745
- null !== a && (s ? (a.length = s) : (a = null)),
745
+ null !== i && (s ? (i.length = s) : (i = null)),
746
746
  (p = t === l);
747
747
  }
748
748
  else
@@ -757,12 +757,12 @@ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, root
757
757
  {
758
758
  const r = l;
759
759
  for (const r in e)
760
- if ('nodeModulesReconstructedLookup' !== r)
760
+ if ('allowNodeModulesSuffixMatch' !== r)
761
761
  return ((o.errors = [{ params: { additionalProperty: r } }]),
762
762
  !1);
763
763
  if (r === l &&
764
- void 0 !== e.nodeModulesReconstructedLookup &&
765
- 'boolean' != typeof e.nodeModulesReconstructedLookup)
764
+ void 0 !== e.allowNodeModulesSuffixMatch &&
765
+ 'boolean' != typeof e.allowNodeModulesSuffixMatch)
766
766
  return (o.errors = [{ params: { type: 'boolean' } }]), !1;
767
767
  }
768
768
  }
@@ -775,6 +775,6 @@ function o(r, { instancePath: e = '', parentData: t, parentDataProperty: s, root
775
775
  }
776
776
  }
777
777
  }
778
- return (o.errors = a), 0 === l;
778
+ return (o.errors = i), 0 === l;
779
779
  }
780
780
  //# sourceMappingURL=ProvideSharedPlugin.check.js.map