You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http-assert targets very old Node.js version (0.8) and thus includes bloated deep-equal dependency that can be, for example, replaced with a much smaller alternative dequal. http-assert itself is just a few lines really so I would argue copying these lines over and replacing deep-equal with dequal would be beneficial, improving install size and install time.
The text was updated successfully, but these errors were encountered:
The "install size" is the size your hard drive will report after running npm install. This includes the package, all of the dependencies, and its dependency's dependencies...and so on.
Installation size isn't necessarily a metric Koa is tracking or cares too much about. A clean install of Koa is sub 2mb which in "node_modules theory" is considered negligible. For this reason alone http-assert will not be replaced.
http-assert targets very old Node.js version (0.8) and thus includes bloated deep-equal dependency that can be, for example, replaced with a much smaller alternative dequal. http-assert itself is just a few lines really so I would argue copying these lines over and replacing deep-equal with dequal would be beneficial, improving install size and install time.
The text was updated successfully, but these errors were encountered: