@putout/bundle 26.20.0 → 26.20.1

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/README.md CHANGED
@@ -10,7 +10,7 @@ Usage
10
10
  ```js
11
11
  import putout from 'https://esm.sh/@putout/bundle';
12
12
  import removeDebugger from 'https://esm.sh/plugin-remove-debugger';
13
- import removeUnusedVariables from '@putout/plugin-remove-unused-variables?alias=putout:@putout/bundle';
13
+ import removeUnusedVariables from 'https://esm.sh/@putout/plugin-remove-unused-variables?alias=putout:@putout/bundle';
14
14
 
15
15
  putout('const a = 5;debugger', {
16
16
  plugins: [
package/bundle/putout.js CHANGED
@@ -1,9 +1,5 @@
1
1
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
2
 
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
3
  function getAugmentedNamespace(n) {
8
4
  var f = n.default;
9
5
  if (typeof f == "function") {
@@ -25,8 +21,6 @@ function getAugmentedNamespace(n) {
25
21
  return a;
26
22
  }
27
23
 
28
- var putout$2 = {exports: {}};
29
-
30
24
  var putout$1 = {exports: {}};
31
25
 
32
26
  var lib$k = {};
@@ -130850,10 +130844,18 @@ function requirePutout () {
130850
130844
  return putout$1.exports;
130851
130845
  }
130852
130846
 
130853
- (function (module) {
130854
- module.exports = requirePutout();
130855
- } (putout$2));
130847
+ var putoutExports = requirePutout();
130856
130848
 
130857
- var putout = /*@__PURE__*/getDefaultExportFromCjs(putout$2.exports);
130849
+ function putout(...a) {
130850
+ return putoutExports(...a);
130851
+ }
130858
130852
 
130859
- export { putout as default };
130853
+ var findPlaces = putoutExports.findPlaces;
130854
+ var generate$6 = putoutExports.generate;
130855
+ var operator = putoutExports.operator;
130856
+ var parse$8 = putoutExports.parse;
130857
+ var print$3 = putoutExports.print;
130858
+ var template$4 = putoutExports.template;
130859
+ var transform$2 = putoutExports.transform;
130860
+ var traverse$9 = putoutExports.traverse;
130861
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/bundle",
3
- "version": "26.20.0",
3
+ "version": "26.20.1",
4
4
  "type": "module",
5
5
  "commitType": "colon",
6
6
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
@@ -39,6 +39,7 @@
39
39
  "debugger"
40
40
  ],
41
41
  "devDependencies": {
42
+ "@rollup/plugin-alias": "^3.1.9",
42
43
  "@rollup/plugin-commonjs": "^22.0.1",
43
44
  "@rollup/plugin-json": "^4.1.0",
44
45
  "@rollup/plugin-node-resolve": "^13.3.0",