systemjs-builder
Advanced tools
Comparing version 0.14.2 to 0.14.3
@@ -436,2 +436,15 @@ var Promise = require('rsvp').Promise; | ||
// given a tree, creates a depCache for it | ||
Builder.prototype.getDepCache = function(tree) { | ||
var depCache = {}; | ||
Object.keys(tree).forEach(function(moduleName) { | ||
var load = tree[moduleName]; | ||
if (load && load.deps.length) | ||
depCache[moduleName] = load.deps.map(function(dep) { | ||
return load.depMap[dep]; | ||
}); | ||
}); | ||
return depCache; | ||
}; | ||
// expose useful tree statics on the builder instance for ease-of-use | ||
@@ -438,0 +451,0 @@ Builder.prototype.intersectTrees = require('./arithmetic').intersectTrees; |
{ | ||
"name": "systemjs-builder", | ||
"version": "0.14.2", | ||
"version": "0.14.3", | ||
"description": "SystemJS Build Tool", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
184533
4188