@rspack/core 1.0.0-alpha.0 → 1.0.0-alpha.2

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 (49) hide show
  1. package/compiled/enhanced-resolve/index.js +11 -11
  2. package/compiled/zod-validation-error/index.d.ts +4 -170
  3. package/compiled/zod-validation-error/index.js +4 -4154
  4. package/dist/Compilation.d.ts +12 -10
  5. package/dist/Compilation.js +13 -10
  6. package/dist/Compiler.d.ts +25 -27
  7. package/dist/Compiler.js +42 -24
  8. package/dist/ContextModuleFactory.d.ts +1 -1
  9. package/dist/ContextModuleFactory.js +1 -1
  10. package/dist/MultiCompiler.d.ts +11 -11
  11. package/dist/MultiCompiler.js +30 -13
  12. package/dist/NormalModule.d.ts +7 -3
  13. package/dist/NormalModule.js +27 -4
  14. package/dist/NormalModuleFactory.d.ts +2 -1
  15. package/dist/NormalModuleFactory.js +2 -1
  16. package/dist/ResolverFactory.d.ts +3 -3
  17. package/dist/ResolverFactory.js +1 -1
  18. package/dist/Stats.d.ts +2 -0
  19. package/dist/Stats.js +6 -0
  20. package/dist/Watching.d.ts +1 -1
  21. package/dist/builtin-loader/swc/index.d.ts +0 -2
  22. package/dist/builtin-loader/swc/index.js +1 -3
  23. package/dist/builtin-loader/swc/types.d.ts +0 -2
  24. package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
  25. package/dist/builtin-plugin/JavascriptModulesPlugin.js +1 -1
  26. package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.js +1 -1
  27. package/dist/builtin-plugin/SplitChunksPlugin.js +11 -2
  28. package/dist/config/adapter.js +7 -6
  29. package/dist/config/adapterRuleUse.js +0 -3
  30. package/dist/config/zod.d.ts +585 -162
  31. package/dist/config/zod.js +4 -2
  32. package/dist/exports.d.ts +8 -1
  33. package/dist/exports.js +10 -5
  34. package/dist/lib/Cache.d.ts +3 -3
  35. package/dist/lib/Cache.js +1 -1
  36. package/dist/loader-runner/index.js +9 -5
  37. package/dist/node/nodeConsole.js +26 -3
  38. package/dist/rspack.d.ts +1 -1
  39. package/dist/stats/StatsFactory.d.ts +2 -2
  40. package/dist/stats/StatsFactory.js +12 -12
  41. package/dist/stats/StatsPrinter.d.ts +1 -1
  42. package/dist/stats/StatsPrinter.js +8 -8
  43. package/dist/util/SplitChunkSize.d.ts +5 -0
  44. package/dist/util/SplitChunkSize.js +18 -0
  45. package/package.json +6 -6
  46. package/dist/builtin-loader/swc/preact.d.ts +0 -6
  47. package/dist/builtin-loader/swc/preact.js +0 -15
  48. package/dist/lite-tapable/index.d.ts +0 -146
  49. package/dist/lite-tapable/index.js +0 -752
