@types/sanitize-html
Advanced tools
Comparing version 1.20.2 to 1.22.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for sanitize-html 1.20.1 | ||
// Type definitions for sanitize-html 1.22.0 | ||
// Project: https://github.com/punkave/sanitize-html | ||
@@ -12,2 +12,3 @@ // Definitions by: Rogier Schouten <https://github.com/rogierschouten> | ||
// GP <https://github.com/paambaati> | ||
// tomotetra <https://github.com/tomotetra> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -35,2 +36,4 @@ // TypeScript Version: 2.2 | ||
type DisallowedTagsModes = 'discard' | 'escape' | 'recursiveEscape'; | ||
interface IDefaults { | ||
@@ -70,2 +73,3 @@ allowedAttributes: { [index: string]: AllowedAttribute[] }; | ||
parser?: Options; | ||
disallowedTagsMode?: DisallowedTagsModes; | ||
} | ||
@@ -72,0 +76,0 @@ |
{ | ||
"name": "@types/sanitize-html", | ||
"version": "1.20.2", | ||
"version": "1.22.0", | ||
"description": "TypeScript definitions for sanitize-html", | ||
@@ -51,6 +51,11 @@ "license": "MIT", | ||
"githubUsername": "paambaati" | ||
}, | ||
{ | ||
"name": "tomotetra", | ||
"url": "https://github.com/tomotetra", | ||
"githubUsername": "tomotetra" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -65,4 +70,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "c626c9beddd18e4b0ab93742204fc836ebf487bcef2164324af4cf510712242f", | ||
"typeScriptVersion": "2.2" | ||
"typesPublisherContentHash": "9e8fbd2692bdca5fe73008db27cecd2c7aa923dc30c6826c44edcf7922962b78", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sanitize-html | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sanitize-html. | ||
Additional Details | ||
* Last updated: Mon, 16 Sep 2019 18:13:26 GMT | ||
* Dependencies: @types/htmlparser2 | ||
### Additional Details | ||
* Last updated: Thu, 12 Mar 2020 23:52:19 GMT | ||
* Dependencies: [@types/htmlparser2](https://npmjs.com/package/@types/htmlparser2) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>, Afshin Darian <https://github.com/afshin>, BehindTheMath <https://github.com/BehindTheMath>, Rinze de Laat <https://github.com/biermeester>, Will Gibson <https://github.com/WillGibson>, A penguin <https://github.com/sirMerr>, Johan Davidsson <https://github.com/johandavidson>, Jianrong Yu <https://github.com/YuJianrong>, and GP <https://github.com/paambaati>. | ||
These definitions were written by [Rogier Schouten](https://github.com/rogierschouten), [Afshin Darian](https://github.com/afshin), [BehindTheMath](https://github.com/BehindTheMath), [Rinze de Laat](https://github.com/biermeester), [Will Gibson](https://github.com/WillGibson), [A penguin](https://github.com/sirMerr), [Johan Davidsson](https://github.com/johandavidson), [Jianrong Yu](https://github.com/YuJianrong), [GP](https://github.com/paambaati), and [tomotetra](https://github.com/tomotetra). |
7006
59