Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

validator

Package Overview
Dependencies
Maintainers
1
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 1.2.0 to 1.2.1

10

lib/xss.js

@@ -43,12 +43,2 @@ //This module is adapted from the CodeIgniter framework

//Recursively clean objects and arrays
if (typeof str === 'object') {
for (var i in str) {
str[i] = exports.clean(str[i]);
}
//We emulate the PHP behavior in CodeIgniter.
str.toString = function() { return 'Array'; }
return str;
}
//Remove invisible characters

@@ -55,0 +45,0 @@ str = remove_invisible_characters(str);

2

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

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

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