putout 26.3.1 → 26.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,10 @@
1
+ 2022.05.18, v26.4.0
2
+
3
+ feature:
4
+ - (@putout/plugin-tape) add apply-destructuring
5
+ - (@putout/plugin-remove-useless-assign) add
6
+
7
+
1
8
  2022.05.17, v26.3.1
2
9
 
3
10
  feature:
package/README.md CHANGED
@@ -69,6 +69,7 @@ module.exports.replace = () => ({
69
69
  - ✅ remove unused `private fields`;
70
70
  - ✅ remove unused `expressions`;
71
71
  - ✅ remove useless `variables`;
72
+ - ✅ remove useless `Object.assign()`;
72
73
  - ✅ remove useless `map`;
73
74
  - ✅ remove useless `mapped types`;
74
75
  - ✅ remove useless `mapping modifiers`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "26.3.1",
3
+ "version": "26.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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
@@ -143,6 +143,7 @@
143
143
  "@putout/plugin-remove-useless-array-constructor": "^1.0.0",
144
144
  "@putout/plugin-remove-useless-array-entries": "^1.0.0",
145
145
  "@putout/plugin-remove-useless-array-from": "^2.0.0",
146
+ "@putout/plugin-remove-useless-assign": "^1.0.0",
146
147
  "@putout/plugin-remove-useless-conditions": "^1.0.0",
147
148
  "@putout/plugin-remove-useless-constructor": "^1.0.0",
148
149
  "@putout/plugin-remove-useless-continue": "^1.0.0",
@@ -210,7 +211,6 @@
210
211
  ],
211
212
  "devDependencies": {
212
213
  "@babel/plugin-transform-react-jsx": "^7.14.5",
213
- "@cloudcmd/stub": "^3.0.0",
214
214
  "babel-plugin-transform-inline-consecutive-adds": "^0.5.0-alpha.9",
215
215
  "c8": "^7.5.0",
216
216
  "currify": "^4.0.0",
package/putout.json CHANGED
@@ -145,6 +145,7 @@
145
145
  "remove-unused-for-of-variables",
146
146
  "remove-unused-private-fields",
147
147
  "remove-unused-expressions",
148
+ "remove-useless-assign",
148
149
  "remove-useless-variables",
149
150
  "remove-useless-else",
150
151
  "remove-useless-map",