putout 41.0.6 → 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,17 @@
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
+
9
+ 2025.12.19, v41.0.7
10
+
11
+ fix:
12
+ - f777f66d4 putout: rm useless @putout/plugin-remove-constant-conditions
13
+ - d74549f87 putout: rm unused @putout/plugin-remove-unused-labels
14
+
1
15
  2025.12.19, v41.0.6
2
16
 
3
17
  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.6",
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",
@@ -139,7 +139,6 @@
139
139
  "@putout/plugin-putout-config": "^11.0.0",
140
140
  "@putout/plugin-regexp": "^13.0.0",
141
141
  "@putout/plugin-remove-console": "^6.0.0",
142
- "@putout/plugin-remove-constant-conditions": "^4.0.0",
143
142
  "@putout/plugin-remove-debugger": "^7.0.0",
144
143
  "@putout/plugin-remove-duplicate-case": "^3.0.0",
145
144
  "@putout/plugin-remove-duplicate-keys": "^8.0.0",
@@ -148,7 +147,6 @@
148
147
  "@putout/plugin-remove-nested-blocks": "^9.0.0",
149
148
  "@putout/plugin-remove-unreachable-code": "^3.0.0",
150
149
  "@putout/plugin-remove-unused-expressions": "^12.0.0",
151
- "@putout/plugin-remove-unused-labels": "^1.0.1",
152
150
  "@putout/plugin-remove-unused-private-fields": "^4.0.0",
153
151
  "@putout/plugin-remove-useless-array": "^2.0.0",
154
152
  "@putout/plugin-remove-useless-array-constructor": "^3.0.0",