From e6d2865c1797c7f7d17bada6663f1f30e4fe824e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 2 Jul 2024 06:18:34 +0000
Subject: [PATCH] chore(deps): update testing-library monorepo (major) (#638)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@testing-library/react](https://togithub.com/testing-library/react-testing-library) | [`^15.0.7` -> `^16.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/15.0.7/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact/15.0.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact/15.0.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@testing-library/svelte](https://togithub.com/testing-library/svelte-testing-library) | [`^4.2.3` -> `^5.2.0`](https://renovatebot.com/diffs/npm/@testing-library%2fsvelte/4.2.3/5.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fsvelte/5.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fsvelte/5.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fsvelte/4.2.3/5.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fsvelte/4.2.3/5.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
testing-library/react-testing-library (@testing-library/react)
### [`v16.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v16.0.0)
[Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0)
##### Features
- Move `@testing-library/dom` and `@types/react-dom` to peer dependencies ([#1305](https://togithub.com/testing-library/react-testing-library/issues/1305)) ([a4744fa](https://togithub.com/testing-library/react-testing-library/commit/a4744fa904bf11812c92093226c3805450472636))
##### BREAKING CHANGES
- `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency.
`@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`.
testing-library/svelte-testing-library (@testing-library/svelte)
### [`v5.2.0`](https://togithub.com/testing-library/svelte-testing-library/releases/tag/v5.2.0)
[Compare Source](https://togithub.com/testing-library/svelte-testing-library/compare/v5.1.0...v5.2.0)
##### Features
- **svelte5:** incorporate Svelte 5 support into main entry point ([#375](https://togithub.com/testing-library/svelte-testing-library/issues/375)) ([9dce164](https://togithub.com/testing-library/svelte-testing-library/commit/9dce164c7f1e0f1b012f7e4604352ac3bfd9eb98))
##### Bug Fixes
- **deps:** allow svelte 5.0.0-next as peer dep ([#384](https://togithub.com/testing-library/svelte-testing-library/issues/384)) ([2fb7423](https://togithub.com/testing-library/svelte-testing-library/commit/2fb7423e5b89b982da0297cbea990cb0ad683700))
- **types:** build types from JS source ([#376](https://togithub.com/testing-library/svelte-testing-library/issues/376)) ([a8f21f8](https://togithub.com/testing-library/svelte-testing-library/commit/a8f21f8402b736bac65a1361d075c0399542ff06))
### [`v5.1.0`](https://togithub.com/testing-library/svelte-testing-library/releases/tag/v5.1.0)
[Compare Source](https://togithub.com/testing-library/svelte-testing-library/compare/v5.0.1...v5.1.0)
##### Features
- **vitest:** add Vite plugin for Svelte browser import and autocleanup ([#362](https://togithub.com/testing-library/svelte-testing-library/issues/362)) ([ed541de](https://togithub.com/testing-library/svelte-testing-library/commit/ed541de853d8668f5fa6fbf037f3474ca435dc5e)), closes [#359](https://togithub.com/testing-library/svelte-testing-library/issues/359)
### [`v5.0.1`](https://togithub.com/testing-library/svelte-testing-library/releases/tag/v5.0.1)
[Compare Source](https://togithub.com/testing-library/svelte-testing-library/compare/v5.0.0...v5.0.1)
##### Bug Fixes
- **release:** trigger release ([0b857d6](https://togithub.com/testing-library/svelte-testing-library/commit/0b857d62a8ef9b88ac6fbb28b46a6d70207cc7d6))
### [`v5.0.0`](https://togithub.com/testing-library/svelte-testing-library/releases/tag/v5.0.0)
[Compare Source](https://togithub.com/testing-library/svelte-testing-library/compare/v4.2.3...v5.0.0)
##### chore
- **release:** note breaking changes for v5 ([#347](https://togithub.com/testing-library/svelte-testing-library/issues/347)) ([496c455](https://togithub.com/testing-library/svelte-testing-library/commit/496c4559c09c2d31115b797ad6ba36b0b3a4aa41))
##### BREAKING CHANGES
- **release:** `render` is now more strict about the `target`
option, and the `container` result is now the direct parent of
your component instance.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ascorbic/unpic-img).
---
package.json | 2 +-
packages/react/package.json | 2 +-
pnpm-lock.yaml | 46 +++++++++++++++++++++----------------
3 files changed, 28 insertions(+), 22 deletions(-)
diff --git a/package.json b/package.json
index 22965269..42c334f5 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"@netlify/plugin-nextjs": "5.4.0",
"@playwright/test": "^1.45.0",
"@testing-library/dom": "^10.2.0",
- "@testing-library/svelte": "^4.2.3",
+ "@testing-library/svelte": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@unpic/core": "workspace:^",
diff --git a/packages/react/package.json b/packages/react/package.json
index 3f4b5e28..2cc3a8bc 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -74,7 +74,7 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
- "@testing-library/react": "^15.0.7",
+ "@testing-library/react": "^16.0.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 45b4649f..2d2d5299 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -25,8 +25,8 @@ importers:
specifier: ^10.2.0
version: 10.2.0
'@testing-library/svelte':
- specifier: ^4.2.3
- version: 4.2.3(svelte@4.2.18)
+ specifier: ^5.2.0
+ version: 5.2.0(svelte@4.2.18)(vite@5.3.2)(vitest@1.6.0)
'@typescript-eslint/eslint-plugin':
specifier: ^7.15.0
version: 7.15.0(@typescript-eslint/parser@7.15.0)(eslint@8.57.0)(typescript@5.5.3)
@@ -649,8 +649,8 @@ importers:
specifier: ^0.15.3
version: 0.15.3
'@testing-library/react':
- specifier: ^15.0.7
- version: 15.0.7(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1)
+ specifier: ^16.0.0
+ version: 16.0.0(@testing-library/dom@10.2.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1)
'@types/node':
specifier: ^20.14.9
version: 20.14.9
@@ -4902,13 +4902,6 @@ packages:
regenerator-runtime: 0.14.1
dev: true
- /@babel/runtime@7.24.1:
- resolution: {integrity: sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==}
- engines: {node: '>=6.9.0'}
- dependencies:
- regenerator-runtime: 0.14.1
- dev: true
-
/@babel/runtime@7.24.5:
resolution: {integrity: sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==}
engines: {node: '>=6.9.0'}
@@ -11128,7 +11121,7 @@ packages:
engines: {node: '>=18'}
dependencies:
'@babel/code-frame': 7.24.2
- '@babel/runtime': 7.24.1
+ '@babel/runtime': 7.24.5
'@types/aria-query': 5.0.4
aria-query: 5.3.0
chalk: 4.1.2
@@ -11189,33 +11182,46 @@ packages:
preact: 10.22.1
dev: true
- /@testing-library/react@15.0.7(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1):
- resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==}
+ /@testing-library/react@16.0.0(@testing-library/dom@10.2.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1):
+ resolution: {integrity: sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==}
engines: {node: '>=18'}
peerDependencies:
+ '@testing-library/dom': ^10.0.0
'@types/react': ^18.0.0
+ '@types/react-dom': ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
peerDependenciesMeta:
'@types/react':
optional: true
+ '@types/react-dom':
+ optional: true
dependencies:
- '@babel/runtime': 7.24.1
- '@testing-library/dom': 10.1.0
+ '@babel/runtime': 7.24.5
+ '@testing-library/dom': 10.2.0
'@types/react': 18.3.3
'@types/react-dom': 18.3.0
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
dev: true
- /@testing-library/svelte@4.2.3(svelte@4.2.18):
- resolution: {integrity: sha512-8vM2+JSPc6wZWkO9ICPmHvzacjy8jBw+iVjmNs+0VsPV3AO3v4P8qCLWTaQ9nYW/e+IR1BCy3MM3Uqg21dlBkw==}
+ /@testing-library/svelte@5.2.0(svelte@4.2.18)(vite@5.3.2)(vitest@1.6.0):
+ resolution: {integrity: sha512-oMIFfxMcaPOXp+BQTRVgkeKzfAx7ee9fMrWaiKbMN36tN61kLl4Uj5ZZ/y1w9aL3a0BuBEoErV5iorYwCHqVUA==}
engines: {node: '>= 10'}
peerDependencies:
- svelte: ^3 || ^4 || ^5
+ svelte: ^3 || ^4 || ^5 || ^5.0.0-next.0
+ vite: '*'
+ vitest: '*'
+ peerDependenciesMeta:
+ vite:
+ optional: true
+ vitest:
+ optional: true
dependencies:
- '@testing-library/dom': 9.3.4
+ '@testing-library/dom': 10.2.0
svelte: 4.2.18
+ vite: 5.3.2(@types/node@20.14.9)
+ vitest: 1.6.0(jsdom@24.1.0)
dev: true
/@testing-library/vue@8.1.0(vue@3.4.31):