ghost-express-route-request-validator
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -29,3 +29,3 @@ module.exports = { | ||
}, | ||
isState: function (state) { | ||
isState: function (str) { | ||
return ['AK','AL','AR','AS','AZ','CA','CO','CT','DC','DE','FL','GA','GU','HI','IA','ID', 'IL','IN','KS','KY','LA','MA','MD','ME','MH','MI','MN','MO','MS','MT','NC','ND','NE','NH','NJ','NM','NV','NY','OH','OK','OR','PA','PR','PW','RI','SC','SD','TN','TX','UT','VA','VI','VT','WA','WI','WV','WY'].indexOf(str) >= 0 | ||
@@ -32,0 +32,0 @@ }, |
{ | ||
"name": "ghost-express-route-request-validator", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "extension of express-validator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
3997