@rstest/core 0.8.1 → 0.8.3

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 (57) hide show
  1. package/dist/0~130.js +1 -2
  2. package/dist/0~1472.js +2 -3
  3. package/dist/0~1981.js +1 -2
  4. package/dist/0~2173.js +65 -27
  5. package/dist/0~2255.js +1 -2
  6. package/dist/0~3062.js +1 -2
  7. package/dist/0~3346.js +1 -2
  8. package/dist/0~3919.js +1 -2
  9. package/dist/0~4403.js +4 -4
  10. package/dist/0~4809.js +1 -2
  11. package/dist/0~5835.js +1 -2
  12. package/dist/0~62.js +1 -2
  13. package/dist/0~6588.js +4 -4
  14. package/dist/0~6907.js +1 -2
  15. package/dist/0~6923.js +1 -2
  16. package/dist/0~7583.js +1 -2
  17. package/dist/0~7882.js +7 -579
  18. package/dist/0~8426.js +1 -2
  19. package/dist/0~89.js +16 -12
  20. package/dist/0~9348.js +1 -2
  21. package/dist/0~9634.js +21 -8
  22. package/dist/1157.js +48 -97
  23. package/dist/1294.js +1 -2
  24. package/dist/1672.js +1 -2
  25. package/dist/3160.js +111 -8
  26. package/dist/3216.js +1 -2
  27. package/dist/4397.js +1 -2
  28. package/dist/4484.js +1 -2
  29. package/dist/487.js +1 -2
  30. package/dist/4881.js +1 -2
  31. package/dist/4899.js +2 -2
  32. package/dist/5734.js +1 -2
  33. package/dist/6151.js +13 -10
  34. package/dist/6198.js +1 -2
  35. package/dist/6973.js +1 -2
  36. package/dist/7011.js +1 -2
  37. package/dist/721.js +1 -2
  38. package/dist/9131.js +1329 -27
  39. package/dist/browser-runtime/2~907.js +0 -2
  40. package/dist/browser-runtime/389.js +14 -11
  41. package/dist/browser-runtime/389.js.LICENSE.txt +22 -0
  42. package/dist/browser-runtime/index.d.ts +100 -111
  43. package/dist/browser-runtime/rslib-runtime.js +0 -2
  44. package/dist/browser.d.ts +156 -110
  45. package/dist/browser.js +2 -2
  46. package/dist/globalSetupWorker.js +1 -2
  47. package/dist/index.d.ts +100 -110
  48. package/dist/index.js +1 -2
  49. package/dist/mockRuntimeCode.js +63 -174
  50. package/dist/rslib-runtime.js +1 -2
  51. package/dist/worker.d.ts +99 -110
  52. package/dist/worker.js +1 -2
  53. package/package.json +4 -4
  54. package/dist/browser-runtime/2~907.js.map +0 -1
  55. package/dist/browser-runtime/389.js.map +0 -1
  56. package/dist/browser-runtime/rslib-runtime.js.map +0 -1
  57. /package/dist/{1157.js.LICENSE.txt → 3160.js.LICENSE.txt} +0 -0
package/dist/0~7882.js CHANGED
@@ -1,165 +1,11 @@
1
- import 'module';
2
- /*#__PURE__*/ import.meta.url;
1
+ import "node:module";
3
2
  import { __webpack_require__ } from "./rslib-runtime.js";
4
- import { node_process, color } from "./3160.js";
5
- import { determineAgent, promises } from "./1157.js";
3
+ import { determineAgent, color } from "./3160.js";
4
+ import { detect, resolveCommand } from "./9131.js";
6
5
  import { Ie, Me, ye, M, dist_Y, Se, ve, pD, xe } from "./0~9348.js";
