[Pkg-javascript-devel] Bug#1010344: FTBFS: some test fails with "An export name cannot include a lone surrogate"
Yadd
yadd at debian.org
Fri Apr 29 10:25:44 BST 2022
Package: node-espree
Version: 9.3.1~dfsg-1
Severity: serious
Justification: FTBFS
Hi,
during rebuild, node-espree test fails with some errors like:
not ok 837 ecmaVersion Modules /13/modules/arbitrary-module-namespace-names/export-all-exported should parse correctly when sourceType is module
An export name cannot include a lone surrogate.
SyntaxError: An export name cannot include a lone surrogate.
at Espree.raise (file:///home/yadd/node-espree/lib/espree.js:242:25)
at Espree.pp$8.parseModuleExportName (file:///usr/share/nodejs/acorn/dist/acorn.mjs:1848:12)
at Espree.pp$8.parseExport (file:///usr/share/nodejs/acorn/dist/acorn.mjs:1640:30)
at Espree.pp$8.parseStatement (file:///usr/share/nodejs/acorn/dist/acorn.mjs:926:74)
at Espree.pp$8.parseTopLevel (file:///usr/share/nodejs/acorn/dist/acorn.mjs:807:21)
at Espree.parseTopLevel (file:///home/yadd/node-espree/lib/espree.js:230:26)
at Espree.parse (file:///usr/share/nodejs/acorn/dist/acorn.mjs:579:15)
at Espree.parse (file:///home/yadd/node-espree/lib/espree.js:152:35)
at Module.parse (file:///home/yadd/node-espree/espree.js:134:38)
at getExpectedResult (file:///home/yadd/node-espree/tests/lib/tester.js:162:30)
at Object.assertMatches (file:///home/yadd/node-espree/tests/lib/tester.js:182:13)
at Context.<anonymous> (file:///home/yadd/node-espree/tests/lib/ecma-version.js:116:28)
Cheers,
Yadd
More information about the Pkg-javascript-devel
mailing list