Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@marcopeg/utils

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marcopeg/utils - npm Package Compare versions

Comparing version 1.11.2 to 1.11.3

12

lib/config.js

@@ -10,8 +10,3 @@ 'use strict';

var _require = require('./logger'),
logDebug = _require.logDebug;
// allow to perform module memoization
module.cache = {};

@@ -27,4 +22,5 @@

*/
var init = function init(envVars) {
var init = function init(envVars, debug) {
module.cache.envVars = Object.assign({}, envVars);
module.cache.debug = debug;
};

@@ -37,3 +33,3 @@

if (defaultValue) {
logDebug(key + '::default::' + defaultValue);
module.cache.debug && console.log(key + '::default::' + defaultValue);
return defaultValue;

@@ -44,3 +40,3 @@ }

}
logDebug(key + '::' + pool[key]);
module.cache.debug && console.log(key + '::' + pool[key]);
return pool[key];

@@ -47,0 +43,0 @@ };

{
"name": "@marcopeg/utils",
"version": "1.11.2",
"version": "1.11.3",
"description": "Javascript utils for server and client projects",

@@ -5,0 +5,0 @@ "main": "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