@putout/bundle 1.1.3 → 1.1.4
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 +29 -16
- package/package.json +1 -1
package/bundle/putout.js
CHANGED
|
@@ -76217,7 +76217,7 @@ var print_1 = (ast, options = {}) => {
|
|
|
76217
76217
|
});
|
|
76218
76218
|
};
|
|
76219
76219
|
|
|
76220
|
-
const {assign: assign$
|
|
76220
|
+
const {assign: assign$7} = Object;
|
|
76221
76221
|
|
|
76222
76222
|
const {
|
|
76223
76223
|
isFunctionExpression,
|
|
@@ -76235,7 +76235,7 @@ var traverseObjectExpression$1 = (propertiesPaths) => {
|
|
|
76235
76235
|
if (isFunctionExpression(value)) {
|
|
76236
76236
|
propPath.replaceWith(ObjectMethod('method', key, value.params, value.body, computed));
|
|
76237
76237
|
|
|
76238
|
-
assign$
|
|
76238
|
+
assign$7(propPath.node, {
|
|
76239
76239
|
id: null,
|
|
76240
76240
|
method: true,
|
|
76241
76241
|
generator: value.generator,
|
|
@@ -76260,7 +76260,7 @@ const {
|
|
|
76260
76260
|
classMethod,
|
|
76261
76261
|
} = requireLib$a();
|
|
76262
76262
|
|
|
76263
|
-
const {assign: assign$
|
|
76263
|
+
const {assign: assign$6} = Object;
|
|
76264
76264
|
|
|
76265
76265
|
var setClassMethod$1 = (path) => {
|
|
76266
76266
|
const {node} = path;
|
|
@@ -76288,7 +76288,7 @@ var setClassMethod$1 = (path) => {
|
|
|
76288
76288
|
});
|
|
76289
76289
|
|
|
76290
76290
|
path.replaceWith(method);
|
|
76291
|
-
assign$
|
|
76291
|
+
assign$6(path.node, {
|
|
76292
76292
|
loc,
|
|
76293
76293
|
expression,
|
|
76294
76294
|
generator,
|
|
@@ -76414,12 +76414,12 @@ var convertImportDeclaration$1 = (path) => {
|
|
|
76414
76414
|
path.node.assertions = assertions;
|
|
76415
76415
|
};
|
|
76416
76416
|
|
|
76417
|
-
const {assign: assign$
|
|
76417
|
+
const {assign: assign$5} = Object;
|
|
76418
76418
|
|
|
76419
76419
|
var convertExportDeclaration$1 = (path) => {
|
|
76420
76420
|
const {assertions = []} = path.node;
|
|
76421
76421
|
|
|
76422
|
-
assign$
|
|
76422
|
+
assign$5(path.node, {
|
|
76423
76423
|
assertions,
|
|
76424
76424
|
});
|
|
76425
76425
|
};
|
|
@@ -83561,7 +83561,7 @@ function requireMoveOutDirectives () {
|
|
|
83561
83561
|
return moveOutDirectives$1;
|
|
83562
83562
|
}
|
|
83563
83563
|
|
|
83564
|
-
const {assign: assign$
|
|
83564
|
+
const {assign: assign$4} = Object;
|
|
83565
83565
|
|
|
83566
83566
|
const once$6 = once$9.exports;
|
|
83567
83567
|
|
|
@@ -83593,7 +83593,7 @@ babel$2.parse = function babelParse(source, {sourceFilename, isTS, isJSX = true,
|
|
|
83593
83593
|
]),
|
|
83594
83594
|
};
|
|
83595
83595
|
|
|
83596
|
-
sourceFilename && assign$
|
|
83596
|
+
sourceFilename && assign$4(parserOptions, {
|
|
83597
83597
|
sourceFilename,
|
|
83598
83598
|
});
|
|
83599
83599
|
|
|
@@ -119399,7 +119399,7 @@ simpleImport$1.simpleImport = async (url) => {
|
|
|
119399
119399
|
const tryToCatch = tryToCatch$1;
|
|
119400
119400
|
const {simpleImport} = simpleImport$1;
|
|
119401
119401
|
|
|
119402
|
-
const {assign: assign$
|
|
119402
|
+
const {assign: assign$3} = Object;
|
|
119403
119403
|
const stub$2 = () => () => {};
|
|
119404
119404
|
|
|
119405
119405
|
asyncLoader.createAsyncLoader = (type) => async (name, load) => {
|
|
@@ -119430,14 +119430,14 @@ async function cleverLoad(names, load = simpleImport) {
|
|
|
119430
119430
|
if (e.code === 'ERR_MODULE_NOT_FOUND')
|
|
119431
119431
|
continue;
|
|
119432
119432
|
|
|
119433
|
-
assign$
|
|
119433
|
+
assign$3(e, {
|
|
119434
119434
|
message: `${name}: ${e.message}`,
|
|
119435
119435
|
});
|
|
119436
119436
|
|
|
119437
119437
|
return [e];
|
|
119438
119438
|
}
|
|
119439
119439
|
|
|
119440
|
-
assign$
|
|
119440
|
+
assign$3(e, {
|
|
119441
119441
|
message: e.message.replace(/\simported.*/, ''),
|
|
119442
119442
|
});
|
|
119443
119443
|
|
|
@@ -119983,7 +119983,7 @@ var store = {};
|
|
|
119983
119983
|
const {
|
|
119984
119984
|
values,
|
|
119985
119985
|
entries: entries$2,
|
|
119986
|
-
assign: assign$
|
|
119986
|
+
assign: assign$2,
|
|
119987
119987
|
} = Object;
|
|
119988
119988
|
|
|
119989
119989
|
const toArray = (a) => Array.from(a);
|
|
@@ -120024,7 +120024,7 @@ store.upStore = createStore({
|
|
|
120024
120024
|
},
|
|
120025
120025
|
set(map, name, data) {
|
|
120026
120026
|
map[name] = map[name] || {};
|
|
120027
|
-
assign$
|
|
120027
|
+
assign$2(map[name], data);
|
|
120028
120028
|
},
|
|
120029
120029
|
});
|
|
120030
120030
|
|
|
@@ -120078,7 +120078,7 @@ const {
|
|
|
120078
120078
|
const shouldSkip = (a) => !a.parent;
|
|
120079
120079
|
const {merge: merge$1} = traverse$4.visitors;
|
|
120080
120080
|
|
|
120081
|
-
const {assign} = Object;
|
|
120081
|
+
const {assign: assign$1} = Object;
|
|
120082
120082
|
const parse = (name, plugin, options) => {
|
|
120083
120083
|
const list = [];
|
|
120084
120084
|
|
|
@@ -120126,7 +120126,7 @@ var mergeVisitors$1 = (pluginsToMerge, {fix, shebang, template}) => {
|
|
|
120126
120126
|
if (!visitor)
|
|
120127
120127
|
throw Error(`Visitors cannot be empty in "${rule}"`);
|
|
120128
120128
|
|
|
120129
|
-
assign(options, {
|
|
120129
|
+
assign$1(options, {
|
|
120130
120130
|
include: parse('include', plugin, options),
|
|
120131
120131
|
exclude: parse('exclude', plugin, options),
|
|
120132
120132
|
});
|
|
@@ -131017,6 +131017,18 @@ function putout(...a) {
|
|
|
131017
131017
|
return putoutExports(...a);
|
|
131018
131018
|
}
|
|
131019
131019
|
|
|
131020
|
+
assign(putout, {
|
|
131021
|
+
parse: putoutExports.parse,
|
|
131022
|
+
print: putoutExports.print,
|
|
131023
|
+
traverse: putoutExports.traverse,
|
|
131024
|
+
generate: putoutExports.generate,
|
|
131025
|
+
template: putoutExports.template,
|
|
131026
|
+
operator: putoutExports.operator,
|
|
131027
|
+
transform: putoutExports.transform,
|
|
131028
|
+
findPlaces: putoutExports.findPlaces,
|
|
131029
|
+
types: putoutExports.types,
|
|
131030
|
+
});
|
|
131031
|
+
|
|
131020
131032
|
var findPlaces = putoutExports.findPlaces;
|
|
131021
131033
|
var generate$6 = putoutExports.generate;
|
|
131022
131034
|
var operator = putoutExports.operator;
|
|
@@ -131025,4 +131037,5 @@ var print$3 = putoutExports.print;
|
|
|
131025
131037
|
var template$4 = putoutExports.template;
|
|
131026
131038
|
var transform$2 = putoutExports.transform;
|
|
131027
131039
|
var traverse$9 = putoutExports.traverse;
|
|
131028
|
-
|
|
131040
|
+
var types$4 = putoutExports.types;
|
|
131041
|
+
export { putout as default, findPlaces, generate$6 as generate, operator, parse$8 as parse, print$3 as print, template$4 as template, transform$2 as transform, traverse$9 as traverse, types$4 as types };
|