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

@types/sanitize-html

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sanitize-html - npm Package Compare versions

Comparing version 1.23.1 to 1.23.2

13

sanitize-html/index.d.ts

@@ -14,2 +14,3 @@ // Type definitions for sanitize-html 1.23.0

// Dariusz Syncerek <https://github.com/dsyncerek>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -41,7 +42,10 @@ // TypeScript Version: 2.2

allowedSchemesByTag: { [index: string]: string[] };
allowedSchemesAppliedToAttributes: string[];
allowedTags: string[];
allowProtocolRelative: boolean;
disallowedTagsMode: string;
enforceHtmlBoundary: boolean;
selfClosing: string[];
}
interface IFrame {

@@ -73,2 +77,9 @@ tag: string;

disallowedTagsMode?: DisallowedTagsModes;
/**
* Setting this option to true will instruct sanitize-html to discard all characters outside of html tag boundaries
* -- before `<html>` and after `</html>` tags
* @see {@link https://github.com/apostrophecms/sanitize-html/#discarding-text-outside-of-htmlhtml-tags}
* @default true
*/
enforceHtmlBoundary?: boolean;
}

@@ -75,0 +86,0 @@

9

sanitize-html/package.json
{
"name": "@types/sanitize-html",
"version": "1.23.1",
"version": "1.23.2",
"description": "TypeScript definitions for sanitize-html",

@@ -61,2 +61,7 @@ "license": "MIT",

"githubUsername": "dsyncerek"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}

@@ -75,4 +80,4 @@ ],

},
"typesPublisherContentHash": "7620c461990b3e96df5fafb1df6e82ebe4fa1f8bd588ac465a55768838fef3dd",
"typesPublisherContentHash": "361ffd83ac63d61aa84aab12cd29c79942c02f709f1f89b7f3559e99e02832d1",
"typeScriptVersion": "3.0"
}

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

### Additional Details
* Last updated: Wed, 10 Jun 2020 23:16:00 GMT
* Last updated: Thu, 11 Jun 2020 14:21:34 GMT
* Dependencies: [@types/htmlparser2](https://npmjs.com/package/@types/htmlparser2)

@@ -17,2 +17,2 @@ * 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), [GP](https://github.com/paambaati), [tomotetra](https://github.com/tomotetra), and [Dariusz Syncerek](https://github.com/dsyncerek).
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), [tomotetra](https://github.com/tomotetra), [Dariusz Syncerek](https://github.com/dsyncerek), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
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