assetgraph-sprite
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -225,3 +225,11 @@ var URL = require('url'), | ||
.parMap(function (imageInfo) { | ||
getCanvasImageFromImageAsset(imageInfo.asset, this); | ||
getCanvasImageFromImageAsset(imageInfo.asset, function (err, canvasImage) { | ||
// For some reason parMap swallows errors! | ||
// Rewrite to use promises or async and get rid of this: | ||
if (err) { | ||
callback(err); | ||
} else { | ||
this(null, canvasImage); | ||
} | ||
}.bind(this)); | ||
}) | ||
@@ -228,0 +236,0 @@ .seqEach(function (canvasImage, i) { |
@@ -5,3 +5,3 @@ { | ||
"repository": "git://github.com/One-com/assetgraph-sprite.git", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"maintainers": [ | ||
@@ -26,7 +26,7 @@ { | ||
"lodash.values": "3.0.0", | ||
"passerror": "1.1.0", | ||
"passerror": "1.1.1", | ||
"seq": "0.3.5" | ||
}, | ||
"optionalDependencies": { | ||
"canvas": "1.2.11" | ||
"canvas": "1.3.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
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
39552
559
+ Addedcanvas@1.3.0(transitive)
+ Addedpasserror@1.1.1(transitive)
- Removedcanvas@1.2.11(transitive)
- Removedpasserror@1.1.0(transitive)
Updatedpasserror@1.1.1