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

@jalik/deep-extend

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jalik/deep-extend - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

babel.config.js

3

CHANGELOG.md
# Changelog
## v1.1.4
- Updates dependencies
## v1.1.3

@@ -4,0 +7,0 @@ - Updates dependencies

10

dist/index.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -10,3 +8,3 @@ value: true

var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

@@ -53,3 +51,3 @@ /*

// Merge objects
if ((0, _typeof2["default"])(a) === 'object' && (0, _typeof2["default"])(b) === 'object') {
if (_typeof(a) === 'object' && _typeof(b) === 'object') {
// Merge arrays

@@ -59,3 +57,3 @@ if (a instanceof Array && b instanceof Array) {

if (typeof b[index] !== 'undefined') {
if (b[index] !== null && (0, _typeof2["default"])(b[index]) === 'object') {
if (b[index] !== null && _typeof(b[index]) === 'object') {
a[index] = deepExtend(a[index], b[index]);

@@ -73,3 +71,3 @@ } else {

if ((0, _typeof2["default"])(b[key]) === 'object' && b[key] !== null) {
if (_typeof(b[key]) === 'object' && b[key] !== null) {
a[key] = deepExtend(a[key], b[key]);

@@ -76,0 +74,0 @@ } else if (typeof b[key] !== 'undefined') {

{
"name": "@jalik/deep-extend",
"version": "1.1.3",
"version": "1.1.4",
"description": "A utility to merge deep objects.",

@@ -34,18 +34,19 @@ "license": "MIT",

"devDependencies": {
"@babel/core": "^7.5.5",
"acorn": "^6.2.1",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"acorn": "^6.4.0",
"ajv": "^6.10.2",
"babel-preset-airbnb": "^4.0.1",
"del": "^5.0.0",
"babel-eslint": "^10.0.3",
"del": "^5.1.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.13.6",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react": "^7.17.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-eslint": "^5.0.0",
"jest": "^24.8.0"
"jest": "^24.9.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