Skip to content

Releases: matthewmueller/envobj

Remove `Map` and `Set`

23 Jan 21:17

Choose a tag to compare

Fixed

  • Remove Map and Set usage for old browsers

Require One `source`

23 Jan 04:04

Choose a tag to compare

Added

  • Require at least one source for envobj to work (via type definition)

Make `process.env` Explicit

23 Jan 03:49

Choose a tag to compare

Changed

  • Move to simple validator functions like string, boolean, number and integer
    • envvar had some issues with Error inheritance that caused stack issues
  • Require sources to be passed into the package explicitly
    • Allows non-node.js environments such as webpack and Cloudflare Workers (which may just pull from variables)
  • New error object
    • Shrinking overall dependency size by removing combine-errors and other error-related dependencies

Historical change log: History.md