@antscorp/antsomi-ui 1.3.5-beta.240 → 1.3.5-beta.241

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.
@@ -481,8 +481,13 @@ export const getUrlNoCache = (url = '', cacheValue = 0) => {
481
481
  urlNoCache = url;
482
482
  }
483
483
  else {
484
- const newUrl = new URL(url);
485
- newUrl.searchParams.append('nocache', `${cacheValue}`);
484
+ try {
485
+ const newUrl = new URL(url);
486
+ newUrl.searchParams.append('nocache', `${cacheValue}`);
487
+ }
488
+ catch (error) {
489
+ urlNoCache = url;
490
+ }
486
491
  }
487
492
  return urlNoCache;
488
493
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.240",
3
+ "version": "1.3.5-beta.241",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",