@putout/bundle 1.1.5 → 1.1.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.
- package/bundle/plugin-putout.js +25 -2
- package/package.json +1 -1
package/bundle/plugin-putout.js
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import require$$0$1 from '@putout/bundle';
|
|
2
2
|
|
|
3
|
+
function _mergeNamespaces(n, m) {
|
|
4
|
+
m.forEach(function (e) {
|
|
5
|
+
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
+
if (k !== 'default' && !(k in n)) {
|
|
7
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return e[k]; }
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
return Object.freeze(n);
|
|
16
|
+
}
|
|
17
|
+
|
|
3
18
|
var addArgs_1;
|
|
4
19
|
var hasRequiredAddArgs;
|
|
5
20
|
|
|
@@ -3190,11 +3205,13 @@ function normalize (path) {
|
|
|
3190
3205
|
return path;
|
|
3191
3206
|
}
|
|
3192
3207
|
|
|
3208
|
+
var lib = {};
|
|
3209
|
+
|
|
3193
3210
|
const getRule = (a) => ({
|
|
3194
3211
|
[a]: createCommonjsRequire("/node_modules/@putout/plugin-putout/lib")(`./${a}`),
|
|
3195
3212
|
});
|
|
3196
3213
|
|
|
3197
|
-
var rules = {
|
|
3214
|
+
var rules = lib.rules = {
|
|
3198
3215
|
...getRule('apply-processors-destructuring'),
|
|
3199
3216
|
...getRule('apply-async-formatter'),
|
|
3200
3217
|
...getRule('apply-create-test'),
|
|
@@ -3230,4 +3247,10 @@ var rules = {
|
|
|
3230
3247
|
...getRule('includer'),
|
|
3231
3248
|
};
|
|
3232
3249
|
|
|
3233
|
-
|
|
3250
|
+
var pluginPutout = /*#__PURE__*/_mergeNamespaces({
|
|
3251
|
+
__proto__: null,
|
|
3252
|
+
rules: rules,
|
|
3253
|
+
'default': lib
|
|
3254
|
+
}, [lib]);
|
|
3255
|
+
|
|
3256
|
+
export { pluginPutout as default };
|