From ecab50247f47c7ffe800e02f87f81304dd486227 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Jun 2021 17:02:17 -0700 Subject: [PATCH] Bump @testing-library/dom from 7.31.2 to 8.0.0 in /desktop (#2529) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 7.31.2 to 8.0.0.
Release notes

Sourced from @​testing-library/dom's releases.

v8.0.0

8.0.0 (2021-06-23)

Recommendations

  1. If you're using jest fake timers make sure you use modern timers jest 27:
    -jest.useFakeTimers('legacy')
    +jest.useFakeTimers('modern')
     // jest.config.js
    -"timers": "legacy",
    +"timers": "modern",
    
    jest 26:
    -jest.useFakeTimers()
    +jest.useFakeTimers('modern')
     // jest.config.js
    -"timers": "legacy",
    +"timers": "modern",
    

chore

BREAKING CHANGES

v8.0.0-alpha.7

8.0.0-alpha.7 (2021-06-20)

Bug Fixes

v8.0.0-alpha.6

8.0.0-alpha.6 (2021-06-12)

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/dom&package-manager=npm_and_yarn&previous-version=7.31.2&new-version=8.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) ---
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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request resolved: https://github.com/facebook/flipper/pull/2529 Reviewed By: mweststrate Differential Revision: D29429955 Pulled By: cekkaewnumchai fbshipit-source-id: 7a25bed5e6d85534a48815ddc5a5a5a701df5e7b --- desktop/app/package.json | 2 +- desktop/package.json | 2 +- desktop/yarn.lock | 17 ++++++----------- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/desktop/app/package.json b/desktop/app/package.json index c1bf58f9d..bce91fbb6 100644 --- a/desktop/app/package.json +++ b/desktop/app/package.json @@ -82,7 +82,7 @@ "7zip-bin-mac": "^1.0.1" }, "devDependencies": { - "@testing-library/dom": "^7.31.2", + "@testing-library/dom": "^8.0.0", "@testing-library/react": "^11.2.7", "@types/lodash.memoize": "^4.1.6", "@types/split2": "^3.2.0", diff --git a/desktop/package.json b/desktop/package.json index 42435761c..7d2af689d 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -71,7 +71,7 @@ "@babel/code-frame": "^7.14.5", "@babel/eslint-parser": "^7.14.7", "@jest-runner/electron": "^3.0.1", - "@testing-library/dom": "^7.31.2", + "@testing-library/dom": "^8.0.0", "@testing-library/react": "^11.2.7", "@types/adobe__node-fetch-retry": "^1.0.0", "@types/algoliasearch": "^4.0.0", diff --git a/desktop/yarn.lock b/desktop/yarn.lock index 5583017dc..26853df70 100644 --- a/desktop/yarn.lock +++ b/desktop/yarn.lock @@ -2899,10 +2899,10 @@ lz-string "^1.4.4" pretty-format "^26.6.2" -"@testing-library/dom@^7.31.2": - version "7.31.2" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.31.2.tgz#df361db38f5212b88555068ab8119f5d841a8c4a" - integrity sha512-3UqjCpey6HiTZT92vODYLPxTBWlM8ZOOjr3LX5F37/VRipW2M1kX6I/Cm4VXzteZqfGfagg8yXywpcOgQBlNsQ== +"@testing-library/dom@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.0.0.tgz#2bb994393c566aae021db86dd263ba06e8b71b38" + integrity sha512-Ym375MTOpfszlagRnTMO+FOfTt6gRrWiDOWmEnWLu9OvwCPOWtK6i5pBHmZ07wUJiQ7wWz0t8+ZBK2wFo2tlew== dependencies: "@babel/code-frame" "^7.10.4" "@babel/runtime" "^7.12.5" @@ -2911,7 +2911,7 @@ chalk "^4.1.0" dom-accessibility-api "^0.5.6" lz-string "^1.4.4" - pretty-format "^26.6.2" + pretty-format "^27.0.2" "@testing-library/react@*": version "11.2.5" @@ -6001,12 +6001,7 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-accessibility-api@^0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.4.tgz#b06d059cdd4a4ad9a79275f9d414a5c126241166" - integrity sha512-TvrjBckDy2c6v6RLxPv5QXOnU+SmF9nBII5621Ve5fu6Z/BDrENurBEvlC1f44lKEUVqOpK4w9E5Idc5/EgkLQ== - -dom-accessibility-api@^0.5.6: +dom-accessibility-api@^0.5.4, dom-accessibility-api@^0.5.6: version "0.5.6" resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.6.tgz#3f5d43b52c7a3bd68b5fb63fa47b4e4c1fdf65a9" integrity sha512-DplGLZd8L1lN64jlT27N9TVSESFR5STaEJvX+thCby7fuCHonfPpAlodYc3vuUYbDuDec5w8AMP7oCM5TWFsqw==