7
- const constants_AGENTS = [
8
- "npm",
9
- "yarn",
10
- "yarn@berry",
11
- "pnpm",
12
- "pnpm@6",
13
- "bun",
14
- "deno"
15
- ];
16
- const LOCKS = {
17
- "bun.lock": "bun",
18
- "bun.lockb": "bun",
19
- "deno.lock": "deno",
20
- "pnpm-lock.yaml": "pnpm",
21
- "pnpm-workspace.yaml": "pnpm",
22
- "yarn.lock": "yarn",
23
- "package-lock.json": "npm",
24
- "npm-shrinkwrap.json": "npm"
25
- };
26
- const INSTALL_METADATA = {
27
- "node_modules/.deno/": "deno",
28
- "node_modules/.pnpm/": "pnpm",
29
- "node_modules/.yarn-state.yml": "yarn",
30
- "node_modules/.yarn_integrity": "yarn",
31
- "node_modules/.package-lock.json": "npm",
32
- ".pnp.cjs": "yarn",
33
- ".pnp.js": "yarn",
34
- "bun.lock": "bun",
35
- "bun.lockb": "bun"
36
- };
37
- const external_node_path_ = __webpack_require__("node:path");
38
- async function pathExists(path2, type) {
39
- try {
40
- const stat = await promises.stat(path2);
41
- return "file" === type ? stat.isFile() : stat.isDirectory();
42
- } catch {
43
- return false;
44
- }
45
- }
46
- function* lookup(cwd = node_process.cwd()) {
47
- let directory = external_node_path_["default"].resolve(cwd);
48
- const { root } = external_node_path_["default"].parse(directory);
49
- while(directory && directory !== root){
50
- yield directory;
51
- directory = external_node_path_["default"].dirname(directory);
52
- }
53
- }
54
- async function parsePackageJson(filepath, options) {
55
- if (!filepath || !await pathExists(filepath, "file")) return null;
56
- return await handlePackageManager(filepath, options);
57
- }
58
- async function detect(options = {}) {
59
- const { cwd, strategies = [
60
- "lockfile",
61
- "packageManager-field",
62
- "devEngines-field"
63
- ] } = options;
64
- let stopDir;
65
- if ("string" == typeof options.stopDir) {
66
- const resolved = external_node_path_["default"].resolve(options.stopDir);
67
- stopDir = (dir)=>dir === resolved;
68
- } else stopDir = options.stopDir;
69
- for (const directory of lookup(cwd)){
70
- for (const strategy of strategies)switch(strategy){
71
- case "lockfile":
72
- for (const lock of Object.keys(LOCKS))if (await pathExists(external_node_path_["default"].join(directory, lock), "file")) {
73
- const name = LOCKS[lock];
74
- const result = await parsePackageJson(external_node_path_["default"].join(directory, "package.json"), options);
75
- if (result) return result;
76
- return {
77
- name,
78
- agent: name
79
- };
80
- }
81
- break;
82
- case "packageManager-field":
83
- case "devEngines-field":
84
- {
85
- const result = await parsePackageJson(external_node_path_["default"].join(directory, "package.json"), options);
86
- if (result) return result;
87
- break;
88
- }
89
- case "install-metadata":
90
- for (const metadata of Object.keys(INSTALL_METADATA)){
91
- const fileOrDir = metadata.endsWith("/") ? "dir" : "file";
92
- if (await pathExists(external_node_path_["default"].join(directory, metadata), fileOrDir)) {
93
- const name = INSTALL_METADATA[metadata];
94
- const agent = "yarn" === name ? isMetadataYarnClassic(metadata) ? "yarn" : "yarn@berry" : name;
95
- return {
96
- name,
97
- agent
98
- };
99
- }
100
- }
101
- break;
102
- }
103
- if (stopDir?.(directory)) break;
104
- }
105
- return null;
106
- }
107
- function getNameAndVer(pkg) {
108
- const handelVer = (version)=>version?.match(/\d+(\.\d+){0,2}/)?.[0] ?? version;
109
- if ("string" == typeof pkg.packageManager) {
110
- const [name, ver] = pkg.packageManager.replace(/^\^/, "").split("@");
111
- return {
112
- name,
113
- ver: handelVer(ver)
114
- };
115
- }
116
- if ("string" == typeof pkg.devEngines?.packageManager?.name) return {
117
- name: pkg.devEngines.packageManager.name,
118
- ver: handelVer(pkg.devEngines.packageManager.version)
119
- };
120
- }
121
- async function handlePackageManager(filepath, options) {
122
- try {
123
- const content = await promises.readFile(filepath, "utf8");
124
- const pkg = options.packageJsonParser ? await options.packageJsonParser(content, filepath) : JSON.parse(content);
125
- let agent;
126
- const nameAndVer = getNameAndVer(pkg);
127
- if (nameAndVer) {
128
- const name = nameAndVer.name;
129
- const ver = nameAndVer.ver;
130
- let version = ver;
131
- if ("yarn" === name && ver && Number.parseInt(ver) > 1) {
132
- agent = "yarn@berry";
133
- version = "berry";
134
- return {
135
- name,
136
- agent,
137
- version
138
- };
139
- }
140
- if ("pnpm" === name && ver && Number.parseInt(ver) < 7) {
141
- agent = "pnpm@6";
142
- return {
143
- name,
144
- agent,
145
- version
146
- };
147
- }
148
- if (!constants_AGENTS.includes(name)) return options.onUnknown?.(pkg.packageManager) ?? null;
149
- agent = name;
150
- return {
151
- name,
152
- agent,
153
- version
154
- };
155
- }
156
- } catch {}
157
- return null;
158
- }
159
- function isMetadataYarnClassic(metadataPath) {
160
- return metadataPath.endsWith(".yarn_integrity");
161
- }
6
+ import "./1157.js";
162
7
  const external_node_fs_ = __webpack_require__("node:fs");
