@putout/bundle 5.0.5 → 5.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/putout.js +39 -34
- package/bundle/putout.min.js +1 -1
- package/bundle/putout.slim.js +39 -34
- package/package.json +1 -1
package/bundle/putout.js
CHANGED
|
@@ -178,15 +178,15 @@ var versions = {};
|
|
|
178
178
|
var release = {};
|
|
179
179
|
var config = {};
|
|
180
180
|
|
|
181
|
-
function noop$
|
|
181
|
+
function noop$a() {}
|
|
182
182
|
|
|
183
|
-
var on = noop$
|
|
184
|
-
var addListener = noop$
|
|
185
|
-
var once$9 = noop$
|
|
186
|
-
var off = noop$
|
|
187
|
-
var removeListener = noop$
|
|
188
|
-
var removeAllListeners = noop$
|
|
189
|
-
var emit = noop$
|
|
183
|
+
var on = noop$a;
|
|
184
|
+
var addListener = noop$a;
|
|
185
|
+
var once$9 = noop$a;
|
|
186
|
+
var off = noop$a;
|
|
187
|
+
var removeListener = noop$a;
|
|
188
|
+
var removeAllListeners = noop$a;
|
|
189
|
+
var emit = noop$a;
|
|
190
190
|
|
|
191
191
|
function binding(name) {
|
|
192
192
|
throw new Error('process.binding is not supported');
|
|
@@ -52148,7 +52148,7 @@ comment.parseComments = parseComments$7;
|
|
|
52148
52148
|
|
|
52149
52149
|
const {parseComments: parseComments$6} = comment;
|
|
52150
52150
|
|
|
52151
|
-
const noop$
|
|
52151
|
+
const noop$9 = () => {};
|
|
52152
52152
|
const parseParams = (path) => path.get('params');
|
|
52153
52153
|
|
|
52154
52154
|
params.printParams = (path, printer, semantics, customization = {}) => {
|
|
@@ -52164,9 +52164,9 @@ params.printParams = (path, printer, semantics, customization = {}) => {
|
|
|
52164
52164
|
braceOpen = '(',
|
|
52165
52165
|
braceClose = ')',
|
|
52166
52166
|
printSpace = print.space,
|
|
52167
|
-
printAfterOpen = noop$
|
|
52168
|
-
printBeforeClose = noop$
|
|
52169
|
-
printAfterClose = noop$
|
|
52167
|
+
printAfterOpen = noop$9,
|
|
52168
|
+
printBeforeClose = noop$9,
|
|
52169
|
+
printAfterClose = noop$9,
|
|
52170
52170
|
} = customization;
|
|
52171
52171
|
|
|
52172
52172
|
if (typeParameters)
|
|
@@ -55789,10 +55789,10 @@ maybeWriteBrace.condition = (path, printer, semantics) => {
|
|
|
55789
55789
|
var sequenceExpressionComments = {};
|
|
55790
55790
|
|
|
55791
55791
|
const {hasLeadingComment} = is$4;
|
|
55792
|
-
const noop$
|
|
55792
|
+
const noop$8 = () => {};
|
|
55793
55793
|
|
|
55794
|
-
sequenceExpressionComments.printLeadingCommentLine = noop$
|
|
55795
|
-
sequenceExpressionComments.printLeadingCommentBlock = noop$
|
|
55794
|
+
sequenceExpressionComments.printLeadingCommentLine = noop$8;
|
|
55795
|
+
sequenceExpressionComments.printLeadingCommentBlock = noop$8;
|
|
55796
55796
|
|
|
55797
55797
|
sequenceExpressionComments.maybePrintComments = (path, {print}) => {
|
|
55798
55798
|
if (hasLeadingComment(path)) {
|
|
@@ -58900,7 +58900,7 @@ var tsPropertySignature$1 = {exports: {}};
|
|
|
58900
58900
|
var comments$1 = {};
|
|
58901
58901
|
|
|
58902
58902
|
const {isPrev} = is$4;
|
|
58903
|
-
const noop$
|
|
58903
|
+
const noop$7 = () => {};
|
|
58904
58904
|
|
|
58905
58905
|
comments$1.printLeadingCommentLine = (path, printer, semantics, {printComment}) => {
|
|
58906
58906
|
const {print} = printer;
|
|
@@ -58917,7 +58917,7 @@ comments$1.printLeadingCommentBlock = (path, printer, semantics, {printComment})
|
|
|
58917
58917
|
print.indent();
|
|
58918
58918
|
};
|
|
58919
58919
|
|
|
58920
|
-
comments$1.printTrailingCommentBlock = noop$
|
|
58920
|
+
comments$1.printTrailingCommentBlock = noop$7;
|
|
58921
58921
|
|
|
58922
58922
|
(function (module) {
|
|
58923
58923
|
|
|
@@ -59356,7 +59356,7 @@ const {types: types$t} = bundle$1;
|
|
|
59356
59356
|
const {createPrintSpace} = printFunctionParams$1;
|
|
59357
59357
|
const {printParams: printParams$1} = params;
|
|
59358
59358
|
const {isTSUnionType: isTSUnionType$1} = types$t;
|
|
59359
|
-
const noop$
|
|
59359
|
+
const noop$6 = () => {};
|
|
59360
59360
|
|
|
59361
59361
|
tsTypeParameterDeclaration$1.TSTypeParameterDeclaration = (path, printer, semantics) => {
|
|
59362
59362
|
const {print, indent} = printer;
|
|
@@ -59366,16 +59366,16 @@ tsTypeParameterDeclaration$1.TSTypeParameterDeclaration = (path, printer, semant
|
|
|
59366
59366
|
printer,
|
|
59367
59367
|
});
|
|
59368
59368
|
|
|
59369
|
-
const printAfterOpen = !isNewline ? noop$
|
|
59369
|
+
const printAfterOpen = !isNewline ? noop$6 : () => {
|
|
59370
59370
|
indent.inc();
|
|
59371
59371
|
print.breakline();
|
|
59372
59372
|
};
|
|
59373
59373
|
|
|
59374
|
-
const printAfterClose = !isNewline ? noop$
|
|
59374
|
+
const printAfterClose = !isNewline ? noop$6 : () => {
|
|
59375
59375
|
print.breakline();
|
|
59376
59376
|
};
|
|
59377
59377
|
|
|
59378
|
-
const printBeforeClose = !isNewline ? noop$
|
|
59378
|
+
const printBeforeClose = !isNewline ? noop$6 : () => {
|
|
59379
59379
|
indent.dec();
|
|
59380
59380
|
print.breakline();
|
|
59381
59381
|
};
|
|
@@ -110638,11 +110638,11 @@ function onceStrict (fn) {
|
|
|
110638
110638
|
|
|
110639
110639
|
var onceExports = once$8.exports;
|
|
110640
110640
|
|
|
110641
|
-
const noop$
|
|
110641
|
+
const noop$5 = () => {};
|
|
110642
110642
|
|
|
110643
110643
|
var empty = /*#__PURE__*/Object.freeze({
|
|
110644
110644
|
__proto__: null,
|
|
110645
|
-
default: noop$
|
|
110645
|
+
default: noop$5
|
|
110646
110646
|
});
|
|
110647
110647
|
|
|
110648
110648
|
var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(empty);
|
|
@@ -110651,7 +110651,7 @@ var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(empty);
|
|
|
110651
110651
|
|
|
110652
110652
|
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
|
110653
110653
|
function privateMethods(Parser) {
|
|
110654
|
-
const ExtendedParser = noop$
|
|
110654
|
+
const ExtendedParser = noop$5();
|
|
110655
110655
|
|
|
110656
110656
|
return class extends ExtendedParser {
|
|
110657
110657
|
// Parse private methods
|
|
@@ -111584,13 +111584,18 @@ const simpleImport = async (url) => {
|
|
|
111584
111584
|
return result.default || result;
|
|
111585
111585
|
};
|
|
111586
111586
|
|
|
111587
|
-
const
|
|
111587
|
+
const returns$2 = (a) => () => a;
|
|
111588
|
+
|
|
111589
|
+
const noop$4 = () => {};
|
|
111590
|
+
|
|
111591
|
+
const {createRequire: createRequire$1 = returns$2(noop$4)} = module$1;
|
|
111592
|
+
|
|
111593
|
+
const require$1 = createRequire$1(import.meta.url);
|
|
111588
111594
|
|
|
111589
111595
|
const {assign: assign$3} = Object;
|
|
111590
111596
|
const stub$2 = () => () => {};
|
|
111591
111597
|
|
|
111592
111598
|
const createAsyncLoader = (type, overrides = {}) => {
|
|
111593
|
-
const require = createRequire$1(import.meta.url);
|
|
111594
111599
|
const {
|
|
111595
111600
|
simpleImport: simpleImport$1 = simpleImport,
|
|
111596
111601
|
} = overrides;
|
|
@@ -111602,9 +111607,9 @@ const createAsyncLoader = (type, overrides = {}) => {
|
|
|
111602
111607
|
if (name.startsWith('import:')) {
|
|
111603
111608
|
const shortName = name.replace('import:', '');
|
|
111604
111609
|
|
|
111605
|
-
return await cleverLoad([require.resolve(shortName)], {
|
|
111610
|
+
return await cleverLoad([require$1.resolve(shortName)], {
|
|
111606
111611
|
simpleImport: simpleImport$1,
|
|
111607
|
-
require,
|
|
111612
|
+
require: require$1,
|
|
111608
111613
|
});
|
|
111609
111614
|
}
|
|
111610
111615
|
|
|
@@ -111622,16 +111627,13 @@ const createAsyncLoader = (type, overrides = {}) => {
|
|
|
111622
111627
|
|
|
111623
111628
|
return await cleverLoad(names, {
|
|
111624
111629
|
simpleImport: simpleImport$1,
|
|
111625
|
-
require,
|
|
111630
|
+
require: require$1,
|
|
111626
111631
|
});
|
|
111627
111632
|
};
|
|
111628
111633
|
};
|
|
111629
111634
|
|
|
111630
111635
|
async function cleverLoad(names, overrides) {
|
|
111631
|
-
const {
|
|
111632
|
-
simpleImport,
|
|
111633
|
-
require,
|
|
111634
|
-
} = overrides;
|
|
111636
|
+
const {simpleImport, require} = overrides;
|
|
111635
111637
|
|
|
111636
111638
|
let e;
|
|
111637
111639
|
let reporter;
|
|
@@ -112137,7 +112139,10 @@ function parseRuleName(rule) {
|
|
|
112137
112139
|
return rule;
|
|
112138
112140
|
}
|
|
112139
112141
|
|
|
112140
|
-
const
|
|
112142
|
+
const noop$3 = () => {};
|
|
112143
|
+
const returns$1 = (a) => () => a;
|
|
112144
|
+
|
|
112145
|
+
const {createRequire = returns$1(noop$3)} = module$1;
|
|
112141
112146
|
const {isArray: isArray$9} = Array;
|
|
112142
112147
|
|
|
112143
112148
|
const loadPlugins = (options) => {
|