putout 27.3.0 → 27.5.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 +21 -0
- package/lib/cli/exit-codes.js +2 -2
- package/lib/cli/exit-codes.mjs +2 -2
- package/package.json +3 -3
package/ChangeLog
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
2022.08.26, v27.5.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- package: @putout/plugin-remove-empty v9.0.0
|
|
5
|
+
- @putout/plugin-remove-empty: apply getRule
|
|
6
|
+
- @putout/plugin-remove-empty: drop support of 🐊 < 27
|
|
7
|
+
- @putout/plugin-remove-empty: add support of nested patterns (#109)
|
|
8
|
+
|
|
9
|
+
2022.08.25, v27.4.0
|
|
10
|
+
|
|
11
|
+
feature:
|
|
12
|
+
- package: @putout/plugin-remove-console v5.0.0
|
|
13
|
+
- @putout/plugin-remove-console: drop support of 🐊 < 27
|
|
14
|
+
- @putout/plugin-remove-console: simplify a bit
|
|
15
|
+
- @putout/rule-set-commit-type: add
|
|
16
|
+
|
|
17
|
+
2022.08.24, v27.3.1
|
|
18
|
+
|
|
19
|
+
fix:
|
|
20
|
+
- putout: exit codes
|
|
21
|
+
|
|
1
22
|
2022.08.24, v27.3.0
|
|
2
23
|
|
|
3
24
|
fix:
|
package/lib/cli/exit-codes.js
CHANGED
|
@@ -10,10 +10,10 @@ module.exports = {
|
|
|
10
10
|
WAS_STOP: 6,
|
|
11
11
|
INVALID_OPTION: 7,
|
|
12
12
|
CANNOT_LOAD_PROCESSOR: 8,
|
|
13
|
-
|
|
13
|
+
CANNOT_LOAD_FORMATTER: 9,
|
|
14
14
|
RULLER_WITH_FIX: 10,
|
|
15
15
|
RULLER_NO_FILES: 11,
|
|
16
16
|
INVALID_CONFIG: 12,
|
|
17
|
-
|
|
17
|
+
UNHANDLED: 13,
|
|
18
18
|
};
|
|
19
19
|
|
package/lib/cli/exit-codes.mjs
CHANGED
|
@@ -7,8 +7,8 @@ export const NO_FORMATTER = 5;
|
|
|
7
7
|
export const WAS_STOP = 6;
|
|
8
8
|
export const INVALID_OPTION = 7;
|
|
9
9
|
export const CANNOT_LOAD_PROCESSOR = 8;
|
|
10
|
-
export const
|
|
10
|
+
export const CANNOT_LOAD_FORMATTER = 9;
|
|
11
11
|
export const RULLER_WITH_FIX = 10;
|
|
12
12
|
export const RULLER_NO_FILES = 11;
|
|
13
13
|
export const INVALID_CONFIG = 12;
|
|
14
|
-
export const
|
|
14
|
+
export const UNHANDLED = 13;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.5.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",
|
|
@@ -129,12 +129,12 @@
|
|
|
129
129
|
"@putout/plugin-putout-config": "^2.0.0",
|
|
130
130
|
"@putout/plugin-regexp": "^5.0.0",
|
|
131
131
|
"@putout/plugin-remove-boolean-from-assertions": "^1.0.0",
|
|
132
|
-
"@putout/plugin-remove-console": "^
|
|
132
|
+
"@putout/plugin-remove-console": "^5.0.0",
|
|
133
133
|
"@putout/plugin-remove-constant-conditions": "^4.0.0",
|
|
134
134
|
"@putout/plugin-remove-debugger": "^5.0.0",
|
|
135
135
|
"@putout/plugin-remove-duplicate-case": "^2.0.0",
|
|
136
136
|
"@putout/plugin-remove-duplicate-keys": "^3.0.0",
|
|
137
|
-
"@putout/plugin-remove-empty": "^
|
|
137
|
+
"@putout/plugin-remove-empty": "^9.0.0",
|
|
138
138
|
"@putout/plugin-remove-iife": "^1.0.0",
|
|
139
139
|
"@putout/plugin-remove-nested-blocks": "^6.0.0",
|
|
140
140
|
"@putout/plugin-remove-unreachable-code": "^1.0.0",
|