Skip to content

Commit

Permalink
chore(deps): Bump NSubstitute from 5.1.0 to 5.3.0 in /packages/@jsii/…
Browse files Browse the repository at this point in the history
…dotnet-runtime/src (#4686)

Bumps [NSubstitute](https://github.com/nsubstitute/NSubstitute) from 5.1.0 to 5.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/nsubstitute/NSubstitute/releases">NSubstitute's releases</a>.</em></p>
<blockquote>
<h2>v5.3.0</h2>
<ul>
<li>[NEW] Introduced <code>Substitute.ForTypeForwardingTo</code> to create substitutes that forward interceptable calls to a concrete class. This provides an easy way of implementing a test spy over an existing type. Designed and implemented by <a href="https://github.com/marcoregueira"><code>@​marcoregueira</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/700">nsubstitute/NSubstitute#700</a> from a proposal by <a href="https://github.com/wsaeed"><code>@​wsaeed</code></a>. Thanks to all who contributed to discussions of this feature.</li>
<li>[NEW] Support Raise.EventWith default constructor (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/788">#788</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/813">nsubstitute/NSubstitute#813</a></li>
<li>[NEW] Implement When(...).Throws to avoid confusion with Throw method (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/803">#803</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/818">nsubstitute/NSubstitute#818</a></li>
<li>[FIX] Arg.Any() does not match arguments passed by reference (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/787">#787</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/811">nsubstitute/NSubstitute#811</a></li>
<li>[FIX] Support matching arguments whose type is generic, when their concrete type is not known (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/786">#786</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/814">nsubstitute/NSubstitute#814</a></li>
<li>[FIX] Release build workflow (<a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/797">nsubstitute/NSubstitute#797</a>)</li>
<li>[DOC] Add Throws for exceptions to the docs by <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/795">nsubstitute/NSubstitute#795</a></li>
<li>[DOC] Remove Visual Studio for Mac from readme by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/807">nsubstitute/NSubstitute#807</a></li>
<li>[TECH] Migrate from NUnit 3 to NUnit 4 by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/783">nsubstitute/NSubstitute#783</a></li>
<li>[TECH] Update build project to .net 8 by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/776">nsubstitute/NSubstitute#776</a></li>
<li>[TECH] Code style: use C# 12 collection literals by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/810">nsubstitute/NSubstitute#810</a></li>
<li>[TECH] Use c# 12 primary constructors by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/812">nsubstitute/NSubstitute#812</a></li>
<li>[TECH] Added csharp_style_prefer_primary_constructors into editorconfig by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/819">nsubstitute/NSubstitute#819</a></li>
</ul>
<p>Thanks to first-time contributors <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> and <a href="https://github.com/marcoregueira"><code>@​marcoregueira</code></a>! Thanks also <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a> and <a href="https://github.com/Romfos"><code>@​Romfos</code></a> for their continued support and contributions to this release.</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/nsubstitute/NSubstitute/compare/v5.2.0...v5.3.0">https://github.com/nsubstitute/NSubstitute/compare/v5.2.0...v5.3.0</a></p>
<h2>v5.2.0</h2>
<p>⚠️ <strong>Note: there is no build currently available for this version due to an issue switching over to a new automated release build. We'll have a new release shortly once we sort this.</strong></p>

<p>Summary of main changes:</p>
<ul>
<li>[UPDATE] Upgrade website build to jekyll 3.9.0 and add link to edit website pages (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/767">#767</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/769">#769</a>; thanks to <a href="https://github.com/brad"><code>@​brad</code></a>)</li>
<li>[UPDATE] Build improvements:
<ul>
<li>migrate to GitHub Actions and update doc dependencies (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/754">#754</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/774">#774</a>; thanks to <a href="https://github.com/alexandrnikitin"><code>@​alexandrnikitin</code></a>)</li>
<li>improve test platform coverage; add .NET 8 to test platforms (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/742">#742</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/756">#756</a>; thanks to <a href="https://github.com/Romfos"><code>@​Romfos</code></a>)</li>
<li>source code format improvements; check format on CI (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/758">#758</a>, #<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/761">#761</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/762">#762</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/763">#763</a>; thanks again to <a href="https://github.com/Romfos"><code>@​Romfos</code></a>)</li>
</ul>
</li>
<li>[NEW] Support for Sourcelink and Deterministic Build. Thanks <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a>! (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/737">#737</a>)</li>
</ul>
<p>Many thanks to <a href="https://github.com/alexandrnikitin"><code>@​alexandrnikitin</code></a>, <a href="https://github.com/Romfos"><code>@​Romfos</code></a>, <a href="https://github.com/brad"><code>@​brad</code></a>, and <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a> for their contributions!
Thanks a lot to all code contributors, reviewers, and people who have raised and/or commented on issues.</p>
<p>If you haven't already done so, please make sure you add the NSubstitute.Analyzers package wherever you reference NSubstitute: <a href="https://nsubstitute.github.io/help/nsubstitute-analysers/">https://nsubstitute.github.io/help/nsubstitute-analysers/</a></p>
<p>As always, please raise an <a href="https://github.com/nsubstitute/NSubstitute/issues">issue on GitHub</a> if you have any problems.</p>
<p>Changelog: <a href="https://github.com/nsubstitute/NSubstitute/blob/v5.2.0/CHANGELOG.md">https://github.com/nsubstitute/NSubstitute/blob/v5.2.0/CHANGELOG.md</a>
Breaking changes: None.</p>
<p>Project links:</p>
<ul>
<li>NuGet:
<ul>
<li><a href="https://www.nuget.org/packages/NSubstitute">https://www.nuget.org/packages/NSubstitute</a></li>
<li><a href="https://www.nuget.org/profiles/NSubstitute">https://www.nuget.org/profiles/NSubstitute</a></li>
</ul>
</li>
<li>GitHub: <a href="https://github.com/nsubstitute/NSubstitute">http://github.com/nsubstitute/NSubstitute</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/nsubstitute/NSubstitute/blob/main/CHANGELOG.md">NSubstitute's changelog</a>.</em></p>
<blockquote>
<h3>5.3.0 (October 2024)</h3>
<ul>
<li>[NEW] Introduced <code>Substitute.ForTypeForwardingTo</code> to create substitutes that forward interceptable calls to a concrete class. This provides an easy way of implementing a test spy over an existing type. Designed and implemented by <a href="https://github.com/marcoregueira"><code>@​marcoregueira</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/700">nsubstitute/NSubstitute#700</a> from a proposal by <a href="https://github.com/wsaeed"><code>@​wsaeed</code></a>. Thanks to all who contributed to discussions of this feature.</li>
<li>[NEW] Support Raise.EventWith default constructor (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/788">#788</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/813">nsubstitute/NSubstitute#813</a></li>
<li>[NEW] Implement When(...).Throws to avoid confusion with Throw method (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/803">#803</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/818">nsubstitute/NSubstitute#818</a></li>
<li>[FIX] Arg.Any() does not match arguments passed by reference (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/787">#787</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/811">nsubstitute/NSubstitute#811</a></li>
<li>[FIX] Support matching arguments whose type is generic, when their concrete type is not known (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/786">#786</a>) by <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/814">nsubstitute/NSubstitute#814</a></li>
<li>[FIX] Release build workflow (<a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/797">nsubstitute/NSubstitute#797</a>)</li>
<li>[DOC] Add Throws for exceptions to the docs by <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/795">nsubstitute/NSubstitute#795</a></li>
<li>[DOC] Remove Visual Studio for Mac from readme by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/807">nsubstitute/NSubstitute#807</a></li>
<li>[TECH] Migrate from NUnit 3 to NUnit 4 by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/783">nsubstitute/NSubstitute#783</a></li>
<li>[TECH] Update build project to .net 8 by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/776">nsubstitute/NSubstitute#776</a></li>
<li>[TECH] Code style: use C# 12 collection literals by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/810">nsubstitute/NSubstitute#810</a></li>
<li>[TECH] Use c# 12 primary constructors by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/812">nsubstitute/NSubstitute#812</a></li>
<li>[TECH] Added csharp_style_prefer_primary_constructors into editorconfig by <a href="https://github.com/Romfos"><code>@​Romfos</code></a> in <a href="https://redirect.github.com/nsubstitute/NSubstitute/pull/819">nsubstitute/NSubstitute#819</a></li>
</ul>
<p>Thanks to first-time contributors <a href="https://github.com/mihnea-radulescu"><code>@​mihnea-radulescu</code></a> and <a href="https://github.com/marcoregueira"><code>@​marcoregueira</code></a>! Thanks also <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a> and <a href="https://github.com/Romfos"><code>@​Romfos</code></a> for their continued support and contributions to this release.</p>
<h3>5.2.0 (Apr 2024; tagged but not released to nuget)</h3>
<ul>
<li>[UPDATE] Upgrade website build to jekyll 3.9.0 and add link to edit website pages (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/767">#767</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/769">#769</a>; thanks to <a href="https://github.com/brad"><code>@​brad</code></a>)</li>
<li>[UPDATE] Build improvements:
<ul>
<li>migrate to GitHub Actions and update doc dependencies (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/754">#754</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/774">#774</a>; thanks to <a href="https://github.com/alexandrnikitin"><code>@​alexandrnikitin</code></a>)</li>
<li>improve test platform coverage; add .NET 8 to test platforms (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/742">#742</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/756">#756</a>; thanks to <a href="https://github.com/Romfos"><code>@​Romfos</code></a>)</li>
<li>source code format improvements; check format on CI (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/758">#758</a>, #<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/761">#761</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/762">#762</a>, <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/763">#763</a>; thanks again to <a href="https://github.com/Romfos"><code>@​Romfos</code></a>)</li>
</ul>
</li>
<li>[NEW] Support for Sourcelink and Deterministic Build. Thanks <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a>! (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/737">#737</a>)</li>
</ul>
<p>Many thanks to <a href="https://github.com/alexandrnikitin"><code>@​alexandrnikitin</code></a>, <a href="https://github.com/Romfos"><code>@​Romfos</code></a>, <a href="https://github.com/brad"><code>@​brad</code></a>, and <a href="https://github.com/304NotModified"><code>@​304NotModified</code></a> for their contributions!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/45e00e386fc76e038ff6a5778a301f7e62bfc81c"><code>45e00e3</code></a> Prep 5.3.0 release (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/836">#836</a>)</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/cc73901a3eeaf2e2632014a26a3ebf286df457d7"><code>cc73901</code></a> Release build workflow (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/797">#797</a>)</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/4d258a28aba054ea18785d36b4bdd83da023aefb"><code>4d258a2</code></a> Feature:  Enable call forwarding and substitution  for non virtual methods or...</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/b8b018441ab3d66ac88be99b929d739d0d5c4fa0"><code>b8b0184</code></a> Added csharp_style_prefer_primary_constructors into editorconfig (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/819">#819</a>)</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/73818a6743e915ce76802ce5a0bb1961f44f437f"><code>73818a6</code></a> Unable to match arguments whose type is generic, when their concrete type is ...</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/da82bc5110ace7e1d1c637df9b339187ff1a8b2c"><code>da82bc5</code></a> Merge pull request <a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/813">#813</a> from mihnea-radulescu/bug/issue-788-Raise-EventWith-d...</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/2ce4d66cfafa402ade7cf15434b536cc4127276f"><code>2ce4d66</code></a> Replaced Obsolete attributes in WhenCalled&lt;T&gt; with doc comments.</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/0c0d798acb01ab5d6d4da28e4f0db0b749637279"><code>0c0d798</code></a> When(...).Throws gives a CouldNotSetReturnDueToNoLastCallException (<a href="https://redirect.github.com/nsubstitute/NSubstitute/issues/803">#803</a>)</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/4bd429ed1f0cfc59ef1fe657fd025a184a8b21df"><code>4bd429e</code></a> Updated event raising logic to only allow internal default constructors</li>
<li><a href="https://github.com/nsubstitute/NSubstitute/commit/ee276f334cc7081a8573e8c421276085057cbb46"><code>ee276f3</code></a> Merge branch 'main' into bug/issue-788-Raise-EventWith-default-constructor</li>
<li>Additional commits viewable in <a href="https://github.com/nsubstitute/NSubstitute/compare/v5.1.0...v5.3.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=NSubstitute&package-manager=nuget&previous-version=5.1.0&new-version=5.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
dependabot[bot] authored Oct 28, 2024
1 parent 7b72351 commit 28f0c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@jsii/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Update="Microsoft.CodeQuality.Analyzers" Version="3.3.2" />

<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Update="NSubstitute" Version="5.1.0" />
<PackageReference Update="NSubstitute" Version="5.3.0" />
<PackageReference Update="xunit" Version="2.9.2" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.8.2" />
<PackageReference Update="XunitXml.TestLogger" Version="3.1.17" />
Expand Down

0 comments on commit 28f0c59

Please sign in to comment.