@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 +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
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;
|