On 17/03/2022 19:21, Jérémy Lal wrote:
Source: node-lodash
Version: 4.17.21+dfsg+~cs8.31.196.20210220-2
Severity: important
Tags: ftbfs

This package fails to rebuild. Build log is attached.

The real problem comes from uglify-js call. Build works fine with uglifyjs 2 (as required by node-locash/package.json) but fails with uglify-js 3. Here is the real error:

error: JS_Parse_Error [SyntaxError]: Invalid flags supplied to RegExp constructor 'node' at JS_Parse_Error.get (eval at <anonymous> (/build/node-lodash-wQJpO3/node-lodash-4.17.21+dfsg+~cs8.31.198.20210220/node_modules/uglify-js/tools/node.js:18:1), <anonymous>:63:23)
      at formatError (internal/util/inspect.js:1149:38)
      at formatRaw (internal/util/inspect.js:919:14)
      at formatValue (internal/util/inspect.js:774:10)
      at formatProperty (internal/util/inspect.js:1660:11)
      at formatRaw (internal/util/inspect.js:987:9)
      at formatValue (internal/util/inspect.js:774:10)
      at inspect (internal/util/inspect.js:319:10)
      at formatWithOptionsInternal (internal/util/inspect.js:1979:40)
      at formatWithOptions (internal/util/inspect.js:1861:10) {
    filename: '0',
    line: 1,
    col: 0,
    pos: 0

Reply via email to