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

@form-create/utils

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@form-create/utils - npm Package Compare versions

Comparing version 1.0.11 to 1.0.15

4

package.json
{
"name": "@form-create/utils",
"version": "1.0.11",
"version": "1.0.15",
"description": "",

@@ -34,3 +34,3 @@ "main": "./src/index.js",

},
"gitHead": "94ee8d2239eaef119ecdfc216dea7e476dc52d79"
"gitHead": "e46919c12248d450ef195849672b97fa27a8bfeb"
}

@@ -91,3 +91,3 @@ import Vue from 'vue';

export function deepExtend(origin, target = {}) {
export function deepExtend(origin, target = {}, mode) {
let isArr = false;

@@ -102,6 +102,15 @@ for (let key in target) {

nst && $set(origin, key, []);
} else if (clone._clone) {
clone = clone._clone();
if (mode) {
clone = clone.getRule();
nst && $set(origin, key, {});
} else {
$set(origin, key, clone);
continue;
}
} else {
nst && $set(origin, key, {});
}
deepExtend(origin[key], clone);
deepExtend(origin[key], clone, mode);
} else {

@@ -108,0 +117,0 @@ $set(origin, key, clone);

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