Socket
Socket
Sign inDemoInstall

validator

Package Overview
Dependencies
Maintainers
0
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validator - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

test.js

3

lib/xss.js

@@ -74,6 +74,3 @@ //This module is adapted from the CodeIgniter framework

});
str = str.replace(/<\w+.*?(?=>|<|$)/gi, function(m, match) {
});
//Remove invisible characters again

@@ -80,0 +77,0 @@ str = remove_invisible_characters(str);

{ "name" : "validator",
"description" : "Data validation, filtering and sanitization for node.js",
"version" : "0.2.5",
"version" : "0.2.6",
"homepage" : "http://github.com/chriso/node-validator",

@@ -5,0 +5,0 @@ "keywords" : ["validator", "validation", "assert", "params", "sanitization", "xss", "entities", "sanitize", "sanitisation", "input"],

@@ -394,6 +394,3 @@ /*!

});
str = str.replace(/<\w+.*?(?=>|<|$)/gi, function(m, match) {
});
//Remove invisible characters again

@@ -400,0 +397,0 @@ str = remove_invisible_characters(str);

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