@naman_deep_singh/js-extensions 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @naman_deep_singh/js-extensions
2
2
 
3
- **Version:** 1.3.2
3
+ **Version:** 1.3.3
4
4
 
5
5
  Universal JavaScript prototype extensions for common development utilities. Works in both Node.js and browser environments with 67+ utility methods.
6
6
 
@@ -42,8 +42,6 @@ function extendObject() {
42
42
  return result;
43
43
  };
44
44
  Object.prototype.deepClone = function () {
45
- // Create a more robust cache key using WeakMap for cycle detection
46
- const cloneId = Symbol('clone');
47
45
  // Simple cycle detection without caching key generation
48
46
  if (this === null || typeof this !== 'object')
49
47
  return this;
@@ -39,8 +39,6 @@ export function extendObject() {
39
39
  return result;
40
40
  };
41
41
  Object.prototype.deepClone = function () {
42
- // Create a more robust cache key using WeakMap for cycle detection
43
- const cloneId = Symbol('clone');
44
42
  // Simple cycle detection without caching key generation
45
43
  if (this === null || typeof this !== 'object')
46
44
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naman_deep_singh/js-extensions",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Universal JavaScript prototype extensions for common development utilities",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",