@types/jsdom
Advanced tools
Comparing version 11.0.6 to 11.12.0
@@ -1,4 +0,5 @@ | ||
// Type definitions for jsdom 11.0 | ||
// Type definitions for jsdom 11.12 | ||
// Project: https://github.com/tmpvar/jsdom#readme | ||
// Definitions by: Leonard Thieu <https://github.com/leonard-thieu> | ||
// Johan Palmfjord <https://github.com/palmfjord> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -104,2 +105,16 @@ // TypeScript Version: 2.2 | ||
contentType?: string; | ||
/** | ||
* jsdom does not have the capability to render visual content, and will act like a headless browser by default. | ||
* It provides hints to web pages through APIs such as document.hidden that their content is not visible. | ||
* | ||
* When the pretendToBeVisual option is set to true, jsdom will pretend that it is rendering and displaying | ||
* content. | ||
*/ | ||
pretendToBeVisual?: boolean | ||
/** | ||
* The maximum size in code units for the separate storage areas used by localStorage and sessionStorage. | ||
* Attempts to store data larger than this limit will cause a DOMException to be thrown. By default, it is set | ||
* to 5,000,000 code units per origin, as inspired by the HTML specification. | ||
*/ | ||
storageQuota?: number | ||
}; | ||
@@ -106,0 +121,0 @@ |
{ | ||
"name": "@types/jsdom", | ||
"version": "11.0.6", | ||
"version": "11.12.0", | ||
"description": "TypeScript definitions for jsdom", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "leonard-thieu" | ||
}, | ||
{ | ||
"name": "Johan Palmfjord", | ||
"url": "https://github.com/palmfjord", | ||
"githubUsername": "palmfjord" | ||
} | ||
@@ -26,4 +31,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "f633a100b8e9df550043f8d019685f8323014049090f0032186ca9bbb60760be", | ||
"typesPublisherContentHash": "265ac95f4e764ca77d279835bdcc626132f09b4e9b252962194561991f371b97", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 20 Jun 2018 00:10:18 GMT | ||
* Last updated: Thu, 13 Sep 2018 23:38:56 GMT | ||
* Dependencies: parse5, events, tough-cookie, vm, node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Leonard Thieu <https://github.com/leonard-thieu>. | ||
These definitions were written by Leonard Thieu <https://github.com/leonard-thieu>, Johan Palmfjord <https://github.com/palmfjord>. |
Sorry, the diff of this file is not supported yet
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
14820
261