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

@locker/html-sanitizer

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/html-sanitizer - npm Package Compare versions

Comparing version 0.12.2 to 0.12.3

types/additional-attributes.d.ts.map

2

dist/index.cjs.js

@@ -404,2 +404,2 @@ /**

exports.svgSanitizer = svgSanitizer;
/** version: 0.12.2 */
/** version: 0.12.3 */

@@ -391,2 +391,2 @@ /**

export { config as CONFIG, blobSanitizer, sanitize, sanitizeSvgHrefValue, sanitizer, svgSanitizer };
/** version: 0.12.2 */
/** version: 0.12.3 */
{
"name": "@locker/html-sanitizer",
"version": "0.12.2",
"version": "0.12.3",
"license": "Salesforce Developer Agreement",

@@ -18,15 +18,12 @@ "author": "Salesforce UI Security Team",

"scripts": {
"build": "tsc --emitDeclarationOnly && rollup -c .rolluprc.cjs",
"build": "tsc --project tsconfig.types.json && rollup --config .rolluprc.cjs",
"clean": "locker-trash dist/ types/"
},
"dependencies": {
"@locker/shared": "0.12.2",
"@locker/shared-dom": "0.12.2",
"@locker/shared": "0.12.3",
"@locker/shared-dom": "0.12.3",
"@types/dompurify": "^2.0.0",
"dompurify": "2.0.8"
"dompurify": "2.2.2"
},
"devDependencies": {
"typescript": "3.8.3"
},
"gitHead": "738fe1b33d349d389394370359044c1d5ee968c4"
"gitHead": "04a89b8ef9516c8ebc5f38a1bb2d93b04deba348"
}
export declare const ariaAttributes: string[];
//# sourceMappingURL=additional-attributes.d.ts.map
export declare const htmlTags: string[];
export declare const svgTags: string[];
//# sourceMappingURL=allowed-tags.d.ts.map

@@ -8,1 +8,2 @@ import { Config } from 'dompurify';

export declare const DOM_SVG: Config;
//# sourceMappingURL=config.d.ts.map

@@ -5,1 +5,2 @@ import { DOMPurifyI, Config, HookName, HookEvent } from 'dompurify';

export declare function sanitizer(config: Config, hooks: Hooks): DOMPurifyI;
//# sourceMappingURL=dompurify-wrapper.d.ts.map
import { SanitizeAttributeHookEvent } from 'dompurify';
export declare function sanitizeSvgHrefValue(value: string): string;
export declare function sanitizeHrefAttributeHook(node: Node, data: SanitizeAttributeHookEvent): SanitizeAttributeHookEvent;
//# sourceMappingURL=svg-sanitize-href-attribute.d.ts.map

@@ -9,1 +9,2 @@ import { DOMPurifyI } from 'dompurify';

export declare function sanitize(dirty: string): string;
//# sourceMappingURL=index.d.ts.map
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