@contrail/util
Advanced tools
Comparing version 1.0.19 to 1.0.20
export * from './object-util/object-util'; | ||
export * from './string-util/string-util'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function cloneDeep(obj: any): any; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface ObjectDiff { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare const item1Assortment1: { |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function isObject(item: any): boolean; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function mergeDeep(target: any, ...sources: any[]): any; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -5,2 +5,3 @@ import { cloneDeep } from './cloneDeep/cloneDeep'; | ||
import { getObjectDiffs } from './compareDeep/compareDeep'; | ||
import { applyChangesIfEqual } from './applyChangesIfEqual/applyChangesIfEqual'; | ||
export { ObjectDiff } from './compareDeep/compareDeep'; | ||
@@ -14,2 +15,3 @@ export declare class ObjectUtil { | ||
static compareDeep: typeof getObjectDiffs; | ||
static applyChangesIfEqual: typeof applyChangesIfEqual; | ||
} |
@@ -8,2 +8,3 @@ "use strict"; | ||
const compareDeep_1 = require("./compareDeep/compareDeep"); | ||
const applyChangesIfEqual_1 = require("./applyChangesIfEqual/applyChangesIfEqual"); | ||
class ObjectUtil { | ||
@@ -42,1 +43,2 @@ static getByPath(obj, path, def = null) { | ||
ObjectUtil.compareDeep = compareDeep_1.getObjectDiffs; | ||
ObjectUtil.applyChangesIfEqual = applyChangesIfEqual_1.applyChangesIfEqual; |
@@ -0,0 +0,0 @@ export declare class StringUtil { |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@contrail/util", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "General javascript utilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18228
20
481
0