putout 41.0.7 → 41.0.8

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,11 @@
1
+ 2025.12.20, v41.0.8
2
+
3
+ feature:
4
+ - 9802375a2 putout: @putout/engine-reporter v6.0.0
5
+ - 0b686ec56 @putout/engine-reporter: get rid of mock-require
6
+ - e899de3bf putout: cli: get-options: putout --no-config: do not exit when no plugins passed
7
+ - bf9b31cfe @putout/engine-reporter: do not exit when plugins
8
+
1
9
  2025.12.19, v41.0.7
2
10
 
3
11
  fix:
@@ -4,7 +4,7 @@ const process = require('node:process');
4
4
  const {join, dirname} = require('node:path');
5
5
 
6
6
  const buildPlugins = require('./build-plugins');
7
- const parseOptions = require('../parse-options');
7
+ const _parseOptions = require('../parse-options');
8
8
 
9
9
  const {assign} = Object;
10
10
  const {env} = process;
@@ -19,7 +19,16 @@ PUTOUT_CONFIG_FILE && assign(maybeConfig, require(join(
19
19
  PUTOUT_CONFIG_FILE,
20
20
  )));
21
21
 
22
- module.exports = ({noConfig, plugins, name, transform, rulesdir}) => {
22
+ module.exports = (overrides = {}) => {
23
+ const {
24
+ noConfig,
25
+ plugins = [],
26
+ name,
27
+ transform,
28
+ rulesdir,
29
+ parseOptions = _parseOptions,
30
+ } = overrides;
31
+
23
32
  const transformPlugins = buildPlugins(transform);
24
33
 
25
34
  if (noConfig)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "41.0.7",
3
+ "version": "41.0.8",
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",
@@ -64,7 +64,7 @@
64
64
  "@putout/engine-loader": "^16.0.0",
65
65
  "@putout/engine-parser": "^15.0.1",
66
66
  "@putout/engine-processor": "^14.0.0",
67
- "@putout/engine-reporter": "^5.0.0",
67
+ "@putout/engine-reporter": "^6.0.0",
68
68
  "@putout/engine-runner": "^26.0.0",
69
69
  "@putout/formatter-codeframe": "^10.0.0",
70
70
  "@putout/formatter-dump": "^6.0.0",