putout 25.13.1 → 25.14.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 +36 -0
  2. package/package.json +12 -11
  3. package/putout.json +1 -0
package/ChangeLog CHANGED
@@ -1,3 +1,39 @@
1
+ 2022.04.02, v25.14.0
2
+
3
+ fix:
4
+ - (eslint-plugin-putout) get back ability to catch error during transform
5
+
6
+
7
+ feature:
8
+ - (package) @putout/plugin-convert-mock-require-to-mock-import v3.0.0
9
+ - (@putout/plugin-convert-mock-require-to-mock-import) drop support of putout < 25
10
+ - (package) @putout/plugin-merge-duplicate-imports v6.0.0
11
+ - (@putout/plugin-merge-duplicate-imports) drop support of putout < 25
12
+ - (@putout/plugin-react-hooks) drop support of putout < 25
13
+ - (package) @putout/plugin-remove-console v4.0.0
14
+ - (@putout/plugin-remove-console) drop support of putout < 25
15
+ - (package) @putout/plugin-remove-constant-conditions v4.0.0
16
+ - (@putout/plugin-remove-constant-conditions) drop support of 🐊 < 25
17
+ - (package) @putout/plugin-remove-duplicate-case v2.0.0
18
+ - (@putout/plugin-remove-duplicate-case) drop support of 🐊 < 25
19
+ - (package) @putout/plugin-remove-empty v8.0.0
20
+ - (@putout/plugin-remove-empty) drop support of 🐊 < 25
21
+ - (package) @putout/plugin-remove-unreferenced-variables v2.0.0
22
+ - (@putout/plugin-remove-unreferenced-variables) drop support of 🐊 < 25
23
+ - (package) @putout/plugin-remove-unused-expressions v5.0.0
24
+ - (@putout/plugin-remove-unused-expressions) drop support of 🐊 < 25
25
+ - (package) @putout/plugin-remove-unused-private-fields v2.0.0
26
+ - (@putout/plugin-remove-unused-private-fields) drop support of 🐊 < 25
27
+ - (package) @putout/plugin-remove-useless-arguments v6.0.0
28
+ - (@putout/plugin-remove-useless-arguments) drop support of 🐊 < 25
29
+ - (@putout/plugin-declare-before-reference) add
30
+ - (@putout/plugin-putout) apply-remove: add
31
+ - (@putout/plugin-putout) declare: operator: add support of remove()
32
+ - (@putout/engine-runner) add ability to handle case with replace that returns nothing
33
+ - (eslint-plugin-putout) speed up 🐊 Putout rule: 5.112s -> 3.661s on 2000 loc file
34
+ - (eslint-plugin-putout) improve typescript support
35
+
36
+
1
37
  2022.04.01, v25.13.1
2
38
 
3
39
  feature:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "25.13.1",
3
+ "version": "25.14.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",
@@ -95,12 +95,13 @@
95
95
  "@putout/plugin-convert-index-of-to-includes": "^1.0.0",
96
96
  "@putout/plugin-convert-map-to-for-of": "^2.0.0",
97
97
  "@putout/plugin-convert-math-pow": "^4.0.0",
98
- "@putout/plugin-convert-mock-require-to-mock-import": "^2.0.0",
98
+ "@putout/plugin-convert-mock-require-to-mock-import": "^3.0.0",
99
99
  "@putout/plugin-convert-object-assign-to-merge-spread": "^5.0.0",
100
100
  "@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
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-typeof-to-is-type": "^2.0.0",
104
+ "@putout/plugin-declare-before-reference": "^1.0.0",
104
105
  "@putout/plugin-declare-undefined-variables": "^7.0.0",
105
106
  "@putout/plugin-eslint": "^2.0.0",
106
107
  "@putout/plugin-extract-object-properties": "^8.0.0",
@@ -109,7 +110,7 @@
109
110
  "@putout/plugin-gitignore": "^3.0.0",
110
111
  "@putout/plugin-madrun": "^14.0.0",
111
112
  "@putout/plugin-merge-destructuring-properties": "^6.0.0",
112
- "@putout/plugin-merge-duplicate-imports": "^5.0.0",
113
+ "@putout/plugin-merge-duplicate-imports": "^6.0.0",
113
114
  "@putout/plugin-merge-if-statements": "^3.0.0",
114
115
  "@putout/plugin-montag": "^1.0.0",
115
116
  "@putout/plugin-nodejs": "^4.0.0",
@@ -121,22 +122,22 @@
121
122
  "@putout/plugin-regexp": "^5.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",
124
- "@putout/plugin-remove-console": "^3.0.0",
125
- "@putout/plugin-remove-constant-conditions": "^3.0.0",
125
+ "@putout/plugin-remove-console": "^4.0.0",
126
+ "@putout/plugin-remove-constant-conditions": "^4.0.0",
126
127
  "@putout/plugin-remove-debugger": "^4.0.0",
127
- "@putout/plugin-remove-duplicate-case": "^1.0.0",
128
+ "@putout/plugin-remove-duplicate-case": "^2.0.0",
128
129
  "@putout/plugin-remove-duplicate-keys": "^2.0.0",
129
130
  "@putout/plugin-remove-duplicates-from-logical-expressions": "^1.0.0",
130
- "@putout/plugin-remove-empty": "^7.0.0",
131
+ "@putout/plugin-remove-empty": "^8.0.0",
131
132
  "@putout/plugin-remove-iife": "^1.0.0",
132
133
  "@putout/plugin-remove-nested-blocks": "^5.0.0",
133
134
  "@putout/plugin-remove-unreachable-code": "^1.0.0",
134
- "@putout/plugin-remove-unreferenced-variables": "^1.0.0",
135
- "@putout/plugin-remove-unused-expressions": "^4.0.0",
135
+ "@putout/plugin-remove-unreferenced-variables": "^2.0.0",
136
+ "@putout/plugin-remove-unused-expressions": "^5.0.0",
136
137
  "@putout/plugin-remove-unused-for-of-variables": "^2.0.0",
137
- "@putout/plugin-remove-unused-private-fields": "^1.0.0",
138
+ "@putout/plugin-remove-unused-private-fields": "^2.0.0",
138
139
  "@putout/plugin-remove-unused-variables": "*",
139
- "@putout/plugin-remove-useless-arguments": "^5.0.0",
140
+ "@putout/plugin-remove-useless-arguments": "^6.0.0",
140
141
  "@putout/plugin-remove-useless-array-constructor": "^1.0.0",
141
142
  "@putout/plugin-remove-useless-array-entries": "^1.0.0",
142
143
  "@putout/plugin-remove-useless-array-from": "^2.0.0",
package/putout.json CHANGED
@@ -205,6 +205,7 @@
205
205
  "merge-duplicate-imports",
206
206
  "merge-if-statements",
207
207
  "declare-undefined-variables",
208
+ "declare-before-reference",
208
209
  "strict-mode",
209
210
  "putout",
210
211
  "putout-config",