@rstest/core 0.7.8 → 0.7.9

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 (56) hide show
  1. package/LICENSE.md +294 -0
  2. package/dist/0~130.js +2 -2
  3. package/dist/0~1472.js +48 -0
  4. package/dist/0~1981.js +3 -0
  5. package/dist/0~2173.js +25 -10
  6. package/dist/0~2255.js +2 -2
  7. package/dist/0~3062.js +0 -5
  8. package/dist/0~3919.js +1 -1
  9. package/dist/0~4403.js +6 -5
  10. package/dist/0~4809.js +1 -1
  11. package/dist/0~5835.js +2 -2
  12. package/dist/0~62.js +1 -1
  13. package/dist/0~6588.js +3 -3
  14. package/dist/0~6923.js +2 -2
  15. package/dist/0~7583.js +9 -8
  16. package/dist/0~7882.js +1144 -0
  17. package/dist/0~8426.js +1 -2
  18. package/dist/0~89.js +24 -21
  19. package/dist/0~9348.js +953 -0
  20. package/dist/0~9634.js +58 -10
  21. package/dist/1157.js +12 -117
  22. package/dist/{7913.js → 1294.js} +51 -1745
  23. package/dist/2672.js +647 -0
  24. package/dist/3278.js +3 -450
  25. package/dist/4484.js +38 -0
  26. package/dist/487.js +1739 -0
  27. package/dist/4899.js +11 -0
  28. package/dist/5734.js +1 -1
  29. package/dist/{0~6151.js → 6151.js} +169 -13
  30. package/dist/{0~6973.js → 6973.js} +5 -5
  31. package/dist/721.js +9 -0
  32. package/dist/9131.js +554 -502
  33. package/dist/browser-runtime/2~907.js +1211 -0
  34. package/dist/browser-runtime/2~907.js.map +1 -0
  35. package/dist/browser-runtime/389.js +22071 -0
  36. package/dist/browser-runtime/389.js.LICENSE.txt +329 -0
  37. package/dist/browser-runtime/389.js.map +1 -0
  38. package/dist/browser-runtime/index.d.ts +2806 -0
  39. package/dist/browser-runtime/index.js +1 -0
  40. package/dist/browser-runtime/rslib-runtime.js +50 -0
  41. package/dist/browser-runtime/rslib-runtime.js.map +1 -0
  42. package/dist/browser.d.ts +3329 -0
  43. package/dist/browser.js +14 -0
  44. package/dist/globalSetupWorker.js +3 -2
  45. package/dist/index.d.ts +58 -1
  46. package/dist/index.js +2 -1
  47. package/dist/rslib-runtime.js +27 -0
  48. package/dist/rstestSuppressWarnings.cjs +9 -0
  49. package/dist/worker.d.ts +57 -1
  50. package/dist/worker.js +415 -1
  51. package/package.json +28 -13
  52. package/dist/0~8957.js +0 -149
  53. package/dist/554.js +0 -417
  54. package/dist/5693.js +0 -91
  55. /package/dist/{7913.js.LICENSE.txt → 1294.js.LICENSE.txt} +0 -0
  56. /package/dist/{0~6151.js.LICENSE.txt → 6151.js.LICENSE.txt} +0 -0
package/dist/0~7583.js CHANGED
@@ -3,10 +3,11 @@ import 'module';
3
3
  /*#__PURE__*/ import.meta.url;
4
4
  import { __webpack_require__ } from "./rslib-runtime.js";
5
5
  import { lstat, open as promises_open, readdir, realpath as promises_realpath, stat as promises_stat } from "fs/promises";
6
- import { Readable } from "node:stream";
7
- import "./5693.js";
8
- import { readdir as promises_readdir, lstat as promises_lstat, promises_stat as promises_promises_stat, realpath as external_node_fs_promises_realpath } from "./1157.js";
6
+ import "./1157.js";
7
+ import "./2672.js";
8
+ import { Readable } from "./0~1981.js";
9
9
  import { EventEmitter } from "./9131.js";
10
+ const promises_ = __webpack_require__("node:fs/promises");
10
11
  const external_node_path_ = __webpack_require__("node:path");
11
12
  const EntryTypes = {
12
13
  FILE_TYPE: 'files',
@@ -79,7 +80,7 @@ class ReaddirpStream extends Readable {
79
80
  const { root, type } = opts;
80
81
  this._fileFilter = normalizeFilter(opts.fileFilter);
81
82
  this._directoryFilter = normalizeFilter(opts.directoryFilter);
82
- const statMethod = opts.lstat ? promises_lstat : promises_promises_stat;
83
+ const statMethod = opts.lstat ? promises_.lstat : promises_.stat;
83
84
  if (wantBigintFsStats) this._stat = (path)=>statMethod(path, {
84
85
  bigint: true
85
86
  });
@@ -148,7 +149,7 @@ class ReaddirpStream extends Readable {
148
149
  async _exploreDir(path, depth) {
149
150
  let files;
150
151
  try {
151
- files = await promises_readdir(path, this._rdOptions);
152
+ files = await (0, promises_.readdir)(path, this._rdOptions);
152
153
  } catch (error) {
153
154
  this._onError(error);
154
155
  }
@@ -187,8 +188,8 @@ class ReaddirpStream extends Readable {
187
188
  if (stats && stats.isSymbolicLink()) {
188
189
  const full = entry.fullPath;
189
190
  try {
190
- const entryRealPath = await external_node_fs_promises_realpath(full);
191
- const entryRealPathStats = await promises_lstat(entryRealPath);
191
+ const entryRealPath = await (0, promises_.realpath)(full);
192
+ const entryRealPathStats = await (0, promises_.lstat)(entryRealPath);
192
193
  if (entryRealPathStats.isFile()) return 'file';
193
194
  if (entryRealPathStats.isDirectory()) {
194
195
  const len = entryRealPath.length;
@@ -221,7 +222,7 @@ function readdirp(root, options = {}) {
221
222
  options.root = root;
222
223
  return new ReaddirpStream(options);
223
224
  }
224
- const external_node_fs_ = __webpack_require__("node:fs");
225
+ const external_node_fs_ = __webpack_require__("fs");
225
226
  const external_node_os_ = __webpack_require__("node:os");
226
227
  const STR_DATA = 'data';
227
228
  const STR_END = 'end';