Skip to content

Commit ddec794

Browse files
renovate[bot]dustinsoftware
authored andcommittedApr 21, 2019
Update dependency Newtonsoft.Json to v12 (#779)
* Update dependency Newtonsoft.Json to v12 * Bump JSON.NET in Mvc4 sample * Remove outdated reference
1 parent fe13aa3 commit ddec794

File tree

5 files changed

+8
-16
lines changed

5 files changed

+8
-16
lines changed
 

‎src/React.Core/React.Core.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<ItemGroup>
4343
<PackageReference Include="JavaScriptEngineSwitcher.Core" Version="3.0.0" />
4444
<PackageReference Include="JSPool" Version="4.0.0" />
45-
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
45+
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
4646
</ItemGroup>
4747

4848
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' Or '$(TargetFramework)' == 'net45' ">

‎src/React.Sample.Mvc4/React.Sample.Mvc4.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@
7373
<HintPath>..\packages\JavaScriptEngineSwitcher.V8.3.0.0\lib\net45\JavaScriptEngineSwitcher.V8.dll</HintPath>
7474
</Reference>
7575
<Reference Include="Microsoft.CSharp" />
76-
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
77-
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
78-
<Private>True</Private>
79-
</Reference>
8076
<Reference Include="System" />
8177
<Reference Include="System.Data" />
8278
<Reference Include="System.Drawing" />

‎src/React.Sample.Mvc4/Web.config

+4-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-->
66

77
<configuration>
8-
8+
99
<appSettings>
1010
<add key="webpages:Version" value="2.0.0.0" />
1111
<add key="webpages:Enabled" value="false" />
@@ -37,26 +37,22 @@
3737

3838
<system.webServer>
3939
<validation validateIntegratedModeConfiguration="false" />
40-
40+
4141
<modules runAllManagedModulesForAllRequests="true" />
4242

4343
<handlers>
4444
<remove name="babel" />
4545
<add name="babel" verb="GET" path="*.jsx" type="React.Web.BabelHandlerFactory, React.Web" preCondition="integratedMode" />
4646
<add name="babel-tsx" verb="GET" path="*.tsx" type="React.Web.BabelHandlerFactory, React.Web" preCondition="integratedMode" />
4747
</handlers>
48-
48+
4949
</system.webServer>
5050
<runtime>
5151
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5252
<dependentAssembly>
5353
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
5454
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
5555
</dependentAssembly>
56-
<dependentAssembly>
57-
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
58-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
59-
</dependentAssembly>
6056
<dependentAssembly>
6157
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
6258
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
@@ -88,6 +84,6 @@
8884
</assemblyBinding>
8985
</runtime>
9086

91-
87+
9288

9389
</configuration>

‎src/React.Sample.Mvc4/packages.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net4" />
1212
<package id="Microsoft.AspNet.WebPages" version="2.0.30506.0" targetFramework="net4" />
1313
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net4" />
14-
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
14+
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" />
1515
<package id="WebActivatorEx" version="2.2.0" targetFramework="net45" />
1616
<package id="WebGrease" version="1.6.0" targetFramework="net45" />
17-
</packages>
17+
</packages>

‎src/React.Sample.Owin/React.Sample.Owin.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<PackageReference Include="Microsoft.Owin.Hosting" Version="3.1.0" />
3434
<PackageReference Include="Microsoft.Owin.SelfHost" Version="3.1.0" />
3535
<PackageReference Include="Microsoft.Owin.StaticFiles" Version="3.1.0" />
36-
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
36+
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
3737
<PackageReference Include="Owin" Version="1.0" />
3838
</ItemGroup>
3939

0 commit comments

Comments
 (0)