@nestjs/core 9.0.2 → 9.0.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.
@@ -367,7 +367,7 @@ class Injector {
367
367
  async loadCtorMetadata(metadata, contextId, inquirer, parentInquirer) {
368
368
  const hosts = await Promise.all(metadata.map(async (item) => this.resolveScopedComponentHost(item, contextId, inquirer, parentInquirer)));
369
369
  const inquirerId = this.getInquirerId(inquirer);
370
- return hosts.map(item => item.getInstanceByContextId(this.getContextId(contextId, item), inquirerId).instance);
370
+ return hosts.map(item => item === null || item === void 0 ? void 0 : item.getInstanceByContextId(this.getContextId(contextId, item), inquirerId).instance);
371
371
  }
372
372
  async loadPropertiesMetadata(metadata, contextId, inquirer) {
373
373
  const dependenciesHosts = await Promise.all(metadata.map(async ({ wrapper: item, key }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/core",
3
- "version": "9.0.2",
3
+ "version": "9.0.3",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@core)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "uuid": "8.3.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@nestjs/common": "9.0.2"
39
+ "@nestjs/common": "9.0.3"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@nestjs/common": "^9.0.0",