Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@locker/shared-url

Package Overview
Dependencies
Maintainers
8
Versions
232
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.18.21 to 0.18.22

3

dist/index.cjs.d.ts

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

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