@putout/test 11.3.2 → 11.3.3
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/README.md +1 -1
- package/lib/processor/index.js +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ test('remove debugger: report', (t) => {
|
|
|
94
94
|
Check transform of `filename.js` -> `filename-fix.js` in `test/fixtures` directory:
|
|
95
95
|
|
|
96
96
|
```js
|
|
97
|
-
test('remove useless variables:
|
|
97
|
+
test('remove useless variables: array-from', (t) => {
|
|
98
98
|
t.transform('array-from', {
|
|
99
99
|
'remove-useless-array-from': removeUselessArrayFrom,
|
|
100
100
|
});
|
package/lib/processor/index.js
CHANGED
|
@@ -15,7 +15,7 @@ const {
|
|
|
15
15
|
const tryToCatch = require('try-to-catch');
|
|
16
16
|
|
|
17
17
|
const test = require('supertape');
|
|
18
|
-
const processFile = require('putout/process-file');
|
|
18
|
+
const processFile = require('@putout/cli-process-file');
|
|
19
19
|
const {runProcessors} = require('@putout/engine-processor');
|
|
20
20
|
|
|
21
21
|
const isStr = (a) => typeof a === 'string';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/test",
|
|
3
|
-
"version": "11.3.
|
|
3
|
+
"version": "11.3.3",
|
|
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,6 +38,7 @@
|
|
|
38
38
|
"report": "madrun report"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
+
"@putout/cli-process-file": "^2.0.1",
|
|
41
42
|
"@putout/engine-processor": "*",
|
|
42
43
|
"@putout/engine-runner": "*",
|
|
43
44
|
"@putout/eslint": "^3.0.0",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"c8": "^10.0.0",
|
|
68
69
|
"eslint": "^9.0.0",
|
|
69
70
|
"eslint-plugin-n": "^17.0.0",
|
|
70
|
-
"eslint-plugin-putout": "^
|
|
71
|
+
"eslint-plugin-putout": "^24.0.0",
|
|
71
72
|
"lerna": "^6.0.1",
|
|
72
73
|
"madrun": "^10.0.0",
|
|
73
74
|
"mock-require": "^3.0.3",
|