@putout/engine-parser 15.0.5 → 15.0.7

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.
Files changed (2) hide show
  1. package/lib/print.js +4 -4
  2. package/package.json +4 -4
package/lib/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import putoutPrinter from '@putout/printer';
2
- import * as babelPrinter from './printers/babel.js';
1
+ import {print as putoutPrint} from '@putout/printer';
2
+ import {print as babelPrint} from './printers/babel.js';
3
3
 
4
4
  const {isArray} = Array;
5
5
 
@@ -9,10 +9,10 @@ export const print = (ast, options = {}) => {
9
9
  const [printer = 'putout', printerOptions] = maybeArray(options.printer);
10
10
 
11
11
  if (printer === 'babel')
12
- return babelPrinter.print(ast, {
12
+ return babelPrint(ast, {
13
13
  ...options,
14
14
  ...printerOptions,
15
15
  });
16
16
 
17
- return putoutPrinter.print(ast, printerOptions);
17
+ return putoutPrint(ast, printerOptions);
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-parser",
3
- "version": "15.0.5",
3
+ "version": "15.0.7",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout parser",
@@ -34,9 +34,9 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@putout/babel": "^5.0.0",
37
- "@putout/printer": "^16.0.0",
37
+ "@putout/printer": "^17.0.0",
38
38
  "align-spaces": "^2.0.0",
39
- "estree-to-babel": "^11.0.3",
39
+ "estree-to-babel": "^12.0.0",
40
40
  "nano-memoize": "^3.0.11",
41
41
  "once": "^1.4.0",
42
42
  "try-catch": "^4.0.0"
@@ -62,7 +62,7 @@
62
62
  "montag": "^1.0.0",
63
63
  "nodemon": "^3.0.1",
64
64
  "putout": "*",
65
- "supertape": "^11.0.3",
65
+ "supertape": "^12.0.0",
66
66
  "tenko": "^2.0.0"
67
67
  },
68
68
  "license": "MIT",