express-flash-notification
Advanced tools
Comparing version 0.3.0 to 0.3.1
12
index.js
@@ -128,2 +128,3 @@ /** | ||
var resultHTML = [] | ||
async.each( | ||
@@ -241,3 +242,12 @@ req.session[SESSION_NAME], | ||
*/ | ||
render(req, res, next) | ||
if (req.__flash_flip) | ||
{ | ||
req.__flash_flip = false | ||
render(req, res, next) | ||
} | ||
else | ||
{ | ||
req.__flash_flip = true | ||
next() | ||
} | ||
} | ||
@@ -244,0 +254,0 @@ return FlashMiddleware |
{ | ||
"name": "express-flash-notification", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Express.js flash notifications that works with any template engine", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20416
236
0