A sexy pinnacle of engineering that’s nonetheless incredibly inefficient and expensive and goes out of business because it can’t find enough use. It also provides some tools to deal with the browser.
Currently when you use the Cookie module and try to set a cookie with days parameter it must be an Integer, not a decimal. If it is a decimal it fails silently and defaults to session length.
To Reproduce
Steps to reproduce the behavior:
Require the Cookie module
Call the cookie set function with some dummy data and a decimal days parameter: Cookie.set('test', 'test', { days: 10.5 });
Check that the cookie length time defaults to session time on your browser cookie panel.
Expected behavior
Alert the user that decimals can't be used or round the number up or down instead of defaulting to session length
The creation process of new modules is manual right now, and it implies copy&paste an existing module, modify names, update docs, etc. This is error prone and far from being performant.
We export our modules as a single UMD, which works just fine, but adds an extra boilerplate and makes it complicated to perform some tree shaking with webpack or rollup.
The “author” is one person. “contributors” is an array of people.
We are specifying "author": "WeTransfer folks",, which is not correct. We also may want to add ourselves as contributors, or add a generic dev account, like "contributors": ["WeTransfer folks <[email protected]> (https://github.com/WeTransfer)"]