putout 28.2.0 → 28.4.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,20 @@
1
+ 2023.01.06, v28.4.0
2
+
3
+ fix:
4
+ - @putout/plugin-apply-is-array: description
5
+
6
+ feature:
7
+ - package: cosmiconfig v8.0.0
8
+ - @putout/plugin-apply-flat-map: add
9
+
10
+ 2022.12.29, v28.3.0
11
+
12
+ feature:
13
+ - package: nano-memoize v2.0.0
14
+ - @putout/plugin-logical-expressions: simplify: add support of OptionalChaining
15
+ - @putout/plugin-extract-sequence-expressions: add support of IfStatement test (#126)
16
+ - @putout/plugin-remove-unused-variables: add support of SequenceExpressions (#126)
17
+
1
18
  2022.12.26, v28.2.0
2
19
 
3
20
  feature:
package/README.md CHANGED
@@ -146,6 +146,7 @@ module.exports.replace = () => ({
146
146
  - ✅ apply `if condition`;
147
147
  - ✅ apply `await import`;
148
148
  - ✅ apply comparison order;
149
+ - ✅ apply `flatMap()`;
149
150
 
150
151
  ## Install
151
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "28.2.0",
3
+ "version": "28.4.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",
@@ -75,6 +75,7 @@
75
75
  "@putout/plugin-apply-comparison-order": "^1.0.0",
76
76
  "@putout/plugin-apply-destructuring": "^5.0.0",
77
77
  "@putout/plugin-apply-early-return": "^2.0.0",
78
+ "@putout/plugin-apply-flat-map": "^1.0.0",
78
79
  "@putout/plugin-apply-if-condition": "^1.0.0",
79
80
  "@putout/plugin-apply-is-array": "^3.0.0",
80
81
  "@putout/plugin-apply-optional-chaining": "^2.0.0",
@@ -190,7 +191,7 @@
190
191
  "ignore": "^5.0.4",
191
192
  "is-relative": "^1.0.0",
192
193
  "isomorphic-git": "^1.4.0",
193
- "nano-memoize": "^1.1.11",
194
+ "nano-memoize": "^2.0.0",
194
195
  "once": "^1.4.0",
195
196
  "picomatch": "^2.2.2",
196
197
  "try-catch": "^3.0.0",
package/putout.json CHANGED
@@ -139,6 +139,7 @@
139
139
  "plugins": [
140
140
  "apply-array-at",
141
141
  "apply-early-return",
142
+ "apply-flat-map",
142
143
  "apply-is-array",
143
144
  "apply-destructuring",
144
145
  "apply-optional-chaining",