Make `process.env` Explicit
Changed
- Move to simple validator functions like
string,boolean,numberandintegerenvvarhad some issues withErrorinheritance that caused stack issues
- Require
sourcesto be passed into the package explicitly- Allows non-node.js environments such as
webpackand Cloudflare Workers (which may just pull from variables)
- Allows non-node.js environments such as
- New error object
- Shrinking overall dependency size by removing
combine-errorsand other error-related dependencies
- Shrinking overall dependency size by removing
Historical change log: History.md