putout 21.1.0 → 21.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.
Files changed (3) hide show
  1. package/ChangeLog +47 -0
  2. package/package.json +4 -3
  3. package/putout.json +3 -2
package/ChangeLog CHANGED
@@ -1,3 +1,50 @@
1
+ 2021.11.08, v21.3.0
2
+
3
+ feature:
4
+ - (@putout/plugin-convert-quotes-to-backticks) add
5
+ - (@putout/plugin-remove-useless-escape) add support of escaping single quotes in backquotes
6
+ - (eslint-plugin-putout) add remove-newline-from-empty-object
7
+ - (eslint-plugin-putout) add remove-empty-newline-after-last-specifier
8
+ - (@putout/plugin-declare-undefined-variables) add support of child_process
9
+ - (@putout/plugin-declare-undefined-variables) add pullout, pipe-io
10
+ - (@putout/plugin-declare-undefined-variables) add support of os
11
+ - (@putout/plugin-declare-undefined-variables) add currify, wraptile
12
+
13
+
14
+ 2021.11.06, v21.2.0
15
+
16
+ fix:
17
+ - (@putout/plugin-remove-useless-return) exclude nodes with comments
18
+
19
+ feature:
20
+ - (package) @putout/plugin-putout-config v2.0.0
21
+ - (@putout/plugin-putout-config) drop support of node < 14
22
+ - (@putout/plugin-apply-is-array) add support of "inline" option (https://github.com/xtermjs/xterm.js/pull/3538#discussion_r743663993)
23
+ - (@putout/plugin-putout-config) improve support of plugin options
24
+ - (@putout/operator-declare) improve VariableDeclaration check
25
+ - (@putout/plugin-declare-undefined-variables) maybe: add maybeFn
26
+ - (eslint-plugin-putout) safe: disable remove-useless-return
27
+ - (eslint-plugin-tape) add tape-add-newline-between-tests
28
+
29
+
30
+ 2021.11.02, v21.1.2
31
+
32
+ feature:
33
+ - (@putout/plugin-apply-is-array) drop support of putout < 21
34
+ - (@putout/plugin-apply-is-array) Array.isArray -> isArray
35
+ - (@putout/plugin-declare-undefined-variables) add support of isUndefined
36
+ - (@putout/plugin-convert-typeof-to-is-type) add support of isUndefined
37
+
38
+
39
+ 2021.11.02, v21.1.1
40
+
41
+ fix:
42
+ - (putout) strict-mode/add: on, strict-mode/remove: on -> strict-mode: on
43
+
44
+ feature:
45
+ - (@putout/engine-loader) add support of namespaced plugins
46
+
47
+
1
48
  2021.11.01, v21.1.0
2
49
 
3
50
  feature:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "21.1.0",
3
+ "version": "21.3.0",
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",
@@ -73,7 +73,7 @@
73
73
  "@putout/plugin-apply-destructuring": "^5.0.0",
74
74
  "@putout/plugin-apply-filter-boolean": "^1.0.0",
75
75
  "@putout/plugin-apply-if-condition": "^1.0.0",
76
- "@putout/plugin-apply-is-array": "^1.0.0",
76
+ "@putout/plugin-apply-is-array": "^2.0.0",
77
77
  "@putout/plugin-apply-numeric-separators": "^1.0.0",
78
78
  "@putout/plugin-apply-optional-chaining": "^2.0.0",
79
79
  "@putout/plugin-apply-utility-types": "^1.0.0",
@@ -98,6 +98,7 @@
98
98
  "@putout/plugin-convert-math-pow": "^4.0.0",
99
99
  "@putout/plugin-convert-mock-require-to-mock-import": "^1.0.0",
100
100
  "@putout/plugin-convert-object-assign-to-merge-spread": "^5.0.0",
101
+ "@putout/plugin-convert-quotes-to-backticks": "^1.0.0",
101
102
  "@putout/plugin-convert-template-to-string": "^1.0.0",
102
103
  "@putout/plugin-convert-to-arrow-function": "^3.0.0",
103
104
  "@putout/plugin-convert-top-level-return": "^4.0.0",
@@ -117,7 +118,7 @@
117
118
  "@putout/plugin-package-json": "^1.0.0",
118
119
  "@putout/plugin-promises": "^6.0.0",
119
120
  "@putout/plugin-putout": "^8.0.0",
120
- "@putout/plugin-putout-config": "^1.0.0",
121
+ "@putout/plugin-putout-config": "^2.0.0",
121
122
  "@putout/plugin-regexp": "^3.0.0",
122
123
  "@putout/plugin-remove-boolean-from-assertions": "^1.0.0",
123
124
  "@putout/plugin-remove-boolean-from-logical-expressions": "^4.0.0",
package/putout.json CHANGED
@@ -17,8 +17,7 @@
17
17
  "strict-mode/add": "off"
18
18
  },
19
19
  "*.{jsx,js,cjs}": {
20
- "strict-mode/add": "on",
21
- "strict-mode/remove": "on"
20
+ "strict-mode": "on"
22
21
  },
23
22
  "{.,}putout.json": {
24
23
  "putout-config": "on"
@@ -41,6 +40,7 @@
41
40
  "declare-undefined-variables": "off"
42
41
  },
43
42
  "{*rc,*.{json,yml}}": {
43
+ "convert-quotes-to-backticks": "off",
44
44
  "remove-useless-escape": "off",
45
45
  "apply-numeric-separators": "off"
46
46
  },
@@ -226,6 +226,7 @@
226
226
  "convert-mock-require-to-mock-import",
227
227
  "convert-assignment-to-arrow-function",
228
228
  "convert-assignment-to-comparison",
229
+ "convert-quotes-to-backticks",
229
230
  "merge-destructuring-properties",
230
231
  "merge-duplicate-imports",
231
232
  "merge-if-statements",