Socket
Socket
Sign inDemoInstall

view-helpers

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

view-helpers - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

CONTRIBUTING.md

5

History.md
0.1.4 / 2014-01-02
==================
* Fixes flash error messages. Now every error flash message should be in this format `req.flash('error')` and not `req.flash('errors')`
0.1.3 / 2013-10-01

@@ -3,0 +8,0 @@ ==================

2

index.js

@@ -32,3 +32,3 @@

res.locals.info = req.flash('info')
res.locals.errors = req.flash('errors')
res.locals.errors = req.flash('error')
res.locals.success = req.flash('success')

@@ -35,0 +35,0 @@ res.locals.warning = req.flash('warning')

{
"name": "view-helpers",
"version": "0.1.3",
"version": "0.1.4",
"description": "View helper methods for expressjs and other node stuff",

@@ -5,0 +5,0 @@ "main": "index.js",

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