flora-colossus
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -0,0 +0,0 @@ export declare enum DepType { |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './Walker'; | ||
export * from './depTypes'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { DepType } from './depTypes'; |
@@ -164,2 +164,8 @@ "use strict"; | ||
moduleName = _a[_i]; | ||
// npm decides it's a funny thing to put optioanl dependencies in the "dependencies" section | ||
// after install, because that makes perfect sense | ||
if (moduleName in pJ.optionalDependencies) { | ||
d("found " + moduleName + " in prod deps of " + modulePath + " but it is also marked optional"); | ||
return [3 /*break*/, 4]; | ||
} | ||
return [4 /*yield*/, this.walkDependenciesForModuleInModule(moduleName, modulePath, depTypes_1.childDepType(depType, depTypes_1.DepType.PROD))]; | ||
@@ -244,3 +250,3 @@ case 3: | ||
else { | ||
d('tree walk in progress already, waiting for existing walk to complete'); | ||
d('tree walk in progress / completed already, waiting for existing walk to complete'); | ||
} | ||
@@ -247,0 +253,0 @@ return [4 /*yield*/, this.cache]; |
{ | ||
"name": "flora-colossus", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Walks your node_modules tree", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,0 +0,0 @@ Flora Colossus |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
413
27259
14