@valkyriestudios/utils 12.41.2 → 12.41.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.
@@ -10,7 +10,7 @@ function innerMerge(target, source, UNION) {
10
10
  if (s_val !== undefined && t_val !== s_val) {
11
11
  target[key] = Object.prototype.toString.call(t_val) === '[object Object]' &&
12
12
  Object.prototype.toString.call(s_val) === '[object Object]'
13
- ? innerMerge(t_val, s_val, UNION)
13
+ ? innerMerge({ ...t_val }, s_val, UNION)
14
14
  : s_val;
15
15
  }
16
16
  }
@@ -6,7 +6,7 @@ function innerMerge(target, source, UNION) {
6
6
  if (s_val !== undefined && t_val !== s_val) {
7
7
  target[key] = Object.prototype.toString.call(t_val) === '[object Object]' &&
8
8
  Object.prototype.toString.call(s_val) === '[object Object]'
9
- ? innerMerge(t_val, s_val, UNION)
9
+ ? innerMerge({ ...t_val }, s_val, UNION)
10
10
  : s_val;
11
11
  }
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valkyriestudios/utils",
3
- "version": "12.41.2",
3
+ "version": "12.41.3",
4
4
  "description": "A collection of single-function utilities for common tasks",
5
5
  "author": {
6
6
  "name": "Peter Vermeulen",