@lenne.tech/nest-server 9.0.26 → 9.0.27

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": "@lenne.tech/nest-server",
3
- "version": "9.0.26",
3
+ "version": "9.0.27",
4
4
  "description": "Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).",
5
5
  "keywords": [
6
6
  "node",
@@ -687,7 +687,7 @@ export function processDeep(
687
687
  if (typeof data === 'object') {
688
688
  for (const specialClass of specialClasses) {
689
689
  if (
690
- (typeof specialClass === 'string' && specialClass === data.constructor.name) ||
690
+ (typeof specialClass === 'string' && specialClass === data.constructor?.name) ||
691
691
  (typeof specialClass !== 'string' && data instanceof specialClass)
692
692
  ) {
693
693
  return func(data);