Skip to content

Commit

Permalink
fix: bump deps, fixed #11
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Jul 2, 2019
1 parent 50bf590 commit abb529f
Show file tree
Hide file tree
Showing 3 changed files with 1,363 additions and 285 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"author": "Nick Baugh <niftylettuce@gmail.com>",
"bugs": "https://github.com/niftylettuce/dotenv-parse-variables/issues",
"dependencies": {
"debug": "^3.1.0"
"debug": "^4.1.1"
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-preset-crocodile": "^1.0.0",
"chai": "^4.1.1",
"codecov": "^3.0.2",
"chai": "^4.2.0",
"codecov": "^3.5.0",
"dirty-chai": "^2.0.1",
"dotenv": "^5.0.1",
"dotenv": "^8.0.0",
"eslint-config-crocodile": "^1.0.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^5.2.0"
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.x"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function parseKey(value, key) {
// Boolean
if (value.toString().toLowerCase() === 'true' || value.toString().toLowerCase() === 'false') {
debug(`key ${key} parsed as a Boolean`);
return value === 'true';
return value.toString().toLowerCase() === 'true';
}

// Number
Expand Down
Loading

0 comments on commit abb529f

Please sign in to comment.