putout 20.13.0 → 20.16.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 CHANGED
@@ -1,3 +1,41 @@
1
+ 2021.10.20, v20.16.1
2
+
3
+ fix:
4
+ - (@putout/plugin-convert-array-copy-to-slice) exclude fn call, @putout/plugin-remove-useless-spread will handle it
5
+
6
+ feature:
7
+ - (package) @putout/plugin-convert-array-copy-to-slice v2.0.0
8
+ - (@putout/plugin-convert-array-copy-to-slice) drop support of node < 14
9
+
10
+
11
+ 2021.10.20, v20.16.0
12
+
13
+ feature:
14
+ - (@putout/plugin-declare-undefined-variables) add support of maybeArray
15
+ - (@putout/operator-declare) add support of one variable
16
+ - (@putout/plugin-convert-typeof-to-is-type) add
17
+ - (@putout/operator-add-args) add support of patterns array
18
+ - (@putout/compare) compareAny: add support of not array
19
+ - (@putout/compare) compareAll: add ability to pass not array as nodes
20
+ - (@putout/plugin-declare-undefined-variables) add support of is-type
21
+
22
+
23
+ 2021.10.20, v20.15.0
24
+
25
+ feature:
26
+ - (package) @putout/plugin-github v2.0.0
27
+ - (@putout/plugin-github) drop support of putout < 20
28
+ - (@putout/plugin-github) add set-setup-node-version
29
+ - (@putout/plugin-github) add set-checkout-version
30
+ - (@putout/plugin-github) set-node-versions: add v17
31
+
32
+
33
+ 2021.10.19, v20.14.0
34
+
35
+ feature:
36
+ - (putout) ci formatter: dump -> stream
37
+
38
+
1
39
  2021.10.19, v20.13.0
2
40
 
3
41
  feature:
package/lib/cli/index.js CHANGED
@@ -140,7 +140,7 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile})
140
140
  const args = yargsParser(argv, argvConfig);
141
141
 
142
142
  if (args.ci && isCI) {
143
- args.format = 'dump';
143
+ args.format = 'stream';
144
144
  args.cache = false;
145
145
  }
146
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "20.13.0",
3
+ "version": "20.16.1",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "🐊 Pluggable and configurable code transformer with built-in eslint, babel plugins and jscodeshift codemods support of js, jsx typescript, flow files, markdown, yaml and json",
6
6
  "homepage": "http://github.com/coderaiser/putout",
@@ -80,7 +80,7 @@
80
80
  "@putout/plugin-browserlist": "^1.0.0",
81
81
  "@putout/plugin-convert-apply-to-spread": "^3.0.0",
82
82
  "@putout/plugin-convert-arguments-to-rest": "^1.0.0",
83
- "@putout/plugin-convert-array-copy-to-slice": "^1.0.0",
83
+ "@putout/plugin-convert-array-copy-to-slice": "^2.0.0",
84
84
  "@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
85
85
  "@putout/plugin-convert-assignment-to-comparison": "^1.0.0",
86
86
  "@putout/plugin-convert-bitwise-to-logical": "^1.0.0",
@@ -101,11 +101,12 @@
101
101
  "@putout/plugin-convert-template-to-string": "^1.0.0",
102
102
  "@putout/plugin-convert-to-arrow-function": "^3.0.0",
103
103
  "@putout/plugin-convert-top-level-return": "^4.0.0",
104
+ "@putout/plugin-convert-typeof-to-is-type": "^1.0.0",
104
105
  "@putout/plugin-declare-undefined-variables": "^5.0.0",
105
106
  "@putout/plugin-eslint": "^2.0.0",
106
107
  "@putout/plugin-extract-object-properties": "^6.0.0",
107
108
  "@putout/plugin-extract-sequence-expressions": "^2.0.0",
108
- "@putout/plugin-github": "^1.0.0",
109
+ "@putout/plugin-github": "^2.0.0",
109
110
  "@putout/plugin-gitignore": "^3.0.0",
110
111
  "@putout/plugin-madrun": "^10.0.0",
111
112
  "@putout/plugin-merge-destructuring-properties": "^5.0.0",
package/putout.json CHANGED
@@ -220,6 +220,7 @@
220
220
  "convert-for-in-to-for-of",
221
221
  "convert-map-to-for-of",
222
222
  "convert-top-level-return",
223
+ "convert-typeof-to-is-type",
223
224
  "convert-array-copy-to-slice",
224
225
  "convert-template-to-string",
225
226
  "convert-equal-to-strict-equal",