Skip to content

Relax dependency on Moq #102

@jnyrup

Description

@jnyrup

#84 upgraded the dependency on Moq from 4.8.0 to 4.20.72 (the latest version).

That fixed #82 because Moq 4.8.0 depends on Caste.Core 4.2.1, which targets. NETStandard.Library 1.6.1.
The dependency on NETStandard.Library 1.6.1 is what raises the two warnings for the CVE's listed in #82.

As mentioned in #82 upgrading Moq to version 4.18.0 is sufficient to fix the warnings.
Moq 4.18.0 depends on Castle.Core 5.0.0, which added targets for .NETStandard 2.0, .NETStandard 2.1 and .NET 6.0.

As you might be familiar with, there has been some controversies around Moq 4.20, since it introduced a mechanism (SponsorLink) to check if users were sponsoring the Moq project.

Therefore I'm asking if it would be possible to relax the dependency on Moq from 4.20.72 and down to 4.18.4, which is the version right before SponsorLink was introduced.

cc @kkoynov @Catlandor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions