putout 25.2.0 → 25.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 +30 -0
- package/lib/cli/eslint/index.js +2 -1
- package/package.json +4 -4
- package/putout.json +1 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
2022.03.08, v25.4.1
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- (package) @putout/plugin-convert-quotes-to-backticks v2.0.0
|
|
5
|
+
- (@putout/plugin-convert-quotes-to-backticks) drop support of putout < 25
|
|
6
|
+
- (@putout/plugin-convert-quotes-to-backticks) add support of double backslash (xtermjs/xterm.js#3674)
|
|
7
|
+
- (@putout/plugin-regexp) remove-useless-group: exclude match (xtermjs/xterm.js#3674)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
2022.03.08, v25.4.0
|
|
11
|
+
|
|
12
|
+
feature:
|
|
13
|
+
- (package) @putout/formatter-json-lines v3.0.0
|
|
14
|
+
- (@putout/formatter-json-lines) rm source
|
|
15
|
+
- (@putout/formatter-json-lines) drop support of putout < 25
|
|
16
|
+
- (putout) eslint: improve support of control sequences
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
2022.03.07, v25.3.0
|
|
20
|
+
|
|
21
|
+
feature:
|
|
22
|
+
- (@putout/plugin-try-catch) renamed from @putout/plugin-apply-try-catch
|
|
23
|
+
- (@putout/plugin-apply-try-catch) try-catch: add support of finalizer
|
|
24
|
+
- (@putout/plugin-apply-try-catch) add expand-arguments from @putout/plugin-tape
|
|
25
|
+
- (@putout/plugin-tape) expand-try-catch-arguments: add support of tryCatch with more then one argument
|
|
26
|
+
- (@putout/plugin-regexp) convert-replace-to-replace-all: add support of decoding
|
|
27
|
+
- (@putout/eslint-config) add newline-per-chained-call
|
|
28
|
+
- (@putout/plugin-regexp) convert-replace-to-replace-all: replacer -> traverser: multiple operations on one node
|
|
29
|
+
|
|
30
|
+
|
|
1
31
|
2022.03.06, v25.2.0
|
|
2
32
|
|
|
3
33
|
fix:
|
package/lib/cli/eslint/index.js
CHANGED
|
@@ -106,12 +106,13 @@ module.exports._noConfigFound = noConfigFound;
|
|
|
106
106
|
|
|
107
107
|
const parseRule = (rule) => rule || 'parser';
|
|
108
108
|
|
|
109
|
+
module.exports.convertToPlace = convertToPlace;
|
|
109
110
|
function convertToPlace({ruleId = 'parser', message, line = 0, column = 0}) {
|
|
110
111
|
const rule = `${parseRule(ruleId)}${eslintId}`;
|
|
111
112
|
|
|
112
113
|
return {
|
|
113
114
|
rule,
|
|
114
|
-
message,
|
|
115
|
+
message: replaceControlChars(message),
|
|
115
116
|
position: {
|
|
116
117
|
line,
|
|
117
118
|
column,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@putout/formatter-dump": "^3.0.0",
|
|
62
62
|
"@putout/formatter-frame": "^2.0.0",
|
|
63
63
|
"@putout/formatter-json": "^2.0.0",
|
|
64
|
-
"@putout/formatter-json-lines": "^
|
|
64
|
+
"@putout/formatter-json-lines": "^3.0.0",
|
|
65
65
|
"@putout/formatter-memory": "^2.0.0",
|
|
66
66
|
"@putout/formatter-progress": "^3.0.0",
|
|
67
67
|
"@putout/formatter-progress-bar": "^2.0.0",
|
|
@@ -77,7 +77,6 @@
|
|
|
77
77
|
"@putout/plugin-apply-is-array": "^2.0.0",
|
|
78
78
|
"@putout/plugin-apply-numeric-separators": "^1.0.0",
|
|
79
79
|
"@putout/plugin-apply-optional-chaining": "^2.0.0",
|
|
80
|
-
"@putout/plugin-apply-try-catch": "^2.0.0",
|
|
81
80
|
"@putout/plugin-browserlist": "^1.0.0",
|
|
82
81
|
"@putout/plugin-convert-apply-to-spread": "^3.0.0",
|
|
83
82
|
"@putout/plugin-convert-arguments-to-rest": "^1.0.0",
|
|
@@ -98,7 +97,7 @@
|
|
|
98
97
|
"@putout/plugin-convert-math-pow": "^4.0.0",
|
|
99
98
|
"@putout/plugin-convert-mock-require-to-mock-import": "^2.0.0",
|
|
100
99
|
"@putout/plugin-convert-object-assign-to-merge-spread": "^5.0.0",
|
|
101
|
-
"@putout/plugin-convert-quotes-to-backticks": "^
|
|
100
|
+
"@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
|
|
102
101
|
"@putout/plugin-convert-template-to-string": "^1.0.0",
|
|
103
102
|
"@putout/plugin-convert-to-arrow-function": "^3.0.0",
|
|
104
103
|
"@putout/plugin-convert-typeof-to-is-type": "^2.0.0",
|
|
@@ -163,6 +162,7 @@
|
|
|
163
162
|
"@putout/plugin-split-variable-declarations": "^2.0.0",
|
|
164
163
|
"@putout/plugin-strict-mode": "^3.0.0",
|
|
165
164
|
"@putout/plugin-tape": "^9.0.0",
|
|
165
|
+
"@putout/plugin-try-catch": "^1.0.0",
|
|
166
166
|
"@putout/plugin-typescript": "^1.0.0",
|
|
167
167
|
"@putout/plugin-webpack": "^1.0.0",
|
|
168
168
|
"@putout/processor-css": "^3.0.0",
|
package/putout.json
CHANGED
|
@@ -129,7 +129,6 @@
|
|
|
129
129
|
"apply-optional-chaining",
|
|
130
130
|
"apply-numeric-separators",
|
|
131
131
|
"apply-if-condition",
|
|
132
|
-
"apply-try-catch",
|
|
133
132
|
"extract-object-properties",
|
|
134
133
|
"extract-sequence-expressions",
|
|
135
134
|
"madrun",
|
|
@@ -216,6 +215,7 @@
|
|
|
216
215
|
"regexp",
|
|
217
216
|
"github",
|
|
218
217
|
"tape",
|
|
218
|
+
"try-catch",
|
|
219
219
|
"nodejs"
|
|
220
220
|
]
|
|
221
221
|
}
|