Socket
Socket
Sign inDemoInstall

now-env

Package Overview
Dependencies
0
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.4 to 3.1.0

2

lib/load-now-json.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc