babel-plugin-syntax-hermes-parser 0.20.0 → 0.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/dist/index.js +1 -1
- package/dist/index.js.flow +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
22
22
|
|
|
23
23
|
function BabelPluginSyntaxHermesParser( // $FlowExpectedError[unclear-type] We don't have types for this.
|
|
24
24
|
api) {
|
|
25
|
-
api.assertVersion(7);
|
|
25
|
+
api.assertVersion('^7.0.0 || ^8.0.0-alpha.6');
|
|
26
26
|
let curParserOpts = {};
|
|
27
27
|
let curFilename = null;
|
|
28
28
|
return {
|
package/dist/index.js.flow
CHANGED
|
@@ -18,7 +18,7 @@ export default function BabelPluginSyntaxHermesParser(
|
|
|
18
18
|
// $FlowExpectedError[unclear-type] We don't have types for this.
|
|
19
19
|
api: any,
|
|
20
20
|
): $ReadOnly<{...}> {
|
|
21
|
-
api.assertVersion(7);
|
|
21
|
+
api.assertVersion('^7.0.0 || ^8.0.0-alpha.6');
|
|
22
22
|
|
|
23
23
|
let curParserOpts: ParserOptions = {};
|
|
24
24
|
let curFilename: ?string = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-syntax-hermes-parser",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "Babel plugin which switches Babel to use the Hermes parser.",
|
|
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-parser": "0.20.
|
|
12
|
+
"hermes-parser": "0.20.1"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|