@putout/printer
Advanced tools
Comparing version 1.8.9 to 1.8.10
@@ -6,3 +6,3 @@ 'use strict'; | ||
module.exports.isNext = (path) => path.getNextSibling().node; | ||
module.exports.isProgramParent = (path) => path.parentPath.isProgram(); | ||
module.exports.isProgramParent = (path) => path.parentPath?.isProgram(); | ||
module.exports.isNextParent = (path) => path.parentPath.getNextSibling().node; | ||
@@ -9,0 +9,0 @@ |
@@ -30,4 +30,4 @@ 'use strict'; | ||
DebuggerStatement, | ||
Program(path, {traverse}) { | ||
path.get('body').forEach(traverse); | ||
Program(path, {print}) { | ||
path.get('body').forEach(print); | ||
}, | ||
@@ -34,0 +34,0 @@ SwitchStatement, |
{ | ||
"name": "@putout/printer", | ||
"version": "1.8.9", | ||
"version": "1.8.10", | ||
"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
48932