Package: pkg-js-tools Version: 0.12.9 Severity: important -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
EcmaScript modules are supported since nodejs v12.20.0, as documented at https://nodejs.org/api/esm.html#modules-ecmascript-modules (in the "History" foldout). EcmaScript modules can export functions in two ways, and only in one of them will a default export exists: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export#description When pkg-js-tools detects that a Node.js library is an EcmaScript module it runs a test with the assumption that a default export exists. This fails for EcmaScript modules using named export. An example is the module espree. Upgrading Debian package node-espree requires _avoiding_ pkg-js-tools, because the autopkgtest will fail and apparently cannot be overridden (seems only additionally added tests can be overridden). Setting severity=important due to the affect of upgradability of existing packages. - Jonas -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmIXqXYACgkQLHwxRsGg ASFn4Q//RXdtPNjpWsoyFPLuselxRWi+t2jgNWu+0fTQpMCrOTuyF0ftZg8hyUPe boLD60GZgwRNtFbJ7+V9RJc5owve0wyOBP4EuCsVauJ4Np4EvDkAIuO2V8F6WFAv 2Z3e8eTZrXZaP1DWaY9b3zWTFoQPRabayH0avaqp1bV6CDr3i/2iITmvpgX8cQi+ vTFwHVSac8P+c7FzvhAXlN9juad7f0i78W36qLdd0ZjLJUZ1clJcV2TekzZqHIgf dwCWlA539XGLa+ihRVtiybysMJIUqdMyCgkjAbOHhS4bG0kMpqh67GL568FVEzec YBDyYw8ALaj7IaWw/P0pSaJ9aAk3Ett8cU5c3I148I4I1VdMNWxy1AYiiu8pPvYm 3/gBmltLcYT5Iq2ZfMs7BcpYX+HOCxkA3zmWr4NRCzFgy437e/7iPkjc+deIMkKg YVRhii36rM/NRPg92iQtV11JlFXohdvKMd7B7uMWu9WgL+YzBHM3pehsYgplACJq KrZThFIT2Txz0Cya6fqZnmSva94zgTzAAxHjpZWF4Zbh/15z+S4b6Xymi+gW4ylx p3pGY0vwYy8coujY1UjJ5IW6+pVNGq923rAgU7jG0k/D3YJ8D6eH+k4L6LUWA4hI ObAud0jCeg/50Xask0Fw40V8MzrpBuTa2w1Mo8/+KxuD5i/mcDs= =Gz+t -----END PGP SIGNATURE----- -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel