putout 32.15.1 → 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,49 @@
|
|
|
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
|
+
|
|
19
|
+
2023.11.07, v32.16.0
|
|
20
|
+
|
|
21
|
+
fix:
|
|
22
|
+
- 47a7dea06 @putout/processor-filesystem: init
|
|
23
|
+
- 52274ed96 @putout/operate: traverseProperties: path
|
|
24
|
+
- 0e1855807 @putout/cli-choose-formatter: no .putout.json
|
|
25
|
+
|
|
26
|
+
feature:
|
|
27
|
+
- 8eb0ac092 @putout/plugin-putout: declare: findFiles, renameFile
|
|
28
|
+
- 127c173f0 putout: @putout/operator-filesystem v1.0.1
|
|
29
|
+
- e87678d74 putout: @putout/plugin-filesystem: add
|
|
30
|
+
- e33a6cf10 @putout/processor-filesystem: @putout/cli-filesystem v1.0.0
|
|
31
|
+
- e2f6e8075 putout: @putout/processor-filesystem v1.0.0
|
|
32
|
+
- bfec7f7c1 putout: @putout/plugin-filesystem v1.0.0
|
|
33
|
+
- 32456ff4d @putout/processor-filesystem: init
|
|
34
|
+
- 2e0098939 putout: @putout/operator-filesystem: add
|
|
35
|
+
- 4e45f05e5 @putout/plugin-filesystem: add
|
|
36
|
+
- c020b1077 eslint-plugin-putout: @stylistic/eslint-plugin-ts v1.0.0
|
|
37
|
+
- aa5808cb2 eslint-plugin-putout: @stylistic/eslint-plugin-jsx v1.0.0
|
|
38
|
+
- e22c2d267 @putout/eslint-config: @stylistic/eslint-plugin-js v1.0.0
|
|
39
|
+
- a21c7e8ad @putout/cli-filesystem: add
|
|
40
|
+
- c6e5581cf @putout/processor-filesystem: add
|
|
41
|
+
- 0f9ba929b @putout/operator-filesystem: add
|
|
42
|
+
- 3eca2e295 @putout/test: preTest: 1 -> name of a plugin
|
|
43
|
+
- 9d9a53a35 @putout/operate: traverseProperties: improve
|
|
44
|
+
- 88b5e0899 @putout/plugin-github: update-actions: actions/checkout, actions/setup-node v4
|
|
45
|
+
- 48c2fde76 @putout/cli-choose-formatter: preserve formatter options
|
|
46
|
+
|
|
1
47
|
2023.11.03, v32.15.1
|
|
2
48
|
|
|
3
49
|
feature:
|
|
@@ -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',
|
package/lib/putout.js
CHANGED
|
@@ -234,6 +234,7 @@ module.exports.operator = {
|
|
|
234
234
|
...require('@putout/operator-declare'),
|
|
235
235
|
...require('@putout/operator-regexp'),
|
|
236
236
|
...require('@putout/operator-add-args'),
|
|
237
|
+
...require('@putout/operator-filesystem'),
|
|
237
238
|
};
|
|
238
239
|
|
|
239
240
|
module.exports.ignores = require('./ignores');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "
|
|
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",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"@putout/operate": "^11.0.0",
|
|
72
72
|
"@putout/operator-add-args": "^7.0.0",
|
|
73
73
|
"@putout/operator-declare": "^8.0.0",
|
|
74
|
+
"@putout/operator-filesystem": "^1.0.1",
|
|
74
75
|
"@putout/operator-regexp": "^1.0.0",
|
|
75
76
|
"@putout/plugin-apply-at": "^2.0.0",
|
|
76
77
|
"@putout/plugin-apply-destructuring": "^7.0.0",
|
|
@@ -87,12 +88,9 @@
|
|
|
87
88
|
"@putout/plugin-convert-array-copy-to-slice": "^3.0.0",
|
|
88
89
|
"@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
|
|
89
90
|
"@putout/plugin-convert-assignment-to-comparison": "^2.0.0",
|
|
90
|
-
"@putout/plugin-convert-commonjs-to-esm": "^10.0.0",
|
|
91
91
|
"@putout/plugin-convert-concat-to-flat": "^1.0.0",
|
|
92
92
|
"@putout/plugin-convert-const-to-let": "^1.0.0",
|
|
93
|
-
"@putout/plugin-convert-esm-to-commonjs": "^6.0.0",
|
|
94
93
|
"@putout/plugin-convert-index-of-to-includes": "^2.0.0",
|
|
95
|
-
"@putout/plugin-convert-mock-require-to-mock-import": "^4.0.0",
|
|
96
94
|
"@putout/plugin-convert-object-assign-to-merge-spread": "^6.0.0",
|
|
97
95
|
"@putout/plugin-convert-object-entries-to-array-entries": "^3.0.0",
|
|
98
96
|
"@putout/plugin-convert-optional-to-logical": "^3.0.0",
|
|
@@ -105,6 +103,7 @@
|
|
|
105
103
|
"@putout/plugin-eslint": "^5.0.0",
|
|
106
104
|
"@putout/plugin-extract-object-properties": "^9.0.0",
|
|
107
105
|
"@putout/plugin-extract-sequence-expressions": "^3.0.0",
|
|
106
|
+
"@putout/plugin-filesystem": "^1.0.0",
|
|
108
107
|
"@putout/plugin-for-of": "^3.0.0",
|
|
109
108
|
"@putout/plugin-github": "^9.0.0",
|
|
110
109
|
"@putout/plugin-gitignore": "^3.0.0",
|
|
@@ -114,10 +113,10 @@
|
|
|
114
113
|
"@putout/plugin-maybe": "^2.0.0",
|
|
115
114
|
"@putout/plugin-merge-destructuring-properties": "^8.0.0",
|
|
116
115
|
"@putout/plugin-merge-duplicate-functions": "^2.0.0",
|
|
117
|
-
"@putout/plugin-merge-duplicate-imports": "^
|
|
116
|
+
"@putout/plugin-merge-duplicate-imports": "^10.0.0",
|
|
118
117
|
"@putout/plugin-montag": "^2.0.0",
|
|
119
118
|
"@putout/plugin-new": "^2.0.0",
|
|
120
|
-
"@putout/plugin-nodejs": "^
|
|
119
|
+
"@putout/plugin-nodejs": "^9.0.0",
|
|
121
120
|
"@putout/plugin-npmignore": "^2.0.0",
|
|
122
121
|
"@putout/plugin-package-json": "^5.0.0",
|
|
123
122
|
"@putout/plugin-promises": "^13.0.0",
|
|
@@ -160,12 +159,13 @@
|
|
|
160
159
|
"@putout/plugin-split-nested-destructuring": "^3.0.0",
|
|
161
160
|
"@putout/plugin-split-variable-declarations": "^3.0.0",
|
|
162
161
|
"@putout/plugin-strict-mode": "^9.0.0",
|
|
163
|
-
"@putout/plugin-tape": "^
|
|
162
|
+
"@putout/plugin-tape": "^12.0.0",
|
|
164
163
|
"@putout/plugin-try-catch": "^3.0.0",
|
|
165
164
|
"@putout/plugin-types": "^3.0.0",
|
|
166
165
|
"@putout/plugin-typescript": "^5.0.0",
|
|
167
166
|
"@putout/plugin-webpack": "^3.0.0",
|
|
168
167
|
"@putout/processor-css": "^7.0.0",
|
|
168
|
+
"@putout/processor-filesystem": "^1.0.0",
|
|
169
169
|
"@putout/processor-ignore": "^4.0.0",
|
|
170
170
|
"@putout/processor-javascript": "^5.0.0",
|
|
171
171
|
"@putout/processor-json": "^7.0.0",
|
package/putout.json
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"markdown",
|
|
11
11
|
"ignore",
|
|
12
12
|
"yaml",
|
|
13
|
-
"css"
|
|
13
|
+
"css",
|
|
14
|
+
"filesystem"
|
|
14
15
|
],
|
|
15
16
|
"match": {
|
|
16
17
|
"*.{mjs,ts,tsx,mts}": {
|
|
@@ -96,11 +97,11 @@
|
|
|
96
97
|
"tape": "on"
|
|
97
98
|
},
|
|
98
99
|
"*.mjs": {
|
|
99
|
-
"convert-commonjs-to-esm": "on",
|
|
100
|
-
"convert-mock-require-to-mock-import": "on"
|
|
100
|
+
"nodejs/convert-commonjs-to-esm": "on",
|
|
101
|
+
"tape/convert-mock-require-to-mock-import": "on"
|
|
101
102
|
},
|
|
102
103
|
"*.cjs": {
|
|
103
|
-
"convert-esm-to-commonjs": "on"
|
|
104
|
+
"nodejs/convert-esm-to-commonjs": "on"
|
|
104
105
|
},
|
|
105
106
|
"*.{ts,tsx,mts,cts,md{ts},md{tsx}}": {
|
|
106
107
|
"typescript": "on"
|
|
@@ -130,8 +131,8 @@
|
|
|
130
131
|
],
|
|
131
132
|
"rules": {
|
|
132
133
|
"typescript": "off",
|
|
133
|
-
"convert-esm-to-commonjs": "off",
|
|
134
|
-
"convert-commonjs-to-esm": "off",
|
|
134
|
+
"nodejs/convert-esm-to-commonjs": "off",
|
|
135
|
+
"nodejs/convert-commonjs-to-esm": "off",
|
|
135
136
|
"apply-optional-chaining/assign": "off",
|
|
136
137
|
"convert-optional-to-logical/call": "off",
|
|
137
138
|
"nodejs/convert-top-level-return": "off",
|
|
@@ -146,7 +147,7 @@
|
|
|
146
147
|
"github": "off",
|
|
147
148
|
"tape": "off",
|
|
148
149
|
"strict-mode": "off",
|
|
149
|
-
"convert-mock-require-to-mock-import": "off"
|
|
150
|
+
"tape/convert-mock-require-to-mock-import": "off"
|
|
150
151
|
},
|
|
151
152
|
"plugins": [
|
|
152
153
|
"apply-at",
|
|
@@ -198,8 +199,6 @@
|
|
|
198
199
|
"simplify-boolean-return",
|
|
199
200
|
"simplify-ternary",
|
|
200
201
|
"convert-const-to-let",
|
|
201
|
-
"convert-esm-to-commonjs",
|
|
202
|
-
"convert-commonjs-to-esm",
|
|
203
202
|
"convert-apply-to-spread",
|
|
204
203
|
"convert-concat-to-flat",
|
|
205
204
|
"convert-arguments-to-rest",
|
|
@@ -209,7 +208,6 @@
|
|
|
209
208
|
"convert-array-copy-to-slice",
|
|
210
209
|
"convert-template-to-string",
|
|
211
210
|
"convert-index-of-to-includes",
|
|
212
|
-
"convert-mock-require-to-mock-import",
|
|
213
211
|
"convert-assignment-to-arrow-function",
|
|
214
212
|
"convert-assignment-to-comparison",
|
|
215
213
|
"convert-quotes-to-backticks",
|
|
@@ -239,6 +237,7 @@
|
|
|
239
237
|
"logical-expressions",
|
|
240
238
|
"types",
|
|
241
239
|
"conditions",
|
|
242
|
-
"for-of"
|
|
240
|
+
"for-of",
|
|
241
|
+
"filesystem"
|
|
243
242
|
]
|
|
244
243
|
}
|