@putout/printer
Advanced tools
Comparing version 1.6.7 to 1.6.8
@@ -8,3 +8,7 @@ 'use strict'; | ||
NumericLiteral(path, {print}) { | ||
const {raw, extra} = path.node; | ||
const { | ||
raw, | ||
extra, | ||
} = path.node; | ||
print(raw || extra.raw); | ||
@@ -16,4 +20,8 @@ }, | ||
StringLiteral(path, {print}) { | ||
const {value} = path.node; | ||
print(`'${value}'`); | ||
const { | ||
raw, | ||
value, | ||
} = path.node; | ||
print(raw || `'${value}'`); | ||
}, | ||
@@ -20,0 +28,0 @@ Identifier(path, {write}) { |
{ | ||
"name": "@putout/printer", | ||
"version": "1.6.7", | ||
"version": "1.6.8", | ||
"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
40300
1134