Skip to content

Commit

Permalink
chore: @putout/bundle: v3.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Oct 29, 2024
1 parent 4991d5a commit 43f4ca2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024.10.29, v3.18.3

feature:
- 4991d5a keyword: linter

2024.10.28, v3.18.2

feature:
Expand Down
27 changes: 15 additions & 12 deletions bundle/putout.js
Original file line number Diff line number Diff line change
Expand Up @@ -47186,7 +47186,7 @@ function Identifier$1$1(node, parent, tokenContext, _inForInit, getRawIdentifier
await: false
});
}
var parens$2 = /* @__PURE__ */ Object.freeze({
var parens$1 = /* @__PURE__ */ Object.freeze({
__proto__: null,
ArrowFunctionExpression: ConditionalExpression$1,
AssignmentExpression: AssignmentExpression$1,
Expand Down Expand Up @@ -47284,7 +47284,7 @@ function expandAliases(obj) {
}
return map;
}
var expandedParens = expandAliases(parens$2);
var expandedParens = expandAliases(parens$1);
var expandedWhitespaceNodes = expandAliases(nodes);
function isOrHasCallExpression(node) {
if (isCallExpression$1$1(node)) {
Expand Down Expand Up @@ -79240,9 +79240,9 @@ function isOneArgArrow(path) {
return param.type === 'Identifier';
}

var parens$1 = {};
var maybeParens$8 = {};

parens$1.maybeParens = (print) => ({
maybeParens$8.maybeParens = (print) => ({
condition(path) {
return path.node.extra?.parenthesized;
},
Expand All @@ -79257,7 +79257,7 @@ parens$1.maybeParens = (print) => ({

const {exists: exists$e} = is$3;
const {printParams: printParams$c} = params;
const {maybeParens: maybeParens$7} = parens$1;
const {maybeParens: maybeParens$7} = maybeParens$8;

arrowFunctionExpression.ArrowFunctionExpression = maybeParens$7((path, printer, semantics) => {
const {
Expand Down Expand Up @@ -79515,7 +79515,7 @@ var functionExpression = {};

const {exists: exists$d} = is$3;
const {printParams: printParams$8} = params;
const {maybeParens: maybeParens$6} = parens$1;
const {maybeParens: maybeParens$6} = maybeParens$8;

functionExpression.FunctionExpression = maybeParens$6((path, printer, semantics) => {
const {
Expand Down Expand Up @@ -79567,7 +79567,7 @@ var unaryExpressions$1 = {};

const {isLast: isLast$b, isNext: isNext$m} = is$3;

const {maybeParens: maybeParens$5} = parens$1;
const {maybeParens: maybeParens$5} = maybeParens$8;

const isWord = (a) => /^(delete|typeof|void|throw)$/.test(a);

Expand Down Expand Up @@ -79919,7 +79919,7 @@ _class.ClassDeclaration = {
var callExpression = {};

const {exists: exists$c} = is$3;
const {maybeParens: maybeParens$4} = parens$1;
const {maybeParens: maybeParens$4} = maybeParens$8;
const {isArray: isArray$h} = Array;

const parseArgs = (path) => {
Expand Down Expand Up @@ -84327,7 +84327,7 @@ maybeGet.maybeDecorators = (path) => {
};

const {maybeDecorators} = maybeGet;
const {maybeParens: maybeParens$3} = parens$1;
const {maybeParens: maybeParens$3} = maybeParens$8;
const {maybeTypeAnnotation} = maybeTypeAnnotation$4;

identifier.Identifier = maybeParens$3(maybeTypeAnnotation((path, printer) => {
Expand Down Expand Up @@ -84479,6 +84479,9 @@ tsTypeLiteral.TSTypeLiteral = (path, {indent, traverse, write}) => {
function isNewline(path) {
const members = path.get('members');

if (members.length === 1 && path.parentPath.isTSTypeParameterInstantiation())
return false;

return members.length && members[0].node.typeAnnotation;
}

Expand Down Expand Up @@ -84804,7 +84807,7 @@ tsInterfaceDeclaration.TSInterfaceDeclaration = {

var tsAsExpression = {};

const {maybeParens: maybeParens$2} = parens$1;
const {maybeParens: maybeParens$2} = maybeParens$8;
const {
isVariableDeclarator,
isObjectExpression: isObjectExpression$1,
Expand Down Expand Up @@ -84938,7 +84941,7 @@ printReturnType$5.printReturnType = (path, {traverse}) => {
const {printParams: printParams$5} = params;
const {printReturnType: printReturnType$4} = printReturnType$5;

const {maybeParens: maybeParens$1} = parens$1;
const {maybeParens: maybeParens$1} = maybeParens$8;

tsFunctionType.TSFunctionType = maybeParens$1((path, printer, semantics) => {
const {print} = printer;
Expand Down Expand Up @@ -85151,7 +85154,7 @@ tsTypeReference.TSTypeReference = (path, {print}) => {

var tsInfertType = {};

const {maybeParens} = parens$1;
const {maybeParens} = maybeParens$8;

tsInfertType.TSInferType = maybeParens((path, {print}) => {
print('infer ');
Expand Down
2 changes: 1 addition & 1 deletion bundle/putout.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@putout/bundle",
"version": "3.18.2",
"version": "3.18.3",
"type": "module",
"author": "coderaiser <[email protected]> (https://github.com/coderaiser)",
"description": "🐊Putout bundle suitable for Deno or Browsers",
Expand Down

0 comments on commit 43f4ca2

Please sign in to comment.