Socket
Socket
Sign inDemoInstall

gemini-configparser

Package Overview
Dependencies
Maintainers
9
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-configparser - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

10

lib/locator.js

@@ -31,2 +31,10 @@ const _ = require('lodash');

function getEnvPrefix(prefixes, envSubKey) {
if (typeof prefixes === 'string') {
return prefixes + envSubKey + '_';
}
return prefixes.map(prefix => prefix + envSubKey + '_');
}
function getNested(option, {namePrefix, envPrefix, cliPrefix}) {

@@ -52,3 +60,3 @@ return (subKey) => {

namePrefix: newName,
envPrefix: `${envName}_`,
envPrefix: getEnvPrefix(envPrefix, envSubKey),
cliPrefix: `${cliFlag}-`

@@ -55,0 +63,0 @@ }

2

package.json
{
"name": "gemini-configparser",
"version": "1.4.0",
"version": "1.4.1",
"description": "Config parser module for gemini",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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