Skip to content

Commit a65af8c

Browse files
committed
feature: @putout/test: drop support of node < 22
1 parent 6472d00 commit a65af8c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/test/lib/processor/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const {
1515
const {tryToCatch} = require('try-to-catch');
1616

1717
const test = require('supertape');
18-
const processFile = require('@putout/cli-process-file');
18+
const {initProcessFile} = require('@putout/cli-process-file');
1919
const {runProcessors} = require('@putout/engine-processor');
2020

2121
const isStr = (a) => typeof a === 'string';
@@ -156,7 +156,7 @@ async function process(filename, dir, config) {
156156
} = await runProcessors({
157157
fix,
158158
name: inputName,
159-
processFile: processFile({
159+
processFile: initProcessFile({
160160
printer,
161161
fix,
162162
}),

packages/test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
"license": "MIT",
7979
"engines": {
80-
"node": ">=20"
80+
"node": ">=22"
8181
},
8282
"publishConfig": {
8383
"access": "public"

0 commit comments

Comments
 (0)