flow-remove-types 2.158.0 → 2.160.2

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/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -197,7 +197,7 @@ var removeFlowVisitor = {
197
197
  }
198
198
  },
199
199
 
200
- ClassProperty: function(context, node) {
200
+ PropertyDefinition: function(context, node) {
201
201
  if (node.declare || (context.ignoreUninitializedFields && !node.value)) {
202
202
  return removeNode(context, node);
203
203
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-remove-types",
3
- "version": "2.158.0",
3
+ "version": "2.160.2",
4
4
  "description": "Removes Flow type annotations from JavaScript files with speed and simplicity.",
5
5
  "author": {
6
6
  "name": "Flow Team",
@@ -43,7 +43,7 @@
43
43
  "es6"
44
44
  ],
45
45
  "dependencies": {
46
- "flow-parser": "^0.158.0",
46
+ "flow-parser": "^0.160.2",
47
47
  "pirates": "^3.0.2",
48
48
  "vlq": "^0.2.1"
49
49
  },