putout 30.7.0 → 31.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 +49 -0
- package/lib/codeframe.js +1 -1
- package/lib/putout.js +1 -2
- package/package.json +14 -17
package/ChangeLog
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
1
|
+
2023.08.04, v31.0.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 7c5637f68 @putout/plugin-typescript: apply-type-guards (#176)
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- 9a46f39bb package: @putout/compare v12.0.0
|
|
8
|
+
- b55031eff package: @putout/compare v12.0.0
|
|
9
|
+
- 368552cc2 package: @putout/compare v12.0.0
|
|
10
|
+
- 586366234 package: @putout/compare v12.0.0
|
|
11
|
+
- fd1d1fa97 package: @putout/compare v12.0.0
|
|
12
|
+
- 1328d7774 package: @putout/engine-loader v11.0.0
|
|
13
|
+
- 50a9c7af5 package: @putout/engine-parser v8.0.0
|
|
14
|
+
- 33fb3f9aa package: @putout/engine-runner v18.0.0
|
|
15
|
+
- ddea821fc package: eslint-plugin-putout v19.0.0
|
|
16
|
+
- c6febe13e package: @putout/formatter-codeframe v5.0.0
|
|
17
|
+
- 7c54502ac @putout/formatter-codeframe: drop support of 🐊 < 31
|
|
18
|
+
- 6cec945bc package: @putout/operate v10.0.0
|
|
19
|
+
- 41c1152a5 package: @putout/operator-add-args v6.0.0
|
|
20
|
+
- 19a814bd4 @putout/operator-add-args: drop support of 🐊 < 31
|
|
21
|
+
- 0ad3167c2 package: @putout/operator-declare v7.0.0
|
|
22
|
+
- c2476b02a @putout/operator-declare: drop support of 🐊 < 31
|
|
23
|
+
- ffb42e0bd package: @putout/plugin-remove-unused-variables v6.0.0
|
|
24
|
+
- d5918ab4f @putout/plugin-remove-unused-variables: drop support of 🐊 < 31
|
|
25
|
+
- c3300375e package: @putout/plugin-typescript v5.0.0
|
|
26
|
+
- 5168bc391 package: @putout/traverse v8.0.0
|
|
27
|
+
- a114f95f3 putout: migrate to Babel 8 (https://babeljs.io/docs/v8-migration-api)
|
|
28
|
+
- 53bb6f244 @putout/plugin-minify: merge-variables: exclude let (coderaiser/minify#111)
|
|
29
|
+
- e48d236b5 @putout/plugin-typescript: remove-useless-parens: exclude types overlap
|
|
30
|
+
- ab589d31f @putout/plugin-putout: add-push: esm
|
|
31
|
+
- f206c507b @putout/plugin-putout: declare: setLiteralValue: add
|
|
32
|
+
- 655cea260 @putout/operate: setLiteralValue: add
|
|
33
|
+
- 4cdf9b013 @putout/plugin-remove-unreferenced-variables: add support of "return __a"
|
|
34
|
+
- fce2b8c0d @putout/plugin-remove-useless-variables: declaration: no init
|
|
35
|
+
- 542cd4559 @putout/plugin-types: converty-typeof-to-is-type: declaration (#166)
|
|
36
|
+
- 20a015fbc @putout/plugin-minify: apply-template-literal (#174)
|
|
37
|
+
- c9f22f9ee @putout/plugin-minify: simplify-floor (#174)
|
|
38
|
+
- 5ffcf9cf4 @putout/plugin-putout: apply-insert-before
|
|
39
|
+
- 012f3c81b @putout/plugin-putout: declare: insertBefore
|
|
40
|
+
- 0cd83c6cf @putout/operate: insertBefore
|
|
41
|
+
- a7399c1c1 @putout/plugin-remove-useless-resolve: await
|
|
42
|
+
- c00b03260 @putout/plugin-promises: improve support of @putout/minify
|
|
43
|
+
- 9889996b3 @putout/plugin-putout: apply-insert-after: add (#164)
|
|
44
|
+
- a6c3878ff @putout/plugin-putout: apply-remove: path.remove() -> __a.remove()
|
|
45
|
+
- b4e845ec7 @putout/plugin-minify: types: Array.from (#160)
|
|
46
|
+
- e6d48f022 @putout/plugin-types: convert-typeof-to-is-type: not equal: not declared
|
|
47
|
+
- 6c2c477c6 @putout/plugin-typescript: convert-generic-to-shorthand: types overlap (#173)
|
|
48
|
+
- 0e2a983dc @putout/plugin-typescript: remove-useless-promise: add (#155)
|
|
49
|
+
|
|
1
50
|
2023.07.26, v30.7.0
|
|
2
51
|
|
|
3
52
|
fix:
|
package/lib/codeframe.js
CHANGED
package/lib/putout.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const traverse = require('@babel
|
|
4
|
-
const types = require('@babel/types');
|
|
3
|
+
const {traverse, types} = require('@putout/babel');
|
|
5
4
|
|
|
6
5
|
const loader = require('@putout/engine-loader');
|
|
7
6
|
const runner = require('@putout/engine-runner');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "31.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",
|
|
@@ -43,22 +43,20 @@
|
|
|
43
43
|
"report": "madrun report"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@babel
|
|
47
|
-
"@babel/traverse": "^7.12.5",
|
|
48
|
-
"@babel/types": "^7.12.6",
|
|
46
|
+
"@putout/babel": "^1.0.0",
|
|
49
47
|
"@putout/cli-cache": "^2.0.1",
|
|
50
48
|
"@putout/cli-keypress": "^1.0.0",
|
|
51
49
|
"@putout/cli-match": "^2.0.0",
|
|
52
50
|
"@putout/cli-ruler": "^3.0.0",
|
|
53
51
|
"@putout/cli-staged": "^1.0.0",
|
|
54
52
|
"@putout/cli-validate-args": "^1.0.0",
|
|
55
|
-
"@putout/compare": "^
|
|
56
|
-
"@putout/engine-loader": "^
|
|
57
|
-
"@putout/engine-parser": "^
|
|
53
|
+
"@putout/compare": "^12.0.0",
|
|
54
|
+
"@putout/engine-loader": "^11.0.0",
|
|
55
|
+
"@putout/engine-parser": "^8.0.0",
|
|
58
56
|
"@putout/engine-processor": "^8.0.0",
|
|
59
|
-
"@putout/engine-runner": "^
|
|
57
|
+
"@putout/engine-runner": "^18.0.0",
|
|
60
58
|
"@putout/eslint": "^2.0.0",
|
|
61
|
-
"@putout/formatter-codeframe": "^
|
|
59
|
+
"@putout/formatter-codeframe": "^5.0.0",
|
|
62
60
|
"@putout/formatter-dump": "^4.0.0",
|
|
63
61
|
"@putout/formatter-frame": "^3.0.0",
|
|
64
62
|
"@putout/formatter-json": "^2.0.0",
|
|
@@ -67,9 +65,9 @@
|
|
|
67
65
|
"@putout/formatter-progress": "^4.0.0",
|
|
68
66
|
"@putout/formatter-progress-bar": "^3.0.0",
|
|
69
67
|
"@putout/formatter-stream": "^4.0.0",
|
|
70
|
-
"@putout/operate": "^
|
|
71
|
-
"@putout/operator-add-args": "^
|
|
72
|
-
"@putout/operator-declare": "^
|
|
68
|
+
"@putout/operate": "^10.0.0",
|
|
69
|
+
"@putout/operator-add-args": "^6.0.0",
|
|
70
|
+
"@putout/operator-declare": "^7.0.0",
|
|
73
71
|
"@putout/operator-regexp": "^1.0.0",
|
|
74
72
|
"@putout/plugin-apply-at": "^1.0.0",
|
|
75
73
|
"@putout/plugin-apply-destructuring": "^7.0.0",
|
|
@@ -135,7 +133,7 @@
|
|
|
135
133
|
"@putout/plugin-remove-unused-expressions": "^7.0.0",
|
|
136
134
|
"@putout/plugin-remove-unused-for-of-variables": "^3.0.0",
|
|
137
135
|
"@putout/plugin-remove-unused-private-fields": "^2.0.0",
|
|
138
|
-
"@putout/plugin-remove-unused-variables": "^
|
|
136
|
+
"@putout/plugin-remove-unused-variables": "^6.0.0",
|
|
139
137
|
"@putout/plugin-remove-useless-arguments": "^7.0.0",
|
|
140
138
|
"@putout/plugin-remove-useless-array-constructor": "^2.0.0",
|
|
141
139
|
"@putout/plugin-remove-useless-array-entries": "^1.0.0",
|
|
@@ -162,7 +160,7 @@
|
|
|
162
160
|
"@putout/plugin-tape": "^11.0.0",
|
|
163
161
|
"@putout/plugin-try-catch": "^3.0.0",
|
|
164
162
|
"@putout/plugin-types": "^2.0.0",
|
|
165
|
-
"@putout/plugin-typescript": "^
|
|
163
|
+
"@putout/plugin-typescript": "^5.0.0",
|
|
166
164
|
"@putout/plugin-webpack": "^3.0.0",
|
|
167
165
|
"@putout/processor-css": "^7.0.0",
|
|
168
166
|
"@putout/processor-ignore": "^4.0.0",
|
|
@@ -170,7 +168,7 @@
|
|
|
170
168
|
"@putout/processor-json": "^6.0.0",
|
|
171
169
|
"@putout/processor-markdown": "^9.0.0",
|
|
172
170
|
"@putout/processor-yaml": "^5.0.0",
|
|
173
|
-
"@putout/traverse": "^
|
|
171
|
+
"@putout/traverse": "^8.0.0",
|
|
174
172
|
"ajv": "^8.8.2",
|
|
175
173
|
"chalk": "^4.0.0",
|
|
176
174
|
"ci-info": "^3.1.1",
|
|
@@ -203,14 +201,13 @@
|
|
|
203
201
|
"unused"
|
|
204
202
|
],
|
|
205
203
|
"devDependencies": {
|
|
206
|
-
"@babel/plugin-transform-react-jsx": "^7.14.5",
|
|
207
204
|
"babel-plugin-transform-inline-consecutive-adds": "^0.5.0-alpha.9",
|
|
208
205
|
"c8": "^8.0.0",
|
|
209
206
|
"currify": "^4.0.0",
|
|
210
207
|
"escover": "^3.2.2",
|
|
211
208
|
"eslint": "^8.0.1",
|
|
212
209
|
"eslint-plugin-n": "^16.0.0",
|
|
213
|
-
"eslint-plugin-putout": "^
|
|
210
|
+
"eslint-plugin-putout": "^19.0.0",
|
|
214
211
|
"just-camel-case": "^4.0.2",
|
|
215
212
|
"lerna": "^6.0.1",
|
|
216
213
|
"madrun": "^9.0.0",
|