@putout/printer 12.22.0 → 12.23.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,15 @@
|
|
|
1
|
+
2025.02.06, v12.23.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- a5e568f @putout/printer: TSInterfaceHeritage: typeArguments
|
|
5
|
+
|
|
6
|
+
2025.02.05, v12.22.1
|
|
7
|
+
|
|
8
|
+
feature:
|
|
9
|
+
- edce5cd @putout/printer: MemberExpression: chain: route
|
|
10
|
+
- b7a6088 @putout/printer: eslint-plugin-putout v24.0.0
|
|
11
|
+
- 9882d47 @putout/printer: putout v38.0.0
|
|
12
|
+
|
|
1
13
|
2025.01.29, v12.22.0
|
|
2
14
|
|
|
3
15
|
feature:
|
|
@@ -22,7 +22,7 @@ module.exports.isLooksLikeChain = (path) => {
|
|
|
22
22
|
if (isExcludedFromChain(root))
|
|
23
23
|
return false;
|
|
24
24
|
|
|
25
|
-
if (properties
|
|
25
|
+
if (isPathGet(properties))
|
|
26
26
|
return false;
|
|
27
27
|
|
|
28
28
|
if (properties.find(hasComment))
|
|
@@ -43,7 +43,7 @@ module.exports.isLooksLikeChain = (path) => {
|
|
|
43
43
|
return calls.length > 1;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
const isPathGet = (property) => {
|
|
46
|
+
const isPathGet = ([property]) => {
|
|
47
47
|
return isCallExpression(property, {
|
|
48
48
|
name: 'get',
|
|
49
49
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/printer",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.23.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "Simplest possible opinionated Babel AST printer for 🐊Putout",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"check-dts": "^0.8.0",
|
|
77
77
|
"escover": "^4.0.1",
|
|
78
78
|
"eslint": "^9.0.0",
|
|
79
|
-
"eslint-plugin-putout": "^
|
|
79
|
+
"eslint-plugin-putout": "^24.0.0",
|
|
80
80
|
"estree-to-babel": "^10.0.0",
|
|
81
81
|
"goldstein": "^5.14.0",
|
|
82
82
|
"just-kebab-case": "^4.2.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"mock-require": "^3.0.3",
|
|
85
85
|
"montag": "^1.0.0",
|
|
86
86
|
"nodemon": "^3.0.1",
|
|
87
|
-
"putout": "^
|
|
87
|
+
"putout": "^38.0.0",
|
|
88
88
|
"redlint": "^3.16.0",
|
|
89
89
|
"samadhi": "^2.8.0",
|
|
90
90
|
"supertape": "^10.0.0",
|