New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@locker/shared-url

Package Overview
Dependencies
Maintainers
6
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/shared-url - npm Package Compare versions

Comparing version 0.11.3 to 0.11.7

4

dist/index.cjs.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc