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.20.1 to 1.20.2

5

sanitize-html/index.d.ts

@@ -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;

4

sanitize-html/package.json
{
"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

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