@putout/bundle 4.5.2 → 4.5.3
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 +32 -25
- package/bundle/putout.min.js +13 -13
- package/package.json +1 -1
package/bundle/putout.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import require$$1$3 from 'esprima';
|
|
2
|
-
|
|
3
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
2
|
|
|
5
3
|
function getAugmentedNamespace(n) {
|
|
@@ -180,15 +178,15 @@ var versions = {};
|
|
|
180
178
|
var release = {};
|
|
181
179
|
var config = {};
|
|
182
180
|
|
|
183
|
-
function noop$
|
|
181
|
+
function noop$6() {}
|
|
184
182
|
|
|
185
|
-
var on = noop$
|
|
186
|
-
var addListener = noop$
|
|
187
|
-
var once$a = noop$
|
|
188
|
-
var off = noop$
|
|
189
|
-
var removeListener = noop$
|
|
190
|
-
var removeAllListeners = noop$
|
|
191
|
-
var emit = noop$
|
|
183
|
+
var on = noop$6;
|
|
184
|
+
var addListener = noop$6;
|
|
185
|
+
var once$a = noop$6;
|
|
186
|
+
var off = noop$6;
|
|
187
|
+
var removeListener = noop$6;
|
|
188
|
+
var removeAllListeners = noop$6;
|
|
189
|
+
var emit = noop$6;
|
|
192
190
|
|
|
193
191
|
function binding(name) {
|
|
194
192
|
throw new Error('process.binding is not supported');
|
|
@@ -2293,7 +2291,7 @@ var _polyfillNode_tty$1 = /*#__PURE__*/Object.freeze({
|
|
|
2293
2291
|
isatty: isatty
|
|
2294
2292
|
});
|
|
2295
2293
|
|
|
2296
|
-
var require$$1$
|
|
2294
|
+
var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_tty$1);
|
|
2297
2295
|
|
|
2298
2296
|
var inherits$2;
|
|
2299
2297
|
if (typeof Object.create === 'function'){
|
|
@@ -3029,7 +3027,7 @@ var _polyfillNode_module$1 = /*#__PURE__*/Object.freeze({
|
|
|
3029
3027
|
default: _polyfillNode_module
|
|
3030
3028
|
});
|
|
3031
3029
|
|
|
3032
|
-
var require$$1$
|
|
3030
|
+
var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_module$1);
|
|
3033
3031
|
|
|
3034
3032
|
var require$$4 = [
|
|
3035
3033
|
"decodeURI",
|
|
@@ -4800,7 +4798,7 @@ var require_supports_color$1 = __commonJS$1({
|
|
|
4800
4798
|
// node_modules/debug/src/node.js
|
|
4801
4799
|
var require_node$1 = __commonJS$1({
|
|
4802
4800
|
'node_modules/debug/src/node.js'(exports2, module2) {
|
|
4803
|
-
var tty = require$$1$
|
|
4801
|
+
var tty = require$$1$3;
|
|
4804
4802
|
var util = require$$2$1;
|
|
4805
4803
|
|
|
4806
4804
|
exports2.init = init;
|
|
@@ -57191,7 +57189,7 @@ comment.parseComments = parseComments$7;
|
|
|
57191
57189
|
|
|
57192
57190
|
const {parseComments: parseComments$6} = comment;
|
|
57193
57191
|
|
|
57194
|
-
const noop$
|
|
57192
|
+
const noop$5 = () => {};
|
|
57195
57193
|
const parseParams = (path) => path.get('params');
|
|
57196
57194
|
|
|
57197
57195
|
params.printParams = (path, printer, semantics, customization = {}) => {
|
|
@@ -57207,8 +57205,8 @@ params.printParams = (path, printer, semantics, customization = {}) => {
|
|
|
57207
57205
|
braceOpen = '(',
|
|
57208
57206
|
braceClose = ')',
|
|
57209
57207
|
printSpace = print.space,
|
|
57210
|
-
printAfterOpen = noop$
|
|
57211
|
-
printBeforeClose = noop$
|
|
57208
|
+
printAfterOpen = noop$5,
|
|
57209
|
+
printBeforeClose = noop$5,
|
|
57212
57210
|
} = customization;
|
|
57213
57211
|
|
|
57214
57212
|
if (typeParameters)
|
|
@@ -60689,10 +60687,10 @@ maybeWriteBrace.condition = (path, printer, semantics) => {
|
|
|
60689
60687
|
var sequenceExpressionComments = {};
|
|
60690
60688
|
|
|
60691
60689
|
const {hasLeadingComment} = is$4;
|
|
60692
|
-
const noop$
|
|
60690
|
+
const noop$4 = () => {};
|
|
60693
60691
|
|
|
60694
|
-
sequenceExpressionComments.printLeadingCommentLine = noop$
|
|
60695
|
-
sequenceExpressionComments.printLeadingCommentBlock = noop$
|
|
60692
|
+
sequenceExpressionComments.printLeadingCommentLine = noop$4;
|
|
60693
|
+
sequenceExpressionComments.printLeadingCommentBlock = noop$4;
|
|
60696
60694
|
|
|
60697
60695
|
sequenceExpressionComments.maybePrintComments = (path, {print}) => {
|
|
60698
60696
|
if (hasLeadingComment(path)) {
|
|
@@ -66988,7 +66986,7 @@ var require_supports_color = __commonJS({
|
|
|
66988
66986
|
// node_modules/debug/src/node.js
|
|
66989
66987
|
var require_node = __commonJS({
|
|
66990
66988
|
"node_modules/debug/src/node.js"(exports2, module2) {
|
|
66991
|
-
var tty = require$$1$
|
|
66989
|
+
var tty = require$$1$3;
|
|
66992
66990
|
var util = require$$2$1;
|
|
66993
66991
|
exports2.init = init;
|
|
66994
66992
|
exports2.log = log;
|
|
@@ -117036,12 +117034,21 @@ espree$2.parse = function espreeParse(source) {
|
|
|
117036
117034
|
});
|
|
117037
117035
|
};
|
|
117038
117036
|
|
|
117039
|
-
var esprima$
|
|
117037
|
+
var esprima$2 = {};
|
|
117038
|
+
|
|
117039
|
+
const noop$3 = () => {};
|
|
117040
|
+
|
|
117041
|
+
var esprima$1 = /*#__PURE__*/Object.freeze({
|
|
117042
|
+
__proto__: null,
|
|
117043
|
+
default: noop$3
|
|
117044
|
+
});
|
|
117045
|
+
|
|
117046
|
+
var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(esprima$1);
|
|
117040
117047
|
|
|
117041
117048
|
const once$4 = onceExports;
|
|
117042
|
-
const initEsprima = once$4(() => require$$1$
|
|
117049
|
+
const initEsprima = once$4(() => require$$1$1);
|
|
117043
117050
|
|
|
117044
|
-
esprima$
|
|
117051
|
+
esprima$2.parse = function esprimaParse(source) {
|
|
117045
117052
|
const {parse} = initEsprima();
|
|
117046
117053
|
|
|
117047
117054
|
return parse(source, {
|
|
@@ -135267,7 +135274,7 @@ function checkError(error, messages) {
|
|
|
135267
135274
|
const acorn = acorn$3;
|
|
135268
135275
|
const babel = babel$1;
|
|
135269
135276
|
const espree = espree$2;
|
|
135270
|
-
const esprima = esprima$
|
|
135277
|
+
const esprima = esprima$2;
|
|
135271
135278
|
const tenko = tenko$1;
|
|
135272
135279
|
const hermes = hermes$1;
|
|
135273
135280
|
const secondChance = secondChance$1;
|
|
@@ -136285,7 +136292,7 @@ function requireLoad () {
|
|
|
136285
136292
|
hasRequiredLoad = 1;
|
|
136286
136293
|
|
|
136287
136294
|
const process = require$$0$3;
|
|
136288
|
-
const {createRequire} = require$$1$
|
|
136295
|
+
const {createRequire} = require$$1$2;
|
|
136289
136296
|
const {join} = require$$0$1;
|
|
136290
136297
|
const tryCatch = tryCatch$7;
|
|
136291
136298
|
const once = onceExports;
|