Comparing version 2.1.1 to 2.2.0
12
index.js
@@ -8,2 +8,8 @@ var getDriverScripts = require('get-driver-scripts'); | ||
/** | ||
* Used to memoize traversal of trees from all available drivers | ||
* @type {Object} | ||
*/ | ||
var cache = {}; | ||
/** | ||
* Gets the driver script(s) that depend on the given module | ||
@@ -33,2 +39,4 @@ * | ||
options.success = function(err, drivers) { | ||
debug('found the following driver scripts in the codebase: \n' + drivers.join('\n')); | ||
var relatedDrivers = findRelatedDrivers({ | ||
@@ -70,3 +78,5 @@ drivers: drivers, | ||
config: options.config, | ||
webpackConfig: options.webpackConfig | ||
webpackConfig: options.webpackConfig, | ||
// On every call, this will be mutated with the final state of the traversal | ||
visited: cache | ||
}); | ||
@@ -73,0 +83,0 @@ }); |
{ | ||
"name": "taxicab", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Find the driver script that has a given module in its dependency tree", | ||
@@ -33,5 +33,5 @@ "main": "index.js", | ||
"commander": "^2.5.1", | ||
"debug": "~2.2.0", | ||
"dependency-tree": "~5.1.0", | ||
"get-driver-scripts": "^1.0.1", | ||
"debug": "^2.2.0", | ||
"dependency-tree": "^5.1.0", | ||
"get-driver-scripts": "^1.1.0", | ||
"q": "^1.0.1" | ||
@@ -38,0 +38,0 @@ }, |
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
8677
186
+ Addedapp-module-path@2.2.0(transitive)
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedbabylon@6.8.4(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddependency-tree@5.12.0(transitive)
+ Addeddetective-cjs@2.0.1(transitive)
+ Addeddetective-less@1.0.0(transitive)
+ Addeddetective-sass@2.0.1(transitive)
+ Addeddetective-scss@1.0.1(transitive)
+ Addeddetective-typescript@1.0.1(transitive)
+ Addedenhanced-resolve@4.5.0(transitive)
+ Addedfile-exists@2.0.0(transitive)
+ Addedfiling-cabinet@1.14.4(transitive)
+ Addedfind@0.2.9(transitive)
+ Addedfs-extra@5.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-own-enumerable-property-symbols@3.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-obj@1.0.1(transitive)
+ Addedis-regexp@1.0.0(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedlodash.tostring@4.1.4(transitive)
+ Addedlodash.unescape@4.0.0(transitive)
+ Addedmemory-fs@0.5.0(transitive)
+ Addedmodule-lookup-amd@5.0.2(transitive)
+ Addedms@2.0.0(transitive)
+ Addednode-source-walk@3.2.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedprecinct@3.8.0(transitive)
+ Addedregenerator-runtime@0.11.1(transitive)
+ Addedrequirejs@2.3.7(transitive)
+ Addedrequirejs-config-file@3.0.0(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedsass-lookup@2.0.0(transitive)
+ Addedstringify-object@3.3.0(transitive)
+ Addedstylus-lookup@2.0.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtapable@1.1.3(transitive)
+ Addedtypescript@2.0.102.9.2(transitive)
+ Addedtypescript-eslint-parser@1.0.2(transitive)
+ Addeduniversalify@0.1.2(transitive)
- Removeddependency-tree@5.1.0(transitive)
Updateddebug@^2.2.0
Updateddependency-tree@^5.1.0
Updatedget-driver-scripts@^1.1.0