putout 28.15.0 → 28.17.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 +23 -0
  2. package/package.json +3 -2
  3. package/putout.json +2 -0
package/ChangeLog CHANGED
@@ -1,3 +1,26 @@
1
+ 2023.02.23, v28.17.0
2
+
3
+ feature:
4
+ - package: @putout/plugin-apply-destructuring v6.0.0
5
+ - @putout/plugin-apply-destructuring: drop support of 🐊 < 28
6
+ - @putout/plugin-apply-destructuring: drop support of node < 16
7
+ - @putout/plugin-apply-destructuring: object: get rid off `const a = b.a || c -> const {a = c} = b` since it works only for `b.a = undefined` not for: 0, null, undefined, '', etc
8
+ - eslint-plugin-putout: add remove-empty-newline-between-declarations
9
+ - @putout/plugin-split-nested-destructuring: add support of rename
10
+ - @putout/engine-loader: is-enabled: improve handling of disabled rules of Multirule Plugin
11
+ - package: @putout/recast v1.12.1 (#129)
12
+
13
+ 2023.02.04, v28.16.0
14
+
15
+ fix:
16
+ - @putout/plugin-regexp: remove-useless-group: report after transform
17
+
18
+ feature:
19
+ - @putout/plugin-apply-maybe: add
20
+ - @putout/plugin-regexp: apply-literal-notation: report: message
21
+ - @putout/plugin-regexp: apply-literal-notation: improve support of @putout/plugin-remove-useless-escape
22
+ - @putout/plugin-regexp: remove-useless-group: improve support of apply-literal-notation
23
+
1
24
  2023.02.03, v28.15.0
2
25
 
3
26
  feature:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "28.15.0",
3
+ "version": "28.17.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",
@@ -73,11 +73,12 @@
73
73
  "@putout/operator-regexp": "^1.0.0",
74
74
  "@putout/plugin-apply-array-at": "^2.0.0",
75
75
  "@putout/plugin-apply-comparison-order": "^1.0.0",
76
- "@putout/plugin-apply-destructuring": "^5.0.0",
76
+ "@putout/plugin-apply-destructuring": "^6.0.0",
77
77
  "@putout/plugin-apply-early-return": "^2.0.0",
78
78
  "@putout/plugin-apply-flat-map": "^2.0.0",
79
79
  "@putout/plugin-apply-if-condition": "^1.0.0",
80
80
  "@putout/plugin-apply-is-array": "^3.0.0",
81
+ "@putout/plugin-apply-maybe": "^1.0.0",
81
82
  "@putout/plugin-apply-optional-chaining": "^2.0.0",
82
83
  "@putout/plugin-apply-template-literals": "^1.0.0",
83
84
  "@putout/plugin-browserlist": "^1.0.0",
package/putout.json CHANGED
@@ -29,6 +29,7 @@
29
29
  "remove-empty/import": "off"
30
30
  },
31
31
  "*.md": {
32
+ "apply-maybe": "off",
32
33
  "convert-quotes-to-backticks": "off",
33
34
  "convert-comparison-to-boolean": "off",
34
35
  "remove-unused-expressions": "off",
@@ -146,6 +147,7 @@
146
147
  "apply-if-condition",
147
148
  "apply-comparison-order",
148
149
  "apply-template-literals",
150
+ "apply-maybe",
149
151
  "extract-object-properties",
150
152
  "extract-sequence-expressions",
151
153
  "madrun",