New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

config-mapper-env

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-mapper-env - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

9

index.js

@@ -7,2 +7,11 @@ const _ = require('lodash');

// array get converted to objects when mapped, which may lead to hard-to-discover bugs
if (Array.isArray(value)) {
if (value.some(item => _.isObject(item))) {
console.warn(`Warning: Mapping individual array items to environment variables is not supported. You may override the whole array via ${key} or use an object with numeric keys instead.`);
}
return key;
}
// nested object

@@ -9,0 +18,0 @@ if (_.isObject(value)) {

2

package.json
{
"name": "config-mapper-env",
"description": "Maps configuration from config module files to environment variables.",
"version": "2.0.0",
"version": "3.0.0",
"homepage": "https://github.com/MartinKolarik/config-mapper-env/",

@@ -6,0 +6,0 @@ "github": "https://github.com/MartinKolarik/config-mapper-env/",

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