not-node 6.2.1 → 6.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.2.1",
3
+ "version": "6.2.3",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -194,9 +194,9 @@ function mutateFieldSide(field, mutation, side) {
194
194
  module.exports.mutateFieldSide = mutateFieldSide;
195
195
 
196
196
  function mutateField(sourceField, sourceMutation) {
197
- const sides = ["ui", " model"];
198
- let field = structuredClone(sourceField);
199
- let mutation = structuredClone(sourceMutation);
197
+ const sides = ["ui", "model"];
198
+ let field = clone(sourceField);
199
+ let mutation = clone(sourceMutation);
200
200
  if (mutation) {
201
201
  sides.forEach((side) => mutateFieldSide(field, mutation, side));
202
202
  }