@putout/test 14.2.0 → 14.4.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.
@@ -5,6 +5,7 @@ const {join} = require('node:path');
5
5
 
6
6
  const putout = require('putout');
7
7
  const currify = require('currify');
8
+ const {initReport} = require('@putout/engine-reporter/report');
8
9
 
9
10
  const {
10
11
  readFixture,
@@ -25,7 +26,7 @@ module.exports.format = currify((dir, options, t) => async (formatter, name, for
25
26
  ...options,
26
27
  });
27
28
 
28
- const report = putout.initReport();
29
+ const report = initReport();
29
30
 
30
31
  const result = await report(formatter, {
31
32
  formatterOptions,
@@ -55,7 +56,7 @@ module.exports.noFormat = currify((dir, options, t) => async (formatter, name, f
55
56
  const [input] = readFixture(full);
56
57
  const {places} = putout(input, options);
57
58
 
58
- const report = putout.initReport();
59
+ const report = initReport();
59
60
 
60
61
  const result = await report(formatter, {
61
62
  name,
@@ -83,7 +84,7 @@ module.exports.formatMany = currify((dir, options, t) => async (formatter, names
83
84
  let result = '';
84
85
 
85
86
  const count = names.length;
86
- const report = putout.initReport();
87
+ const report = initReport();
87
88
 
88
89
  for (let index = 0; index < count; index++) {
89
90
  const name = names[index];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "14.2.0",
3
+ "version": "14.4.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Test runner for 🐊Putout plugins ",
@@ -38,8 +38,9 @@
38
38
  "report": "madrun report"
39
39
  },
40
40
  "dependencies": {
41
- "@putout/cli-process-file": "^4.0.0",
41
+ "@putout/cli-process-file": "^5.0.0",
42
42
  "@putout/engine-processor": "*",
43
+ "@putout/engine-reporter": "^8.0.1",
43
44
  "@putout/engine-runner": "*",
44
45
  "@putout/eslint": "^5.0.0",
45
46
  "@putout/plugin-filesystem": "*",