env-create
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -11,3 +11,3 @@ const fs = require('fs') | ||
* code can rely on the environment variables existing. | ||
* @param {{path:string, encoding:string} options | ||
* @param {{path?:string, encoding?:string} options | ||
*/ | ||
@@ -18,3 +18,3 @@ const load = (options) => { | ||
const encoding = (options && options.encoding) || DEFAULT_ENCODING | ||
// don't allow an options.path of zero length, i.e. '' | ||
if (jsonPath.length < 1) {jsonPath = getDefaultPath()} | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "env-create", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Read in a .env.json file that contains valid JSON and assign top level properties to environment variables", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"lint": "eslint lib --color", | ||
"build": "npm run lint && npm test && git add -A && git commit -m 'build commit ' && npm version patch && npm publish " | ||
"build": "npm run lint && npm test && git add -A && npm version patch && npm publish " | ||
}, | ||
@@ -17,0 +17,0 @@ "author": "Tod Gentille", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9242
98