@types/jsdom
Advanced tools
Comparing version 16.2.8 to 16.2.9
@@ -15,2 +15,6 @@ /// <reference types="node" /> | ||
interface AbortablePromise<T> extends Promise<T> { | ||
abort(): void; | ||
} | ||
class JSDOM { | ||
@@ -58,3 +62,3 @@ constructor(html?: string | Buffer | BinaryData, options?: ConstructorOptions); | ||
class ResourceLoader { | ||
fetch(url: string, options: FetchOptions): Promise<Buffer> | null; | ||
fetch(url: string, options: FetchOptions): AbortablePromise<Buffer> | null; | ||
@@ -61,0 +65,0 @@ constructor(obj?: ResourceLoaderConstructorOptions); |
{ | ||
"name": "@types/jsdom", | ||
"version": "16.2.8", | ||
"version": "16.2.9", | ||
"description": "TypeScript definitions for jsdom", | ||
@@ -43,4 +43,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "cba6efe276ebe467247f37a5fa9817c162a27766a5cc1ffbb3b680c4d3b5525e", | ||
"typesPublisherContentHash": "3f235a7670fae30260300b2bfbcefad665b8325c8808534a92226cbaf82133a2", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 26 Mar 2021 16:01:19 GMT | ||
* Last updated: Sat, 27 Mar 2021 13:31:09 GMT | ||
* Dependencies: [@types/parse5](https://npmjs.com/package/@types/parse5), [@types/tough-cookie](https://npmjs.com/package/@types/tough-cookie), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21417
410
0