Skip to content

Releases: evanshortiss/env-var

3.3.0

26 Jun 18:39
Compare
Choose a tag to compare
  • Add asEnum functionality

3.2.0

15 Feb 16:31
Compare
Choose a tag to compare
  • Remove @types/node dependency

3.1.0

12 Dec 03:31
8d9ec83
Compare
Choose a tag to compare
  • Update typings to correctly handle default values for numeric types.
  • Ensure an error is thrown when asArray does not detect at least a single non-empty value.

3.0.2

20 Oct 04:54
Compare
Choose a tag to compare
  • restore support for browser based applications

3.0.1

19 Oct 16:46
Compare
Choose a tag to compare
  • Fix bug that caused default values to be ignored

3.0.0

14 Oct 01:05
Compare
Choose a tag to compare
  • Public API no longer is a function, instead exposes two functions, mock and get
  • Drop support for Node.js versions less than 4.0
  • Rename asPositiveInt to asIntPositive
  • Rename asNegativeInt to asIntNegative
  • Rename asStrictBool to asBoolStrict
  • Add asFloatPositive and asFloatNegative
  • Add asUrlString and asUrlObject
  • Refactor code with consistent errors and structure
  • Use standard for code quality and formatting

2.4.3

05 Apr 22:08
Compare
Choose a tag to compare

Update CI. Add Coveralls. Backdate changelog.

fix for typings

20 Dec 02:24
Compare
Choose a tag to compare
2.4.2

Fix typescript typings again (#7)

patch to remove unnecessary code path (fixes build)

15 Dec 22:26
Compare
Choose a tag to compare

add new methods asArray, asJsonArray, asJsonObject

15 Dec 22:20
Compare
Choose a tag to compare