@types/dompurify
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -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 @@ |
{ | ||
"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 @@ |
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
9044
124
2
+ Added@types/jsdom@*
+ Added@types/jsdom@21.1.7(transitive)
+ Added@types/node@22.7.3(transitive)
+ Added@types/tough-cookie@4.0.5(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedparse5@7.1.2(transitive)
+ Addedundici-types@6.19.8(transitive)