putout 40.15.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 CHANGED
@@ -1,3 +1,20 @@
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
+
1
18
  2025.11.24, v40.15.0
2
19
 
3
20
  fix:
@@ -0,0 +1,12 @@
1
+ export function dropInteractive(argv) {
2
+ const result = [];
3
+
4
+ for (const arg of argv) {
5
+ if (arg === '-i' || arg === '--interactive')
6
+ continue;
7
+
8
+ result.push(arg);
9
+ }
10
+
11
+ return result;
12
+ }
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.15.0",
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",