@locker/html-sanitizer
Advanced tools
Comparing version 0.12.2 to 0.12.3
@@ -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 |
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
28716
0
17
0
+ Added@locker/shared@0.12.3(transitive)
+ Added@locker/shared-dom@0.12.3(transitive)
+ Addeddompurify@2.2.2(transitive)
- Removed@locker/shared@0.12.2(transitive)
- Removed@locker/shared-dom@0.12.2(transitive)
- Removeddompurify@2.0.8(transitive)
Updated@locker/shared@0.12.3
Updated@locker/shared-dom@0.12.3
Updateddompurify@2.2.2