@htmlguyllc/jpack
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -52,6 +52,4 @@ import axios from 'axios'; | ||
options = typeof options === "undefined" ? {} : options; | ||
if( typeof options !== "object" ) throw `${options} is not an object`; | ||
//make sure options is an object (empty or not) | ||
type_checks.isDataObject(options, Object.keys(XHRFormDefaults), false, false, true); | ||
//extend defaults with provided options | ||
@@ -425,6 +423,4 @@ options = {...XHRFormDefaults, ...options}; | ||
options = typeof options === "undefined" ? {} : options; | ||
if( typeof options !== "object" ) throw `${options} is not an object`; | ||
//make sure options is an object (empty or not) | ||
type_checks.isDataObject(options, Object.keys(FormFromURLDefaults), false, false, true); | ||
//extend defaults with provided options | ||
@@ -431,0 +427,0 @@ options = {...FormFromURLDefaults, ...options}; |
{ | ||
"name": "@htmlguyllc/jpack", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
251182
3449