@putout/bundle 4.7.0 → 4.7.2
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 +31 -16
- package/bundle/putout.min.js +2 -2
- package/package.json +2 -1
package/bundle/putout.js
CHANGED
|
@@ -3265,10 +3265,14 @@ var require_jsesc = __commonJS({
|
|
|
3265
3265
|
});
|
|
3266
3266
|
|
|
3267
3267
|
// node_modules/debug/src/browser.js
|
|
3268
|
-
var require_browser = () => () => {
|
|
3268
|
+
var require_browser = () => () => ({
|
|
3269
|
+
enabled: false,
|
|
3270
|
+
});
|
|
3269
3271
|
|
|
3270
3272
|
// node_modules/debug/src/node.js
|
|
3271
|
-
var require_node = () => () => {
|
|
3273
|
+
var require_node = () => () => ({
|
|
3274
|
+
enabled: false,
|
|
3275
|
+
});
|
|
3272
3276
|
|
|
3273
3277
|
// node_modules/debug/src/index.js
|
|
3274
3278
|
var require_src = __commonJS({
|
|
@@ -50454,7 +50458,7 @@ function addComments2(type, comments) {
|
|
|
50454
50458
|
|
|
50455
50459
|
var {validate: validate3} = lib_exports;
|
|
50456
50460
|
|
|
50457
|
-
var debug$
|
|
50461
|
+
var debug$a = (0, import_debug.default)('babel');
|
|
50458
50462
|
var REMOVED = 1 << 0;
|
|
50459
50463
|
var SHOULD_STOP = 1 << 1;
|
|
50460
50464
|
var SHOULD_SKIP = 1 << 2;
|
|
@@ -50597,10 +50601,10 @@ var NodePath_Final = class NodePath {
|
|
|
50597
50601
|
}
|
|
50598
50602
|
|
|
50599
50603
|
debug(message) {
|
|
50600
|
-
if (!debug$
|
|
50604
|
+
if (!debug$a.enabled)
|
|
50601
50605
|
return;
|
|
50602
50606
|
|
|
50603
|
-
debug$
|
|
50607
|
+
debug$a(`${this.getPathLocation()} ${this.type}: ${message}`);
|
|
50604
50608
|
}
|
|
50605
50609
|
|
|
50606
50610
|
toString() {
|
|
@@ -59948,7 +59952,7 @@ function objectPlugin(plugin, path, printer, semantics) {
|
|
|
59948
59952
|
after(path, printer, semantics);
|
|
59949
59953
|
}
|
|
59950
59954
|
|
|
59951
|
-
var debug$
|
|
59955
|
+
var debug$9 = {};
|
|
59952
59956
|
|
|
59953
59957
|
var require$$0$2 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_process);
|
|
59954
59958
|
|
|
@@ -59995,7 +59999,7 @@ const {
|
|
|
59995
59999
|
LOG_DEBUG,
|
|
59996
60000
|
} = {};
|
|
59997
60001
|
|
|
59998
|
-
debug$
|
|
60002
|
+
debug$9.createDebug = (tokens) => (a) => {
|
|
59999
60003
|
if (!LOG_DEBUG)
|
|
60000
60004
|
return;
|
|
60001
60005
|
|
|
@@ -60005,7 +60009,7 @@ debug$7.createDebug = (tokens) => (a) => {
|
|
|
60005
60009
|
});
|
|
60006
60010
|
};
|
|
60007
60011
|
|
|
60008
|
-
debug$
|
|
60012
|
+
debug$9.createLog = ({newline = '\n', store = createStore$1()} = {}) => ({type, value}) => {
|
|
60009
60013
|
if (LOG_TOKENS) {
|
|
60010
60014
|
console.log(codeFrameColumns$1(stringify$7({
|
|
60011
60015
|
type,
|
|
@@ -60180,7 +60184,7 @@ const {
|
|
|
60180
60184
|
maybeThrow,
|
|
60181
60185
|
} = maybe;
|
|
60182
60186
|
|
|
60183
|
-
const {createDebug: createDebug$3, createLog} = debug$
|
|
60187
|
+
const {createDebug: createDebug$3, createLog} = debug$9;
|
|
60184
60188
|
const {maybeMarkAfter} = mark;
|
|
60185
60189
|
|
|
60186
60190
|
const {
|
|
@@ -61412,7 +61416,7 @@ var acornPrivateMethods = /*#__PURE__*/Object.freeze({
|
|
|
61412
61416
|
default: privateMethods
|
|
61413
61417
|
});
|
|
61414
61418
|
|
|
61415
|
-
var require$$2 = /*@__PURE__*/getAugmentedNamespace(acornPrivateMethods);
|
|
61419
|
+
var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(acornPrivateMethods);
|
|
61416
61420
|
|
|
61417
61421
|
var acornStage3;
|
|
61418
61422
|
var hasRequiredAcornStage3;
|
|
@@ -61425,7 +61429,7 @@ function requireAcornStage3 () {
|
|
|
61425
61429
|
return Parser.extend(
|
|
61426
61430
|
require$$1$1,
|
|
61427
61431
|
require$$1$1,
|
|
61428
|
-
require$$2
|
|
61432
|
+
require$$2$1
|
|
61429
61433
|
)
|
|
61430
61434
|
};
|
|
61431
61435
|
return acornStage3;
|
|
@@ -63217,9 +63221,20 @@ lib$1.validateRulesRelations = validateRulesRelations$1;
|
|
|
63217
63221
|
|
|
63218
63222
|
var lib = {};
|
|
63219
63223
|
|
|
63224
|
+
function debug$7() {
|
|
63225
|
+
return () => {}
|
|
63226
|
+
}
|
|
63227
|
+
|
|
63228
|
+
var debug$8 = /*#__PURE__*/Object.freeze({
|
|
63229
|
+
__proto__: null,
|
|
63230
|
+
default: debug$7
|
|
63231
|
+
});
|
|
63232
|
+
|
|
63233
|
+
var require$$2 = /*@__PURE__*/getAugmentedNamespace(debug$8);
|
|
63234
|
+
|
|
63220
63235
|
var debug$6 = {};
|
|
63221
63236
|
|
|
63222
|
-
const debug$5 = require$$
|
|
63237
|
+
const debug$5 = require$$2;
|
|
63223
63238
|
|
|
63224
63239
|
debug$6.createDebug = (namespace) => {
|
|
63225
63240
|
const log = debug$5(namespace);
|
|
@@ -64300,7 +64315,7 @@ var runComparators$1 = {};
|
|
|
64300
64315
|
|
|
64301
64316
|
var log$5 = {exports: {}};
|
|
64302
64317
|
|
|
64303
|
-
const debug$3 = require$$
|
|
64318
|
+
const debug$3 = require$$2('putout:compare');
|
|
64304
64319
|
|
|
64305
64320
|
const {isArray: isArray$5} = Array;
|
|
64306
64321
|
const isObject$4 = (a) => a && typeof a === 'object';
|
|
@@ -65482,7 +65497,7 @@ tryThrowWithReason$1.tryThrowWithReason = (fn, ...args) => {
|
|
|
65482
65497
|
|
|
65483
65498
|
var includer = {};
|
|
65484
65499
|
|
|
65485
|
-
const log$2 = require$$
|
|
65500
|
+
const log$2 = require$$2('putout:runner:include');
|
|
65486
65501
|
const maybeArray$2 = maybeArray_1;
|
|
65487
65502
|
const {validate} = validate$2;
|
|
65488
65503
|
|
|
@@ -66927,7 +66942,7 @@ const {
|
|
|
66927
66942
|
start,
|
|
66928
66943
|
} = filesystem;
|
|
66929
66944
|
|
|
66930
|
-
const log = require$$
|
|
66945
|
+
const log = require$$2('putout:runner:scanner');
|
|
66931
66946
|
|
|
66932
66947
|
const fromSimple = convertSimpleFilesystemToFilesystem;
|
|
66933
66948
|
const toSimple = convertFilesystemToSimpleFilesystem;
|
|
@@ -67078,7 +67093,7 @@ function parseVisitor(visitors) {
|
|
|
67078
67093
|
|
|
67079
67094
|
const {traverse: defaultTraverse} = bundle;
|
|
67080
67095
|
const once = onceExports;
|
|
67081
|
-
const debug = require$$
|
|
67096
|
+
const debug = require$$2('putout:runner:find');
|
|
67082
67097
|
|
|
67083
67098
|
const runFix = runFix$3;
|
|
67084
67099
|
const mergeVisitors = mergeVisitors$1;
|