Skip to content

Releases: evanshortiss/env-var

5.2.0

22 Nov 01:52
be3f7b8
Compare
Choose a tag to compare
  • The required() function now verifies the variable is not an empty string

5.1.0

09 Sep 08:51
Compare
Choose a tag to compare
  • Ability to add custom accessors in PR #72 (thanks @todofixthis)
  • Improved TypeScript tests
  • Fixed warning generated by husky

5.0.0

14 Jun 22:40
e267527
Compare
Choose a tag to compare
  • Return values from asArray() are now more intuitive & consitent
  • asUrlString() and asUrlObjectnow use the built-in URL class in Node.js
    to perform validation
  • README updated in accordance with changes listed above

4.1.0

14 Jun 16:01
Compare
Choose a tag to compare
  • Add asPortNumber() function
  • Update documentation structure

4.0.1

23 May 23:27
Compare
Choose a tag to compare
  • Add node process.env typings to env.from

4.0.0

09 Apr 02:36
dcdbf74
Compare
Choose a tag to compare
  • Rename .env.mock() to env.from()
  • Change module internals per issue #39
  • Update docs related to env.mock

3.5.0

01 Mar 05:53
5b3de89
Compare
Choose a tag to compare
  • Update required() to support boolean parameter to bypass the check

3.4.2

18 Dec 18:59
Compare
Choose a tag to compare
  • Fix README badge copy/paste error

3.4.1

06 Nov 17:59
Compare
Choose a tag to compare
  • Fix TypeScript definition for "asBoolStrict" function name

3.4.0

25 Oct 03:43
Compare
Choose a tag to compare
  • Add convertFromBase64() function
  • Enable Greenkeeper