Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jsdom from 16.3.0 to 16.4.0 #22124

Merged
merged 3 commits into from
Aug 12, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps jsdom from 16.3.0 to 16.4.0.

Changelog

Sourced from jsdom's changelog.

16.4.0

  • Added a not-implemented warning if you try to use the second pseudo-element argument to getComputedStyle(), unless you pass a ::part or ::slotted pseudo-element, in which case we throw an error per the spec. (ExE-Boss)
  • Improved the performance of repeated access to el.tagName, which also indirectly improves performance of selector matching and style computation. (eps1lon)
  • Fixed form.elements to respect the form="" attribute, so that it can contain non-descendant form controls. (ccwebdesign)
  • Fixed el.focus() to do nothing on disconnected elements. (eps1lon)
  • Fixed el.focus() to work on SVG elements. (zjffun)
  • Fixed removing the currently-focused element to move focus to the <body> element. (eps1lon)
  • Fixed imgEl.complete to return true for <img> elements with empty or unset src="" attributes. (strager)
  • Fixed imgEl.complete to return true if an error occurs loading the <img>, when canvas is enabled. (strager)
  • Fixed imgEl.complete to return false if the <img> element's src="" attribute is reset. (strager)
  • Fixed the valueMissing validation check for <input type="radio">. (zjffun)
  • Fixed translate="" and draggable="" attribute processing to use ASCII case-insensitivity, instead of Unicode case-insensitivity. (zjffun)
Commits
  • 5279cfd Version 16.4.0
  • 3802e13 Fix several bugs in <img>.complete
  • bfa4902 When removing the focused element, focus the body
  • 20b3971 Add basic processing for second getComputedStyle() argument
  • 4a49111 Fix case insensitivity for translate="" and draggable=""
  • 63d24a0 Cache Element's tagName
  • c2fb8ff Fix the valueMissing check for <input type=radio>
  • 574eb51 Implement focusability for SVG elements
  • 252b828 Do not allow focusing disconnected nodes
  • af7e1d9 Fix form.elements to use form owner instead of only descendants
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Update of dependencies label Aug 9, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Aug 9, 2020

No bundle size changes comparing 1982dc2...79ff5a7

Generated by 🚫 dangerJS against 79ff5a7

@eps1lon
Copy link
Member

eps1lon commented Aug 9, 2020

Resolve jsdom/jsdom#3025 first.

@eps1lon eps1lon added the on hold There is a blocker, we need to wait label Aug 9, 2020
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 10, 2020
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@16.3.0...16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@@ -1,5 +1,5 @@
module.exports = {
recursive: true,
reporter: 'dot',
require: [require.resolve('@babel/register'), require.resolve('./test/utils/setup')],
require: [require.resolve('@babel/register'), require.resolve('./test/utils/setupJSDOM')],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really about setting up JSDOM. I was always confused by the two init and setup files which are essentially synonyms in this context.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

function isInJSDOM() {
return /jsdom/.test(window.navigator.userAgent);
}

function isInKarma() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The usage is specific to karma. Having a isInBrowser = !isInJSDOM would not be accurate.

@eps1lon eps1lon force-pushed the dependabot/npm_and_yarn/jsdom-16.4.0 branch from 131e925 to 863683d Compare August 10, 2020 22:39
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 10, 2020
@eps1lon eps1lon added test and removed on hold There is a blocker, we need to wait labels Aug 10, 2020
@eps1lon
Copy link
Member

eps1lon commented Aug 10, 2020

Also shaving off 10s (50s down from 60s) in yarn test:unit in CI largely due to jsdom/jsdom#3008

@dependabot-preview dependabot-preview bot merged commit 38d25db into next Aug 12, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/jsdom-16.4.0 branch August 12, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants