Skip to content

Commit abb529f

Browse files
committed
fix: bump deps, fixed #11
1 parent 50bf590 commit abb529f

File tree

3 files changed

+1363
-285
lines changed

3 files changed

+1363
-285
lines changed

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
"author": "Nick Baugh <[email protected]>",
66
"bugs": "https://github.com/niftylettuce/dotenv-parse-variables/issues",
77
"dependencies": {
8-
"debug": "^3.1.0"
8+
"debug": "^4.1.1"
99
},
1010
"devDependencies": {
11-
"babel-cli": "^6.11.4",
12-
"babel-plugin-add-module-exports": "^0.2.1",
11+
"babel-cli": "^6.26.0",
12+
"babel-plugin-add-module-exports": "^1.0.2",
1313
"babel-preset-crocodile": "^1.0.0",
14-
"chai": "^4.1.1",
15-
"codecov": "^3.0.2",
14+
"chai": "^4.2.0",
15+
"codecov": "^3.5.0",
1616
"dirty-chai": "^2.0.1",
17-
"dotenv": "^5.0.1",
17+
"dotenv": "^8.0.0",
1818
"eslint-config-crocodile": "^1.0.0",
1919
"istanbul": "^1.1.0-alpha.1",
20-
"mocha": "^5.2.0"
20+
"mocha": "^6.1.4"
2121
},
2222
"engines": {
2323
"node": ">= 6.x"

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function parseKey(value, key) {
5050
// Boolean
5151
if (value.toString().toLowerCase() === 'true' || value.toString().toLowerCase() === 'false') {
5252
debug(`key ${key} parsed as a Boolean`);
53-
return value === 'true';
53+
return value.toString().toLowerCase() === 'true';
5454
}
5555

5656
// Number

0 commit comments

Comments
 (0)