Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@ladjs/shared-config

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ladjs/shared-config - npm Package Compare versions

Comparing version
9.1.0
to
9.1.1
+4
-0
index.js

@@ -14,2 +14,3 @@ const fs = require('fs');

// eslint-disable-next-line complexity
function sharedConfig(prefix, env = process.env.NODE_ENV || 'development') {

@@ -109,2 +110,5 @@ prefix = prefix.toUpperCase();

redis: {
username: process.env[`${prefix}_REDIS_USERNAME`]
? process.env[`${prefix}_REDIS_USERNAME`]
: null,
port: process.env[`${prefix}_REDIS_PORT`]

@@ -111,0 +115,0 @@ ? Number.parseInt(process.env[`${prefix}_REDIS_PORT`], 10)

+1
-1
{
"name": "@ladjs/shared-config",
"description": "Shared configuration for Lad's API and Web servers",
"version": "9.1.0",
"version": "9.1.1",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",

@@ -6,0 +6,0 @@ "bugs": {