Socket
Socket
Sign inDemoInstall

now-env

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

now-env - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

lib/module.js

3

lib/load-now-json.js
const { resolve } = require('path')
const applyEnv = require('./apply-env.js')
const isModuleMissing = require('./module.js')

@@ -22,3 +23,3 @@ /**

} catch (error) {
if (error.code === 'MODULE_NOT_FOUND') {
if (isModuleMissing(error)) {
return false

@@ -25,0 +26,0 @@ }

const { resolve } = require('path')
const applyEnv = require('./apply-env.js')
const isModuleMissing = require('./module.js')

@@ -22,3 +23,3 @@ /**

} catch (error) {
if (error.code === 'MODULE_NOT_FOUND') {
if (isModuleMissing(error)) {
return false

@@ -25,0 +26,0 @@ }

const { resolve } = require('path')
const isModuleMissing = require('./module.js')

@@ -13,3 +14,3 @@ /**

} catch (error) {
if (error.code === 'MODULE_NOT_FOUND') {
if (isModuleMissing(error)) {
return {}

@@ -16,0 +17,0 @@ }

const { resolve } = require('path')
const isModuleMissing = require('./module.js')

@@ -13,3 +14,3 @@ /**

} catch (error) {
if (error.code === 'MODULE_NOT_FOUND') {
if (isModuleMissing(error)) {
return {}

@@ -16,0 +17,0 @@ }

{
"name": "now-env",
"version": "3.0.2",
"version": "3.0.3",
"description": "Use `now.json` environment variables while developing",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc