@locker/shared-url
Advanced tools
Comparing version 0.21.3 to 0.21.4
@@ -29,3 +29,3 @@ /*! | ||
const TRUSTED_DOMAINS_REG_EXP$LWS = /\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/; | ||
const URL_SCHEMES_LIST$LWS = shared$LWS.toSafeArray(['http:', 'https:']); | ||
const URL_SCHEMES_LIST$LWS = shared$LWS.toSafeArray(['about:', 'http:', 'https:']); | ||
const newlinesAndTabsRegExp$LWS = /[\u2028\u2029\n\r\t]/g; | ||
@@ -76,2 +76,2 @@ const normalizerAnchor$LWS = shared$LWS.ReflectApply(sharedDom$LWS.DocumentProtoCreateElement, sharedDom$LWS.rootDocument, ['a']); | ||
exports.sanitizeURLString = sanitizeURLString$LWS; | ||
/*! version: 0.21.3 */ | ||
/*! version: 0.21.4 */ |
@@ -24,3 +24,3 @@ /*! | ||
const TRUSTED_DOMAINS_REG_EXP$LWS = /\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/; | ||
const URL_SCHEMES_LIST$LWS = toSafeArray$LWS(['http:', 'https:']); | ||
const URL_SCHEMES_LIST$LWS = toSafeArray$LWS(['about:', 'http:', 'https:']); | ||
const newlinesAndTabsRegExp$LWS = /[\u2028\u2029\n\r\t]/g; | ||
@@ -62,2 +62,2 @@ const normalizerAnchor$LWS = ReflectApply$LWS(DocumentProtoCreateElement$LWS, rootDocument$LWS, ['a']); | ||
export { TRUSTED_DOMAINS_REG_EXP$LWS as TRUSTED_DOMAINS_REG_EXP, URL_SCHEMES_LIST$LWS as URL_SCHEMES_LIST, isMIMETypeAllowed$LWS as isMIMETypeAllowed, isValidURL$LWS as isValidURL, isValidURLScheme$LWS as isValidURLScheme, normalizerAnchor$LWS as normalizerAnchor, parseURL$LWS as parseURL, resolveURL$LWS as resolveURL, sanitizeURLForElement$LWS as sanitizeURLForElement, sanitizeURLString$LWS as sanitizeURLString }; | ||
/*! version: 0.21.3 */ | ||
/*! version: 0.21.4 */ |
{ | ||
"name": "@locker/shared-url", | ||
"version": "0.21.3", | ||
"version": "0.21.4", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -18,4 +18,4 @@ "author": "Salesforce UI Security Team", | ||
"dependencies": { | ||
"@locker/shared": "0.21.3", | ||
"@locker/shared-dom": "0.21.3" | ||
"@locker/shared": "0.21.4", | ||
"@locker/shared-dom": "0.21.4" | ||
}, | ||
@@ -22,0 +22,0 @@ "files": [ |
15542
+ Added@locker/shared@0.21.4(transitive)
+ Added@locker/shared-dom@0.21.4(transitive)
- Removed@locker/shared@0.21.3(transitive)
- Removed@locker/shared-dom@0.21.3(transitive)
Updated@locker/shared@0.21.4
Updated@locker/shared-dom@0.21.4