@locker/shared-url
Advanced tools
Comparing version 0.11.3 to 0.11.7
@@ -13,3 +13,3 @@ /** | ||
const REMOVE_URL_CHARS_REGEXP = /[\u2029\u2028\n\r\t]/g; | ||
const TRUSTED_DOMAINS = /\.(force|salesforce|visualforce|documentforce)\.com$/; | ||
const TRUSTED_DOMAINS = /\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/; | ||
const { get: linkHrefGetter, set: linkHrefSetter } = shared.ReflectGetOwnPropertyDescriptor(HTMLAnchorElement.prototype, 'href'); | ||
@@ -51,2 +51,2 @@ const { get: linkHostnameGetter } = shared.ReflectGetOwnPropertyDescriptor(HTMLAnchorElement.prototype, 'hostname'); | ||
exports.sanitizeURLString = sanitizeURLString; | ||
/** version: 0.11.3 */ | ||
/** version: 0.11.7 */ |
@@ -9,3 +9,3 @@ /** | ||
const REMOVE_URL_CHARS_REGEXP = /[\u2029\u2028\n\r\t]/g; | ||
const TRUSTED_DOMAINS = /\.(force|salesforce|visualforce|documentforce)\.com$/; | ||
const TRUSTED_DOMAINS = /\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/; | ||
const { get: linkHrefGetter, set: linkHrefSetter } = ReflectGetOwnPropertyDescriptor(HTMLAnchorElement.prototype, 'href'); | ||
@@ -42,2 +42,2 @@ const { get: linkHostnameGetter } = ReflectGetOwnPropertyDescriptor(HTMLAnchorElement.prototype, 'hostname'); | ||
export { TRUSTED_DOMAINS, isInvalidURL, isValidURLScheme, parseURL, sanitizeURLForElement, sanitizeURLString }; | ||
/** version: 0.11.3 */ | ||
/** version: 0.11.7 */ |
{ | ||
"name": "@locker/shared-url", | ||
"version": "0.11.3", | ||
"version": "0.11.7", | ||
"description": "Locker Next Shared URL Utilities", | ||
@@ -20,4 +20,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@locker/shared": "0.11.3", | ||
"@locker/shared-dom": "0.11.3" | ||
"@locker/shared": "0.11.7", | ||
"@locker/shared-dom": "0.11.7" | ||
}, | ||
@@ -28,3 +28,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "6265cbedd0be6b20fada0f3a63cfd2ff5bbc1ead" | ||
"gitHead": "d95b59d9623ee44939cd6d3f2b33b487ea308bdc" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6116
1
+ Added@locker/shared@0.11.7(transitive)
+ Added@locker/shared-dom@0.11.7(transitive)
- Removed@locker/shared@0.11.3(transitive)
- Removed@locker/shared-dom@0.11.3(transitive)
Updated@locker/shared@0.11.7
Updated@locker/shared-dom@0.11.7