@mjhls/mjh-framework 1.0.264 → 1.0.265

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.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.264
2
+ # mjh-framework v. 1.0.265
3
3
 
4
4
  > Foundation Framework
5
5
 
package/dist/cjs/index.js CHANGED
@@ -13566,7 +13566,7 @@ var NativeAd = function NativeAd(props) {
13566
13566
  };
13567
13567
 
13568
13568
  var checkUrlIsExternal = function checkUrlIsExternal(url) {
13569
- if (/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})/i.test(url)) {
13569
+ if (/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})|(^mailto)/i.test(url)) {
13570
13570
  return true;
13571
13571
  }
13572
13572
  return false;
package/dist/esm/index.js CHANGED
@@ -13564,7 +13564,7 @@ var NativeAd = function NativeAd(props) {
13564
13564
  };
13565
13565
 
13566
13566
  var checkUrlIsExternal = function checkUrlIsExternal(url) {
13567
- if (/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})/i.test(url)) {
13567
+ if (/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})|(^mailto)/i.test(url)) {
13568
13568
  return true;
13569
13569
  }
13570
13570
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.264",
3
+ "version": "1.0.265",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",