Socket
Socket
Sign inDemoInstall

defu

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

defu - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [3.0.1](https://github.com/nuxt-contrib/defu/compare/v3.0.0...v3.0.1) (2020-07-29)
### Bug Fixes
* recursively pass merger ([ec09394](https://github.com/nuxt-contrib/defu/commit/ec09394d77533cd0a4753a943a5d6fbd25ef308d))
## [3.0.0](https://github.com/nuxt-contrib/defu/compare/v2.0.4...v3.0.0) (2020-07-28)

@@ -7,0 +14,0 @@

4

dist/defu.js

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

if (!isObject(defaults)) {
return _defu(baseObj, {});
return _defu(baseObj, {}, merger);
}

@@ -34,3 +34,3 @@

} else if (isObject(val) && isObject(obj[key])) {
obj[key] = _defu(val, obj[key]);
obj[key] = _defu(val, obj[key], merger);
} else {

@@ -37,0 +37,0 @@ obj[key] = val;

{
"name": "defu",
"version": "3.0.0",
"version": "3.0.1",
"description": "Recursively assign default properties. Lightweight and Fast!",

@@ -5,0 +5,0 @@ "repository": "nuxt-contrib/defu",

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