@indigina/kendo 1.2.18 → 1.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1676,7 +1676,7 @@ const MSALInstanceFactory = (config) => {
1676
1676
  navigateToLoginRequestUrl: false,
1677
1677
  },
1678
1678
  cache: {
1679
- cacheLocation: BrowserCacheLocation.SessionStorage,
1679
+ cacheLocation: BrowserCacheLocation.LocalStorage,
1680
1680
  storeAuthStateInCookie: isIE,
1681
1681
  },
1682
1682
  system: {
@@ -1856,7 +1856,15 @@ const urlSerialize = (object) => {
1856
1856
  const isEmptyObject = (object) => {
1857
1857
  return object === null || Object.keys(object).length === 0;
1858
1858
  };
1859
- const isDate = (date) => isNaN(date) && !isNaN(Date.parse(date));
1859
+ const isDate = (date) => {
1860
+ try {
1861
+ const parsedDate = new Date(date);
1862
+ return isNaN(date) && parsedDate.toISOString() === date;
1863
+ }
1864
+ catch (ex) {
1865
+ return false;
1866
+ }
1867
+ };
1860
1868
  const urlDeserialize = (params) => {
1861
1869
  const deserialized = {};
1862
1870
  params.forEach((param, key) => {