[Pkg-javascript-devel] Bug#988507: Bug#988507: Bug#988507: help needed to prepare upgrade of terser

Pirate Praveen praveen at onenetbeyond.org
Thu Jun 2 17:47:00 BST 2022



On വ്യാ, ജൂൺ 2 2022 at 06:42:11 വൈകു +02:00:00 
+02:00:00, Yadd <yadd at debian.org> wrote:
>> Looks like many tests are failing with this error (probably we 
>> should fix this and retry the full rebuilds to get a better status),
>> 
>> terser -o debian/impress.min.js js/impress.js
>> /usr/share/nodejs/terser/bin/terser:153
>> if (~opts.rawArgs.indexOf("--rename")) {
> 
> It's an error in commander patch, should be:
> 
>   if (~program.rawArgs.indexOf("--rename")) {
> 

Thanks, hope Jonas will upload a fix and I will try rebuilds again 
later.

>> TypeError: Cannot read properties of undefined (reading 'indexOf')
>>     at Object.<anonymous> 
>> (/usr/share/nodejs/terser/bin/terser:153:19)
>>     at Module._compile (node:internal/modules/cjs/loader:1105:14)
>>     at Object.Module._extensions..js 
>> (node:internal/modules/cjs/loader:1159:10)
>>     at Module.load (node:internal/modules/cjs/loader:981:32)
>>     at Function.Module._load 
>> (node:internal/modules/cjs/loader:822:12)
>>     at Function.executeUserEntryPoint [as runMain] 
>> (node:internal/modules/run_main:77:12)
>>     at node:internal/main/run_main_module:17:47
>> 
>> and some
>> 
>> node-chai:
>> uglifyjs.terser : Depends: node-terser (= 4.1.2-10) but it is not 
>> going to be installed
> 
> chai already build-depends on terser; not uglify.terser

yes, it also build depends on webpack which pulls this. I shared the 
full list of packages build depending on uglifyjs.terser in a previous 
reply.



More information about the Pkg-javascript-devel mailing list