putout 40.14.0 → 40.15.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.
- package/ChangeLog +34 -0
- package/bin/drop-interactive.mjs +12 -0
- package/bin/putout.mjs +2 -1
- package/bin/tracer.mjs +1 -13
- package/package.json +2 -3
package/ChangeLog
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
2025.11.25, v40.15.1
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 7705b5b50 putout: -i
|
|
5
|
+
- 3aca6de5a @putout/plugin-esm: sort-imports-by-specifiers: report after transform
|
|
6
|
+
- 51c27260d putout: rm useless debug
|
|
7
|
+
|
|
8
|
+
feature:
|
|
9
|
+
- 2b9886268 @putout/cli-choose-formatter: @putout/cli-choose v3.0.0
|
|
10
|
+
- 7e5e37bf7 @putout/cli-choose: drop support of node < 20
|
|
11
|
+
- c830b60a5 @putout/cli-choose: ctrl + c
|
|
12
|
+
- 4c395fc2a @putout/plugin-esm: sort-imports-by-specifiers: lots
|
|
13
|
+
- 0de67aab1 @putout/eslint-flat: @eslint/config-helpers v0.5.0
|
|
14
|
+
- 9c9be6034 @putout/engine-runner: debug -> obug
|
|
15
|
+
- 6002883cb @putout/plugin-apply-shorthand-properties: spread
|
|
16
|
+
- 164bb688d @putout/compare: debug -> odebug
|
|
17
|
+
|
|
18
|
+
2025.11.24, v40.15.0
|
|
19
|
+
|
|
20
|
+
fix:
|
|
21
|
+
- 4ea622ea5 putout: rm useless debug
|
|
22
|
+
|
|
23
|
+
feature:
|
|
24
|
+
- 71234600f @putout/engine-runner: debug -> obug
|
|
25
|
+
- 70a0d257a @putout/plugin-apply-shorthand-properties: spread
|
|
26
|
+
- 7dc73dcec @putout/compare: debug -> odebug
|
|
27
|
+
- 6e7a44cdb @putout/plugin-apply-shorthand-properties: computed
|
|
28
|
+
- 4c643415e root: eslint v10.0.0-alpha.0 (https://eslint.org/blog/2025/11/eslint-v10.0.0-alpha.0-released)
|
|
29
|
+
- 18f4ddd69 @putout/plugin-logical-expressions: simplify: JSXContainerExpression: exclude
|
|
30
|
+
- 41c8458aa @putout/plugin-eslint-plugin: drop support of 🐊 < 40
|
|
31
|
+
- 97bb82778 @putout/plugin-eslint-plugin: remove-errors-type: add
|
|
32
|
+
- ea07075a5 @putout/plugin-for-of: reduce: inside ExportNamedDeclaration
|
|
33
|
+
- 2f6f665b4 @putout/plugin-nodejs: convert-esm-to-commonjs: destructuring
|
|
34
|
+
|
|
1
35
|
2025.11.14, v40.14.0
|
|
2
36
|
|
|
3
37
|
feature:
|
package/bin/putout.mjs
CHANGED
|
@@ -12,6 +12,7 @@ import cli from '../lib/cli/index.js';
|
|
|
12
12
|
import {parseArgs} from '../lib/cli/parse-args.js';
|
|
13
13
|
import {createExit} from '../lib/cli/exit.mjs';
|
|
14
14
|
import {onDebuggerExit} from './debugger-exit.mjs';
|
|
15
|
+
import {dropInteractive} from './drop-interactive.mjs';
|
|
15
16
|
|
|
16
17
|
const halt = process.exit;
|
|
17
18
|
const logError = console.error;
|
|
@@ -62,7 +63,7 @@ workerData.push(...[
|
|
|
62
63
|
await cli({
|
|
63
64
|
write,
|
|
64
65
|
halt,
|
|
65
|
-
argv: workerData.slice(2),
|
|
66
|
+
argv: dropInteractive(workerData.slice(2)),
|
|
66
67
|
log,
|
|
67
68
|
logError,
|
|
68
69
|
readFile,
|
package/bin/tracer.mjs
CHANGED
|
@@ -9,6 +9,7 @@ import process, {
|
|
|
9
9
|
import {subscribe} from '@putout/engine-reporter/subscribe';
|
|
10
10
|
import {parseArgs} from '../lib/cli/parse-args.js';
|
|
11
11
|
import {createExit} from '../lib/cli/exit.mjs';
|
|
12
|
+
import {dropInteractive} from './drop-interactive.mjs';
|
|
12
13
|
|
|
13
14
|
const args = parseArgs(process.argv.slice(2));
|
|
14
15
|
const write = stdout.write.bind(stdout);
|
|
@@ -35,16 +36,3 @@ await subscribe({
|
|
|
35
36
|
logError: console.error,
|
|
36
37
|
}),
|
|
37
38
|
});
|
|
38
|
-
|
|
39
|
-
function dropInteractive(argv) {
|
|
40
|
-
const result = [];
|
|
41
|
-
|
|
42
|
-
for (const arg of argv) {
|
|
43
|
-
if (arg === '-i' || arg === '--interactive')
|
|
44
|
-
continue;
|
|
45
|
-
|
|
46
|
-
result.push(arg);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return result;
|
|
50
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.15.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
|
|
@@ -198,7 +198,6 @@
|
|
|
198
198
|
"@putout/traverse": "^14.0.0",
|
|
199
199
|
"ajv": "^8.8.2",
|
|
200
200
|
"ci-info": "^4.0.0",
|
|
201
|
-
"debug": "^4.1.1",
|
|
202
201
|
"deepmerge": "^4.0.0",
|
|
203
202
|
"escalade": "^3.1.1",
|
|
204
203
|
"fast-glob": "^3.2.2",
|
|
@@ -231,7 +230,7 @@
|
|
|
231
230
|
"@putout/plugin-apply-entries": "^2.0.0",
|
|
232
231
|
"c8": "^10.0.0",
|
|
233
232
|
"currify": "^4.0.0",
|
|
234
|
-
"eslint": "
|
|
233
|
+
"eslint": "v10.0.0-alpha.0",
|
|
235
234
|
"eslint-plugin-n": "^17.0.0",
|
|
236
235
|
"eslint-plugin-putout": "^28.0.0",
|
|
237
236
|
"just-camel-case": "^6.2.0",
|