@putout/printer
Advanced tools
Comparing version 8.1.0 to 8.2.0
@@ -68,3 +68,8 @@ 'use strict'; | ||
module.exports.isIdentifierAndString = ([a, b]) => isIdentifier(a) && isStringLiteral(b); | ||
module.exports.isStringAndArray = ([a, b]) => { | ||
module.exports.isStringAndArray = (array) => { | ||
if (array.length > 2) | ||
return false; | ||
const [a, b] = array; | ||
if (!isStringLiteral(a)) | ||
@@ -71,0 +76,0 @@ return false; |
{ | ||
"name": "@putout/printer", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"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
205567
4602