supertape 11.2.0 → 11.3.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.
Files changed (3) hide show
  1. package/ChangeLog +11 -0
  2. package/lib/cli.js +5 -13
  3. package/package.json +3 -3
package/ChangeLog CHANGED
@@ -1,3 +1,14 @@
1
+ 2025.09.18, v11.3.1
2
+
3
+ feature:
4
+ - da39e33 supertape: find-up v8.0.0
5
+ - 5d90bd8 supertape: eslint-plugin-putout v28.0.0
6
+
7
+ 2025.07.01, v11.3.0
8
+
9
+ feature:
10
+ - ac5a7a9 supertape: improve support of node v24.3
11
+
1
12
  2025.06.29, v11.2.0
2
13
 
3
14
  feature:
package/lib/cli.js CHANGED
@@ -147,9 +147,11 @@ async function cli({argv, cwd, stdout, isStop, workerFormatter, supertape}) {
147
147
 
148
148
  stream.pipe(stdout);
149
149
 
150
- const promises = [];
151
150
  const files = removeDuplicates(allFiles);
152
151
 
152
+ if (!files.length)
153
+ return OK;
154
+
153
155
  const resolvedNames = [];
154
156
 
155
157
  // always resolve before import for windows
@@ -157,20 +159,10 @@ async function cli({argv, cwd, stdout, isStop, workerFormatter, supertape}) {
157
159
  resolvedNames.push(pathToFileURL(resolvePath(cwd, file)));
158
160
  }
159
161
 
160
- for (const resolved of resolvedNames) {
161
- promises.push(import(resolved));
162
- }
163
-
164
162
  filesCount(files.length);
165
163
 
166
- if (!promises.length)
167
- return OK;
168
-
169
- const [importError] = await tryToCatch(Promise.all.bind(Promise), promises);
170
-
171
- if (importError)
172
- for (const resolved of resolvedNames)
173
- await import(resolved);
164
+ for (const resolved of resolvedNames)
165
+ await import(resolved);
174
166
 
175
167
  const [result] = await once(supertape.run(), 'end');
176
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertape",
3
- "version": "11.2.0",
3
+ "version": "11.3.1",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "📼 Supertape simplest high speed test runner with superpowers",
6
6
  "homepage": "http://github.com/coderaiser/supertape",
@@ -81,8 +81,8 @@
81
81
  "check-dts": "^0.9.0",
82
82
  "currify": "^4.0.0",
83
83
  "eslint": "^9.1.1",
84
- "eslint-plugin-putout": "^27.0.0",
85
- "find-up": "^7.0.0",
84
+ "eslint-plugin-putout": "^28.0.0",
85
+ "find-up": "^8.0.0",
86
86
  "madrun": "^11.0.0",
87
87
  "mock-require": "^3.0.2",
88
88
  "montag": "^1.0.0",