lib/condenser/processors/node_modules/@babel/traverse/lib/path/removal.js in condenser-0.0.8 vs lib/condenser/processors/node_modules/@babel/traverse/lib/path/removal.js in condenser-0.0.9

- old
+ new

@@ -10,10 +10,12 @@ exports._markRemoved = _markRemoved; exports._assertUnremoved = _assertUnremoved; var _removalHooks = require("./lib/removal-hooks"); +var _index = require("./index"); + function remove() { this._assertUnremoved(); this.resync(); @@ -51,11 +53,10 @@ this._replaceWith(null); } } function _markRemoved() { - this.shouldSkip = true; - this.removed = true; + this._traverseFlags |= _index.SHOULD_SKIP | _index.REMOVED; this.node = null; } function _assertUnremoved() { if (this.removed) { \ No newline at end of file