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

@types/dompurify

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/dompurify - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

21

dompurify/index.d.ts

@@ -51,5 +51,8 @@ // Type definitions for DOM Purify 2.3

ADD_TAGS?: string[] | undefined;
ADD_URI_SAFE_ATTR?: string[] | undefined;
ALLOW_DATA_ATTR?: boolean | undefined;
ALLOW_UNKNOWN_PROTOCOLS?: boolean | undefined;
ALLOWED_ATTR?: string[] | undefined;
ALLOWED_TAGS?: string[] | undefined;
ALLOWED_URI_REGEXP?: RegExp | undefined;
FORBID_ATTR?: string[] | undefined;

@@ -59,2 +62,3 @@ FORBID_CONTENTS?: string[] | undefined;

FORCE_BODY?: boolean | undefined;
IN_PLACE?: boolean | undefined;
KEEP_CONTENT?: boolean | undefined;

@@ -66,3 +70,2 @@ /**

PARSER_MEDIA_TYPE?: string | undefined;
RETURN_DOM?: boolean | undefined;
RETURN_DOM_FRAGMENT?: boolean | undefined;

@@ -75,10 +78,16 @@ /**

RETURN_DOM_IMPORT?: boolean | undefined;
RETURN_DOM?: boolean | undefined;
RETURN_TRUSTED_TYPE?: boolean | undefined;
SAFE_FOR_TEMPLATES?: boolean | undefined;
SANITIZE_DOM?: boolean | undefined;
USE_PROFILES?:
| false
| {
mathMl?: boolean | undefined;
svg?: boolean | undefined;
svgFilters?: boolean | undefined;
html?: boolean | undefined;
}
| undefined;
WHOLE_DOCUMENT?: boolean | undefined;
ALLOWED_URI_REGEXP?: RegExp | undefined;
SAFE_FOR_TEMPLATES?: boolean | undefined;
ALLOW_UNKNOWN_PROTOCOLS?: boolean | undefined;
USE_PROFILES?: false | { mathMl?: boolean | undefined; svg?: boolean | undefined; svgFilters?: boolean | undefined; html?: boolean | undefined } | undefined;
IN_PLACE?: boolean | undefined;
}

@@ -85,0 +94,0 @@

{
"name": "@types/dompurify",
"version": "2.3.0",
"version": "2.3.1",
"description": "TypeScript definitions for DOM Purify",

@@ -45,4 +45,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dompurify",

},
"typesPublisherContentHash": "8aa2d90bd79b7498ca95506e6d491ca97d9ee16a36cf1cbd29c62e12e43f07d1",
"typesPublisherContentHash": "86d8d69f8e24137e93b5ebc3a72f53109f76164c95a91627d1dd4b81b5dc99b3",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 28 Sep 2021 20:31:17 GMT
* Last updated: Wed, 29 Sep 2021 22:01:17 GMT
* Dependencies: [@types/trusted-types](https://npmjs.com/package/@types/trusted-types)

@@ -14,0 +14,0 @@ * Global values: `DOMPurify`

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