[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#962637: node-left-pad -- String left-pad



Hi,

> This is the infamous left-pad package used to left-pad strings.
> The project is archived and this tool is now deprecated. The recommendation
> is to use String.prototype.padStart() instead. However, due to the
> ubiquity of this package in other node projects it is useful to have this
> packaged.

Please don't package already deprecated things in Debian - if you reallz
need it for compat reasons, make it a wrapper around
String.prototype.padStart().


Bernd
-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


Reply to: