@putout/engine-parser 7.2.1 → 8.0.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.
@@ -40,9 +40,7 @@ module.exports.parse = function babelParse(source, {sourceFilename, isTS, isJSX
40
40
  sourceFilename,
41
41
  });
42
42
 
43
- const ast = parse(source, parserOptions);
44
-
45
- return ast;
43
+ return parse(source, parserOptions);
46
44
  };
47
45
 
48
46
  function getBabelLangExts({isTS, isFlow, isJSX}) {
@@ -14,7 +14,5 @@ module.exports.parse = function hermesParse(source) {
14
14
  tokens: true,
15
15
  };
16
16
 
17
- const result = parser.parse(source, options);
18
-
19
- return result;
17
+ return parser.parse(source, options);
20
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-parser",
3
- "version": "7.2.1",
3
+ "version": "8.0.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout parser",
@@ -55,7 +55,7 @@
55
55
  "c8": "^8.0.0",
56
56
  "eslint": "^8.0.1",
57
57
  "eslint-plugin-n": "^16.0.0",
58
- "eslint-plugin-putout": "^18.0.0",
58
+ "eslint-plugin-putout": "^19.0.0",
59
59
  "espree": "^9.0.0",
60
60
  "esprima": "^4.0.1",
61
61
  "hermes-parser": "^0.14.0",
@@ -64,7 +64,7 @@
64
64
  "madrun": "^9.0.0",
65
65
  "mock-require": "^3.0.3",
66
66
  "montag": "^1.0.0",
67
- "nodemon": "^2.0.1",
67
+ "nodemon": "^3.0.1",
68
68
  "putout": "*",
69
69
  "supertape": "^8.0.0",
70
70
  "tenko": "^2.0.0"