@@ -1,752 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueriedHookMap = exports.HookMap = exports.AsyncSeriesWaterfallHook = exports.AsyncSeriesBailHook = exports.AsyncSeriesHook = exports.AsyncParallelHook = exports.SyncBailHook = exports.SyncHook = exports.QueriedHook = exports.safeStage = exports.maxStage = exports.minStage = exports.Hook = void 0;
4
- class Hook {
5
- constructor(args, name) {
6
- this.args = args;
7
- this.name = name;
8
- this.taps = [];
9
- this.interceptors = [];
10
- }
11
- intercept(interceptor) {
12
- this.interceptors.push(Object.assign({}, interceptor));
13
- if (interceptor.register) {
14
- for (let i = 0; i < this.taps.length; i++) {
15
- this.taps[i] = interceptor.register(this.taps[i]);
16
- }
17
- }
18
- }
19
- _runRegisterInterceptors(options) {
20
- for (const interceptor of this.interceptors) {
21
- if (interceptor.register) {
22
- const newOptions = interceptor.register(options);
23
- if (newOptions !== undefined) {
24
- options = newOptions;
25
- }
26
- }
27
- }
28
- return options;
29
- }
30
- _runCallInterceptors(...args) {
31
- for (const interceptor of this.interceptors) {
32
- if (interceptor.call) {
33
- interceptor.call(...args);
34
- }
35
- }
36
- }
37
- _runErrorInterceptors(e) {
38
- for (const interceptor of this.interceptors) {
39
- if (interceptor.error) {
40
- interceptor.error(e);
41
- }
42
- }
43
- }
44
- _runTapInterceptors(tap) {
45
- for (const interceptor of this.interceptors) {
46
- if (interceptor.tap) {
47
- interceptor.tap(tap);
48
- }
49
- }
50
- }
51
- _runDoneInterceptors() {
52
- for (const interceptor of this.interceptors) {
53
- if (interceptor.done) {
54
- interceptor.done();
55
- }
56
- }
57
- }
58
- _runResultInterceptors(r) {
59
- for (const interceptor of this.interceptors) {
60
- if (interceptor.result) {
61
- interceptor.result(r);
62
- }
63
- }
64
- }
65
- isUsed() {
66
- return this.taps.length > 0 || this.interceptors.length > 0;
67
- }
68
- queryStageRange(stageRange) {
69
- return new QueriedHook(stageRange, this);
70
- }
71
- callAsyncStageRange(queried, ...args) {
72
- throw new Error("Hook should implement there own _callAsyncStageRange");
73
- }
74
- callAsync(...args) {
75
- return this.callAsyncStageRange(this.queryStageRange(allStageRange), ...args);
76
- }
77
- promiseStageRange(queried, ...args) {
78
- return new Promise((resolve, reject) => {
79
- this.callAsyncStageRange(queried,
80
- // @ts-expect-error
81
- ...args, (e, r) => {
82
- if (e)
83
- return reject(e);
84
- return resolve(r);
85
- });
86
- });
87
- }
88
- promise(...args) {
89
- return this.promiseStageRange(this.queryStageRange(allStageRange), ...args);
90
- }
91
- tap(options, fn) {
92
- this._tap("sync", options, fn);
93
- }
94
- _tap(type, options, fn) {
95
- if (typeof options === "string") {
96
- options = {
97
- name: options.trim()
98
- };
99
- }
100
- else if (typeof options !== "object" || options === null) {
101
- throw new Error("Invalid tap options");
102
- }
103
- if (typeof options.name !== "string" || options.name === "") {
104
- throw new Error("Missing name for tap");
105
- }
106
- let insert = Object.assign({ type, fn }, options);
107
- insert = this._runRegisterInterceptors(insert);
108
- this._insert(insert);
109
- }
110
- _insert(item) {
111
- let before;
112
- if (typeof item.before === "string") {
113
- before = new Set([item.before]);
114
- }
115
- else if (Array.isArray(item.before)) {
116
- before = new Set(item.before);
117
- }
118
- let stage = 0;
119
- if (typeof item.stage === "number") {
120
- stage = item.stage;
121
- }
122
- let i = this.taps.length;
123
- while (i > 0) {
124
- i--;
125
- const x = this.taps[i];
126
- this.taps[i + 1] = x;
127
- const xStage = x.stage || 0;
128
- if (before) {
129
- if (before.has(x.name)) {
130
- before.delete(x.name);
131
- continue;
132
- }
133
- if (before.size > 0) {
134
- continue;
135
- }
136
- }
137
- if (xStage > stage) {
138
- continue;
139
- }
140
- i++;
141
- break;
142
- }
143
- this.taps[i] = item;
144
- }
145
- }
146
- exports.Hook = Hook;
147
- exports.minStage = -Infinity;
148
- exports.maxStage = Infinity;
149
- const allStageRange = [exports.minStage, exports.maxStage];
150
- const i32MIN = -(2 ** 31);
151
- const i32MAX = 2 ** 31 - 1;
152
- const safeStage = (stage) => {
153
- if (stage < i32MIN)
154
- return i32MIN;
155
- if (stage > i32MAX)
156
- return i32MAX;
157
- return stage;
158
- };
159
- exports.safeStage = safeStage;
160
- class QueriedHook {
161
- constructor(stageRange, hook) {
162
- const tapsInRange = [];
163
- const [from, to] = stageRange;
164
- for (let tap of hook.taps) {
165
- const stage = tap.stage ?? 0;
166
- if (from <= stage && stage < to) {
167
- tapsInRange.push(tap);
168
- }
169
- else if (to === exports.maxStage && stage === exports.maxStage) {
170
- tapsInRange.push(tap);
171
- }
172
- }
173
- this.stageRange = stageRange;
174
- this.hook = hook;
175
- this.tapsInRange = tapsInRange;
176
- }
177
- isUsed() {
178
- if (this.tapsInRange.length > 0)
179
- return true;
180
- if (this.stageRange[0] === exports.minStage &&
181
- this.hook.interceptors.some(i => i.call))
182
- return true;
183
- if (this.stageRange[1] === exports.maxStage &&
184
- this.hook.interceptors.some(i => i.done))
185
- return true;
186
- return false;
187
- }
188
- call(...args) {
189
- if (typeof this.hook.callStageRange !==
190
- "function") {
191
- throw new Error("hook is not a SyncHook, call methods only exists on SyncHook");
192
- }
193
- return this.hook.callStageRange(this, ...args);
194
- }
195
- callAsync(...args) {
196
- return this.hook.callAsyncStageRange(this, ...args);
197
- }
198
- promise(...args) {
199
- return this.hook.promiseStageRange(this, ...args);
200
- }
201
- }
202
- exports.QueriedHook = QueriedHook;
203
- class SyncHook extends Hook {
204
- callAsyncStageRange(queried, ...args) {
205
- const { stageRange: [from, to], tapsInRange } = queried;
206
- const args2 = [...args];
207
- const cb = args2.pop();
208
- if (from === exports.minStage) {
209
- this._runCallInterceptors(...args2);
210
- }
211
- for (let tap of tapsInRange) {
212
- this._runTapInterceptors(tap);
213
- try {
214
- tap.fn(...args2);
215
- }
216
- catch (e) {
217
- const err = e;
218
- this._runErrorInterceptors(err);
219
- return cb(err);
220
- }
221
- }
222
- if (to === exports.maxStage) {
223
- this._runDoneInterceptors();
224
- cb(null);
225
- }
226
- }
227
- call(...args) {
228
- return this.callStageRange(this.queryStageRange(allStageRange), ...args);
229
- }
230
- callStageRange(queried, ...args) {
231
- let result, error;
232
- this.callAsyncStageRange(queried,
233
- // @ts-expect-error
234
- ...args, (e, r) => {
235
- error = e;
236
- result = r;
237
- });
238
- if (error) {
239
- throw error;
240
- }
241
- return result;
242
- }
243
- tapAsync() {
244
- throw new Error("tapAsync is not supported on a SyncHook");
245
- }
246
- tapPromise() {
247
- throw new Error("tapPromise is not supported on a SyncHook");
248
- }
249
- }
250
- exports.SyncHook = SyncHook;
251
- class SyncBailHook extends Hook {
252
- callAsyncStageRange(queried, ...args) {
253
- const { stageRange: [from, to], tapsInRange } = queried;
254
- const args2 = [...args];
255
- const cb = args2.pop();
256
- if (from === exports.minStage) {
257
- this._runCallInterceptors(...args2);
258
- }
259
- for (let tap of tapsInRange) {
260
- this._runTapInterceptors(tap);
261
- let r = undefined;
262
- try {
263
- r = tap.fn(...args2);
264
- }
265
- catch (e) {
266
- const err = e;
267
- this._runErrorInterceptors(err);
268
- return cb(err);
269
- }
270
- if (r !== undefined) {
271
- this._runResultInterceptors(r);
272
- return cb(null, r);
273
- }
274
- }
275
- if (to === exports.maxStage) {
276
- this._runDoneInterceptors();
277
- cb(null);
278
- }
279
- }
280
- call(...args) {
281
- return this.callStageRange(this.queryStageRange(allStageRange), ...args);
282
- }
283
- callStageRange(queried, ...args) {
284
- let result, error;
285
- this.callAsyncStageRange(queried,
286
- // @ts-expect-error
287
- ...args, (e, r) => {
288
- error = e;
289
- result = r;
290
- });
291
- if (error) {
292
- throw error;
293
- }
294
- return result;
295
- }
296
- tapAsync() {
297
- throw new Error("tapAsync is not supported on a SyncBailHook");
298
- }
299
- tapPromise() {
300
- throw new Error("tapPromise is not supported on a SyncBailHook");
301
- }
302
- }
303
- exports.SyncBailHook = SyncBailHook;
304
- class AsyncParallelHook extends Hook {
305
- callAsyncStageRange(queried, ...args) {
306
- const { stageRange: [from, to], tapsInRange } = queried;
307
- const args2 = [...args];
308
- const cb = args2.pop();
309
- if (from === exports.minStage) {
310
- this._runCallInterceptors(...args2);
311
- }
312
- const done = () => {
313
- this._runDoneInterceptors();
314
- cb(null);
315
- };
316
- const error = (e) => {
317
- this._runErrorInterceptors(e);
318
- cb(e);
319
- };
320
- if (tapsInRange.length === 0)
321
- return done();
322
- let counter = tapsInRange.length;
323
- for (let tap of tapsInRange) {
324
- this._runTapInterceptors(tap);
325
- if (tap.type === "promise") {
326
- const promise = tap.fn(...args2);
327
- if (!promise || !promise.then) {
328
- throw new Error("Tap function (tapPromise) did not return promise (returned " +
329
- promise +
330
- ")");
331
- }
332
- promise.then(() => {
333
- counter -= 1;
334
- if (counter === 0) {
335
- done();
336
- }
337
- }, (e) => {
338
- counter = 0;
339
- error(e);
340
- });
341
- }
342
- else if (tap.type === "async") {
343
- tap.fn(...args2, (e) => {
344
- if (e) {
345
- counter = 0;
346
- error(e);
347
- }
348
- else {
349
- counter -= 1;
350
- if (counter === 0) {
351
- done();
352
- }
353
- }
354
- });
355
- }
356
- else {
357
- let hasError = false;
358
- try {
359
- tap.fn(...args2);
360
- }
361
- catch (e) {
362
- hasError = true;
363
- counter = 0;
364
- error(e);
365
- }
366
- if (!hasError && --counter === 0) {
367
- done();
368
- }
369
- }
370
- if (counter <= 0)
371
- return;
372
- }
373
- }
374
- tapAsync(options, fn) {
375
- this._tap("async", options, fn);
376
- }
377
- tapPromise(options, fn) {
378
- this._tap("promise", options, fn);
379
- }
380
- }
381
- exports.AsyncParallelHook = AsyncParallelHook;
382
- class AsyncSeriesHook extends Hook {
383
- callAsyncStageRange(queried, ...args) {
384
- const { stageRange: [from, to], tapsInRange } = queried;
385
- const args2 = [...args];
386
- const cb = args2.pop();
387
- if (from === exports.minStage) {
388
- this._runCallInterceptors(...args2);
389
- }
390
- const done = () => {
391
- this._runDoneInterceptors();
392
- cb(null);
393
- };
394
- const error = (e) => {
395
- this._runErrorInterceptors(e);
396
- cb(e);
397
- };
398
- if (tapsInRange.length === 0)
399
- return done();
400
- let index = 0;
401
- const next = () => {
402
- const tap = tapsInRange[index];
403
- this._runTapInterceptors(tap);
404
- if (tap.type === "promise") {
405
- const promise = tap.fn(...args2);
406
- if (!promise || !promise.then) {
407
- throw new Error("Tap function (tapPromise) did not return promise (returned " +
408
- promise +
409
- ")");
410
- }
411
- promise.then(() => {
412
- index += 1;
413
- if (index === tapsInRange.length) {
414
- done();
415
- }
416
- else {
417
- next();
418
- }
419
- }, (e) => {
420
- index = tapsInRange.length;
421
- error(e);
422
- });
423
- }
424
- else if (tap.type === "async") {
425
- tap.fn(...args2, (e) => {
426
- if (e) {
427
- index = tapsInRange.length;
428
- error(e);
429
- }
430
- else {
431
- index += 1;
432
- if (index === tapsInRange.length) {
433
- done();
434
- }
435
- else {
436
- next();
437
- }
438
- }
439
- });
440
- }
441
- else {
442
- let hasError = false;
443
- try {
444
- tap.fn(...args2);
445
- }
446
- catch (e) {
447
- hasError = true;
448
- index = tapsInRange.length;
449
- error(e);
450
- }
451
- if (!hasError) {
452
- index += 1;
453
- if (index === tapsInRange.length) {
454
- done();
455
- }
456
- else {
457
- next();
458
- }
459
- }
460
- }
461
- if (index === tapsInRange.length)
462
- return;
463
- };
464
- next();
465
- }
466
- tapAsync(options, fn) {
467
- this._tap("async", options, fn);
468
- }
469
- tapPromise(options, fn) {
470
- this._tap("promise", options, fn);
471
- }
472
- }
473
- exports.AsyncSeriesHook = AsyncSeriesHook;
474
- class AsyncSeriesBailHook extends Hook {
475
- callAsyncStageRange(queried, ...args) {
476
- const { stageRange: [from, to], tapsInRange } = queried;
477
- const args2 = [...args];
478
- const cb = args2.pop();
479
- if (from === exports.minStage) {
480
- this._runCallInterceptors(...args2);
481
- }
482
- const done = () => {
483
- this._runDoneInterceptors();
484
- cb(null);
485
- };
486
- const error = (e) => {
487
- this._runErrorInterceptors(e);
488
- cb(e);
489
- };
490
- const result = (r) => {
491
- this._runResultInterceptors(r);
492
- cb(null, r);
493
- };
494
- if (tapsInRange.length === 0)
495
- return done();
496
- let index = 0;
497
- const next = () => {
498
- const tap = tapsInRange[index];
499
- this._runTapInterceptors(tap);
500
- if (tap.type === "promise") {
501
- const promise = tap.fn(...args2);
502
- if (!promise || !promise.then) {
503
- throw new Error("Tap function (tapPromise) did not return promise (returned " +
504
- promise +
505
- ")");
506
- }
507
- promise.then((r) => {
508
- index += 1;
509
- if (r !== undefined) {
510
- result(r);
511
- }
512
- else if (index === tapsInRange.length) {
513
- done();
514
- }
515
- else {
516
- next();
517
- }
518
- }, (e) => {
519
- index = tapsInRange.length;
520
- error(e);
521
- });
522
- }
523
- else if (tap.type === "async") {
524
- tap.fn(...args2, (e, r) => {
525
- if (e) {
526
- index = tapsInRange.length;
527
- error(e);
528
- }
529
- else {
530
- index += 1;
531
- if (r !== undefined) {
532
- result(r);
533
- }
534
- else if (index === tapsInRange.length) {
535
- done();
536
- }
537
- else {
538
- next();
539
- }
540
- }
541
- });
542
- }
543
- else {
544
- let hasError = false;
545
- let r = undefined;
546
- try {
547
- r = tap.fn(...args2);
548
- }
549
- catch (e) {
550
- hasError = true;
551
- index = tapsInRange.length;
552
- error(e);
553
- }
554
- if (!hasError) {
555
- index += 1;
556
- if (r !== undefined) {
557
- result(r);
558
- }
559
- else if (index === tapsInRange.length) {
560
- done();
561
- }
562
- else {
563
- next();
564
- }
565
- }
566
- }
567
- if (index === tapsInRange.length)
568
- return;
569
- };
570
- next();
571
- }
572
- tapAsync(options, fn) {
573
- this._tap("async", options, fn);
574
- }
575
- tapPromise(options, fn) {
576
- this._tap("promise", options, fn);
577
- }
578
- }
579
- exports.AsyncSeriesBailHook = AsyncSeriesBailHook;
580
- class AsyncSeriesWaterfallHook extends Hook {
581
- constructor(args, name) {
582
- if (!args?.length)
583
- throw new Error("Waterfall hooks must have at least one argument");
584
- super(args, name);
585
- }
586
- callAsyncStageRange(queried, ...args) {
587
- const { stageRange: [from, to], tapsInRange } = queried;
588
- let data = args[0];
589
- const cb = args[1];
590
- if (from === exports.minStage) {
591
- this._runCallInterceptors(data);
592
- }
593
- const done = () => {
594
- this._runDoneInterceptors();
595
- cb(null, data);
596
- };
597
- const error = (e) => {
598
- this._runErrorInterceptors(e);
599
- cb(e);
600
- };
601
- if (tapsInRange.length === 0)
602
- return done();
603
- let index = 0;
604
- const next = () => {
605
- const tap = tapsInRange[index];
606
- this._runTapInterceptors(tap);
607
- if (tap.type === "promise") {
608
- const promise = tap.fn(data);
609
- if (!promise || !promise.then) {
610
- throw new Error("Tap function (tapPromise) did not return promise (returned " +
611
- promise +
612
- ")");
613
- }
614
- promise.then((r) => {
615
- index += 1;
616
- if (r !== undefined) {
617
- data = r;
618
- }
619
- if (index === tapsInRange.length) {
620
- done();
621
- }
622
- else {
623
- next();
624
- }
625
- }, (e) => {
626
- index = tapsInRange.length;
627
- error(e);
628
- });
629
- }
630
- else if (tap.type === "async") {
631
- tap.fn(data, (e, r) => {
632
- if (e) {
633
- index = tapsInRange.length;
634
- error(e);
635
- }
636
- else {
637
- index += 1;
638
- if (r !== undefined) {
639
- data = r;
640
- }
641
- if (index === tapsInRange.length) {
642
- done();
643
- }
644
- else {
645
- next();
646
- }
647
- }
648
- });
649
- }
650
- else {
651
- let hasError = false;
652
- try {
653
- const r = tap.fn(data);
654
- if (r !== undefined) {
655
- data = r;
656
- }
657
- }
658
- catch (e) {
659
- hasError = true;
660
- index = tapsInRange.length;
661
- error(e);
662
- }
663
- if (!hasError) {
664
- index += 1;
665
- if (index === tapsInRange.length) {
666
- done();
667
- }
668
- else {
669
- next();
670
- }
671
- }
672
- }
673
- if (index === tapsInRange.length)
674
- return;
675
- };
676
- next();
677
- }
678
- tapAsync(options, fn) {
679
- this._tap("async", options, fn);
680
- }
681
- tapPromise(options, fn) {
682
- this._tap("promise", options, fn);
683
- }
684
- }
685
- exports.AsyncSeriesWaterfallHook = AsyncSeriesWaterfallHook;
686
- const defaultFactory = (key, hook) => hook;
687
- class HookMap {
688
- constructor(factory, name) {
689
- this._map = new Map();
690
- this.name = name;
691
- this._factory = factory;
692
- this._interceptors = [];
693
- }
694
- get(key) {
695
- return this._map.get(key);
696
- }
697
- for(key) {
698
- const hook = this.get(key);
699
- if (hook !== undefined) {
700
- return hook;
701
- }
702
- let newHook = this._factory(key);
703
- const interceptors = this._interceptors;
704
- for (let i = 0; i < interceptors.length; i++) {
705
- const factory = interceptors[i].factory;
706
- if (factory) {
707
- newHook = factory(key, newHook);
708
- }
709
- }
710
- this._map.set(key, newHook);
711
- return newHook;
712
- }
713
- intercept(interceptor) {
714
- this._interceptors.push(Object.assign({
715
- factory: defaultFactory
716
- }, interceptor));
717
- }
718
- isUsed() {
719
- for (const key of this._map.keys()) {
720
- const hook = this.get(key);
721
- if (hook?.isUsed()) {
722
- return true;
723
- }
724
- }
725
- return false;
726
- }
727
- queryStageRange(stageRange) {
728
- return new QueriedHookMap(stageRange, this);
729
- }
730
- }
731
- exports.HookMap = HookMap;
732
- class QueriedHookMap {
733
- constructor(stageRange, hookMap) {
734
- this.stageRange = stageRange;
735
- this.hookMap = hookMap;
736
- }
737
- get(key) {
738
- return this.hookMap.get(key)?.queryStageRange(this.stageRange);
739
- }
740
- for(key) {
741
- return this.hookMap.for(key).queryStageRange(this.stageRange);
742
- }
743
- isUsed() {
744
- for (const key in this.hookMap._map.keys()) {
745
- if (this.get(key)?.isUsed()) {
746
- return true;
747
- }
748
- }
749
- return false;
750
- }
751
- }
752
- exports.QueriedHookMap = QueriedHookMap;