@humany/utils
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -1,3 +0,3 @@ | ||
declare const deepClone: (data: any) => any; | ||
declare const deepClone: <Type>(data: Type) => Type; | ||
export default deepClone; | ||
//# sourceMappingURL=deep-clone.d.ts.map |
@@ -15,3 +15,3 @@ // todo: consolidate with merge in component platform | ||
// Copy nested objects and arrays recursively | ||
out[key] = (typeof value === 'object' && value !== null) ? deepClone(value) : value; | ||
out[key] = typeof value === 'object' && value !== null ? deepClone(value) : value; | ||
} | ||
@@ -18,0 +18,0 @@ return out; |
@@ -19,2 +19,3 @@ export { default as camilize } from './camilize'; | ||
export { default as deepClone } from './deep-clone'; | ||
export { default as mergeDeep } from './merge-deep'; | ||
export { default as shallowCompare } from './shallow-compare'; | ||
@@ -21,0 +22,0 @@ export { default as findAndActivateStoredWidgets } from './find-and-activate-stored-widgets'; |
@@ -19,2 +19,3 @@ export { default as camilize } from './camilize'; | ||
export { default as deepClone } from './deep-clone'; | ||
export { default as mergeDeep } from './merge-deep'; | ||
export { default as shallowCompare } from './shallow-compare'; | ||
@@ -21,0 +22,0 @@ export { default as findAndActivateStoredWidgets } from './find-and-activate-stored-widgets'; |
@@ -1,3 +0,3 @@ | ||
declare const deepClone: (data: any) => any; | ||
declare const deepClone: <Type>(data: Type) => Type; | ||
export default deepClone; | ||
//# sourceMappingURL=deep-clone.d.ts.map |
@@ -17,3 +17,3 @@ "use strict"; | ||
// Copy nested objects and arrays recursively | ||
out[key] = (typeof value === 'object' && value !== null) ? deepClone(value) : value; | ||
out[key] = typeof value === 'object' && value !== null ? deepClone(value) : value; | ||
} | ||
@@ -20,0 +20,0 @@ return out; |
@@ -19,2 +19,3 @@ export { default as camilize } from './camilize'; | ||
export { default as deepClone } from './deep-clone'; | ||
export { default as mergeDeep } from './merge-deep'; | ||
export { default as shallowCompare } from './shallow-compare'; | ||
@@ -21,0 +22,0 @@ export { default as findAndActivateStoredWidgets } from './find-and-activate-stored-widgets'; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.htmlParentContains = exports.notifyDataLoaded = exports.createBatch = exports.findAndActivateStoredWidgets = exports.shallowCompare = exports.deepClone = exports.removeNullAndUndefinedValues = exports.lock = exports.hash = exports.kebabCase = exports.Logger = exports.debugLog = exports.dataURItoBlob = exports.formatDate = exports.setCookie = exports.getCookie = exports.WaitFor = exports.uuid = exports.formatUrl = exports.buildCategoryTrail = exports.getCategoryTrailAsObjects = exports.categoryTrail = exports.findCategoryById = exports.appendClassNames = exports.createParams = exports.camilize = void 0; | ||
exports.htmlParentContains = exports.notifyDataLoaded = exports.createBatch = exports.findAndActivateStoredWidgets = exports.shallowCompare = exports.mergeDeep = exports.deepClone = exports.removeNullAndUndefinedValues = exports.lock = exports.hash = exports.kebabCase = exports.Logger = exports.debugLog = exports.dataURItoBlob = exports.formatDate = exports.setCookie = exports.getCookie = exports.WaitFor = exports.uuid = exports.formatUrl = exports.buildCategoryTrail = exports.getCategoryTrailAsObjects = exports.categoryTrail = exports.findCategoryById = exports.appendClassNames = exports.createParams = exports.camilize = void 0; | ||
var camilize_1 = require("./camilize"); | ||
@@ -47,2 +47,4 @@ Object.defineProperty(exports, "camilize", { enumerable: true, get: function () { return __importDefault(camilize_1).default; } }); | ||
Object.defineProperty(exports, "deepClone", { enumerable: true, get: function () { return __importDefault(deep_clone_1).default; } }); | ||
var merge_deep_1 = require("./merge-deep"); | ||
Object.defineProperty(exports, "mergeDeep", { enumerable: true, get: function () { return __importDefault(merge_deep_1).default; } }); | ||
var shallow_compare_1 = require("./shallow-compare"); | ||
@@ -49,0 +51,0 @@ Object.defineProperty(exports, "shallowCompare", { enumerable: true, get: function () { return __importDefault(shallow_compare_1).default; } }); |
{ | ||
"name": "@humany/utils", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Internal utilities used by Humany-authored packages.", | ||
@@ -30,3 +30,3 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@webprovisions/platform": "^1.1.1" | ||
"@webprovisions/platform": "^1.1.2" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "0b51cfa3d9b55445831a8fd49a350df58ed7106b" | ||
"gitHead": "b94df4284b670263060cc7cdf9cac5f9d5ccd0ed" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
137319
165
2915