@cripty2001/utils 0.0.190 → 0.0.191

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -251,5 +251,5 @@ function safeApply(updater, incoming) {
251
251
  const cloned = structuredClone(incoming);
252
252
  const new_data = updater(cloned);
253
253
  const chosen = new_data ?? cloned;
254
- return chosen;
254
+ return structuredClone(chosen);
255
255
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.190",
3
+ "version": "0.0.191",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {