Source: node-magic-string
Version: 0.21.3-1
Severity: serious

As seen at
<https://ci.debian.net/packages/n/node-magic-string/unstable/amd64/>, the
node-magic-string package is broken in 0.21.3-1 and above, and cannot even
pass a nodejs require() import:

adt-run [13:47:51]: test require: [-----------------------
/usr/lib/nodejs/magic-string/MagicString.js:10
function MagicString(string, options = {}) {
                                     ^

SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/lib/nodejs/magic-string/index.js:2:23)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
adt-run [13:47:51]: test require: -----------------------]
adt-run [13:47:52]: test require:  - - - - - - - - - - results - - - - - - - - 
- -
require              FAIL non-zero exit status 1

Unfortunately Debian does not consider a regressed autopkgtest a blocker for
testing (which would be useful to help us improve the quality of the
release); but Ubuntu does, so FWIW this will block the new node-magic-string
from reaching the next Ubuntu release until fixed.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to