minify v2.6.1 Release Notes

Release Date: 2019-11-27 // over 4 years ago
  • โฌ†๏ธ Upgrade to tdewolff/[email protected]:

    • ๐ŸŽ Re-parse input immediately when encountering parse error. Previously this was only done if the error was actually read which would save us from re-parsing the file (i.e. better performance). However, an error is (a) rare and (b) happens only once per file. Re-parsing on errors does not impact the performance of well formatted files, and a reliable error message is valued more.
    • ๐Ÿ›  Bugfix: prevent infinite loop on error on input file that contains unicode code points (i.e. any character bigger than 0xC0 usually followed by more bytes).
    • ๐Ÿ‘Œ Improve error messages for parsers to include parser name and print offending byte(s)