Source: datatables.js Severity: normal
If you are wondering why there haven't been any updates lately, I am sad to announce that current versions of datatables.js does not build anymore with the old version of closure-compiler in Debian. So far (up to 1.10.21) I managed to keep it building but we now have reached a point where some of the features used by upstream start to confuse the parser to the point of bailing out. This is a log of the build for the current latest upstream version: DataTables build (1.10.23) - branch: master JS JSHint not installed at /usr/bin/jshint - skipping JS compressing jquery.dataTables.js File size: 83936 JS compressing dataTables.bootstrap5.js File size: 2058 JS compressing dataTables.bootstrap4.js File size: 2098 JS compressing dataTables.bootstrap.js File size: 1979 JS compressing dataTables.bulma.js /tmp/jquery-datatables.2247.HN3wa/dataTables.bulma.js:170: ERROR - Parse error. missing ; before statement let nav = $('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>'); ^ [...] CSS CSS compressing dataTables.bootstrap5.css Error: Invalid CSS after "both": expected expression (e.g. 1px, bold), was ";" on line 7 of /build/datatables.js-1.10.23+dfsg/build/../built/css/dataTables.bootstrap5.css Use --trace for backtrace. File size: 0 I have seen #916145 and I am wondering what to do. Since I'm not a JS guy I can't say if (or for how long) we might be able to patch our way around this. Otherwise it looks like we're going to be stuck with 1.10.21 for the time being. Cheers Sascha [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916145