[Pkg-javascript-devel] [RFS] -- node-tslib 2.3.1

Nilesh Patra nilesh at nileshpatra.info
Tue Sep 7 12:07:16 BST 2021


On 9/7/21 4:23 PM, Vivek K J wrote:
> 
> On 07/09/21 3:39 pm, Nilesh Patra wrote:
>> Hi Vivek,
>>
>> On 9/7/21 3:15 PM, VIVEK K J wrote:
>>> Hi maintainers,
>>>
>>> I've been updated node-tslib package to 2.3.1 for one of my ongoing package.
>> Cool, although this might not be a major change, but have you tried checking a few reverse-dependencies yet?
> No. I haven't checked.
>> Actually, node-rollup-plugin-typescript is a bit of an important one.
>> Let me know.
> 
> Actually i was trying to pack rxjs node module. While building the package I got a error just like this:
> This syntax requires an imported helper named '__spreadArray' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.ts(2343)
> So on searching I got the solution is to update tslib to latest (^2.2.0). That's why I updated tslib to latest. (https://github.com/microsoft/TypeScript/issues/37991#issuecomment-836152360)

Yeah, this is because of the API change in that function with this release, see here[1] (yellow color :))
There is actually one more change, see this one[2] which might break certain things. Can I ask you to test a few reverse-dependencies
with this new tslib? this script could help you accomplish that[3]

OR,
If you don't want to do this, can you grep the changed APIs in the sources of the important reverse dependencies, and see if this new update could
possibly break it?

>>>   updated package is available at
>>> https://salsa.debian.org/vivekkj/node-tslib. Requesting for sponsorship.
>> Looks good, why don't you push directly to the javascript team salsa?
>> I see that you have maintainer access there already.
> I thought I can't directly push to team repo without asking in mailing list.

You can push anything you want, and whenever you'd like -- as long as you think it is sensible to push :)

[1]: https://salsa.debian.org/vivekkj/node-tslib/-/commit/413e0a0b62d8d7774193629396d797e11fee2fd7#37af3f2db9a86ce32ebbf466e1ed9e804fbfd5ef_31_30
[2]: https://salsa.debian.org/vivekkj/node-tslib/-/commit/413e0a0b62d8d7774193629396d797e11fee2fd7#80ee5ae52e68b8fb47aed1edb9da1bba2c7d4ddd_229_228
[3]: https://salsa.debian.org/ruby-team/meta

Nilesh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210907/5881b80a/attachment.sig>


More information about the Pkg-javascript-devel mailing list