putout 30.2.2 → 30.3.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 +19 -0
- package/lib/parse-options/index.js +1 -1
- package/package.json +3 -3
package/ChangeLog
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
2023.07.11, v30.3.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 3df1f30b6 package: @typescript-eslint/eslint-plugin v6.0.0
|
|
5
|
+
- 92c747b33 putout: codemods: exclude files/directories started with "."
|
|
6
|
+
- f248abd67 package: @typescript-eslint/parser v6.0.0 (https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/)
|
|
7
|
+
|
|
8
|
+
2023.07.10, v30.2.3
|
|
9
|
+
|
|
10
|
+
feature:
|
|
11
|
+
- 830e1b0d4 package: @putout/plugin-remove-unreferenced-variables v3.0.0
|
|
12
|
+
- 699b8f2c7 package: @putout/plugin-for-of v2.0.0
|
|
13
|
+
- 3fc4a114c @putout/plugin-for-of: drop support of 🐊 < 30
|
|
14
|
+
- 58b201cd1 @putout/plugin-for-of: improve support of @putout/plugin-remove-unreferenced-variables
|
|
15
|
+
- b1e7d140c @putout/plugin-remove-unreferenced-variables: drop support of 🐊 < 30
|
|
16
|
+
- 54bbefbf3 @putout/plugin-remove-unreferenced-variables: improve support of @putout/plugin-for-of
|
|
17
|
+
- fb9b9df38 @putout/plugin-promises: add-missing-await: react: exclude useEffect
|
|
18
|
+
- 80bf66dc5 @putout/plugin-promises: convert-new-promise-to-async: exclude names other then resolve, reject
|
|
19
|
+
|
|
1
20
|
2023.07.10, v30.2.2
|
|
2
21
|
|
|
3
22
|
fix:
|
|
@@ -95,7 +95,7 @@ function _readOptions(name) {
|
|
|
95
95
|
return ['', {}];
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
const isInclude = (a) => !/(^not-rule-.*|^node_modules$)/.test(a);
|
|
98
|
+
const isInclude = (a) => a[0] !== '.' && !/(^not-rule-.*|^node_modules$)/.test(a);
|
|
99
99
|
|
|
100
100
|
function readRules(dirOpt, rulesDir) {
|
|
101
101
|
if (!rulesDir)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.3.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",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@putout/plugin-eslint": "^5.0.0",
|
|
102
102
|
"@putout/plugin-extract-object-properties": "^9.0.0",
|
|
103
103
|
"@putout/plugin-extract-sequence-expressions": "^3.0.0",
|
|
104
|
-
"@putout/plugin-for-of": "^
|
|
104
|
+
"@putout/plugin-for-of": "^2.0.0",
|
|
105
105
|
"@putout/plugin-github": "^5.0.0",
|
|
106
106
|
"@putout/plugin-gitignore": "^3.0.0",
|
|
107
107
|
"@putout/plugin-logical-expressions": "^2.0.0",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@putout/plugin-remove-iife": "^4.0.0",
|
|
131
131
|
"@putout/plugin-remove-nested-blocks": "^6.0.0",
|
|
132
132
|
"@putout/plugin-remove-unreachable-code": "^1.0.0",
|
|
133
|
-
"@putout/plugin-remove-unreferenced-variables": "^
|
|
133
|
+
"@putout/plugin-remove-unreferenced-variables": "^3.0.0",
|
|
134
134
|
"@putout/plugin-remove-unused-expressions": "^7.0.0",
|
|
135
135
|
"@putout/plugin-remove-unused-for-of-variables": "^3.0.0",
|
|
136
136
|
"@putout/plugin-remove-unused-private-fields": "^2.0.0",
|