@putout/printer
Advanced tools
Comparing version 8.35.1 to 8.35.2
@@ -44,4 +44,4 @@ 'use strict'; | ||
const currentStart = path.node?.loc.start.line; | ||
const prevEnd = prev.node?.loc.end.line; | ||
const currentStart = path.node?.loc?.start.line; | ||
const prevEnd = prev.node?.loc?.end.line; | ||
@@ -48,0 +48,0 @@ if (!isCoupleLines(prev)) |
@@ -54,2 +54,3 @@ 'use strict'; | ||
}; | ||
module.exports.isCoupleLines = isCoupleLines; | ||
@@ -83,2 +84,3 @@ | ||
}; | ||
module.exports.isStringAndMember = ([a, b]) => isStringLiteral(a) && isMemberExpression(b); | ||
@@ -142,2 +144,3 @@ module.exports.isIdentifierAndString = ([a, b]) => isIdentifier(a) && isStringLiteral(b); | ||
}; | ||
module.exports.hasLeadingComment = (path) => path.node?.leadingComments?.length; | ||
@@ -144,0 +147,0 @@ |
{ | ||
"name": "@putout/printer", | ||
"version": "8.35.1", | ||
"version": "8.35.2", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220882