This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @vue/test-utils | 2.5.1 → 2.6.0 |
WARNING
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
vuejs/test-utils (@vue/test-utils)
v2.6.0
⚠️ Breaking change
Plain object and array props are no longer made deeply reactive. Tests relying on in-place mutations must wrap values in reactive() before mounting, or pass a new value to setProps. Passing the same mutated object to setProps does not trigger a re-render. Already-reactive props stay reactive. See #2951 and the migration guidance.
What's Changed
- feat(types): infer emitted event names and payload types by @niukanen1 in #2948
- feat: add TeleportStub and support custom components as built-in stubs by @simonyang08 in #2946
- feat: add VueWrapper.emit by @ValentinYoushkevich in #2998
- fix: keep the namespace prefix in attributes() by @MaxFreedomPollard in #2941
- fix: store props in shallow reactive to avoid deep propagation by @ackwell in #2951
- fix(types): infer emitted payloads for components with props by @ValentinYoushkevich in #2957
- fix: skip global mocks mixin when mocks are empty by @cexbrayat in #2962
- fix: record emitted events once when a devtools hook is installed by @ValentinYoushkevich in #2965
- fix(types): accept union-typed props in mount by @giaBaoJS in #2967
- fix: find elements and components inside multi-root functional components by @ValentinYoushkevich in #2971
- fix(#2333): keep props from mixins and extends in stubs by @ValentinYoushkevich in #2963
- fix: do not crash stubs on props without primitive conversion by @ValentinYoushkevich in #2975
- fix: support attachTo on Vue versions before 3.5 by @ValentinYoushkevich in #2974
- fix: apply global mocks named after internal instance fields by @ValentinYoushkevich in #2977
- fix: clear events emitted during unmount from the emitted history by @ondrhn in #2985
- fix: findComponent by selector on a functional root component by @ValentinYoushkevich in #2978
- fix: keep Map and Set values in setData by @mkantautas in #2980
- fix: stub directives registered with a camelCase or kebab-case name by @MaxFreedomPollard in #2982
- fix: use Vite mode to select the built package for tests by @cexbrayat in #2995
- fix: update the content of a teleport stubbed with a component by @ValentinYoushkevich in #2993
- fix: do not crash findComponent if ref points to an svg element by @NgoQuocViet2001 in #2983
- fix(stubs): skip component name lookups on re-render by @ondrhn in #2987
- fix(types): keep VueWrapper for findComponent with an any-typed selector by @ondrhn in #2973
- fix(#2541): stub globally registered components by their registration key by @ValentinYoushkevich in #2996
- fix: only apply stubs to the app being rendered by @ValentinYoushkevich in #2997
- fix: infer resolved types for defaulted wrapper props by @mvanhorn in #3003
- fix: render slots passed to a stubbed teleport or keep-alive by @ValentinYoushkevich in #3013
- fix(#2135): do not warn when mounting option slots are called outside render by @ValentinYoushkevich in #3014
New Contributors
- @MaxFreedomPollard made their first contribution in #2941
- @niukanen1 made their first contribution in #2948
- @ackwell made their first contribution in #2951
- @ValentinYoushkevich made their first contribution in #2957
- @Glandos made their first contribution in #2962
- @giaBaoJS made their first contribution in #2967
- @ondrhn made their first contribution in #2985
- @mkantautas made their first contribution in #2980
- @NgoQuocViet2001 made their first contribution in #2983
- @SuperDJ made their first contribution in #3010
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.5.1...v2.6.0
Configuration
📅 Schedule: (UTC)
- 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.
🔕 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 was generated by Mend Renovate. View the repository job log.
Summary by cubic
Updates @vue/test-utils from 2.5.1 to 2.6.0 in the lockfile. This release makes plain object and array props no longer deeply reactive, so tests mutating props in place must wrap values in reactive() before mounting or pass a new value to setProps.
It also adds new features: TeleportStub, emitted event type inference, and VueWrapper.emit.
Written for commit 9ca6345cf3932aa654db026608708e514d8ca142. Summary will update on new commits.
Activity
8PR author is in the excluded authors list.
IMPORTANT
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.
Run configuration
- Source mode: Auto
- Repository: ashcoft/nextcloud-pdf-editor
- Branch: main
- File: .coderabbit.yaml
- Commit: ef5977e
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
13a03cb6-2f6f-472c-b749-e4be56dd97a6You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- Trigger review
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
- (https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- Mastodon
:white_check_mark: Snyk checks have passed. No issues have been found so far.
| Status | Scan Engine | Critical | High | Medium | Low | Total (0) |
|---|---|---|---|---|---|---|
| :white_check_mark: | Open Source Security | 0 | 0 | 0 | 0 | 0 issues |
:computer: Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.
- Queue this pull request once it meets the queue conditions
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Up to standards :white_check_mark:
🟢 Issues 0 issues
Results:
0new issues
🟢 Metrics 0 complexity · 0 duplication
Metric Results Complexity 0 Duplication 0
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Current Aviator status
This pull request is currently open (not queued).
How to merge
To merge this PR, comment
/aviator mergeor add themergequeuelabel.