Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: Normalize repository, dropping node <10.13 support #35

Merged
merged 12 commits into from
Oct 13, 2022
Prev Previous commit
Next Next commit
Cleanup the last use of new Buffer
phated committed Oct 11, 2022
commit c8bf93cb36f3b96eab9874fc960bdf6142af9e52
6 changes: 3 additions & 3 deletions lib/helpers.js
Original file line number Diff line number Diff line change
@@ -11,9 +11,9 @@ var convert = require('convert-source-map');

var urlRegex = /^(https?|webpack(-[^:]+)?):\/\//;

var bufCR = new Buffer('\r\n');
var bufNL = new Buffer('\n');
var bufEOL = new Buffer(os.EOL);
var bufCR = Buffer.from('\r\n');
var bufNL = Buffer.from('\n');
var bufEOL = Buffer.from(os.EOL);

var decoder = new TextDecoder('utf-8', { ignoreBOM: false });