@rstest/core 0.2.0 → 0.2.1

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.
package/dist/208.js CHANGED
@@ -8174,7 +8174,7 @@ ${printReceived(actual)}`
8174
8174
  for (let [r, t] of h)u[r] = e ? g(d(t[0]), d(t[1]), t[2]) : a;
8175
8175
  return u;
8176
8176
  }
8177
- var external_node_tty_ = __webpack_require__("tty");
8177
+ var external_node_tty_ = __webpack_require__("node:tty");
8178
8178
  var node_r = void 0 !== process.env.FORCE_TTY || (0, external_node_tty_.isatty)(1);
8179
8179
  var node_u = p(node_r);
8180
8180
  },
package/dist/359.js CHANGED
@@ -582,7 +582,7 @@ export const __webpack_modules__ = {
582
582
  return {
583
583
  configFilePath,
584
584
  command,
585
- version: "0.2.0",
585
+ version: "0.2.1",
586
586
  rootPath,
587
587
  reporters,
588
588
  fileFilters,
package/dist/920.js CHANGED
@@ -190,7 +190,7 @@ export const __webpack_modules__ = {
190
190
  rsbuildInstance,
191
191
  rootPath
192
192
  });
193
- const recommendWorkerCount = 'watch' === command ? 1 / 0 : Array.from(entriesCache.values()).reduce((acc, entries)=>acc + Object.keys(entries).length, 0);
193
+ const recommendWorkerCount = 'watch' === command ? 1 / 0 : Array.from(entriesCache.values()).reduce((acc, entry)=>acc + Object.keys(entry.entries).length, 0);
194
194
  const pool = await (0, src_pool.K)({
195
195
  context,
196
196
  recommendWorkerCount
package/dist/index.js CHANGED
@@ -2746,7 +2746,7 @@ ${section.body}` : section.body).join("\n\n"));
2746
2746
  function setupCommands() {
2747
2747
  const cli = dist('rstest');
2748
2748
  cli.help();
2749
- cli.version("0.2.0");
2749
+ cli.version("0.2.1");
2750
2750
  applyCommonOptions(cli);
2751
2751
  cli.command('[...filters]', 'run tests').option('--watch', 'Run tests in watch mode').action(async (filters, options)=>{
2752
2752
  (0, prepare.U)();
@@ -2814,7 +2814,7 @@ ${section.body}` : section.body).join("\n\n"));
2814
2814
  if (!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) console.log();
2815
2815
  }
2816
2816
  function showRstest() {
2817
- _utils_logger__WEBPACK_IMPORTED_MODULE_0__.k.greet(" Rstest v0.2.0");
2817
+ _utils_logger__WEBPACK_IMPORTED_MODULE_0__.k.greet(" Rstest v0.2.1");
2818
2818
  _utils_logger__WEBPACK_IMPORTED_MODULE_0__.k.log('');
2819
2819
  }
2820
2820
  },
@@ -3214,7 +3214,7 @@ ${section.body}` : section.body).join("\n\n"));
3214
3214
  k: ()=>src_logger
3215
3215
  });
3216
3216
  var external_node_os_ = __webpack_require__("node:os");
3217
- var external_node_tty_ = __webpack_require__("tty");
3217
+ var external_node_tty_ = __webpack_require__("node:tty");
3218
3218
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.argv) {
3219
3219
  const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
3220
3220
  const position = argv.indexOf(prefix + flag);
@@ -3523,7 +3523,7 @@ ${section.body}` : section.body).join("\n\n"));
3523
3523
  "node:stream": function(module) {
3524
3524
  module.exports = __WEBPACK_EXTERNAL_MODULE_node_stream_444d1c2b__;
3525
3525
  },
3526
- tty: function(module) {
3526
+ "node:tty": function(module) {
3527
3527
  module.exports = __WEBPACK_EXTERNAL_MODULE_node_tty_c64aab7e__;
3528
3528
  },
3529
3529
  "node:url": function(module) {
package/dist/worker.js CHANGED
@@ -4900,7 +4900,7 @@ var __webpack_modules__ = {
4900
4900
  },
4901
4901
  "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
4902
4902
  const os = __webpack_require__("node:os");
4903
- const tty = __webpack_require__("tty");
4903
+ const tty = __webpack_require__("node:tty");
4904
4904
  const hasFlag = __webpack_require__("../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
4905
4905
  const { env } = process;
4906
4906
  let forceColor;
@@ -5130,7 +5130,7 @@ var __webpack_modules__ = {
5130
5130
  k: ()=>src_logger
5131
5131
  });
5132
5132
  var external_node_os_ = __webpack_require__("node:os");
5133
- var external_node_tty_ = __webpack_require__("tty");
5133
+ var external_node_tty_ = __webpack_require__("node:tty");
5134
5134
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.argv) {
5135
5135
  const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
5136
5136
  const position = argv.indexOf(prefix + flag);
@@ -5433,7 +5433,7 @@ var __webpack_modules__ = {
5433
5433
  "node:path": function(module) {
5434
5434
  module.exports = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__;
5435
5435
  },
5436
- tty: function(module) {
5436
+ "node:tty": function(module) {
5437
5437
  module.exports = __WEBPACK_EXTERNAL_MODULE_node_tty_c64aab7e__;
5438
5438
  },
5439
5439
  "node:util": function(module) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rstest/core",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The Rsbuild-based test tool.",
5
5
  "bugs": {
6
6
  "url": "https://github.com/web-infra-dev/rstest/issues"