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

@humany/utils

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@humany/utils - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

lib-esm/merge-deep.d.ts

2

lib-esm/deep-clone.d.ts

@@ -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

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