hermes-parser 0.23.0 → 0.23.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.
@@ -1093,7 +1093,8 @@ function transformProgram(program, options) {
1093
1093
  leave() {},
1094
1094
 
1095
1095
  visitorKeys: FlowESTreeAndBabelVisitorKeys
1096
- });
1096
+ }); // $FlowFixMe[incompatible-type]
1097
+
1097
1098
 
1098
1099
  if ((resultNode == null ? void 0 : resultNode.type) === 'File') {
1099
1100
  return resultNode;
@@ -1248,6 +1248,7 @@ export function transformProgram(
1248
1248
  visitorKeys: FlowESTreeAndBabelVisitorKeys,
1249
1249
  });
1250
1250
 
1251
+ // $FlowFixMe[incompatible-type]
1251
1252
  if (resultNode?.type === 'File') {
1252
1253
  return resultNode;
1253
1254
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-parser",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "A JavaScript parser built from the Hermes engine",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "url": "git@github.com:facebook/hermes.git"
10
10
  },
11
11
  "dependencies": {
12
- "hermes-estree": "0.23.0"
12
+ "hermes-estree": "0.23.1"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@babel/parser": "7.7.4",