Skip to content

Commit

Permalink
chore: @putout/bundle: v3.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Aug 24, 2024
1 parent a0ac104 commit 7f0554e
Show file tree
Hide file tree
Showing 4 changed files with 35 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.08.24, v3.16.1

feature:
- a0ac104 @putout/bundle: eslint-plugin-putout v23.0.0

2024.08.24, v3.16.0

feature:
Expand Down
40 changes: 28 additions & 12 deletions bundle/putout.js
Original file line number Diff line number Diff line change
Expand Up @@ -8582,7 +8582,7 @@ __export(lib_exports, {
return conditionalExpression$1;
},
ContinueStatement: function() {
return continueStatement;
return continueStatement$1;
},
DECLARATION_TYPES: function() {
return DECLARATION_TYPES;
Expand Down Expand Up @@ -10487,7 +10487,7 @@ __export(lib_exports, {
return conditionalExpression$1;
},
continueStatement: function() {
return continueStatement;
return continueStatement$1;
},
createFlowUnionType: function() {
return createFlowUnionType;
Expand Down Expand Up @@ -21381,7 +21381,7 @@ function conditionalExpression$1(test, consequent, alternate) {
alternate: alternate
});
}
function continueStatement() {
function continueStatement$1() {
var label = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
return validateNode({
type: "ContinueStatement",
Expand Down Expand Up @@ -46796,7 +46796,7 @@ function BreakStatement$1(node) {
this.word("break");
printStatementAfterKeyword(this, node.label, node, true);
}
function ContinueStatement(node) {
function ContinueStatement$1(node) {
this.word("continue");
printStatementAfterKeyword(this, node.label, node, true);
}
Expand Down Expand Up @@ -49097,7 +49097,7 @@ var generatorFunctions = /* @__PURE__ */ Object.freeze({
ClassPrivateProperty: ClassPrivateProperty$1,
ClassProperty: ClassProperty$1,
ConditionalExpression: ConditionalExpression$2,
ContinueStatement: ContinueStatement,
ContinueStatement: ContinueStatement$1,
DebuggerStatement: DebuggerStatement$1,
DecimalLiteral: DecimalLiteral,
DeclareClass: DeclareClass,
Expand Down Expand Up @@ -82920,9 +82920,13 @@ breakStatement.BreakStatement = {
split(path, {print}) {
print.newline();
},
print(path, {print, indent}) {
print(path, {print, indent, maybe}) {
const {label} = path.node;
indent();
print('break;');
print('break');
maybe.print.space(label);
print('__label');
print(';');
},
afterSatisfy: () => [
isParentBlock,
Expand Down Expand Up @@ -82991,6 +82995,21 @@ program.Program = (path, printer, semantics) => {
write.endOfFile();
};

var continueStatement = {};

continueStatement.ContinueStatement = (path, {indent, print, maybe, write}) => {
const {label} = path.node;

indent();
print('continue');

maybe.print.space(label);
print('__label');

write(';');
print.newline();
};

const {ExpressionStatement: ExpressionStatement$1} = expressionStatement;
const {VariableDeclaration} = variableDeclaration;
const {IfStatement} = ifStatement;
Expand All @@ -83011,6 +83030,7 @@ const {ExportDefaultDeclaration} = exportDefaultDeclaration;
const {BreakStatement} = breakStatement;
const {DoWhileStatement} = doWhileStatement;
const {Program} = program;
const {ContinueStatement} = continueStatement;

const {
ExportNamespaceSpecifier,
Expand Down Expand Up @@ -83052,11 +83072,7 @@ var statements$1 = {
SwitchStatement,
...TryStatements,
BreakStatement,
ContinueStatement(path, {indent, print}) {
indent();
print('continue;');
print.newline();
},
ContinueStatement,
WhileStatement,
};

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.16.0",
"version": "3.16.1",
"type": "module",
"author": "coderaiser <[email protected]> (https://github.com/coderaiser)",
"description": "🐊Putout bundle suitable for Deno or Browsers",
Expand Down

0 comments on commit 7f0554e

Please sign in to comment.