@nestjs/core 8.0.3 → 8.0.4
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 +2 -2
- package/scanner.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/core",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
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.0.
|
|
39
|
+
"@nestjs/common": "8.0.4"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@nestjs/common": "^8.0.0",
|
package/scanner.js
CHANGED
|
@@ -159,7 +159,7 @@ class DependenciesScanner {
|
|
|
159
159
|
// Skip "InternalCoreModule" from calculating distance
|
|
160
160
|
modulesGenerator.next();
|
|
161
161
|
const modulesStack = [];
|
|
162
|
-
const calculateDistance = (moduleRef, distance =
|
|
162
|
+
const calculateDistance = (moduleRef, distance = 1) => {
|
|
163
163
|
if (modulesStack.includes(moduleRef)) {
|
|
164
164
|
return;
|
|
165
165
|
}
|