@types/sanitize-html
Advanced tools
Comparing version 1.20.1 to 1.20.2
@@ -32,5 +32,6 @@ // Type definitions for sanitize-html 1.20.1 | ||
type AllowedAttribute = string | { name: string; multiple?: boolean; values: string[] }; | ||
interface IDefaults { | ||
allowedAttributes: { [index: string]: string[] }; | ||
allowedAttributes: { [index: string]: AllowedAttribute[] }; | ||
allowedSchemes: string[]; | ||
@@ -52,3 +53,3 @@ allowedSchemesByTag: { [index: string]: string[] }; | ||
interface IOptions { | ||
allowedAttributes?: { [index: string]: string[] } | boolean; | ||
allowedAttributes?: { [index: string]: AllowedAttribute[] } | boolean; | ||
allowedStyles?: { [index: string]: { [index: string]: RegExp[] } }; | ||
@@ -55,0 +56,0 @@ allowedClasses?: { [index: string]: string[] } | boolean; |
{ | ||
"name": "@types/sanitize-html", | ||
"version": "1.20.1", | ||
"version": "1.20.2", | ||
"description": "TypeScript definitions for sanitize-html", | ||
@@ -64,4 +64,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "029cf83bc10918e8759c8bb8552352578f958de1b3129a9ae0aac1e381f6a522", | ||
"typesPublisherContentHash": "c626c9beddd18e4b0ab93742204fc836ebf487bcef2164324af4cf510712242f", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 11 Jul 2019 19:30:58 GMT | ||
* Last updated: Mon, 16 Sep 2019 18:13:26 GMT | ||
* Dependencies: @types/htmlparser2 | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6571
56