hermes-parser 0.34.0 → 0.35.0

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.
@@ -812,12 +812,14 @@ const HERMES_AST_VISITOR_KEYS = {
812
812
  ClassProperty: {
813
813
  key: 'Node',
814
814
  value: 'Node',
815
+ decorators: 'NodeList',
815
816
  variance: 'Node',
816
817
  typeAnnotation: 'Node'
817
818
  },
818
819
  ClassPrivateProperty: {
819
820
  key: 'Node',
820
821
  value: 'Node',
822
+ decorators: 'NodeList',
821
823
  variance: 'Node',
822
824
  typeAnnotation: 'Node'
823
825
  },
@@ -812,12 +812,14 @@ const HERMES_AST_VISITOR_KEYS = {
812
812
  ClassProperty: {
813
813
  key: 'Node',
814
814
  value: 'Node',
815
+ decorators: 'NodeList',
815
816
  variance: 'Node',
816
817
  typeAnnotation: 'Node'
817
818
  },
818
819
  ClassPrivateProperty: {
819
820
  key: 'Node',
820
821
  value: 'Node',
822
+ decorators: 'NodeList',
821
823
  variance: 'Node',
822
824
  typeAnnotation: 'Node'
823
825
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-parser",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
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.34.0"
12
+ "hermes-estree": "0.35.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@babel/parser": "7.7.4",