putout 22.2.0 → 22.2.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 +13 -0
- package/lib/cli/index.js +1 -1
- package/package.json +2 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
2021.11.28, v22.2.1
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- (@putout/plugin-remove-constant-conditions) report: "constant condtions should not be used" -> "Avoid constant conditions"
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- (package) @putout/plugin-madrun v11.0.0
|
|
8
|
+
- (putout) improve ability to test from IDE
|
|
9
|
+
- (@putout/plugin-madrun) drop support of putout < 22
|
|
10
|
+
- (@putout/plugin-madrun) add declare
|
|
11
|
+
- (eslint-plugin-putout) putout: add ability to preserve comments places
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
2021.11.27, v22.2.0
|
|
2
15
|
|
|
3
16
|
fix:
|
package/lib/cli/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const {version} = require('../../package.json');
|
|
|
17
17
|
const simport = createSimport(__filename);
|
|
18
18
|
|
|
19
19
|
const {env} = process;
|
|
20
|
-
const isIDE = env.TERMINAL_EMULATOR || env.TERM_PROGRAM === 'vscode';
|
|
20
|
+
const isIDE = /JetBrains/.test(env.TERMINAL_EMULATOR) || env.TERM_PROGRAM === 'vscode';
|
|
21
21
|
const chooseName = (name, resolvedName) => !isIDE ? name : resolvedName;
|
|
22
22
|
|
|
23
23
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.1",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "🐊 Pluggable and configurable code transformer with built-in eslint, babel plugins and jscodeshift codemods support of js, jsx typescript, flow files, markdown, yaml and json",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/putout",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@putout/plugin-extract-sequence-expressions": "^2.0.0",
|
|
109
109
|
"@putout/plugin-github": "^2.0.0",
|
|
110
110
|
"@putout/plugin-gitignore": "^3.0.0",
|
|
111
|
-
"@putout/plugin-madrun": "^
|
|
111
|
+
"@putout/plugin-madrun": "^11.0.0",
|
|
112
112
|
"@putout/plugin-merge-destructuring-properties": "^5.0.0",
|
|
113
113
|
"@putout/plugin-merge-duplicate-imports": "^4.0.0",
|
|
114
114
|
"@putout/plugin-merge-if-statements": "^3.0.0",
|