[Pkg-javascript-devel] Bug#1004471: Bug#1004471: Pending patch for terser-webpack-plugin in webpack 5 till a new upstream for node-terser is uploaded

Jonas Smedegaard jonas at jones.dk
Sat Feb 5 15:04:33 GMT 2022


Quoting Caleb Adepitan (2022-02-05 11:42:51)
> 
> 
> On 2/4/22 3:45 PM, Jonas Smedegaard wrote:
> > Quoting Caleb Adepitan (2022-02-04 08:46:29)
> >> I just arrived at a working patch for terser-webpack-plugin to 
> >> circumvent breaking changes in node-terser 5 which is required by 
> >> the package. The available version of node-terser in debian is 4 
> >> which is behind the terser package upstream.
> >>
> >> This patch is an ad-hoc fix for the bug pending the node-terser 
> >> package is updated to a compatible version.
> > 
> > This _relates_ to NodeJS module terser, but is it most specifically 
> > tied to terser, webpack, or terser-webpack-plugin?
> > 
> > You post the above to bug#1004471 which is tied to Debian package 
> > node-terser, but your presented patch seems not for terser but for 
> > something else - webpack or terser-webpack-plugin.
> > 
> > Helpful if you can clarify further what fixes what (not only for 
> > what end goal).
[...]
> This affects terser-webpack-plugin which affects webpack 5. This patch 
> relates to *terser-webpack-plugin* (not terser itself) to circumvent 
> breaking changes in terser 5. The current terser-webpack-plugin has 
> been adapted to use terser 5 while the version available to it is 
> terser 4.
> 
> The patch makes sure terser 4 continues to work with the package while 
> not preventing terser 5 also.

You continue to talk about some mysterious "terser-webpack-plugin" which 
I fail to locate in Debian, and you do that in a bugreport targeted 
"terser".  Do you see how that is confusing?

After some investigation (which I had hoped you would have avoided by 
clarifying for me), I discovered that "terser-webpack-plugin" is 
embedded in the Debian package "webpackage".

I have now filed bug#1005017 regarding the lack of proper hinting about 
that embedded project.  Not your fault that webpack is a mess, but would 
have helped regardless if you had mentioned from a *Debian* viewpoint 
what you were working on (not only from an NPM viewpoint).

Please, if you want some changes done to the Debian package "terser" 
then clarify what that action is (I don't recognize from the previously 
attached patch what action for the **ter** package is requested).

Please, if instead you intent no changes for the "terser" package, just 
want to notify about progress elsewhere in the stack, then clarify that.


Kind regards, and thanks for your work,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220205/b08ffe7f/attachment.sig>


More information about the Pkg-javascript-devel mailing list