swellstores / swell-js

JS library for building storefronts and checkouts with Swell ecommerce.
https://swell.is
MIT License
138 stars 29 forks source link

fix: building swell-js module in umd format #174

Closed awwit closed 4 months ago

awwit commented 4 months ago

Module build in UMD format has been fixed. Tests have been added to ensure that the module can be built correctly in different formats.

Additionally, the merge utility function has been fixed so that options are passed recursively.

Also, types for the utils namespace have been added.

Unnecessary code and associated modules and scripts were removed. Thanks to this code cleanup, it was possible to eliminate all known vulnerabilities that were detected using npm audit. The vulnerable recompose module has been replaced with redux compose.