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
8
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.21.3 to 0.21.4

4

dist/index.cjs.js

@@ -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": [

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