putout 32.16.0 → 33.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,21 @@
1
+ 2023.11.09, v33.0.0
2
+
3
+ feature:
4
+ - d28219c92 @putout/engine-loader: rm unused isExluded
5
+ - 6b2721dc1 putout: add ability to provide disabled plugins
6
+ - dea784378 @putout/processor-filesystem: is-filesystem
7
+ - 5cfd75e0f putout: @putout/plugin-nodejs v9.0.0
8
+ - 729e93cc8 putout: @putout/plugin-tape v12.0.0
9
+ - 29c77ff0f @putout/plugin-tape: drop support of 🐊 < 33
10
+ - 54f56992e putout: @putout/plugin-nodejs v8.1.0
11
+ - 71a3e482a putout: @putout/plugin-merge-duplicate-imports v10.0.0
12
+ - 67b22c688 @putout/plugin-nodejs: drop support of 🐊 < 33
13
+ - 67f1dde3a @putout/plugin-merge-duplicate-imports: drop support of 🐊 < 33
14
+ - fa96049c3 @putout/plugin-merge-duplicate-imports: improve support of tape/declare, nodejs/convert-esm-to-commonjs
15
+ - 4befa6ead @putout/plugin-nodejs: merge convert-esm-to-commonjs
16
+ - fbae70329 @putout/plugin-nodejs: merge convert-commonjs-to-esm
17
+ - d36d198f8 @putout/plugin-nodejs: convert-exports-to-module-exports: add (#191)
18
+
1
19
  2023.11.07, v32.16.0
2
20
 
3
21
  fix:
@@ -12,7 +12,8 @@ function commonjs() {
12
12
  return {
13
13
  match: {
14
14
  '*.js': {
15
- 'convert-esm-to-commonjs': 'on',
15
+ 'nodejs/convert-esm-to-commonjs': 'on',
16
+ 'tape/convert-mock-require-to-mock-import': 'off',
16
17
  },
17
18
  '.eslintrc.json': {
18
19
  'eslint': 'on',
@@ -26,8 +27,9 @@ function esm() {
26
27
  return {
27
28
  match: {
28
29
  '*.js': {
29
- 'convert-commonjs-to-esm': 'on',
30
+ 'nodejs/convert-commonjs-to-esm': 'on',
30
31
  'strict-mode/add-missing': 'off',
32
+ 'tape/convert-mock-require-to-mock-import': 'on',
31
33
  },
32
34
  '.eslintrc.json': {
33
35
  'eslint': 'on',
@@ -86,6 +86,10 @@
86
86
  }]
87
87
  }]
88
88
  },
89
+ "fixCount": {
90
+ "description": "Choose count of fixes",
91
+ "type": "number"
92
+ },
89
93
  "formatter": {
90
94
  "description": "Choose the way to show information about errors found",
91
95
  "type": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "32.16.0",
3
+ "version": "33.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",
@@ -88,12 +88,9 @@
88
88
  "@putout/plugin-convert-array-copy-to-slice": "^3.0.0",
89
89
  "@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
90
90
  "@putout/plugin-convert-assignment-to-comparison": "^2.0.0",
91
- "@putout/plugin-convert-commonjs-to-esm": "^10.0.0",
92
91
  "@putout/plugin-convert-concat-to-flat": "^1.0.0",
93
92
  "@putout/plugin-convert-const-to-let": "^1.0.0",
94
- "@putout/plugin-convert-esm-to-commonjs": "^6.0.0",
95
93
  "@putout/plugin-convert-index-of-to-includes": "^2.0.0",
96
- "@putout/plugin-convert-mock-require-to-mock-import": "^4.0.0",
97
94
  "@putout/plugin-convert-object-assign-to-merge-spread": "^6.0.0",
98
95
  "@putout/plugin-convert-object-entries-to-array-entries": "^3.0.0",
99
96
  "@putout/plugin-convert-optional-to-logical": "^3.0.0",
@@ -116,10 +113,10 @@
116
113
  "@putout/plugin-maybe": "^2.0.0",
117
114
  "@putout/plugin-merge-destructuring-properties": "^8.0.0",
118
115
  "@putout/plugin-merge-duplicate-functions": "^2.0.0",
119
- "@putout/plugin-merge-duplicate-imports": "^9.0.0",
116
+ "@putout/plugin-merge-duplicate-imports": "^10.0.0",
120
117
  "@putout/plugin-montag": "^2.0.0",
121
118
  "@putout/plugin-new": "^2.0.0",
122
- "@putout/plugin-nodejs": "^8.0.0",
119
+ "@putout/plugin-nodejs": "^9.0.0",
123
120
  "@putout/plugin-npmignore": "^2.0.0",
124
121
  "@putout/plugin-package-json": "^5.0.0",
125
122
  "@putout/plugin-promises": "^13.0.0",
@@ -162,7 +159,7 @@
162
159
  "@putout/plugin-split-nested-destructuring": "^3.0.0",
163
160
  "@putout/plugin-split-variable-declarations": "^3.0.0",
164
161
  "@putout/plugin-strict-mode": "^9.0.0",
165
- "@putout/plugin-tape": "^11.0.0",
162
+ "@putout/plugin-tape": "^12.0.0",
166
163
  "@putout/plugin-try-catch": "^3.0.0",
167
164
  "@putout/plugin-types": "^3.0.0",
168
165
  "@putout/plugin-typescript": "^5.0.0",
package/putout.json CHANGED
@@ -97,11 +97,11 @@
97
97
  "tape": "on"
98
98
  },
99
99
  "*.mjs": {
100
- "convert-commonjs-to-esm": "on",
101
- "convert-mock-require-to-mock-import": "on"
100
+ "nodejs/convert-commonjs-to-esm": "on",
101
+ "tape/convert-mock-require-to-mock-import": "on"
102
102
  },
103
103
  "*.cjs": {
104
- "convert-esm-to-commonjs": "on"
104
+ "nodejs/convert-esm-to-commonjs": "on"
105
105
  },
106
106
  "*.{ts,tsx,mts,cts,md{ts},md{tsx}}": {
107
107
  "typescript": "on"
@@ -131,8 +131,8 @@
131
131
  ],
132
132
  "rules": {
133
133
  "typescript": "off",
134
- "convert-esm-to-commonjs": "off",
135
- "convert-commonjs-to-esm": "off",
134
+ "nodejs/convert-esm-to-commonjs": "off",
135
+ "nodejs/convert-commonjs-to-esm": "off",
136
136
  "apply-optional-chaining/assign": "off",
137
137
  "convert-optional-to-logical/call": "off",
138
138
  "nodejs/convert-top-level-return": "off",
@@ -147,7 +147,7 @@
147
147
  "github": "off",
148
148
  "tape": "off",
149
149
  "strict-mode": "off",
150
- "convert-mock-require-to-mock-import": "off"
150
+ "tape/convert-mock-require-to-mock-import": "off"
151
151
  },
152
152
  "plugins": [
153
153
  "apply-at",
@@ -199,8 +199,6 @@
199
199
  "simplify-boolean-return",
200
200
  "simplify-ternary",
201
201
  "convert-const-to-let",
202
- "convert-esm-to-commonjs",
203
- "convert-commonjs-to-esm",
204
202
  "convert-apply-to-spread",
205
203
  "convert-concat-to-flat",
206
204
  "convert-arguments-to-rest",
@@ -210,7 +208,6 @@
210
208
  "convert-array-copy-to-slice",
211
209
  "convert-template-to-string",
212
210
  "convert-index-of-to-includes",
213
- "convert-mock-require-to-mock-import",
214
211
  "convert-assignment-to-arrow-function",
215
212
  "convert-assignment-to-comparison",
216
213
  "convert-quotes-to-backticks",