jsdom/jsdom
### [`v16.0.0`](https://togithub.com/jsdom/jsdom/blob/master/Changelog.md#1600)
[Compare Source](https://togithub.com/jsdom/jsdom/compare/15.2.1...16.0.0)
For this release we'd like to welcome [@pmdartus](https://togithub.com/jsdom/jsdom/commits?author=pmdartus) to the core team. Among other work, he's driven the heroic effort of constructor prototype and reform in jsdom and its dependencies over the last few months, to allow us to move away from shared constructors and prototypes, and set the groundwork for custom elements support ([coming soon](https://togithub.com/jsdom/jsdom/pull/2548)!).
Breaking changes:
- Node v10 is now the minimum supported version.
- The `dom.runVMScript()` API has been replaced with the more general `dom.getInternalVMContext()` API.
- Each jsdom `Window` now creates new instances of all the web platform globals. That is, our old [shared constructor and prototypes](https://togithub.com/jsdom/jsdom/blob/35894a6703ed1f4de98942780bd99244ac27f600/README.md#shared-constructors-and-prototypes) caveat is no longer in play.
- Each jsdom `Window` now exposes all JavaScript-spec-defined globals uniformly. When `runScripts` is disabled, it exposes them as aliases of the ones from the outer Node.js environment. Whereas when `runScripts` is enabled, it exposes fresh copies of each global from the new scripting environment. (Previously, a few typed array classes would always be aliased, and with `runScripts` disabled, the other classes would not be exposed at all.)
Other changes:
- Added the `AbstractRange`, `Range`, `StaticRange`, `Selection`, and `window.getSelection()` APIs.
- Added working constructors for `Comment`, `Text`, and `DocumentFragment`.
- Added `valueAsDate`, `valueAsNumber`, `stepUp()` and `stepDown()` to `` elements. (kraynel)
- Added `window.origin`.
- Removed `document.origin`.
- Fixed `` to work correctly inside XML documents.
- Fixed some bugs which would cause jsdom to choose the wrong character encoding because it was failing to detect `` or `` elements.
- Fixed `input.type` to default to `"text"`. (connormeredith)
- Fixed incorrect validation errors for `` with fractional values for their `step=""` attribute. (kontomondo)
- Fixed incorrect validation errors on readonly `` elements.
- Fixed `` validation.
- Fixed `fileReader.readAsDataURL()` to always base64-encode the result. (ytetsuro)
- Fixed inserting `` elements into documents without a browsing context to no longer crash when the `canvas` package is installed.
- Fixed a memory leak when using `window.setTimeout()` or `window.setInterval()`.
- Improved the performance of `getComputedStyle()`. (eps1lon)
### [`v15.2.1`](https://togithub.com/jsdom/jsdom/blob/master/Changelog.md#1521)
[Compare Source](https://togithub.com/jsdom/jsdom/compare/15.2.0...15.2.1)
- Fixed `JSDOM.fromURL()` handling of URLs with hashes in them, to no longer send the hash to the server and append an extra copy of it when constructing the `Document`. (rchl)
- Fixed focusing an already-focused element to correctly do nothing, instead of firing additional `focus` events. (eps1lon)
- Fixed typo in the not-implemented message for `mediaElement.addTextTrack()`. (mtsmfm)
- Upgraded `nwsapi` minimum version to 2.2.0, which fixes issues with `::-webkit-` prefixed pseudo-elements and namespaced attribute selectors.
### [`v15.2.0`](https://togithub.com/jsdom/jsdom/blob/master/Changelog.md#1520)
[Compare Source](https://togithub.com/jsdom/jsdom/compare/15.1.1...15.2.0)
- Added basic style inheritance in `getComputedStyle()` for the `'visibility'` property. This sets the foundation for further work on inheritance, cascading, and specificity. (eps1lon)
- Added `shadowRoot.activeElement`.
- Added `readystatechange` events during document loading.
- Added a stub for `form.requestSubmit()`, to match our existing stub for `form.submit()`.
- Changed `el.tabIndex`'s default value, when no `tabindex=""` attribute was set, to reflect the updated specification.
- Changed the exception thrown by `el.attachShadow()` on something that's already a shadow host, to reflect the updated specification.
- Fixed the validation logic for ``.
- Fixed `selectEl.value` when no `
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^15.1.1
->^16.0.0
Release Notes
jsdom/jsdom
### [`v16.0.0`](https://togithub.com/jsdom/jsdom/blob/master/Changelog.md#1600) [Compare Source](https://togithub.com/jsdom/jsdom/compare/15.2.1...16.0.0) For this release we'd like to welcome [@pmdartus](https://togithub.com/jsdom/jsdom/commits?author=pmdartus) to the core team. Among other work, he's driven the heroic effort of constructor prototype and reform in jsdom and its dependencies over the last few months, to allow us to move away from shared constructors and prototypes, and set the groundwork for custom elements support ([coming soon](https://togithub.com/jsdom/jsdom/pull/2548)!). Breaking changes: - Node v10 is now the minimum supported version. - The `dom.runVMScript()` API has been replaced with the more general `dom.getInternalVMContext()` API. - Each jsdom `Window` now creates new instances of all the web platform globals. That is, our old [shared constructor and prototypes](https://togithub.com/jsdom/jsdom/blob/35894a6703ed1f4de98942780bd99244ac27f600/README.md#shared-constructors-and-prototypes) caveat is no longer in play. - Each jsdom `Window` now exposes all JavaScript-spec-defined globals uniformly. When `runScripts` is disabled, it exposes them as aliases of the ones from the outer Node.js environment. Whereas when `runScripts` is enabled, it exposes fresh copies of each global from the new scripting environment. (Previously, a few typed array classes would always be aliased, and with `runScripts` disabled, the other classes would not be exposed at all.) Other changes: - Added the `AbstractRange`, `Range`, `StaticRange`, `Selection`, and `window.getSelection()` APIs. - Added working constructors for `Comment`, `Text`, and `DocumentFragment`. - Added `valueAsDate`, `valueAsNumber`, `stepUp()` and `stepDown()` to `` elements. (kraynel) - Added `window.origin`. - Removed `document.origin`. - Fixed `` to work correctly inside XML documents. - Fixed some bugs which would cause jsdom to choose the wrong character encoding because it was failing to detect `` or `` elements. - Fixed `input.type` to default to `"text"`. (connormeredith) - Fixed incorrect validation errors for `` with fractional values for their `step=""` attribute. (kontomondo) - Fixed incorrect validation errors on readonly `` elements. - Fixed `` validation. - Fixed `fileReader.readAsDataURL()` to always base64-encode the result. (ytetsuro) - Fixed inserting `` elements into documents without a browsing context to no longer crash when the `canvas` package is installed. - Fixed a memory leak when using `window.setTimeout()` or `window.setInterval()`. - Improved the performance of `getComputedStyle()`. (eps1lon) ### [`v15.2.1`](https://togithub.com/jsdom/jsdom/blob/master/Changelog.md#1521) [Compare Source](https://togithub.com/jsdom/jsdom/compare/15.2.0...15.2.1) - Fixed `JSDOM.fromURL()` handling of URLs with hashes in them, to no longer send the hash to the server and append an extra copy of it when constructing the `Document`. (rchl) - Fixed focusing an already-focused element to correctly do nothing, instead of firing additional `focus` events. (eps1lon) - Fixed typo in the not-implemented message for `mediaElement.addTextTrack()`. (mtsmfm) - Upgraded `nwsapi` minimum version to 2.2.0, which fixes issues with `::-webkit-` prefixed pseudo-elements and namespaced attribute selectors. ### [`v15.2.0`](https://togithub.com/jsdom/jsdom/blob/master/Changelog.md#1520) [Compare Source](https://togithub.com/jsdom/jsdom/compare/15.1.1...15.2.0) - Added basic style inheritance in `getComputedStyle()` for the `'visibility'` property. This sets the foundation for further work on inheritance, cascading, and specificity. (eps1lon) - Added `shadowRoot.activeElement`. - Added `readystatechange` events during document loading. - Added a stub for `form.requestSubmit()`, to match our existing stub for `form.submit()`. - Changed `el.tabIndex`'s default value, when no `tabindex=""` attribute was set, to reflect the updated specification. - Changed the exception thrown by `el.attachShadow()` on something that's already a shadow host, to reflect the updated specification. - Fixed the validation logic for ``. - Fixed `selectEl.value` when no `Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.