[Pkg-javascript-devel] Bug#983190: Bug#983190: Bug#983190: datatables.js: upstream versions >1.10.21 do not build with Debian's closure-compiler
Sascha Steinbiss
satta at debian.org
Sun Feb 21 09:37:31 GMT 2021
Hi again,
> However, I noticed that uglifyjs complains about the same line
> closure-compiler did:
>
> JS compressing dataTables.bulma.js
> Parse error at /tmp/jquery-datatables.23860.03SeC/dataTables.bulma.js:170,5
> let nav = $('<nav class="pagination" role="navigation"
> aria-label="pagination">
> ^
> SyntaxError: Unexpected token: name (nav)
> at JS_Parse_Error.get (eval at <anonymous>
> (/usr/lib/nodejs/uglify-js/tools/node.js:33:1), <anonymous>:84:23)
> at /usr/lib/nodejs/uglify-js/bin/uglifyjs:384:40
> at time_it (/usr/lib/nodejs/uglify-js/bin/uglifyjs:620:15)
> at /usr/lib/nodejs/uglify-js/bin/uglifyjs:345:9
> at FSReqCallback.readFileAfterClose [as oncomplete]
> (internal/fs/read_file_context.js:63:3)
Sorry, nevermind... I used the old "node-uglify" package instead of the
newer "uglifyjs" package. After switching to the latter to provide the
uglifyjs executable, I can process this file with no problems.
So looks like we've sorted this out :) I don't assume uploading and
updating with such changes would be acceptable in the soft freeze, would
it?
Cheers
Sascha
More information about the Pkg-javascript-devel
mailing list