From efbc2ffe6a1ee5ec38a4396305561d6515d0943e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 30 Aug 2024 17:21:18 +0800 Subject: node fixes, updates --- node_modules/@babel/generator/lib/buffer.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'node_modules/@babel/generator/lib/buffer.js') diff --git a/node_modules/@babel/generator/lib/buffer.js b/node_modules/@babel/generator/lib/buffer.js index aad6c0bf..23bedfa7 100644 --- a/node_modules/@babel/generator/lib/buffer.js +++ b/node_modules/@babel/generator/lib/buffer.js @@ -278,12 +278,6 @@ class Buffer { 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; -- cgit v1.2.3