mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #8583] chore(deps): update dependency moq to v4.18.2 #11772
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/8583
State: closed
Merged: Yes
This PR contains the following updates:
4.16.1->4.18.2⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
moq/moq4
v4.18.2Changed
Castle.Core(DynamicProxy) from version 5.0.0 to 5.1.0 (@stakx, #1275)System.Threading.Tasks.Extensionsfornetstandard2.1andnet6.0(@tibel, #1274)Fixed
.Raises()with redeclared event (@howcheng, #1175)MissingMethodExceptionwhen mocking interface with sealed default implementation (@pjquirk, #1209)TypeLoadExceptionon mock when a record has a base record on .NET 6 (@tgrieger-sf, #1273)v4.18.1Fixed
It.Ispredicates in setup expressions after updating from 4.13.1 to 4.16.1 (@b3go, #1217)SetupPropertywhere Moq fails to match a property accessor implementation against its definition in an interface (@Naxemar, #1248).Resultvs without (@cyungmann, #1253)v4.18.0New major version of DynamicProxy (you may get better performance!), so please update with care.
Changed
Castle.Core(DynamicProxy) from version 4.4.1 to 5.0.0 (@stakx, #1257)net45tonet462net6.0TFMFixed
System.Net.Httpwhich is vulnerable to "DoS", "Spoofing", "Privilege Escalation", "Authentication Bypass" and "Information Exposure" (@sidseter, #1219)CallBaseandDefaultValue.Mockconfigured (@IanKemp, #1249)v4.17.2Fixed
v4.17.1Added
SetupSet,VerifySetmethods formock.Protected().As<>()(@tonyhallett, #1165)Throwsmethod overloads that allow specifying a function with or without parameters, to provide an exception, for example.Throws(() => new InvalidOperationException())and
Setup(x => x.GetFooAsync(It.IsAny<string>()).Result).Throws((string s) => new InvalidOperationException(s)). (@adam-knights, #1191)Changed
Castle.Core(DynamicProxy) from version 4.4.0 to 4.4.1 (@stakx, #1233)Fixed
_forIt.IsAny<>()(@adamfk, #1199)mock.Protected()setup methods fail when argument is of typeExpression(@tonyhallett, #1189)Protected().SetupSet()...VerifySet(@tonyhallett, #1186)mock.Protected().As<>()(@tonyhallett, #1185)Verifyfail when it should not (@evilc0, #1225)Mock.Of(@stakx, #1066)SetupAllPropertiescauses mocks to become race-prone (@estrizhok, #1231)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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.