@nestjs/core 8.2.2 → 8.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/Readme.md CHANGED
@@ -57,10 +57,12 @@ With official support, you can get expert help straight from Nest core team. We
57
57
  Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
58
58
 
59
59
  #### Principal Sponsors
60
- <table style="text-align:center;"><tr><td>
60
+ <table style="text-align:center;"><tr>
61
+ <td><a href="https://trilon.io" target="_blank"><img src="https://nestjs.com/img/trilon.svg" width="200" valign="middle" /></a></td>
62
+ <td>
61
63
  <a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
62
64
  <td>
63
- <a href="https://trilon.io" target="_blank"><img src="https://nestjs.com/img/trilon.svg" width="200" valign="middle" /></a></td>
65
+ <a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
64
66
  </tr></table>
65
67
 
66
68
  #### Gold Sponsors
@@ -71,7 +71,7 @@ export declare class Injector {
71
71
  private resolveScopedComponentHost;
72
72
  private isInquirerRequest;
73
73
  private isInquirer;
74
- private addDependencyMetadata;
74
+ protected addDependencyMetadata(keyOrIndex: number | string, hostWrapper: InstanceWrapper, instanceWrapper: InstanceWrapper): void;
75
75
  private getTokenName;
76
76
  private printResolvingDependenciesLog;
77
77
  private printLookingForProviderLog;
@@ -1,10 +1,11 @@
1
1
  import { Logger } from '@nestjs/common';
2
2
  import { NestContainer } from './container';
3
+ import { Injector } from './injector';
3
4
  import { Module } from './module';
4
5
  export declare class InstanceLoader {
5
- private readonly container;
6
+ protected readonly container: NestContainer;
6
7
  private readonly logger;
7
- private readonly injector;
8
+ protected readonly injector: Injector;
8
9
  constructor(container: NestContainer, logger?: Logger);
9
10
  createInstancesOfDependencies(modules?: Map<string, Module>): Promise<void>;
10
11
  private createPrototypes;
@@ -8,10 +8,10 @@ export declare abstract class ModuleRef {
8
8
  private _instanceLinksHost;
9
9
  private get instanceLinksHost();
10
10
  constructor(container: NestContainer);
11
- abstract get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | string | symbol, options?: {
11
+ abstract get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, options?: {
12
12
  strict: boolean;
13
13
  }): TResult;
14
- abstract resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | string | symbol, contextId?: ContextId, options?: {
14
+ abstract resolve<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, contextId?: ContextId, options?: {
15
15
  strict: boolean;
16
16
  }): Promise<TResult>;
17
17
  abstract create<T = any>(type: Type<T>): Promise<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/core",
3
- "version": "8.2.2",
3
+ "version": "8.2.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": "8.2.2"
39
+ "@nestjs/common": "8.2.3"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@nestjs/common": "^8.0.0",