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

cosmiconfig

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmiconfig - npm Package Compare versions

Comparing version 8.1.2 to 8.1.3

14

dist/index.js

@@ -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

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