@screencloud/qr-key-generator
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -7,6 +7,7 @@ "use strict"; | ||
var url = new URL(str); | ||
return url.protocol === 'http:' | ||
|| url.protocol === 'https:' | ||
|| url.protocol === 'blob:' | ||
|| url.protocol === 'data:'; | ||
return (url.protocol === 'http:' || | ||
url.protocol === 'https:' || | ||
url.protocol === 'blob:' || | ||
url.protocol === 'data:' || | ||
url.protocol === 'mailto:'); | ||
} | ||
@@ -13,0 +14,0 @@ catch (_) { |
{ | ||
"name": "@screencloud/qr-key-generator", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "The library that encode the payload into a key for QRCode url", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
7578
156