Skip to content

Commit

Permalink
chore: @putout/printer: v5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Sep 20, 2023
1 parent 896b185 commit 13b5423
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2023.09.20, v5.4.0

feature:
- 896b185 @putout/printer: maybeTypeAnnotation
- 74f9303 @putout/printer: ObjectExpression: maybeParens

2023.09.19, v5.3.0

feature:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ function isOneLine(path) {

return !isValue(path);
}

2 changes: 1 addition & 1 deletion lib/tokenize/expressions/rest-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const {maybeTypeAnnotation} = require('../literals/maybe-type-annotation');

module.exports.RestElement = maybeTypeAnnotation((path, {print, traverse}) => {
module.exports.RestElement = maybeTypeAnnotation((path, {print}) => {
print('...');
print('__argument');
});
2 changes: 1 addition & 1 deletion lib/tokenize/typescript/ts-property-signature.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const {maybeTypeAnnotation} = require('../literals/maybe-type-annotation');

module.exports.TSPropertySignature = maybeTypeAnnotation((path, {print, maybe, traverse}) => {
module.exports.TSPropertySignature = maybeTypeAnnotation((path, {print, maybe}) => {
const {optional} = path.node;

print('__key');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@putout/printer",
"version": "5.3.0",
"version": "5.4.0",
"type": "commonjs",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
"description": "Simplest possible opinionated Babel AST printer for 🐊Putout",
Expand Down

0 comments on commit 13b5423

Please sign in to comment.