@live-change/framework
Advanced tools
Comparing version 0.8.107 to 0.8.108
@@ -178,2 +178,12 @@ import { mergeDeep } from "../utils.js" | ||
} | ||
}, | ||
httpUrlSoft: (settings) => (value) => { | ||
if(!value) return false // ignore empty | ||
try { | ||
if(!value.match(/^https?:\/\//)) value = 'https://'+value | ||
const url = new URL(value) | ||
if(url.protocol !== 'http:' && url.protocol !== 'https:') return 'wrongUrl' | ||
} catch(e) { | ||
return 'wrongUrl' | ||
} | ||
} | ||
@@ -180,0 +190,0 @@ } |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.8.107", | ||
"version": "0.8.108", | ||
"description": "Live Change Framework - ultimate solution for real time mobile/web apps", | ||
@@ -25,6 +25,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@live-change/dao": "^0.8.107", | ||
"@live-change/uid": "^0.8.107" | ||
"@live-change/dao": "^0.8.108", | ||
"@live-change/uid": "^0.8.108" | ||
}, | ||
"gitHead": "da00b9062a0238e1497c76009b0bd9e74ff7a376" | ||
"gitHead": "b272a01967e326d10874fea13353ab8fa5c30fe8" | ||
} |
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
187423
5103