cosmiconfig
Advanced tools
Comparing version 8.1.2 to 8.1.3
@@ -79,3 +79,3 @@ "use strict"; | ||
}; | ||
return normalizeOptions(moduleName, mergedOptions, false); | ||
return normalizeOptions(moduleName, mergedOptions); | ||
} | ||
@@ -108,3 +108,3 @@ | ||
function normalizeOptions(moduleName, options, mergeLoaders = true) { | ||
function normalizeOptions(moduleName, options) { | ||
const defaults = { | ||
@@ -124,11 +124,3 @@ packageProp: moduleName, | ||
if (options.loaders) { | ||
// to be used for the upcoming loaders-in-config | ||
/* istanbul ignore next -- @preserve */ | ||
if (mergeLoaders) { | ||
Object.assign(loaders, options.loaders); | ||
} else { | ||
loaders = { ...options.loaders | ||
}; | ||
} | ||
Object.assign(loaders, options.loaders); | ||
} | ||
@@ -135,0 +127,0 @@ |
{ | ||
"name": "cosmiconfig", | ||
"version": "8.1.2", | ||
"version": "8.1.3", | ||
"description": "Find and load configuration from a package.json property, rc file, or CommonJS module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
103094
707