putout 25.3.0 → 25.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 CHANGED
@@ -1,3 +1,41 @@
1
+ 2022.03.12, v25.5.0
2
+
3
+ fix:
4
+ - feature(@putout/engine-runner) validate absent fix
5
+ - (@putout/plugin-regexp) get isSimpleRegexp check back
6
+
7
+
8
+ feature:
9
+ - (@putout/plugin-promises) merge @putout/plugin-apply-await-import
10
+ - (@putout/engine-runner) validate absent fix
11
+ - (@putout/engine-runner) include: add report validation
12
+ - (eslint-plugin-putout) @typescript-eslint/lines-between-class-members: turn off
13
+ - (@putout/eslint-config) disable lines-between-property-members
14
+ - (@putout/eslint-config) padding-line-between-statements: add functions
15
+ - (@putout/engine-loader) replace -> replaceAll
16
+ - (@putout/plugin-regexp) improve support of newlines
17
+ - (@putout/plugin-convert-quotes-to-backticks) improve support of multiple backslashes
18
+ - (@putout/plugin-regexp) convert-replace-to-replace-all: improve RegExp support
19
+
20
+
21
+ 2022.03.08, v25.4.1
22
+
23
+ feature:
24
+ - (package) @putout/plugin-convert-quotes-to-backticks v2.0.0
25
+ - (@putout/plugin-convert-quotes-to-backticks) drop support of putout < 25
26
+ - (@putout/plugin-convert-quotes-to-backticks) add support of double backslash (xtermjs/xterm.js#3674)
27
+ - (@putout/plugin-regexp) remove-useless-group: exclude match (xtermjs/xterm.js#3674)
28
+
29
+
30
+ 2022.03.08, v25.4.0
31
+
32
+ feature:
33
+ - (package) @putout/formatter-json-lines v3.0.0
34
+ - (@putout/formatter-json-lines) rm source
35
+ - (@putout/formatter-json-lines) drop support of putout < 25
36
+ - (putout) eslint: improve support of control sequences
37
+
38
+
1
39
  2022.03.07, v25.3.0
2
40
 
3
41
  feature:
@@ -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.0",
3
+ "version": "25.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 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": "^2.0.0",
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",
@@ -71,7 +71,6 @@
71
71
  "@putout/operator-declare": "^4.0.0",
72
72
  "@putout/operator-regexp": "^1.0.0",
73
73
  "@putout/plugin-apply-array-at": "^2.0.0",
74
- "@putout/plugin-apply-await-import": "^1.0.0",
75
74
  "@putout/plugin-apply-destructuring": "^5.0.0",
76
75
  "@putout/plugin-apply-if-condition": "^1.0.0",
77
76
  "@putout/plugin-apply-is-array": "^2.0.0",
@@ -97,7 +96,7 @@
97
96
  "@putout/plugin-convert-math-pow": "^4.0.0",
98
97
  "@putout/plugin-convert-mock-require-to-mock-import": "^2.0.0",
99
98
  "@putout/plugin-convert-object-assign-to-merge-spread": "^5.0.0",
100
- "@putout/plugin-convert-quotes-to-backticks": "^1.0.0",
99
+ "@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
101
100
  "@putout/plugin-convert-template-to-string": "^1.0.0",
102
101
  "@putout/plugin-convert-to-arrow-function": "^3.0.0",
103
102
  "@putout/plugin-convert-typeof-to-is-type": "^2.0.0",
package/putout.json CHANGED
@@ -123,7 +123,6 @@
123
123
  },
124
124
  "plugins": [
125
125
  "apply-array-at",
126
- "apply-await-import",
127
126
  "apply-is-array",
128
127
  "apply-destructuring",
129
128
  "apply-optional-chaining",