@putout/bundle 3.6.0 → 3.7.0
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-iife.js +1 -1
- package/bundle/putout.js +36 -22
- package/bundle/putout.min.js +1 -1
- package/package.json +2 -2
package/bundle/putout.js
CHANGED
|
@@ -2155,15 +2155,15 @@ var versions = {};
|
|
|
2155
2155
|
var release$1 = {};
|
|
2156
2156
|
var config = {};
|
|
2157
2157
|
|
|
2158
|
-
function noop$
|
|
2158
|
+
function noop$5() {}
|
|
2159
2159
|
|
|
2160
|
-
var on = noop$
|
|
2161
|
-
var addListener = noop$
|
|
2162
|
-
var once$a = noop$
|
|
2163
|
-
var off = noop$
|
|
2164
|
-
var removeListener = noop$
|
|
2165
|
-
var removeAllListeners = noop$
|
|
2166
|
-
var emit = noop$
|
|
2160
|
+
var on = noop$5;
|
|
2161
|
+
var addListener = noop$5;
|
|
2162
|
+
var once$a = noop$5;
|
|
2163
|
+
var off = noop$5;
|
|
2164
|
+
var removeListener = noop$5;
|
|
2165
|
+
var removeAllListeners = noop$5;
|
|
2166
|
+
var emit = noop$5;
|
|
2167
2167
|
|
|
2168
2168
|
function binding(name) {
|
|
2169
2169
|
throw new Error('process.binding is not supported');
|
|
@@ -8016,7 +8016,7 @@ __export$1(lib_exports$1, {
|
|
|
8016
8016
|
return newExpression$2;
|
|
8017
8017
|
},
|
|
8018
8018
|
Noop: function() {
|
|
8019
|
-
return noop$
|
|
8019
|
+
return noop$4;
|
|
8020
8020
|
},
|
|
8021
8021
|
NullLiteral: function() {
|
|
8022
8022
|
return nullLiteral$1;
|
|
@@ -10845,7 +10845,7 @@ __export$1(lib_exports$1, {
|
|
|
10845
10845
|
return newExpression$2;
|
|
10846
10846
|
},
|
|
10847
10847
|
noop: function() {
|
|
10848
|
-
return noop$
|
|
10848
|
+
return noop$4;
|
|
10849
10849
|
},
|
|
10850
10850
|
nullLiteral: function() {
|
|
10851
10851
|
return nullLiteral$1;
|
|
@@ -21647,7 +21647,7 @@ function jsxClosingFragment$1() {
|
|
|
21647
21647
|
type: "JSXClosingFragment"
|
|
21648
21648
|
};
|
|
21649
21649
|
}
|
|
21650
|
-
function noop$
|
|
21650
|
+
function noop$4() {
|
|
21651
21651
|
return {
|
|
21652
21652
|
type: "Noop"
|
|
21653
21653
|
};
|
|
@@ -83860,7 +83860,7 @@ __export(lib_exports, {
|
|
|
83860
83860
|
return newExpression$1;
|
|
83861
83861
|
},
|
|
83862
83862
|
Noop: function() {
|
|
83863
|
-
return noop$
|
|
83863
|
+
return noop$3;
|
|
83864
83864
|
},
|
|
83865
83865
|
NullLiteral: function() {
|
|
83866
83866
|
return nullLiteral;
|
|
@@ -86689,7 +86689,7 @@ __export(lib_exports, {
|
|
|
86689
86689
|
return newExpression$1;
|
|
86690
86690
|
},
|
|
86691
86691
|
noop: function() {
|
|
86692
|
-
return noop$
|
|
86692
|
+
return noop$3;
|
|
86693
86693
|
},
|
|
86694
86694
|
nullLiteral: function() {
|
|
86695
86695
|
return nullLiteral;
|
|
@@ -97491,7 +97491,7 @@ function jsxClosingFragment() {
|
|
|
97491
97491
|
type: "JSXClosingFragment"
|
|
97492
97492
|
};
|
|
97493
97493
|
}
|
|
97494
|
-
function noop$
|
|
97494
|
+
function noop$3() {
|
|
97495
97495
|
return {
|
|
97496
97496
|
type: "Noop"
|
|
97497
97497
|
};
|
|
@@ -170001,7 +170001,7 @@ const {isExpressionStatement: isExpressionStatement$1} = types$9;
|
|
|
170001
170001
|
|
|
170002
170002
|
const {keys: keys$2} = Object;
|
|
170003
170003
|
const {isArray: isArray$4} = Array;
|
|
170004
|
-
const noop$
|
|
170004
|
+
const noop$2 = () => {};
|
|
170005
170005
|
const isEmptyArray = (a) => isArray$4(a) && !a.length;
|
|
170006
170006
|
|
|
170007
170007
|
const compareType = (type) => (path) => path.type === type;
|
|
@@ -170037,7 +170037,7 @@ compare$5.getValues = getValues$1;
|
|
|
170037
170037
|
compare$5.setValues = setValues$1;
|
|
170038
170038
|
compare$5.getTemplateValues = getTemplateValues$1;
|
|
170039
170039
|
|
|
170040
|
-
function compare$4(path, template, options = {}, equal = noop$
|
|
170040
|
+
function compare$4(path, template, options = {}, equal = noop$2) {
|
|
170041
170041
|
const {findUp = true} = options;
|
|
170042
170042
|
|
|
170043
170043
|
if (!path && !template)
|
|
@@ -170789,16 +170789,16 @@ const fullstore$1 = fullstore$3;
|
|
|
170789
170789
|
const driverStore = fullstore$1();
|
|
170790
170790
|
|
|
170791
170791
|
const {assign: assign$2} = Object;
|
|
170792
|
-
const noop = () => {};
|
|
170792
|
+
const noop$1 = () => {};
|
|
170793
170793
|
const returns = (a) => () => a;
|
|
170794
170794
|
|
|
170795
170795
|
const defaultFS = {
|
|
170796
|
-
renameFile: noop,
|
|
170797
|
-
removeFile: noop,
|
|
170798
|
-
createDirectory: noop,
|
|
170796
|
+
renameFile: noop$1,
|
|
170797
|
+
removeFile: noop$1,
|
|
170798
|
+
createDirectory: noop$1,
|
|
170799
170799
|
readFileContent: returns(''),
|
|
170800
|
-
writeFileContent: noop,
|
|
170801
|
-
copyFile: noop,
|
|
170800
|
+
writeFileContent: noop$1,
|
|
170801
|
+
copyFile: noop$1,
|
|
170802
170802
|
};
|
|
170803
170803
|
|
|
170804
170804
|
const maybeFS$1 = assign$2({}, defaultFS);
|
|
@@ -172489,6 +172489,7 @@ findPlaces$2.findPlacesAsync = async (ast, source, opts) => {
|
|
|
172489
172489
|
};
|
|
172490
172490
|
|
|
172491
172491
|
const {isArray} = Array;
|
|
172492
|
+
const noop = () => {};
|
|
172492
172493
|
|
|
172493
172494
|
var report$2 = () => {
|
|
172494
172495
|
let filesCount = 0;
|
|
@@ -172502,6 +172503,7 @@ var report$2 = () => {
|
|
|
172502
172503
|
places,
|
|
172503
172504
|
index = 0,
|
|
172504
172505
|
count = 1,
|
|
172506
|
+
trace = noop,
|
|
172505
172507
|
formatterOptions = {},
|
|
172506
172508
|
} = options;
|
|
172507
172509
|
|
|
@@ -172513,6 +172515,18 @@ var report$2 = () => {
|
|
|
172513
172515
|
|
|
172514
172516
|
errorsCount += places.length;
|
|
172515
172517
|
|
|
172518
|
+
trace('progress', {
|
|
172519
|
+
rule,
|
|
172520
|
+
name,
|
|
172521
|
+
options: formatterOptions,
|
|
172522
|
+
source,
|
|
172523
|
+
places,
|
|
172524
|
+
index,
|
|
172525
|
+
count,
|
|
172526
|
+
filesCount,
|
|
172527
|
+
errorsCount,
|
|
172528
|
+
});
|
|
172529
|
+
|
|
172516
172530
|
return await formatter({
|
|
172517
172531
|
rule,
|
|
172518
172532
|
name,
|