Repository navigation
chore(deps): update dependency imposter to 1.0.4 - #7244
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] This dependency update appears safe to merge. SummaryUpdates
Reviews (1) · Last reviewed commit: "chore(deps): update dependency imposter ..." · Reviewed by Greptile |
This PR contains the following updates:
1.0.3→1.0.4Release Notes
themidnightgospel/Imposter (Imposter)
v1.0.4: Generic methods match on every type argumentCompare Source
Fixes
Generic method setups and verifications match on every type argument (#417, closes #413). A type argument that no parameter or return type uses was ignored, so a
Name<string>()setup also answeredName<int>(), and aTag<int>(1)call counted toward verifyingTag<string>(1). Each type argument now has to match.Behaviour change: such a type argument now has to be the same type, not just a compatible one. A
Name<object>()setup no longer answersName<string>(). Set up each instantiation you call, or use a type argument the call actually uses.Performance
Arg<T>.Is(value),IsNot(value)and the implicit conversion allocate only the matcher (#420, closes #399). They no longer allocate a closure and a delegate as well.Arg<T>.Is(predicate)grows from 24 to 40 bytes as a trade-off.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.