putout 40.3.1 → 40.4.0
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 +31 -0
- package/lib/cli/help.mjs +14 -0
- package/lib/cli/index.js +1 -1
- package/package.json +3 -3
- package/lib/cli/help.js +0 -14
package/ChangeLog
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
2025.06.30, v40.4.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 3645b9c4c eslint-plugin-putout: ts: operator-linebreak: overrides
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- 61f2d5035 putout: @putout/plugin-nodejs v17.0.0
|
|
8
|
+
- 6942e672f putout: help: commonjs -> esm
|
|
9
|
+
- cf2050037 @putout/plugin-nodejs: convert-commonjs-to-esm: assertions
|
|
10
|
+
- 192ece116 eslint-config: space-before-function-paren: catch: never
|
|
11
|
+
- 551d76a2a eslint-plugin-putout: @stylistic/eslint-plugin v5.0.0
|
|
12
|
+
- 8bfa5b7a7 @putout/eslint-config: @stylistic/eslint-plugin v5.0.0
|
|
13
|
+
- 28ab2a130 @putout/eslint-flat: @eslint/config-helpers v0.3.0
|
|
14
|
+
- b7f6a0288 @putout/engine-parser: hermes-parser v0.29.1
|
|
15
|
+
- 5c9da3482 @putout/engine-runner: debug log: simplify
|
|
16
|
+
|
|
17
|
+
2025.06.24, v40.3.2
|
|
18
|
+
|
|
19
|
+
fix:
|
|
20
|
+
- 3e133cc12 @putout/plugin-merge-destructuring-properties: exclude place when no parentPath.node
|
|
21
|
+
- 357193f1a @putout/plugin-merge-destructuring-properties: sameKind
|
|
22
|
+
|
|
23
|
+
feature:
|
|
24
|
+
- 401db54ac putout: @putout/plugin-putout v26.0.0
|
|
25
|
+
- bea4e763f @putout/plugin-putout: convert-replace-with-multiple: simplify
|
|
26
|
+
- f7640b98b @putout/plugin-merge-destructuring-properties: Container is falsy
|
|
27
|
+
- ef2e1ce51 @putout/plugin-putout: replate-test-message: no-report-after-transform: plugins
|
|
28
|
+
- 725865854 @putout/plugin-printer: remove-empty-object-from-transform: add
|
|
29
|
+
- 4f44985a5 @putout/plugin-merge-destructuring-properties: declare-before-reference
|
|
30
|
+
- 0e5d60b21 @putout/cli-process-file: printer: package.json: maxPropertiesInOneLine: 0
|
|
31
|
+
|
|
1
32
|
2025.06.11, v40.3.1
|
|
2
33
|
|
|
3
34
|
feature:
|
package/lib/cli/help.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import helpDescription from '../../help.json' with { type: 'json' };
|
|
2
|
+
|
|
3
|
+
const {entries} = Object;
|
|
4
|
+
|
|
5
|
+
export const help = () => {
|
|
6
|
+
const usage = 'Usage: putout [options] [path]';
|
|
7
|
+
const result = [usage, 'Options: '];
|
|
8
|
+
|
|
9
|
+
for (const [name, description] of entries(helpDescription)) {
|
|
10
|
+
result.push(` ${name} ${description}`);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return result.join('\n');
|
|
14
|
+
};
|
package/lib/cli/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.4.0",
|
|
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",
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
"@putout/plugin-merge-duplicate-functions": "^4.0.0",
|
|
134
134
|
"@putout/plugin-montag": "^4.0.0",
|
|
135
135
|
"@putout/plugin-new": "^4.0.0",
|
|
136
|
-
"@putout/plugin-nodejs": "^
|
|
136
|
+
"@putout/plugin-nodejs": "^17.0.0",
|
|
137
137
|
"@putout/plugin-npmignore": "^5.0.0",
|
|
138
138
|
"@putout/plugin-optional-chaining": "^2.0.0",
|
|
139
139
|
"@putout/plugin-package-json": "^9.0.0",
|
|
140
140
|
"@putout/plugin-parens": "^3.0.0",
|
|
141
141
|
"@putout/plugin-promises": "^18.0.0",
|
|
142
|
-
"@putout/plugin-putout": "^
|
|
142
|
+
"@putout/plugin-putout": "^26.0.0",
|
|
143
143
|
"@putout/plugin-putout-config": "^10.0.0",
|
|
144
144
|
"@putout/plugin-regexp": "^11.0.0",
|
|
145
145
|
"@putout/plugin-remove-console": "^6.0.0",
|
package/lib/cli/help.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = () => {
|
|
4
|
-
const bin = require('../../help.json');
|
|
5
|
-
const usage = 'Usage: putout [options] [path]';
|
|
6
|
-
|
|
7
|
-
const result = [usage, 'Options: '];
|
|
8
|
-
|
|
9
|
-
for (const name of Object.keys(bin)) {
|
|
10
|
-
result.push(` ${name} ${bin[name]}`);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return result.join('\n');
|
|
14
|
-
};
|