now-env
Advanced tools
Comparing version 3.0.4 to 3.1.0
@@ -12,3 +12,3 @@ const { resolve } = require('path') | ||
function loadNowJSON(secrets = {}, required = {}) { | ||
const NOW_PATH = resolve('./now.json') | ||
const NOW_PATH = resolve(process.env.NOW_CONFIG || './now.json') | ||
@@ -15,0 +15,0 @@ try { |
{ | ||
"name": "now-env", | ||
"version": "3.0.4", | ||
"version": "3.1.0", | ||
"description": "Use `now.json` environment variables while developing", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -29,2 +29,4 @@ # now-env | ||
If using this with [Next.js](https://github.com/zeit/next.js), follow the example at [`next.js/examples/with-now-env`](https://github.com/zeit/next.js/tree/canary/examples/with-now-env) to make sure `now-env` only runs on the server at build time. | ||
### Secrets | ||
@@ -31,0 +33,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
10392
96
11