Comparing version 1.0.0 to 1.1.0
# master | ||
# 1.1.0 | ||
* Add `needsCache` to `pluginInterface`. Allows opting out of cache directory | ||
creation. | ||
# 1.0.0 | ||
@@ -4,0 +9,0 @@ |
@@ -260,3 +260,6 @@ 'use strict' | ||
nodeWrapper.outputPath = this.mkTmpDir(nodeWrapper, 'out') | ||
nodeWrapper.cachePath = this.mkTmpDir(nodeWrapper, 'cache') | ||
if (nodeWrapper.nodeInfo.needsCache) { | ||
nodeWrapper.cachePath = this.mkTmpDir(nodeWrapper, 'cache') | ||
} | ||
} else { // nodeType === 'source' | ||
@@ -506,3 +509,4 @@ // We could name this .sourcePath, but with .outputPath the code is simpler. | ||
annotation: this.nodeInfo.annotation, | ||
persistentOutput: this.nodeInfo.persistentOutput | ||
persistentOutput: this.nodeInfo.persistentOutput, | ||
needsCache: this.nodeInfo.needsCache | ||
// leave out instantiationStack (too long), inputNodes, and callbacks | ||
@@ -509,0 +513,0 @@ }) |
@@ -23,7 +23,4 @@ var middleware = require('./middleware') | ||
// We register these so the 'exit' handler removing temp dirs is called | ||
function cleanupAndExit() { | ||
// TODO who is responsible for calling builder.cleanup? | ||
return server.watcher.quit() | ||
@@ -35,4 +32,2 @@ } | ||
server.watcher.on('buildSuccess', function() { | ||
@@ -53,4 +48,2 @@ printSlowNodes(server.builder.outputNodeWrapper) | ||
server.watcher.start() | ||
@@ -61,3 +54,3 @@ .catch(function(err) { | ||
.finally(function() { | ||
server.builder.cleanup() // TODO | ||
server.builder.cleanup() | ||
server.http.close() | ||
@@ -73,6 +66,4 @@ }) | ||
server.http.listen(parseInt(port, 10), host) | ||
return server | ||
} |
{ | ||
"name": "broccoli", | ||
"description": "Fast client-side asset builder", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "Jo Liss <joliss42@gmail.com>", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"broccoli-node-info": "1.0.0", | ||
"broccoli-node-info": "1.1.0", | ||
"broccoli-slow-trees": "^2.0.0", | ||
@@ -46,2 +46,3 @@ "broccoli-source": "^1.1.0", | ||
"multidep": "^2.0.0", | ||
"semver": "^5.3.0", | ||
"sinon": "^1.17.1", | ||
@@ -48,0 +49,0 @@ "sinon-chai": "^2.8.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
56025
885
10
2
+ Addedbroccoli-node-info@1.1.0(transitive)
- Removedbroccoli-node-info@1.0.0(transitive)
Updatedbroccoli-node-info@1.1.0