lib/condenser/processors/node_modules/@babel/traverse/lib/hub.js in condenser-0.0.4 vs lib/condenser/processors/node_modules/@babel/traverse/lib/hub.js in condenser-0.0.5

- old
+ new

@@ -3,10 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; -var Hub = function Hub(file) { - this.file = file; -}; +class Hub { + getCode() {} + + getScope() {} + + addHelper() { + throw new Error("Helpers are not supported by the default hub."); + } + + buildError(node, msg, Error = TypeError) { + return new Error(msg); + } + +} exports.default = Hub; \ No newline at end of file