@putout/printer 1.72.2 → 1.72.4
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,13 @@
|
|
|
1
|
+
2023.04.26, v1.72.4
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 8fabd6e @putout/printer: avoid adding newline in MemberExpression when no args
|
|
5
|
+
|
|
6
|
+
2023.04.26, v1.72.3
|
|
7
|
+
|
|
8
|
+
feature:
|
|
9
|
+
- 7209c17 @putout/printer: avoid adding newline in MemberExpression with computed property
|
|
10
|
+
|
|
1
11
|
2023.04.26, v1.72.2
|
|
2
12
|
|
|
3
13
|
feature:
|
|
@@ -87,6 +87,12 @@ function isLooksLikeChain(path) {
|
|
|
87
87
|
if (parentPath.get('callee') !== path)
|
|
88
88
|
return false;
|
|
89
89
|
|
|
90
|
+
if (compare(path.parentPath, '__a.__b(__args)[__c]'))
|
|
91
|
+
return false;
|
|
92
|
+
|
|
93
|
+
if (compare(path.parentPath.parentPath, '__a.__b().__c()'))
|
|
94
|
+
return false;
|
|
95
|
+
|
|
90
96
|
if (compare(path.parentPath.parentPath, '(__args) => __b.__c(__args).__d()'))
|
|
91
97
|
return false;
|
|
92
98
|
|
package/package.json
CHANGED