putout 34.2.0 → 34.3.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 +39 -0
- package/lib/cli/report.js +5 -0
- package/package.json +6 -6
package/ChangeLog
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
2023.12.21, v34.3.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 343bf7d8b putout: @putout/cli-choose-formatter v3.0.0
|
|
5
|
+
- 12f580372 @putout/cli-choose-formatter: drop support of node < 18
|
|
6
|
+
- a0e6215fe putout: @putout/cli-cache v3.0.0
|
|
7
|
+
- 026ecf2bd @putout/cli-cache: drop support of node < 18
|
|
8
|
+
- 845dba5b0 putout: @putout/eslint v3.0.0
|
|
9
|
+
- 4a4f269b2 eslint-plugin-putout: @putout/eslint v3.0.0
|
|
10
|
+
- 15c333e64 @putout/test: @putout/eslint v2.4.0
|
|
11
|
+
- 89d1b752c @putout/eslint: drop support of node < 18
|
|
12
|
+
- bd0884317 @putout/processor-css: stylelint-prettier v5.0.0
|
|
13
|
+
- d9467ffe0 @putout/eslint: find-up v7.0.0
|
|
14
|
+
- 215816655 @putout/cli-choose-formatter: find-up v7.0.0
|
|
15
|
+
- 9b0eb42c0 @putout/cli-cache: find-up v7.0.0
|
|
16
|
+
- b2dee82e0 putout: find-up v7.0.0
|
|
17
|
+
- 433114dc0 @putout/engine-runner: scanner: progress: add percent
|
|
18
|
+
- 12908419f @putout/processor-css: align spaces on empty lines
|
|
19
|
+
- 3117a145e @putout/test: progress
|
|
20
|
+
- ef4908d1f @putout/plugin-filesystem: exports: read-all-files
|
|
21
|
+
- 849f1cfcd @putout/plugin-filesystem: read-all-files: progress
|
|
22
|
+
- e916cdf6c @putout/engine-runner: Scanner: progress: file
|
|
23
|
+
- 0f992b4da @putout/plugin-remove-unused-variables: first argument should be always declared and used when arguments count > 1
|
|
24
|
+
- f09f4e316 @putout/plugin-filesystem: wriate-all-files: add
|
|
25
|
+
- 9c2c1fd78 @putout/operator-filesystem: writeFileContent: directory
|
|
26
|
+
|
|
27
|
+
2023.12.19, v34.2.1
|
|
28
|
+
|
|
29
|
+
feature:
|
|
30
|
+
- 3c57c56ee putout: cli: report: handle case when no places passed
|
|
31
|
+
- fffa6857e root: redlint v3.1.2
|
|
32
|
+
- d36abc4e5 putout: @putout/plugin-putout-config v5.0.0
|
|
33
|
+
- 131463cba @putout/plugin-filesystem: read-all-files: add
|
|
34
|
+
- 125690c2d @putout/plugin-putout-config: drop support of node < 18
|
|
35
|
+
- 264d4b3e2 @putout/plugin-putout-config: convert-boolean-to-string: exclude arrays
|
|
36
|
+
- 2cfb08ca7 @putout/plugin-filesystem: convert-filesystem-to-simple-filesystem: empty content
|
|
37
|
+
- 95beb62a9 @putout/operator-filesystem: readFileContent: directory
|
|
38
|
+
- d8f1799ff @putout/plugin-filesystem: report: improve
|
|
39
|
+
|
|
1
40
|
2023.12.18, v34.2.0
|
|
2
41
|
|
|
3
42
|
fix:
|
package/lib/cli/report.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const {isArray} = Array;
|
|
4
|
+
|
|
3
5
|
module.exports = () => {
|
|
4
6
|
let filesCount = 0;
|
|
5
7
|
let errorsCount = 0;
|
|
@@ -15,6 +17,9 @@ module.exports = () => {
|
|
|
15
17
|
formatterOptions = {},
|
|
16
18
|
} = options;
|
|
17
19
|
|
|
20
|
+
if (!isArray(places))
|
|
21
|
+
throw Error(`☝️ Looks like for 'places: Places[]' you passed the wrong type: '${typeof places}'`);
|
|
22
|
+
|
|
18
23
|
if (places.length)
|
|
19
24
|
++filesCount;
|
|
20
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.3.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",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@putout/babel": "^2.0.0",
|
|
52
|
-
"@putout/cli-cache": "^
|
|
53
|
-
"@putout/cli-choose-formatter": "^
|
|
52
|
+
"@putout/cli-cache": "^3.0.0",
|
|
53
|
+
"@putout/cli-choose-formatter": "^3.0.0",
|
|
54
54
|
"@putout/cli-keypress": "^2.0.0",
|
|
55
55
|
"@putout/cli-match": "^2.0.0",
|
|
56
56
|
"@putout/cli-ruler": "^3.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@putout/engine-parser": "^10.0.0",
|
|
62
62
|
"@putout/engine-processor": "^11.0.0",
|
|
63
63
|
"@putout/engine-runner": "^20.0.1",
|
|
64
|
-
"@putout/eslint": "^
|
|
64
|
+
"@putout/eslint": "^3.0.0",
|
|
65
65
|
"@putout/formatter-codeframe": "^6.0.0",
|
|
66
66
|
"@putout/formatter-dump": "^4.0.0",
|
|
67
67
|
"@putout/formatter-frame": "^4.0.0",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@putout/plugin-package-json": "^6.0.0",
|
|
128
128
|
"@putout/plugin-promises": "^14.0.0",
|
|
129
129
|
"@putout/plugin-putout": "^18.0.0",
|
|
130
|
-
"@putout/plugin-putout-config": "^
|
|
130
|
+
"@putout/plugin-putout-config": "^5.0.0",
|
|
131
131
|
"@putout/plugin-regexp": "^8.0.0",
|
|
132
132
|
"@putout/plugin-remove-console": "^6.0.0",
|
|
133
133
|
"@putout/plugin-remove-constant-conditions": "^4.0.0",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"deepmerge": "^4.0.0",
|
|
185
185
|
"escalade": "^3.1.1",
|
|
186
186
|
"fast-glob": "^3.2.2",
|
|
187
|
-
"find-up": "^
|
|
187
|
+
"find-up": "^7.0.0",
|
|
188
188
|
"fullstore": "^3.0.0",
|
|
189
189
|
"ignore": "^5.0.4",
|
|
190
190
|
"is-relative": "^1.0.0",
|