Bug#962637: node-left-pad -- String left-pad
- To: fancycade <fancycade@protonmail.com>, 962637@bugs.debian.org
- Subject: Bug#962637: node-left-pad -- String left-pad
- From: Bernd Zeimetz <bernd@bzed.de>
- Date: Thu, 11 Jun 2020 12:30:56 +0200
- Message-id: <[🔎] fb303071-d794-cecf-07d7-d0a3d4e12758@bzed.de>
- Reply-to: Bernd Zeimetz <bernd@bzed.de>, 962637@bugs.debian.org
- In-reply-to: <4gc_fTQHZ1VjAafPEttxlsTZEOJarXkxdBADajtipA30d3nipzPOwVQqqmTCooZiJCPml4y7pvd-8tx77hcGbALeTAYWV03JYfpWIVZk-3s=@protonmail.com>
- References: <4gc_fTQHZ1VjAafPEttxlsTZEOJarXkxdBADajtipA30d3nipzPOwVQqqmTCooZiJCPml4y7pvd-8tx77hcGbALeTAYWV03JYfpWIVZk-3s=@protonmail.com> <4gc_fTQHZ1VjAafPEttxlsTZEOJarXkxdBADajtipA30d3nipzPOwVQqqmTCooZiJCPml4y7pvd-8tx77hcGbALeTAYWV03JYfpWIVZk-3s=@protonmail.com>
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: