putout 34.7.2 → 34.7.3
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 +10 -0
- package/lib/parse-options/index.js +2 -12
- package/package.json +2 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
2024.01.08, v34.7.3
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 5218db9ec @putout/plugin-remove-useless-spread: exclude CallExpression
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- 3b3bb29f1 putout: @putout/plugin-remove-useless-spread v10.0.0
|
|
8
|
+
- b608016bc @putout/plugin-remove-useless-spread: drop suport of node < 18
|
|
9
|
+
- f5524559b @putout/plugin-remove-useless-spread: nested: add
|
|
10
|
+
|
|
1
11
|
2024.01.08, v34.7.2
|
|
2
12
|
|
|
3
13
|
feature:
|
|
@@ -52,19 +52,9 @@ module.exports = (info = {}) => {
|
|
|
52
52
|
options,
|
|
53
53
|
);
|
|
54
54
|
|
|
55
|
-
const mergedMatch = merge(
|
|
56
|
-
customOptions,
|
|
57
|
-
options,
|
|
58
|
-
parseMatch(name, options.match),
|
|
59
|
-
]);
|
|
55
|
+
const mergedMatch = merge(customOptions, options, parseMatch(name, options.match));
|
|
60
56
|
|
|
61
|
-
const resultOptions = merge(
|
|
62
|
-
readCodeMods(),
|
|
63
|
-
readRules('./', rulesdir),
|
|
64
|
-
mergedOptions,
|
|
65
|
-
mergedDefaultsMatch,
|
|
66
|
-
mergedMatch,
|
|
67
|
-
]);
|
|
57
|
+
const resultOptions = merge(readCodeMods(), readRules('./', rulesdir), mergedOptions, mergedDefaultsMatch, mergedMatch);
|
|
68
58
|
|
|
69
59
|
validateOptions(resultOptions);
|
|
70
60
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "34.7.
|
|
3
|
+
"version": "34.7.3",
|
|
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",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"@putout/plugin-remove-useless-operand": "^2.0.0",
|
|
156
156
|
"@putout/plugin-remove-useless-replace": "^1.0.1",
|
|
157
157
|
"@putout/plugin-remove-useless-return": "^6.0.0",
|
|
158
|
-
"@putout/plugin-remove-useless-spread": "^
|
|
158
|
+
"@putout/plugin-remove-useless-spread": "^10.0.0",
|
|
159
159
|
"@putout/plugin-remove-useless-template-expressions": "^2.0.0",
|
|
160
160
|
"@putout/plugin-remove-useless-variables": "^10.0.0",
|
|
161
161
|
"@putout/plugin-reuse-duplicate-init": "^5.0.0",
|