@contrail/util
Advanced tools
Comparing version 1.0.11 to 1.0.12
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"; |
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"; |
import { cloneDeep } from './cloneDeep/cloneDeep'; | ||
import { isObject } from './isObject/isObject'; | ||
import { mergeDeep } from './mergeDeep/mergeDeep'; | ||
import { getObjectDiffs } from './compareDeep/compareDeep'; | ||
export { ObjectDiff } from './compareDeep/compareDeep'; | ||
export declare class ObjectUtil { | ||
@@ -10,2 +12,3 @@ static getByPath(obj: any, path: string, def?: any): any; | ||
static cloneDeep: typeof cloneDeep; | ||
static compareDeep: typeof getObjectDiffs; | ||
} |
@@ -7,2 +7,3 @@ "use strict"; | ||
const mergeDeep_1 = require("./mergeDeep/mergeDeep"); | ||
const compareDeep_1 = require("./compareDeep/compareDeep"); | ||
class ObjectUtil { | ||
@@ -40,1 +41,2 @@ static getByPath(obj, path, def = null) { | ||
ObjectUtil.cloneDeep = cloneDeep_1.cloneDeep; | ||
ObjectUtil.compareDeep = compareDeep_1.getObjectDiffs; |
export declare class StringUtil { | ||
static convertToHyphenCase(entityName: string, transformToLowerCase?: boolean): string; | ||
} |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@contrail/util", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "General javascript utilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13544
18
373
2