@nestjs/core 11.1.22 → 11.1.23
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 +1 -0
- package/injector/injector.js +1 -2
- package/package.json +3 -3
package/Readme.md
CHANGED
|
@@ -129,6 +129,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
|
|
|
129
129
|
<tr>
|
|
130
130
|
<td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/logos/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
|
|
131
131
|
<td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
|
|
132
|
+
<td align="center" valign="middle"><a href="https://memory2.co/" target="_blank"><img src="https://images.opencollective.com/memory-squared/bbe37f5/avatar/256.png?height=50" width="50" valign="middle" /></a></td>
|
|
132
133
|
</tr>
|
|
133
134
|
</table>
|
|
134
135
|
|
package/injector/injector.js
CHANGED
|
@@ -504,7 +504,6 @@ class Injector {
|
|
|
504
504
|
wrapper.isExplicitlyRequested(resolutionContext.contextId, resolutionContext.inquirer));
|
|
505
505
|
}
|
|
506
506
|
shouldSkipProviderLoading(wrapper, resolutionContext) {
|
|
507
|
-
const isSnapshotGraphCompilation = !!this.options?.snapshot;
|
|
508
507
|
const isStaticContext = resolutionContext.contextId === constants_2.STATIC_CONTEXT;
|
|
509
508
|
const hasNoInquirer = !resolutionContext.inquirer;
|
|
510
509
|
const isTopLevelStaticTransientOrRequestProvider = hasNoInquirer && (wrapper.isTransient || wrapper.scope === common_1.Scope.REQUEST);
|
|
@@ -513,7 +512,7 @@ class Injector {
|
|
|
513
512
|
const shouldSkipForStaticBootstrap = isStaticContext &&
|
|
514
513
|
(isTopLevelStaticTransientOrRequestProvider ||
|
|
515
514
|
isStaticInquirerOutsideResolutionContext);
|
|
516
|
-
return
|
|
515
|
+
return shouldSkipForStaticBootstrap;
|
|
517
516
|
}
|
|
518
517
|
/**
|
|
519
518
|
* For nested TRANSIENT dependencies (TRANSIENT -> TRANSIENT) in non-static contexts,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/core",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.23",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@core)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"uid": "2.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@nestjs/common": "11.1.
|
|
42
|
+
"@nestjs/common": "11.1.23"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@nestjs/common": "^11.0.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"optional": true
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "b8be8c12270b2e6dcd275d435e573f08b4c79d79"
|
|
64
64
|
}
|