@putout/bundle 5.0.5 → 5.0.6

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.
@@ -178,15 +178,15 @@ var versions = {};
178
178
  var release = {};
179
179
  var config = {};
180
180
 
181
- function noop$8() {}
181
+ function noop$9() {}
182
182
 
183
- var on = noop$8;
184
- var addListener = noop$8;
185
- var once$9 = noop$8;
186
- var off = noop$8;
187
- var removeListener = noop$8;
188
- var removeAllListeners = noop$8;
189
- var emit = noop$8;
183
+ var on = noop$9;
184
+ var addListener = noop$9;
185
+ var once$9 = noop$9;
186
+ var off = noop$9;
187
+ var removeListener = noop$9;
188
+ var removeAllListeners = noop$9;
189
+ var emit = noop$9;
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$7 = () => {};
52151
+ const noop$8 = () => {};
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$7,
52168
- printBeforeClose = noop$7,
52169
- printAfterClose = noop$7,
52167
+ printAfterOpen = noop$8,
52168
+ printBeforeClose = noop$8,
52169
+ printAfterClose = noop$8,
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$6 = () => {};
55792
+ const noop$7 = () => {};
55793
55793
 
55794
- sequenceExpressionComments.printLeadingCommentLine = noop$6;
55795
- sequenceExpressionComments.printLeadingCommentBlock = noop$6;
55794
+ sequenceExpressionComments.printLeadingCommentLine = noop$7;
55795
+ sequenceExpressionComments.printLeadingCommentBlock = noop$7;
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$5 = () => {};
58903
+ const noop$6 = () => {};
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$5;
58920
+ comments$1.printTrailingCommentBlock = noop$6;
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$4 = () => {};
59359
+ const noop$5 = () => {};
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$4 : () => {
59369
+ const printAfterOpen = !isNewline ? noop$5 : () => {
59370
59370
  indent.inc();
59371
59371
  print.breakline();
59372
59372
  };
59373
59373
 
59374
- const printAfterClose = !isNewline ? noop$4 : () => {
59374
+ const printAfterClose = !isNewline ? noop$5 : () => {
59375
59375
  print.breakline();
59376
59376
  };
59377
59377
 
59378
- const printBeforeClose = !isNewline ? noop$4 : () => {
59378
+ const printBeforeClose = !isNewline ? noop$5 : () => {
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$3 = () => {};
110641
+ const noop$4 = () => {};
110642
110642
 
110643
110643
  var empty = /*#__PURE__*/Object.freeze({
110644
110644
  __proto__: null,
110645
- default: noop$3
110645
+ default: noop$4
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$3();
110654
+ const ExtendedParser = noop$4();
110655
110655
 
110656
110656
  return class extends ExtendedParser {
110657
110657
  // Parse private methods
@@ -111584,13 +111584,17 @@ const simpleImport = async (url) => {
111584
111584
  return result.default || result;
111585
111585
  };
111586
111586
 
111587
- const {createRequire: createRequire$1} = module$1;
111587
+ const noop$3 = () => {};
111588
+
111589
+ const {
111590
+ createRequire: createRequire$1 = noop$3,
111591
+ } = module$1;
111592
+ const require$1 = createRequire$1(import.meta.url);
111588
111593
 
111589
111594
  const {assign: assign$3} = Object;
111590
111595
  const stub$2 = () => () => {};
111591
111596
 
111592
111597
  const createAsyncLoader = (type, overrides = {}) => {
111593
- const require = createRequire$1(import.meta.url);
111594
111598
  const {
111595
111599
  simpleImport: simpleImport$1 = simpleImport,
111596
111600
  } = overrides;
@@ -111602,9 +111606,9 @@ const createAsyncLoader = (type, overrides = {}) => {
111602
111606
  if (name.startsWith('import:')) {
111603
111607
  const shortName = name.replace('import:', '');
111604
111608
 
111605
- return await cleverLoad([require.resolve(shortName)], {
111609
+ return await cleverLoad([require$1.resolve(shortName)], {
111606
111610
  simpleImport: simpleImport$1,
111607
- require,
111611
+ require: require$1,
111608
111612
  });
111609
111613
  }
111610
111614
 
@@ -111622,16 +111626,13 @@ const createAsyncLoader = (type, overrides = {}) => {
111622
111626
 
111623
111627
  return await cleverLoad(names, {
111624
111628
  simpleImport: simpleImport$1,
111625
- require,
111629
+ require: require$1,
111626
111630
  });
111627
111631
  };
111628
111632
  };
111629
111633
 
111630
111634
  async function cleverLoad(names, overrides) {
111631
- const {
111632
- simpleImport,
111633
- require,
111634
- } = overrides;
111635
+ const {simpleImport, require} = overrides;
111635
111636
 
111636
111637
  let e;
111637
111638
  let reporter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/bundle",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout bundle suitable for Deno and Browsers",