[DRE-maint] Bug#1117882: cannot use uglifier/terser in Debian's sprockets package
Joe Nahmias
joe at nahmias.net
Sun Oct 12 04:32:50 BST 2025
Control: tags -1 + patch
On Sat, Oct 11, 2025 at 11:01:55PM -0400, Joseph Nahmias wrote:
> Package: ruby-sprockets
> Version: 4.2.1-3
> Severity: important
> X-Debbugs-Cc: Pirate Praveen <praveen at debian.org>, joe at nahmias.net
>
> Hello,
>
> Debian's package for sprockets overrides the usage of uglifier to terser.
> However, there is a version number check in uglifier_compressor.rb which
> is not properly handled leading to the inability to use uglifier or terser
> as part of the sprockets js asset pipeline.
>
> For example, when trying to build the assets for mailcatcher, I get:
>
> $ rake assets
> rake aborted!
> uglifier 1.x is no longer supported, please upgrade to 2.x or newer
>
> We should remove the version check so that this works properly. I plan to
> submit an MR in salsa to do this.
>
> --Joe
Submitted the merge request on salsa:
https://salsa.debian.org/ruby-team/ruby-sprockets/-/merge_requests/1
--Joe
More information about the Pkg-ruby-extras-maintainers
mailing list