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

config

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config - npm Package Compare versions

Comparing version 3.3.8 to 3.3.9

6

History.md

@@ -0,1 +1,7 @@

Beyond 3.3.7
============
We've moved this content to [Github Releases](https://github.com/node-config/node-config/releases).
Future release notes are managed there.
3.3.7 / 2022-01-11

@@ -2,0 +8,0 @@ ==================

4

package.json
{
"name": "config",
"version": "3.3.8",
"version": "3.3.9",
"main": "./lib/config.js",

@@ -25,3 +25,3 @@ "description": "Configuration control for production node deployments",

"dependencies": {
"json5": "^2.2.1"
"json5": "^2.2.3"
},

@@ -28,0 +28,0 @@ "devDependencies": {

// External libraries are lazy-loaded only if these file types exist.
const util = require("util");
var Yaml = null,

@@ -51,3 +52,8 @@ VisionmediaYaml = null,

Parser.jsParser = function(filename, content) {
return require(filename);
var configObject = require(filename);
if (configObject.__esModule && util.isObject(configObject.default)) {
return configObject.default
}
return configObject;
};

@@ -54,0 +60,0 @@

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