supertape 10.7.3 → 10.8.0

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/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ 2024.12.04, v10.8.0
2
+
3
+ feature:
4
+ - 2716d90 supertape: eslint-plugin-putout v23.2.0
5
+ - d251291 supertape: format: improve support
6
+
1
7
  2024.08.22, v10.7.3
2
8
 
3
9
  fix:
package/lib/cli.js CHANGED
@@ -86,6 +86,7 @@ async function cli({argv, cwd, stdout, isStop, workerFormatter}) {
86
86
  }
87
87
 
88
88
  const {validateArgs} = await import('@putout/cli-validate-args');
89
+
89
90
  const error = await validateArgs(args, [
90
91
  ...yargsOptions.boolean,
91
92
  ...yargsOptions.string,
package/lib/format.js CHANGED
@@ -11,6 +11,9 @@ module.exports.parseAt = (stack, {reason}) => {
11
11
  if (lines.length === 1)
12
12
  return stack;
13
13
 
14
+ if (lines.length > 10 && lines[0].startsWith('Error: '))
15
+ return lines[0];
16
+
14
17
  const line = lines[reason === 'user' ? REASON_USER : REASON_EXCEPTION];
15
18
 
16
19
  if (!line)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertape",
3
- "version": "10.7.3",
3
+ "version": "10.8.0",
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",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
27
- "url": "git://github.com/coderaiser/supertape.git"
27
+ "url": "git+https://github.com/coderaiser/supertape.git"
28
28
  },
29
29
  "scripts": {
30
30
  "test": "madrun test",
@@ -80,7 +80,7 @@
80
80
  "check-dts": "^0.8.0",
81
81
  "currify": "^4.0.0",
82
82
  "eslint": "^9.1.1",
83
- "eslint-plugin-putout": "^22.0.0",
83
+ "eslint-plugin-putout": "^23.2.0",
84
84
  "find-up": "^7.0.0",
85
85
  "madrun": "^10.0.0",
86
86
  "mock-require": "^3.0.2",