Comparing version 3.3.8 to 3.3.9
@@ -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 @@ ================== |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93799
1796
Updatedjson5@^2.2.3