@locker/shared-url
Advanced tools
Comparing version 0.18.21 to 0.18.22
@@ -5,2 +5,3 @@ interface ParsedURL { | ||
} | ||
declare const TRUSTED_DOMAINS_REG_EXP: RegExp; | ||
declare const URL_SCHEMES_LIST: string[]; | ||
@@ -15,2 +16,2 @@ declare const normalizerAnchor: HTMLAnchorElement; | ||
declare function isMIMETypeAllowed(mimeType: string): boolean; | ||
export { URL_SCHEMES_LIST, normalizerAnchor, isValidURL, isValidURLScheme, parseURL, resolveURL, sanitizeURLForElement, sanitizeURLString, ParsedURL, isMIMETypeAllowed }; | ||
export { TRUSTED_DOMAINS_REG_EXP, URL_SCHEMES_LIST, normalizerAnchor, isValidURL, isValidURLScheme, parseURL, resolveURL, sanitizeURLForElement, sanitizeURLString, ParsedURL, isMIMETypeAllowed }; |
@@ -28,2 +28,3 @@ /*! | ||
const DISALLOWED_ENDPOINTS_LIST$LWS = ['/aura', '/webruntime']; | ||
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:']); | ||
@@ -65,2 +66,3 @@ const newlinesAndTabsRegExp$LWS = /[\u2028\u2029\n\r\t]/g; | ||
} | ||
exports.TRUSTED_DOMAINS_REG_EXP = TRUSTED_DOMAINS_REG_EXP$LWS; | ||
exports.URL_SCHEMES_LIST = URL_SCHEMES_LIST$LWS; | ||
@@ -75,2 +77,2 @@ exports.isMIMETypeAllowed = isMIMETypeAllowed$LWS; | ||
exports.sanitizeURLString = sanitizeURLString$LWS; | ||
/*! version: 0.18.21 */ | ||
/*! version: 0.18.22 */ |
@@ -5,2 +5,3 @@ interface ParsedURL { | ||
} | ||
declare const TRUSTED_DOMAINS_REG_EXP: RegExp; | ||
declare const URL_SCHEMES_LIST: string[]; | ||
@@ -15,2 +16,2 @@ declare const normalizerAnchor: HTMLAnchorElement; | ||
declare function isMIMETypeAllowed(mimeType: string): boolean; | ||
export { URL_SCHEMES_LIST, normalizerAnchor, isValidURL, isValidURLScheme, parseURL, resolveURL, sanitizeURLForElement, sanitizeURLString, ParsedURL, isMIMETypeAllowed }; | ||
export { TRUSTED_DOMAINS_REG_EXP, URL_SCHEMES_LIST, normalizerAnchor, isValidURL, isValidURLScheme, parseURL, resolveURL, sanitizeURLForElement, sanitizeURLString, ParsedURL, isMIMETypeAllowed }; |
@@ -23,2 +23,3 @@ /*! | ||
const DISALLOWED_ENDPOINTS_LIST$LWS = ['/aura', '/webruntime']; | ||
const TRUSTED_DOMAINS_REG_EXP$LWS = /\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/; | ||
const URL_SCHEMES_LIST$LWS = toSafeArray$LWS(['http:', 'https:']); | ||
@@ -60,3 +61,3 @@ const newlinesAndTabsRegExp$LWS = /[\u2028\u2029\n\r\t]/g; | ||
} | ||
export { 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.18.21 */ | ||
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.18.22 */ |
{ | ||
"name": "@locker/shared-url", | ||
"version": "0.18.21", | ||
"version": "0.18.22", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -18,4 +18,4 @@ "author": "Salesforce UI Security Team", | ||
"dependencies": { | ||
"@locker/shared": "0.18.21", | ||
"@locker/shared-dom": "0.18.21" | ||
"@locker/shared": "0.18.22", | ||
"@locker/shared-dom": "0.18.22" | ||
}, | ||
@@ -22,0 +22,0 @@ "files": [ |
15426
168
+ Added@locker/shared@0.18.22(transitive)
+ Added@locker/shared-dom@0.18.22(transitive)
- Removed@locker/shared@0.18.21(transitive)
- Removed@locker/shared-dom@0.18.21(transitive)
Updated@locker/shared@0.18.22
Updated@locker/shared-dom@0.18.22