putout 40.3.2 → 40.4.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 +51 -0
- package/lib/cli/help.mjs +16 -0
- package/lib/cli/index.js +1 -1
- package/package.json +4 -4
- package/lib/cli/help.js +0 -14
package/ChangeLog
CHANGED
|
@@ -1,3 +1,54 @@
|
|
|
1
|
+
2025.07.22, v40.4.1
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- b53bd3363 eslint-plugin-putout: jsx
|
|
5
|
+
- a583e0d54 @putout/engine-parser: babel: plugins: explicitResourceManagement: remove, since it is enabled by default
|
|
6
|
+
- bc94c3556 @putout/plugin-putout: apply-report: toSnakeCase -> toKebabCase
|
|
7
|
+
- 7f2df8de7 @putout/plugin-putout: replace-test-message
|
|
8
|
+
|
|
9
|
+
feature:
|
|
10
|
+
- 2ffda9a2d putout: @putout/plugin-parens v4.0.0
|
|
11
|
+
- e94146a03 @putout/plugin-parens: drop support of 🐊 < 40
|
|
12
|
+
- f2236851f @putout/plugin-assignment: convert-to-declaration: same operand: exclude
|
|
13
|
+
- cb6065970 eslint-plugin-putout: jsx: @stylistic/jsx-indent -> @stylistic/indent
|
|
14
|
+
- 2293e196f @putout/eslint-config: @stylistic/quotes: allowTemplateLiterals
|
|
15
|
+
- 8b025666c @putout/plugin-putout: apply-lowercase-to-node-builders: declared lowercase
|
|
16
|
+
- 694a5c69b @putout/eslint-config: keyword-spacing: add
|
|
17
|
+
- 4a10832be @putout/plugin-promises: add-missing-assync: await using: add support
|
|
18
|
+
- bc34c6af4 @putout/plugin-promises: remove-useless-async: exclude await using
|
|
19
|
+
- c21071d86 @putout/eslint-config: langugeOptions: latest: add support of using
|
|
20
|
+
- 53646aaa1 @putout/engine-loader: validate-rules-relations: namespace: improve support
|
|
21
|
+
- 4e3e4f04f @putout/plugin-putout: replace-test-message: transformWithOptions
|
|
22
|
+
- be5c36cfe @putout/pluginputout: apply-fixture-name-to-message
|
|
23
|
+
- 7a27a8396 @putout/plugin-putout: convert-plugins-element-to-tuple: add
|
|
24
|
+
- bc29cb5b5 eslint-plugin-putout: ts: indent: enable
|
|
25
|
+
- b645b8563 @putout/plugin-putout: declare: print
|
|
26
|
+
- c6dc07d42 root: eslint-plugin-putout v28.0.0
|
|
27
|
+
- 63ddb539e eslint-plugin-putout: keyword-spacing -> space-before-function-paren
|
|
28
|
+
- a5aaf2569 @putout/plugin-printer: drop support of 🐊 < 40
|
|
29
|
+
- dd63096e8 @putout/operator-add-args: exclude
|
|
30
|
+
- 4020ab614 @putout/plugin-printer: addArgs: exclude last argument ObjectPattern
|
|
31
|
+
- fc23b464a @putout/plugin-tape: add-t-end: false positive
|
|
32
|
+
- ac571c21e @putout/plugin-putout: replace-test-message: no-report-with-options
|
|
33
|
+
- 6273be926 @putout/plugin-github: set-node-versions
|
|
34
|
+
- a138c49ee @putout/plugin-putout: apply-fixture-name-to-message: noReportWithOptions
|
|
35
|
+
|
|
36
|
+
2025.06.30, v40.4.0
|
|
37
|
+
|
|
38
|
+
fix:
|
|
39
|
+
- 3645b9c4c eslint-plugin-putout: ts: operator-linebreak: overrides
|
|
40
|
+
|
|
41
|
+
feature:
|
|
42
|
+
- 61f2d5035 putout: @putout/plugin-nodejs v17.0.0
|
|
43
|
+
- 6942e672f putout: help: commonjs -> esm
|
|
44
|
+
- cf2050037 @putout/plugin-nodejs: convert-commonjs-to-esm: assertions
|
|
45
|
+
- 192ece116 eslint-config: space-before-function-paren: catch: never
|
|
46
|
+
- 551d76a2a eslint-plugin-putout: @stylistic/eslint-plugin v5.0.0
|
|
47
|
+
- 8bfa5b7a7 @putout/eslint-config: @stylistic/eslint-plugin v5.0.0
|
|
48
|
+
- 28ab2a130 @putout/eslint-flat: @eslint/config-helpers v0.3.0
|
|
49
|
+
- b7f6a0288 @putout/engine-parser: hermes-parser v0.29.1
|
|
50
|
+
- 5c9da3482 @putout/engine-runner: debug log: simplify
|
|
51
|
+
|
|
1
52
|
2025.06.24, v40.3.2
|
|
2
53
|
|
|
3
54
|
fix:
|
package/lib/cli/help.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import helpDescription from '../../help.json' with {
|
|
2
|
+
type: 'json',
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
const {entries} = Object;
|
|
6
|
+
|
|
7
|
+
export const help = () => {
|
|
8
|
+
const usage = 'Usage: putout [options] [path]';
|
|
9
|
+
const result = [usage, 'Options: '];
|
|
10
|
+
|
|
11
|
+
for (const [name, description] of entries(helpDescription)) {
|
|
12
|
+
result.push(` ${name} ${description}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return result.join('\n');
|
|
16
|
+
};
|
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.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",
|
|
@@ -133,11 +133,11 @@
|
|
|
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
|
-
"@putout/plugin-parens": "^
|
|
140
|
+
"@putout/plugin-parens": "^4.0.0",
|
|
141
141
|
"@putout/plugin-promises": "^18.0.0",
|
|
142
142
|
"@putout/plugin-putout": "^26.0.0",
|
|
143
143
|
"@putout/plugin-putout-config": "^10.0.0",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"currify": "^4.0.0",
|
|
232
232
|
"eslint": "^9.0.0",
|
|
233
233
|
"eslint-plugin-n": "^17.0.0",
|
|
234
|
-
"eslint-plugin-putout": "^
|
|
234
|
+
"eslint-plugin-putout": "^28.0.0",
|
|
235
235
|
"just-camel-case": "^6.2.0",
|
|
236
236
|
"madrun": "^11.0.0",
|
|
237
237
|
"mock-require": "^3.0.2",
|
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
|
-
};
|