New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

raptor-dust

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raptor-dust - npm Package Compare versions

Comparing version 0.3.5-beta to 0.3.6-beta

23

lib/DustRenderContext.js

@@ -21,3 +21,3 @@ var promiseUtil = require('raptor-promises/util');

DustRenderContext.prototype = {
beginAsyncFragment: function(callback, timeout) {
beginAsync: function(callback, timeout) {
var _this = this;

@@ -27,13 +27,14 @@

var asyncDustRenderContext = new DustRenderContext(asyncChunk, _this.attributes);
var asyncFragment = {
end: function(err) {
if (err) {
logger.error('Async fragment failed. Exception: ' + err, err);
}
function doneCallback(err, data) {
if (err) {
logger.error('Async fragment failed. Exception: ' + err, err);
}
asyncDustRenderContext._dustChunk.end();
if (data) {
asyncDustRenderContext.write(data);
}
};
asyncDustRenderContext._dustChunk.end();
}
var promise = callback(asyncDustRenderContext, asyncFragment);
var promise = callback(asyncDustRenderContext, doneCallback);

@@ -47,6 +48,6 @@ if (promise) {

}
asyncFragment.end();
doneCallback();
},
function (e) {
asyncFragment.end(e);
doneCallback(e || 'Failed');
});

@@ -53,0 +54,0 @@ }

{
"path": "/Users/psteeleidem/development/github/raptorjs3/raptor-dust/package.json",
"name": "raptor-dust",

@@ -41,3 +40,3 @@ "description": "Support module for integrating Dust and RaptorJS",

"main": "lib/raptor-dust.js",
"version": "0.3.5-beta"
"version": "0.3.6-beta"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc