remult 3.3.16 → 3.3.17

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.
@@ -1698,8 +1698,10 @@ export class rowHelperImplementation extends rowHelperBase {
1698
1698
  }
1699
1699
  }
1700
1700
  else if (!getRelationFieldInfo(col))
1701
- if (data[col.key] === undefined)
1702
- delete this.instance[col.key];
1701
+ if (data[col.key] === undefined) {
1702
+ if (!Reflect.deleteProperty(this.instance, col.key))
1703
+ this.instance[col.key] = undefined;
1704
+ }
1703
1705
  else
1704
1706
  this.instance[col.key] = data[col.key];
1705
1707
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "3.3.16",
3
+ "version": "3.3.17",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "homepage": "https://remult.dev",
6
6
  "repository": {
@@ -2856,8 +2856,10 @@ var rowHelperImplementation = /** @class */ (function (_super) {
2856
2856
  case 6: return [3 /*break*/, 8];
2857
2857
  case 7:
2858
2858
  if (!(0, relationInfoMember_js_1.getRelationFieldInfo)(col))
2859
- if (data[col.key] === undefined)
2860
- delete this.instance[col.key];
2859
+ if (data[col.key] === undefined) {
2860
+ if (!Reflect.deleteProperty(this.instance, col.key))
2861
+ this.instance[col.key] = undefined;
2862
+ }
2861
2863
  else
2862
2864
  this.instance[col.key] = data[col.key];
2863
2865
  _d.label = 8;