@putout/printer 8.33.0 → 8.34.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,8 @@
1
+ 2024.05.07, v8.34.0
2
+
3
+ feature:
4
+ - 8a303f5 @putout/printer: jsx: JSXOpeningElement: indent
5
+
1
6
  2024.05.03, v8.33.0
2
7
 
3
8
  feature:
@@ -32,4 +32,3 @@ module.exports.moreThenMaxPropertiesLengthInOneLine = (path, {maxPropertiesLengt
32
32
 
33
33
  return false;
34
34
  };
35
-
@@ -208,4 +208,3 @@ function isFunctionParam({parentPath}) {
208
208
 
209
209
  return parentPath.parentPath.isFunction();
210
210
  }
211
-
@@ -3,6 +3,9 @@
3
3
  const {isCoupleLines} = require('../is');
4
4
 
5
5
  const isNotJSX = ({parentPath}) => {
6
+ if (parentPath.parentPath.isCallExpression())
7
+ return false;
8
+
6
9
  if (parentPath.parentPath.isJSXElement())
7
10
  return false;
8
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/printer",
3
- "version": "8.33.0",
3
+ "version": "8.34.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",