putout 25.3.0 → 25.4.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,12 @@
1
+ 2022.03.08, v25.4.0
2
+
3
+ feature:
4
+ - (package) @putout/formatter-json-lines v3.0.0
5
+ - (@putout/formatter-json-lines) rm source
6
+ - (@putout/formatter-json-lines) drop support of putout < 25
7
+ - (putout) eslint: improve support of control sequences
8
+
9
+
1
10
  2022.03.07, v25.3.0
2
11
 
3
12
  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.4.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",