@iamnnort/nestjs-serializer 2.1.0 → 2.1.1

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/dist/index.mjs CHANGED
@@ -9151,7 +9151,7 @@ var SerializerService = class {
9151
9151
  if (rootFieldCount < rootFieldChildrenCount) {
9152
9152
  return;
9153
9153
  }
9154
- transformedEntity[rootFieldName] = void 0;
9154
+ transformedEntity[rootFieldName] = null;
9155
9155
  });
9156
9156
  if (isPlainObject(entity.relatedScope)) {
9157
9157
  const transformedRelatedScope = {};