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

express-sanitize-escape

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-sanitize-escape - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

README.md

13

lib/express-sanitize-escape.js

@@ -40,2 +40,15 @@ /*!

module.exports.sanitizeParams = function(router, paramNames)
{
paramNames.forEach(function(paramName)
{
router.param(paramName, function(req, res, next)
{
req.params[paramName] = sanitize(req.params[paramName]);
next();
});
});
}
function sanitize(obj) {

@@ -42,0 +55,0 @@ if (typeof obj === 'string') {

2

package.json
{
"name": "express-sanitize-escape",
"description": "Express middleware for the sanitizer module using Caja's HTML Sanitizer and HTML escape using htmlencode.",
"version": "0.6.2",
"version": "0.6.3",
"author": "Justin Hamade <justin@fingerfoodstudios.com>",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/fingerfoodstudios/express-sanitize-esacpe",

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