gajus / http-terminator

Gracefully terminates HTTP(S) server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bundle size increased from 18.6 kB to 819.7 kB between v2.0.3 and v3.0.0

michael-wolfenden opened this issue ยท comments

I believe the large bundle size comes from the dependency on roarr

You can see the bundle size differences between the versions at:
https://bundlephobia.com/package/http-terminator@3.0.0

It does not seem like roarr is the culprit.

https://bundlephobia.com/package/roarr@7.0.3

Either way, this is a server side package. No plans to optimize the dependency size.

@gajus that's not the version of roarr that this library is using. It looks like they have made improvements to their bundle size, would you consider upgrading to the lastest version. I'm currently using this library in an aws lambda function where size is important.

Of course

๐ŸŽ‰ This issue has been resolved in version 3.0.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€