@putout/babel 4.4.0 → 4.4.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/index.d.ts CHANGED
@@ -1,26 +1,4 @@
1
1
  export * from '@babel/parser';
2
- import { Node } from '@babel/types';
3
2
  import * as types from '@babel/types';
4
3
  export { types };
5
4
  export { traverse } from '@babel/types';
6
-
7
- interface Location {
8
- start: {
9
- line: number;
10
- column: number;
11
- };
12
- }
13
-
14
- interface CodeFrameOptions {}
15
-
16
- interface TemplateOptions {}
17
-
18
- declare function codeFrameColumns(rawLines: string, location: Location, options: CodeFrameOptions): string;
19
- declare function ast(source: string): Node;
20
- declare function generate(ast: Node): string;
21
- declare function template(source: string, options?: TemplateOptions): string;
22
- declare namespace template {
23
- export { ast };
24
- }
25
-
26
- export { codeFrameColumns, generate, template };
package/bundle/index.js CHANGED
@@ -1006,10 +1006,14 @@ var require_jsesc = __commonJS({
1006
1006
  var require_ms = () => () => {};
1007
1007
 
1008
1008
  // node_modules/debug/src/common.js
1009
- var require_common = () => () => {};
1009
+ var require_common = () => () => ({
1010
+ enabled: false,
1011
+ });
1010
1012
 
1011
1013
  // node_modules/debug/src/browser.js
1012
- var require_browser = () => () => {};
1014
+ var require_browser = () => () => ({
1015
+ enabled: false,
1016
+ });
1013
1017
 
1014
1018
  // node_modules/has-flag/index.js
1015
1019
  var require_has_flag = __commonJS({
@@ -1158,7 +1162,9 @@ var require_supports_color = __commonJS({
1158
1162
  });
1159
1163
 
1160
1164
  // node_modules/debug/src/node.js
1161
- var require_node = () => () => {};
1165
+ var require_node = () => () => ({
1166
+ enabled: false,
1167
+ });
1162
1168
 
1163
1169
  // node_modules/debug/src/index.js
1164
1170
  var require_src = __commonJS({
@@ -39794,8 +39800,6 @@ function DeclareExportDeclaration2(node) {
39794
39800
  this.word('default');
39795
39801
  this.space();
39796
39802
  }
39797
-
39798
- FlowExportDeclaration.call(this, node);
39799
39803
  }
39800
39804
 
39801
39805
  function DeclareExportAllDeclaration2(node) {
@@ -39898,35 +39902,6 @@ function EnumStringMember2(node) {
39898
39902
  enumInitializedMember(this, node);
39899
39903
  }
39900
39904
 
39901
- function FlowExportDeclaration(node) {
39902
- if (node.declaration) {
39903
- const declar = node.declaration;
39904
- this.print(declar);
39905
-
39906
- if (!isStatement$12(declar))
39907
- this.semicolon();
39908
- } else {
39909
- this.tokenChar(123);
39910
-
39911
- if (node.specifiers.length) {
39912
- this.space();
39913
- this.printList(node.specifiers);
39914
- this.space();
39915
- }
39916
-
39917
- this.tokenChar(125);
39918
-
39919
- if (node.source) {
39920
- this.space();
39921
- this.word('from');
39922
- this.space();
39923
- this.print(node.source);
39924
- }
39925
-
39926
- this.semicolon();
39927
- }
39928
- }
39929
-
39930
39905
  function ExistsTypeAnnotation2() {
39931
39906
  this.tokenChar(42);
39932
39907
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/babel",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Babel 8 in CommonJS",