Socket
Socket
Sign inDemoInstall

@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 3.0.0 to 3.0.1

5

dompurify/index.d.ts

@@ -10,4 +10,7 @@ // Type definitions for DOM Purify 3.0

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.5
/// <reference types="trusted-types"/>
import { DOMWindow } from 'jsdom';
export as namespace DOMPurify;

@@ -19,3 +22,3 @@ export = DOMPurify;

interface createDOMPurifyI extends DOMPurify.DOMPurifyI {
(window?: Window): DOMPurify.DOMPurifyI;
(window?: Window | DOMWindow): DOMPurify.DOMPurifyI;
}

@@ -22,0 +25,0 @@

7

dompurify/package.json
{
"name": "@types/dompurify",
"version": "3.0.0",
"version": "3.0.1",
"description": "TypeScript definitions for DOM Purify",

@@ -43,6 +43,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dompurify",

"dependencies": {
"@types/jsdom": "*",
"@types/trusted-types": "*"
},
"typesPublisherContentHash": "f948b73aaf3c05f71f5eb110540301bc035d32060ba2a38ba042a6cfdf203900",
"typeScriptVersion": "4.2"
"typesPublisherContentHash": "0aaad9248c143bb370ad4d731e73db19d541d88c799c1e9fc0b7b9ac0dc77731",
"typeScriptVersion": "4.5"
}

@@ -11,4 +11,4 @@ # Installation

### Additional Details
* Last updated: Mon, 13 Mar 2023 20:06:50 GMT
* Dependencies: [@types/trusted-types](https://npmjs.com/package/@types/trusted-types)
* Last updated: Mon, 03 Apr 2023 19:33:11 GMT
* Dependencies: [@types/jsdom](https://npmjs.com/package/@types/jsdom), [@types/trusted-types](https://npmjs.com/package/@types/trusted-types)
* Global values: `DOMPurify`

@@ -15,0 +15,0 @@

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