8
+ const external_node_path_ = __webpack_require__("node:path");
163
9
  function getUniqueBaseName(dir, baseName, ext) {
164
10
  const fullPath = external_node_path_["default"].join(dir, `${baseName}${ext}`);
165
11
  if (!external_node_fs_["default"].existsSync(fullPath)) return baseName;
@@ -266,424 +112,6 @@ async function detectProject(cwd) {
266
112
  reactVersion
267
113
  };
268
114
  }
269
- function dashDashArg(agent, agentCommand) {
270
- return (args)=>{
271
- if (args.length > 1) return [
272
- agent,
273
- agentCommand,
274
- args[0],
275
- "--",
276
- ...args.slice(1)
277
- ];
278
- return [
279
- agent,
280
- agentCommand,
281
- args[0]
282
- ];
283
- };
284
- }
285
- function denoExecute() {
286
- return (args)=>[
287
- "deno",
288
- "run",
289
- `npm:${args[0]}`,
290
- ...args.slice(1)
291
- ];
292
- }
293
- const npm = {
294
- agent: [
295
- "npm",
296
- 0
297
- ],
298
- run: dashDashArg("npm", "run"),
299
- install: [
300
- "npm",
301
- "i",
302
- 0
303
- ],
304
- frozen: [
305
- "npm",
306
- "ci",
307
- 0
308
- ],
309
- global: [
310
- "npm",
311
- "i",
312
- "-g",
313
- 0
314
- ],
315
- add: [
316
- "npm",
317
- "i",
318
- 0
319
- ],
320
- upgrade: [
321
- "npm",
322
- "update",
323
- 0
324
- ],
325
- "upgrade-interactive": null,
326
- dedupe: [
327
- "npm",
328
- "dedupe",
329
- 0
330
- ],
331
- execute: [
332
- "npx",
333
- 0
334
- ],
335
- "execute-local": [
336
- "npx",
337
- 0
338
- ],
339
- uninstall: [
340
- "npm",
341
- "uninstall",
342
- 0
343
- ],
344
- global_uninstall: [
345
- "npm",
346
- "uninstall",
347
- "-g",
348
- 0
349
- ]
350
- };
351
- const yarn = {
352
- agent: [
353
- "yarn",
354
- 0
355
- ],
356
- run: [
357
- "yarn",
358
- "run",
359
- 0
360
- ],
361
- install: [
362
- "yarn",
363
- "install",
364
- 0
365
- ],
366
- frozen: [
367
- "yarn",
368
- "install",
369
- "--frozen-lockfile",
370
- 0
371
- ],
372
- global: [
373
- "yarn",
374
- "global",
375
- "add",
376
- 0
377
- ],
378
- add: [
379
- "yarn",
380
- "add",
381
- 0
382
- ],
383
- upgrade: [
384
- "yarn",
385
- "upgrade",
386
- 0
387
- ],
388
- "upgrade-interactive": [
389
- "yarn",
390
- "upgrade-interactive",
391
- 0
392
- ],
393
- dedupe: null,
394
- execute: [
395
- "npx",
396
- 0
397
- ],
398
- "execute-local": dashDashArg("yarn", "exec"),
399
- uninstall: [
400
- "yarn",
401
- "remove",
402
- 0
403
- ],
404
- global_uninstall: [
405
- "yarn",
406
- "global",
407
- "remove",
408
- 0
409
- ]
410
- };
411
- const yarnBerry = {
412
- ...yarn,
413
- frozen: [
414
- "yarn",
415
- "install",
416
- "--immutable",
417
- 0
418
- ],
419
- upgrade: [
420
- "yarn",
421
- "up",
422
- 0
423
- ],
424
- "upgrade-interactive": [
425
- "yarn",
426
- "up",
427
- "-i",
428
- 0
429
- ],
430
- dedupe: [
431
- "yarn",
432
- "dedupe",
433
- 0
434
- ],
435
- execute: [
436
- "yarn",
437
- "dlx",
438
- 0
439
- ],
440
- "execute-local": [
441
- "yarn",
442
- "exec",
443
- 0
444
- ],
445
- global: [
446
- "npm",
447
- "i",
448
- "-g",
449
- 0
450
- ],
451
- global_uninstall: [
452
- "npm",
453
- "uninstall",
454
- "-g",
455
- 0
456
- ]
457
- };
458
- const pnpm = {
459
- agent: [
460
- "pnpm",
461
- 0
462
- ],
463
- run: [
464
- "pnpm",
465
- "run",
466
- 0
467
- ],
468
- install: [
469
- "pnpm",
470
- "i",
471
- 0
472
- ],
473
- frozen: [
474
- "pnpm",
475
- "i",
476
- "--frozen-lockfile",
477
- 0
478
- ],
479
- global: [
480
- "pnpm",
481
- "add",
482
- "-g",
483
- 0
484
- ],
485
- add: [
486
- "pnpm",
487
- "add",
488
- 0
489
- ],
490
- upgrade: [
491
- "pnpm",
492
- "update",
493
- 0
494
- ],
495
- "upgrade-interactive": [
496
- "pnpm",
497
- "update",
498
- "-i",
499
- 0
500
- ],
501
- dedupe: [
502
- "pnpm",
503
- "dedupe",
504
- 0
505
- ],
506
- execute: [
507
- "pnpm",
508
- "dlx",
509
- 0
510
- ],
511
- "execute-local": [
512
- "pnpm",
513
- "exec",
514
- 0
515
- ],
516
- uninstall: [
517
- "pnpm",
518
- "remove",
519
- 0
520
- ],
521
- global_uninstall: [
522
- "pnpm",
523
- "remove",
524
- "--global",
525
- 0
526
- ]
527
- };
528
- const bun = {
529
- agent: [
530
- "bun",
531
- 0
532
- ],
533
- run: [
534
- "bun",
535
- "run",
536
- 0
537
- ],
538
- install: [
539
- "bun",
540
- "install",
541
- 0
542
- ],
543
- frozen: [
544
- "bun",
545
- "install",
546
- "--frozen-lockfile",
547
- 0
548
- ],
549
- global: [
550
- "bun",
551
- "add",
552
- "-g",
553
- 0
554
- ],
555
- add: [
556
- "bun",
557
- "add",
558
- 0
559
- ],
560
- upgrade: [
561
- "bun",
562
- "update",
563
- 0
564
- ],
565
- "upgrade-interactive": [
566
- "bun",
567
- "update",
568
- "-i",
569
- 0
570
- ],
571
- dedupe: null,
572
- execute: [
573
- "bun",
574
- "x",
575
- 0
576
- ],
577
- "execute-local": [
578
- "bun",
579
- "x",
580
- 0
581
- ],
582
- uninstall: [
583
- "bun",
584
- "remove",
585
- 0
586
- ],
587
- global_uninstall: [
588
- "bun",
589
- "remove",
590
- "-g",
591
- 0
592
- ]
593
- };
594
- const deno = {
595
- agent: [
596
- "deno",
597
- 0
598
- ],
599
- run: [
600
- "deno",
601
- "task",
602
- 0
603
- ],
604
- install: [
605
- "deno",
606
- "install",
607
- 0
608
- ],
609
- frozen: [
610
- "deno",
611
- "install",
612
- "--frozen",
613
- 0
614
- ],
615
- global: [
616
- "deno",
617
- "install",
618
- "-g",
619
- 0
620
- ],
621
- add: [
622
- "deno",
623
- "add",
624
- 0
625
- ],
626
- upgrade: [
627
- "deno",
628
- "outdated",
629
- "--update",
630
- 0
631
- ],
632
- "upgrade-interactive": [
633
- "deno",
634
- "outdated",
635
- "--update",
636
- 0
637
- ],
638
- dedupe: null,
639
- execute: denoExecute(),
640
- "execute-local": [
641
- "deno",
642
- "task",
643
- "--eval",
644
- 0
645
- ],
646
- uninstall: [
647
- "deno",
648
- "remove",
649
- 0
650
- ],
651
- global_uninstall: [
652
- "deno",
653
- "uninstall",
654
- "-g",
655
- 0
656
- ]
657
- };
658
- const COMMANDS = {
659
- npm: npm,
660
- yarn: yarn,
661
- "yarn@berry": yarnBerry,
662
- pnpm: pnpm,
663
- "pnpm@6": {
664
- ...pnpm,
665
- run: dashDashArg("pnpm", "run")
666
- },
667
- bun: bun,
668
- deno: deno
669
- };
670
- function resolveCommand(agent, command, args) {
671
- const value = COMMANDS[agent][command];
672
- return constructCommand(value, args);
673
- }
674
- function constructCommand(value, args) {
675
- if (null == value) return null;
676
- const list = "function" == typeof value ? value(args) : value.flatMap((v)=>{
677
- if ("number" == typeof v) return args;
678
- return [
679
- v
680
- ];
681
- });
682
- return {
683
- command: list[0],
684
- args: list.slice(1)
685
- };
686
- }
687
115
  function getConfigTemplate() {
688
116
  return `import { defineConfig } from '@rstest/core';
689
117
 
@@ -944,7 +372,7 @@ async function createInteractive(cwd, projectInfo, isAgent) {
944
372
  }
945
373
  const provider = providerSelection;
946
374
  const preview = computeFilePreview(cwd, projectInfo);
947
- const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.8.1");
375
+ const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.8.3");
948
376
  const depsList = Object.entries(deps).map(([name, version])=>`${name}@${version}`).join(', ');
949
377
  const previewLines = [
950
378
  `${color.cyan('+')} Create ${preview.configFile}`,
@@ -1022,7 +450,7 @@ async function generateFiles(cwd, projectInfo, provider) {
1022
450
  updatePackageJsonScripts(cwd, {
1023
451
  'test:browser': 'rstest --config=rstest.browser.config.ts'
1024
452
  });
1025
- const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.8.1");
453
+ const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.8.3");
1026
454
  updatePackageJsonDevDeps(cwd, deps);
1027
455
  return createdFiles;
1028
456
  }
package/dist/0~8426.js CHANGED
@@ -1,5 +1,4 @@
1
- import 'module';
2
- /*#__PURE__*/ import.meta.url;
1
+ import "node:module";
3
2
  import { __webpack_require__ } from "./rslib-runtime.js";
4
3
  import "./1157.js";
5
4
  import { relative, color } from "./3160.js";
package/dist/0~89.js CHANGED
@@ -1,5 +1,4 @@
1
- import 'module';
2
- /*#__PURE__*/ import.meta.url;
1
+ import "node:module";
3
2
  import { __webpack_require__ } from "./rslib-runtime.js";
4
3
  import node_events from "node:events";
5
4
  import { Tinypool } from "tinypool";
@@ -182,8 +181,8 @@ const createPool = async ({ context, recommendWorkerCount = 1 / 0 })=>{
182
181
  ],
183
182
  env: {
184
183
  NODE_ENV: 'test',
185
- ...process.env,
186
- ...getForceColorEnv()
184
+ ...getForceColorEnv(),
185
+ ...process.env
187
186
  }
188
187
  });
189
188
  const rpcMethods = {
@@ -353,8 +352,8 @@ async function createSetupPool() {
353
352
  isolateWorkers: false,
354
353
  env: {
355
354
  NODE_ENV: 'test',
356
- ...process.env,
357
- ...getForceColorEnv()
355
+ ...getForceColorEnv(),
356
+ ...process.env
358
357
  }
359
358
  };
360
359
  const pool = new Tinypool(options);
@@ -662,8 +661,10 @@ const pluginIgnoreResolveError = {
662
661
  });
663
662
  }
664
663
  };
665
- const enable = void 0 !== node_inspector.url();
666
- const pluginInspect = ()=>enable ? {
664
+ const hasInspectFlag = (execArgv)=>execArgv?.some((arg)=>arg.startsWith('--inspect')) ?? false;
665
+ const pluginInspect = (options)=>{
666
+ const enable = void 0 !== node_inspector.url() || hasInspectFlag(options?.poolExecArgv);
667
+ return enable ? {
667
668
  name: 'rstest:inspect',
668
669
  setup: (api)=>{
669
670
  api.modifyRspackConfig(async (config)=>{
@@ -677,6 +678,7 @@ const pluginInspect = ()=>enable ? {
677
678
  });
678
679
  }
679
680
  } : null;
681
+ };
680
682
  const external_node_fs_ = __webpack_require__("node:fs");
681
683
  const mockRuntime_dirname = external_node_path_["default"].dirname(fileURLToPath(import.meta.url));
682
684
  class MockRuntimeRspackPlugin {
@@ -698,11 +700,11 @@ class MockRuntimeRspackPlugin {
698
700
  compiler.hooks.compilation.tap('RstestMockPlugin', (compilation)=>{
699
701
  compilation.hooks.runtimeModule.tap('RstestMockChunkLoadingRuntimePlugin', (module)=>{
700
702
  if ('require_chunk_loading' === module.name) {
701
- const finalSource = module.source.source.toString('utf-8').replace('for (var moduleId in moreModules) {', "for (var moduleId in moreModules) {\n if (Object.keys(__webpack_require__.rstest_original_modules).includes(moduleId)) continue;");
703
+ const finalSource = module.source.source.toString('utf-8').replace('for (var moduleId in moreModules) {', "for (var moduleId in moreModules) {\n if (Object.keys(__webpack_require__.rstest_original_modules).includes(moduleId) || Object.keys(__webpack_require__.rstest_original_module_factories).includes(moduleId)) continue;");
702
704
  module.source.source = Buffer.from(finalSource);
703
705
  }
704
706
  if ('module_chunk_loading' === module.name) {
705
- const finalSource = module.source.source.toString('utf-8').replace('for (moduleId in __webpack_modules__) {', "for (moduleId in __webpack_modules__) {\n if (Object.keys(__webpack_require__.rstest_original_modules).includes(moduleId)) continue;");
707
+ const finalSource = module.source.source.toString('utf-8').replace('for (moduleId in __webpack_modules__) {', "for (moduleId in __webpack_modules__) {\n if (Object.keys(__webpack_require__.rstest_original_modules).includes(moduleId) || Object.keys(__webpack_require__.rstest_original_module_factories).includes(moduleId)) continue;");
706
708
  module.source.source = Buffer.from(finalSource);
707
709
  }
708
710
  if ('define_property_getters' === module.name) {
@@ -795,7 +797,7 @@ function parseInlineSourceMapStr(code) {
795
797
  }
796
798
  const isMultiCompiler = (compiler)=>'compilers' in compiler && Array.isArray(compiler.compilers);
797
799
  const prepareRsbuild = async (context, globTestSourceEntries, setupFiles, globalSetupFiles)=>{
798
- const { command, normalizedConfig: { isolate, dev = {}, coverage } } = context;
800
+ const { command, normalizedConfig: { isolate, dev = {}, coverage, pool } } = context;
799
801
  const projects = context.projects.filter((project)=>!project.normalizedConfig.browser.enabled);
800
802
  const debugMode = isDebug();
801
803
  __rspack_external__rsbuild_core_1b356efc.logger.level = debugMode ? 'verbose' : 'error';
@@ -843,7 +845,9 @@ const prepareRsbuild = async (context, globTestSourceEntries, setupFiles, global
843
845
  ...setupFiles,
844
846
  ...globalSetupFiles
845
847
  }).flatMap((files)=>Object.values(files))) : null,
846
- pluginInspect()
848
+ pluginInspect({
849
+ poolExecArgv: pool.execArgv
850
+ })
847
851
  ].filter(Boolean)
848
852
  }
849
853
  });
package/dist/0~9348.js CHANGED
@@ -1,5 +1,4 @@
1
- import 'module';
2
- /*#__PURE__*/ import.meta.url;
1
+ import "node:module";
3
2
  import { __webpack_require__ } from "./rslib-runtime.js";
4
3
  import node_readline, { clearLine, createInterface, emitKeypressEvents, moveCursor } from "node:readline";
5
4
  import { stdout, node_process, stdin } from "./3160.js";