@common-stack/client-core
Advanced tools
Comparing version 3.0.2-alpha.1 to 3.0.2-alpha.2
@@ -55,3 +55,3 @@ import*as React from'react';import {merge,without,union,map,castArray}from'lodash';import {Container}from'inversify';/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
// Shared modules data | ||
this.data = combine([{}].concat(Array.from(arguments)), (arg) => arg.data).reduce((acc, el) => [Object.assign(Object.assign({}, acc[0]), el)], [{}]); | ||
this.data = combine([{}].concat(Array.from(arguments)), (arg) => arg.data).reduce((acc, el) => [{ ...acc[0], ...el }], [{}]); | ||
} | ||
@@ -69,3 +69,3 @@ get envalidConfigs() { | ||
} | ||
return Object.assign(Object.assign({}, prev), config); | ||
return { ...prev, ...config }; | ||
} | ||
@@ -188,3 +188,3 @@ }, {}); | ||
else { | ||
mergedProps = Object.assign(Object.assign({}, mergedProps), { [item]: insideEl[item] }); | ||
mergedProps = { ...mergedProps, [item]: insideEl[item] }; | ||
} | ||
@@ -191,0 +191,0 @@ }); |
{ | ||
"name": "@common-stack/client-core", | ||
"version": "3.0.2-alpha.1", | ||
"version": "3.0.2-alpha.2", | ||
"description": "common core for higher packages to depend on", | ||
@@ -8,2 +8,3 @@ "license": "ISC", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
@@ -23,3 +24,3 @@ "scripts": { | ||
"dependencies": { | ||
"@common-stack/core": "3.0.2-alpha.0" | ||
"@common-stack/core": "3.0.2-alpha.2" | ||
}, | ||
@@ -36,3 +37,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "0304005c45dc61ac15df54ba07ef76e475213c01" | ||
"gitHead": "c093e43584e807c9dc823e6d78deaaa51b739d9f" | ||
} |
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
43484
+ Added@common-stack/core@3.0.2-alpha.2(transitive)
- Removed@common-stack/core@3.0.2-alpha.0(transitive)