1. `new Buffer` can cause a global `DeprecationWarning` in `Node.js` nowadays. Fix it as `Buffer.from ? Buffer.from : new Buffer`.
2. A) The previous regExp may match a map-like string or otherthings before the real inline map, which must in the end of the file. B) And, the eol in javascript is not only `\n`, but also `\r` `\u2028` `\u2029`.