Skip to content

Commit

Permalink
chore: prepare 7.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evanshortiss committed Oct 28, 2021
1 parent d1be5b5 commit 03f4fc2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 7.1.0
* Support type narrowed `process.env`/record and remove unused type (#148)
* Add support for `readonly T[]` generic use with `asEnum()`

## 7.0.1
* Fix loose float and int parsing (PR #144)

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const PASSWORD = env.get('DB_PASSWORD')
.asString();

// Read in a port (checks that PORT is in the range 0 to 65535)
// Alternatively, use amdefault value of 5432 if PORT is not defined
// Alternatively, use a default value of 5432 if PORT is not defined
const PORT = env.get('PORT').default('5432').asPortNumber()
```

Expand Down Expand Up @@ -143,6 +143,7 @@ Contributions are welcomed and discussed in [CONTRIBUTING.md](CONTRIBUTING.md).
* @itavy
* @jerome-fox
* @joh-klein
* @Lioness100
* @MikeyBurkman
* @pepakriz
* @rmblstrp
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "env-var",
"version": "7.0.1",
"version": "7.1.0",
"description": "Verification, sanitization, and type coercion for environment variables in Node.js",
"main": "env-var.js",
"typings": "env-var.d.ts",
Expand Down

0 comments on commit 03f4fc2

Please sign in to comment.