validator
Advanced tools
Comparing version 0.4.6-1 to 0.4.6-2
@@ -97,3 +97,3 @@ //This module is adapted from the CodeIgniter framework | ||
// We only want to do this when it is followed by a non-word character | ||
for (var i in compact_words) { | ||
for (var i = 0, l = compact_words.length; i < l; i++) { | ||
var spacified = compact_words[i].split('').join('\\s*')+'\\s*'; | ||
@@ -176,3 +176,3 @@ | ||
function remove_invisible_characters(str) { | ||
for (var i in non_displayables) { | ||
for (var i = 0, l = non_displayables.length; i < l; i++) { | ||
str = str.replace(non_displayables[i], ''); | ||
@@ -179,0 +179,0 @@ } |
{ "name" : "validator", | ||
"description" : "Data validation, filtering and sanitization for node.js", | ||
"version" : "0.4.6-1", | ||
"version" : "0.4.6-2", | ||
"homepage" : "http://github.com/chriso/node-validator", | ||
@@ -5,0 +5,0 @@ "keywords" : ["validator", "validation", "assert", "params", "sanitization", "xss", "entities", "sanitize", "sanitisation", "input"], |
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
107814