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.3 to 1.11.4

12

lib/config.js

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

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

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

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

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

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

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

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

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

{
"name": "@marcopeg/utils",
"version": "1.11.3",
"version": "1.11.4",
"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