node_modules/@babel/generator/lib/buffer.js in immosquare-cleaner-0.1.47 vs node_modules/@babel/generator/lib/buffer.js in immosquare-cleaner-0.1.48
- old
+ new
@@ -276,15 +276,9 @@
}
sourceWithOffset(prop, loc, columnOffset) {
if (!this._map) return;
this._normalizePosition(prop, loc, columnOffset);
}
- withSource(prop, loc, cb) {
- if (this._map) {
- this.source(prop, loc);
- }
- cb();
- }
_normalizePosition(prop, loc, columnOffset) {
const pos = loc[prop];
const target = this._sourcePosition;
if (pos) {
target.line = pos.line;