putout 25.18.0 → 26.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,11 @@
1
+ 2022.05.08, v26.0.0
2
+
3
+ feature:
4
+ - (package) @putout/plugin-strict-mode v5.0.0
5
+ - (@putout/plugin-new) merge: add-missing-new, remove-useless-new
6
+ - (@putout/plugin-strict-mode) add, remove -> add-missing, remove-useless
7
+
8
+
1
9
  2022.05.08, v25.18.0
2
10
 
3
11
  fix:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "25.18.0",
3
+ "version": "26.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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
@@ -70,7 +70,6 @@
70
70
  "@putout/operator-add-args": "^3.0.0",
71
71
  "@putout/operator-declare": "^4.0.0",
72
72
  "@putout/operator-regexp": "^1.0.0",
73
- "@putout/plugin-add-missing-new": "^1.0.0",
74
73
  "@putout/plugin-apply-array-at": "^2.0.0",
75
74
  "@putout/plugin-apply-destructuring": "^5.0.0",
76
75
  "@putout/plugin-apply-early-return": "^2.0.0",
@@ -115,6 +114,7 @@
115
114
  "@putout/plugin-merge-duplicate-imports": "^6.0.0",
116
115
  "@putout/plugin-merge-if-statements": "^3.0.0",
117
116
  "@putout/plugin-montag": "^1.0.0",
117
+ "@putout/plugin-new": "^1.0.0",
118
118
  "@putout/plugin-nodejs": "^4.0.0",
119
119
  "@putout/plugin-npmignore": "^2.0.0",
120
120
  "@putout/plugin-package-json": "^4.0.0",
@@ -151,7 +151,6 @@
151
151
  "@putout/plugin-remove-useless-for-of": "^2.0.0",
152
152
  "@putout/plugin-remove-useless-functions": "^2.0.0",
153
153
  "@putout/plugin-remove-useless-map": "^1.0.0",
154
- "@putout/plugin-remove-useless-new": "^2.0.0",
155
154
  "@putout/plugin-remove-useless-operand": "^2.0.0",
156
155
  "@putout/plugin-remove-useless-return": "^4.0.0",
157
156
  "@putout/plugin-remove-useless-spread": "^5.0.0",
@@ -165,7 +164,7 @@
165
164
  "@putout/plugin-simplify-ternary": "^2.0.0",
166
165
  "@putout/plugin-split-nested-destructuring": "^1.0.0",
167
166
  "@putout/plugin-split-variable-declarations": "^2.0.0",
168
- "@putout/plugin-strict-mode": "^4.0.0",
167
+ "@putout/plugin-strict-mode": "^5.0.0",
169
168
  "@putout/plugin-tape": "^9.0.0",
170
169
  "@putout/plugin-try-catch": "^1.0.0",
171
170
  "@putout/plugin-typescript": "^2.0.0",
package/putout.json CHANGED
@@ -13,8 +13,8 @@
13
13
  ],
14
14
  "match": {
15
15
  "*.{mjs,ts,tsx}": {
16
- "strict-mode/remove": "on",
17
- "strict-mode/add": "off"
16
+ "strict-mode/remove-useless": "on",
17
+ "strict-mode/add-missing": "off"
18
18
  },
19
19
  "*.{jsx,js,cjs}": {
20
20
  "strict-mode": "on"
@@ -122,7 +122,6 @@
122
122
  "convert-mock-require-to-mock-import": "off"
123
123
  },
124
124
  "plugins": [
125
- "add-missing-new",
126
125
  "apply-array-at",
127
126
  "apply-early-return",
128
127
  "apply-is-array",
@@ -148,7 +147,6 @@
148
147
  "remove-useless-variables",
149
148
  "remove-useless-else",
150
149
  "remove-useless-map",
151
- "remove-useless-new",
152
150
  "remove-useless-constructor",
153
151
  "remove-useless-array-constructor",
154
152
  "remove-useless-continue",
@@ -221,7 +219,8 @@
221
219
  "tape",
222
220
  "try-catch",
223
221
  "nodejs",
224
- "montag"
222
+ "montag",
223
+ "new"
225
224
  ]
226
225
  }
227
226