@springworks/input-validator
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -45,3 +45,3 @@ 'use strict'; | ||
allowed.forEach(function(param) { | ||
if (params.hasOwnProperty(param)) { | ||
if (Object.prototype.hasOwnProperty.call(params, param)) { | ||
filtered[param] = params[param]; | ||
@@ -93,3 +93,3 @@ } | ||
param = required[i]; | ||
if (!params.hasOwnProperty(param)) { | ||
if (!Object.prototype.hasOwnProperty.call(params, param)) { | ||
missing.push(param); | ||
@@ -96,0 +96,0 @@ } |
{ | ||
"name": "@springworks/input-validator", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Module to help validate and filter input parameters.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
18178