putout 27.13.0 → 28.0.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,15 @@
1
+ 2022.10.20, v28.0.0
2
+
3
+ feature:
4
+ - @putout/plugin-math: add apply-numeric-separators
5
+ - @putout/plugin-math: add apply-multiplication
6
+ - @putout/plugin-math: add apply-exponentiation
7
+ - @putout/plugin-math: add convert-sqrt-to-hypot
8
+ - putout: add @putout/plugin-math
9
+ - package: lerna v6.0.1
10
+ - @putout/plugin-remove-empty: block: report
11
+ - @putout/plugin-remove-empty: add static-block
12
+
1
13
  2022.09.22, v27.13.0
2
14
 
3
15
  feature:
@@ -634,7 +646,7 @@ feature:
634
646
 
635
647
  fix:
636
648
  - (@putout/plugin-convert-commonjs-to-esm) report
637
- - (putout) help: localy -> locally
649
+ - (putout) help: locally -> locally
638
650
 
639
651
 
640
652
  feature:
@@ -2543,7 +2555,7 @@ feature:
2543
2555
  - (@putout/plugin-declare-undefined-variables) add support of montag
2544
2556
  - (@putout/compare) isTemplate: add support of "."
2545
2557
  - (package) @putout/plugin-remove-empty v6.0.0
2546
- - (@putout/plugin-remove-empty) drop suppot of putout < 19
2558
+ - (@putout/plugin-remove-empty) drop support of putout < 19
2547
2559
  - (package) @putout/plugin-remove-empty-pattern v4.0.0
2548
2560
  - (@putout/plugin-remove-empty-pattern) drop support of node < 14
2549
2561
  - (@putout/plugin-remove-empty-pattern) add support of let declaration and assignment
package/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  ![putout](https://github.com/coderaiser/putout/blob/master/images/putout-logo.svg)
16
16
 
17
- 🐊**Putout** is a pluggable and configurable code transformer with built-in ESLint and Babel plugins support for js, jsx, typescript and flow files. It has [a lot of transformations](#-built-in-transformations) that will keep your codebase in a clean state, transforming any code smell to readable code according to best practices.
17
+ 🐊**Putout** is a pluggable and configurable code transformer with built-in ESLint and Babel plugins support for js, jsx, typescript and flow files. It has [a lot of transformations](https://github.com/coderaiser/putout#-built-in-transformations) that will keep your codebase in a clean state, transforming any code smell to readable code according to best practices.
18
18
 
19
19
  [![putout](https://asciinema.org/a/0akg9gkJdbmbGl6BbpaycgKZm.svg)](https://asciinema.org/a/0akg9gkJdbmbGl6BbpaycgKZm)
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "27.13.0",
3
+ "version": "28.0.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",
@@ -77,7 +77,6 @@
77
77
  "@putout/plugin-apply-early-return": "^2.0.0",
78
78
  "@putout/plugin-apply-if-condition": "^1.0.0",
79
79
  "@putout/plugin-apply-is-array": "^3.0.0",
80
- "@putout/plugin-apply-numeric-separators": "^1.0.0",
81
80
  "@putout/plugin-apply-optional-chaining": "^2.0.0",
82
81
  "@putout/plugin-browserlist": "^1.0.0",
83
82
  "@putout/plugin-convert-apply-to-spread": "^3.0.0",
@@ -94,15 +93,12 @@
94
93
  "@putout/plugin-convert-for-each-to-for-of": "^7.0.0",
95
94
  "@putout/plugin-convert-for-in-to-for-of": "^2.0.0",
96
95
  "@putout/plugin-convert-for-to-for-of": "^4.0.0",
97
- "@putout/plugin-convert-imul-to-multiplication": "^1.0.0",
98
96
  "@putout/plugin-convert-index-of-to-includes": "^1.0.0",
99
97
  "@putout/plugin-convert-map-to-for-of": "^2.0.0",
100
- "@putout/plugin-convert-math-pow": "^5.0.0",
101
98
  "@putout/plugin-convert-mock-require-to-mock-import": "^4.0.0",
102
99
  "@putout/plugin-convert-object-assign-to-merge-spread": "^6.0.0",
103
100
  "@putout/plugin-convert-quotes-to-backticks": "^2.0.0",
104
101
  "@putout/plugin-convert-reduce-to-for-of": "^1.0.0",
105
- "@putout/plugin-convert-sqrt-to-hypot": "^1.0.0",
106
102
  "@putout/plugin-convert-template-to-string": "^1.0.0",
107
103
  "@putout/plugin-convert-to-arrow-function": "^3.0.0",
108
104
  "@putout/plugin-convert-typeof-to-is-type": "^2.0.0",
@@ -116,6 +112,7 @@
116
112
  "@putout/plugin-gitignore": "^3.0.0",
117
113
  "@putout/plugin-logical-expressions": "^1.0.0",
118
114
  "@putout/plugin-madrun": "^14.0.0",
115
+ "@putout/plugin-math": "^1.0.0",
119
116
  "@putout/plugin-merge-destructuring-properties": "^6.0.0",
120
117
  "@putout/plugin-merge-duplicate-imports": "^7.0.0",
121
118
  "@putout/plugin-merge-if-statements": "^3.0.0",
@@ -223,7 +220,7 @@
223
220
  "eslint-plugin-n": "^15.2.4",
224
221
  "eslint-plugin-putout": "^16.0.0",
225
222
  "just-camel-case": "^4.0.2",
226
- "lerna": "^5.0.0",
223
+ "lerna": "^6.0.1",
227
224
  "madrun": "^9.0.0",
228
225
  "mock-require": "^3.0.2",
229
226
  "montag": "^1.2.1",
package/putout.json CHANGED
@@ -51,7 +51,7 @@
51
51
  "{*rc,*.{json,yml}}": {
52
52
  "convert-quotes-to-backticks": "off",
53
53
  "remove-useless-escape": "off",
54
- "apply-numeric-separators": "off"
54
+ "math/apply-numeric-separators": "off"
55
55
  },
56
56
  ".github/**/*.yml": {
57
57
  "github": "on",
@@ -142,7 +142,6 @@
142
142
  "apply-is-array",
143
143
  "apply-destructuring",
144
144
  "apply-optional-chaining",
145
- "apply-numeric-separators",
146
145
  "apply-if-condition",
147
146
  "apply-comparison-order",
148
147
  "extract-object-properties",
@@ -200,7 +199,6 @@
200
199
  "convert-arguments-to-rest",
201
200
  "convert-object-assign-to-merge-spread",
202
201
  "convert-comparison-to-boolean",
203
- "convert-math-pow",
204
202
  "convert-to-arrow-function",
205
203
  "convert-for-to-for-of",
206
204
  "convert-for-each-to-for-of",
@@ -216,8 +214,6 @@
216
214
  "convert-assignment-to-arrow-function",
217
215
  "convert-assignment-to-comparison",
218
216
  "convert-quotes-to-backticks",
219
- "convert-sqrt-to-hypot",
220
- "convert-imul-to-multiplication",
221
217
  "merge-destructuring-properties",
222
218
  "merge-duplicate-imports",
223
219
  "merge-if-statements",
@@ -225,6 +221,7 @@
225
221
  "declare-before-reference",
226
222
  "declare-undefined-variables",
227
223
  "strict-mode",
224
+ "math",
228
225
  "putout",
229
226
  "putout-config",
230
227
  "promises",