Skip to content

Commit

Permalink
build(deps): update multiple packages (#207)
Browse files Browse the repository at this point in the history
- Update raiqub.generators.t4codewriter.sources to 1.0.64
- Update dependency polyfill to v6
- Update dependency nerdbank.gitversioning to 3.6.143
- Update dependency dotnet.reproduciblebuilds to 1.2.25
  • Loading branch information
skarllot authored Oct 6, 2024
1 parent 6581648 commit 8991d6d
Show file tree
Hide file tree
Showing 9 changed files with 82 additions and 90 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.4" PrivateAssets="All" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.139" PrivateAssets="All" />
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25" PrivateAssets="All" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.143" PrivateAssets="All" />
</ItemGroup>

</Project>
13 changes: 0 additions & 13 deletions gen/EnumUtilities.Generators/Common/EnumerableExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@

public static class EnumerableExtensions
{
public static IEnumerable<TSource> DistinctBy<TSource, TKey>(
this IEnumerable<TSource> source,
Func<TSource, TKey> keySelector,
IEqualityComparer<TKey>? comparer = null)
{
var hashSet = new HashSet<TKey>(comparer);
foreach (var item in source)
{
if (hashSet.Add(keySelector(item)))
yield return item;
}
}

public static string JoinToString(this byte[] source)
{
Span<char> result = stackalloc char[source.Sum(GetStringLength) + (2 * (source.Length - 1))];
Expand Down
5 changes: 3 additions & 2 deletions gen/EnumUtilities.Generators/EnumUtilities.Generators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.1" PrivateAssets="all" />
<PackageReference Include="Polyfill" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="Raiqub.Generators.T4CodeWriter.Sources" Version="1.0.52">
<PackageReference Include="Polyfill" Version="6.12.0" PrivateAssets="all" />
<PackageReference Include="Raiqub.Generators.T4CodeWriter.Sources" Version="1.0.64">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; native; contentfiles; analyzers</IncludeAssets>
<ExcludeAssets>build; buildTransitive</ExcludeAssets>
</PackageReference>
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>

<ItemGroup>
Expand Down
45 changes: 23 additions & 22 deletions gen/EnumUtilities.Generators/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
".NETStandard,Version=v2.0": {
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Microsoft.CodeAnalysis.Analyzers": {
"type": "Direct",
Expand Down Expand Up @@ -37,9 +37,9 @@
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"NETStandard.Library": {
"type": "Direct",
Expand All @@ -52,15 +52,26 @@
},
"Polyfill": {
"type": "Direct",
"requested": "[5.6.0, )",
"resolved": "5.6.0",
"contentHash": "eb6mkftrXasI7B1AflSaB48f1U/aLJuHfwlfuEUHc07hnSkNUbkQKhzwnSBrfKuNG1vfTTtFzqHLGBsUS0oI9A=="
"requested": "[6.12.0, )",
"resolved": "6.12.0",
"contentHash": "KLAqsRkPIlwDPqZrQDRerRmSGrH2Kvk+xUzZcWsGiUrZkmRl9B0ZvqYvxCM37jGLgsPbH/BTnLTm0woyu6JgDA=="
},
"Raiqub.Generators.T4CodeWriter.Sources": {
"type": "Direct",
"requested": "[1.0.52, )",
"resolved": "1.0.52",
"contentHash": "e58Ozh3hVfcuucSxtJ8aR5hZlsEcLjlv9Rjx8TCM9gGoHZ6B1CvG5yLFvEz4P8cOcbEfnwoxvZ8C7hRZ8EbLIA=="
"requested": "[1.0.64, )",
"resolved": "1.0.64",
"contentHash": "eEldrJOoau56Hu1KVcNb8+g0m4lMLcLU//XyYbem48hqYwFH9cAWbKpnwXymPXfVbM8F6SR+Z56DwXgHlMteKg=="
},
"System.Memory": {
"type": "Direct",
"requested": "[4.5.5, )",
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"dependencies": {
"System.Buffers": "4.5.1",
"System.Numerics.Vectors": "4.4.0",
"System.Runtime.CompilerServices.Unsafe": "4.5.3"
}
},
"Humanizer.Core": {
"type": "Transitive",
Expand Down Expand Up @@ -178,16 +189,6 @@
"System.Threading.Tasks.Extensions": "4.5.4"
}
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.4",
"contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==",
"dependencies": {
"System.Buffers": "4.5.1",
"System.Numerics.Vectors": "4.4.0",
"System.Runtime.CompilerServices.Unsafe": "4.5.3"
}
},
"System.Numerics.Vectors": {
"type": "Transitive",
"resolved": "4.4.0",
Expand Down
12 changes: 6 additions & 6 deletions perf/EnumUtilities.Benchmark/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
},
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Enums.NET": {
"type": "Direct",
Expand All @@ -40,9 +40,9 @@
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"NetEscapades.EnumGenerators": {
"type": "Direct",
Expand Down
36 changes: 18 additions & 18 deletions src/EnumUtilities/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
".NETStandard,Version=v2.0": {
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"NETStandard.Library": {
"type": "Direct",
Expand Down Expand Up @@ -58,29 +58,29 @@
"net6.0": {
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
}
},
"net8.0": {
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
}
}
}
Expand Down
24 changes: 12 additions & 12 deletions tests/EnumUtilities.Generators.IntegrationTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Microsoft.EntityFrameworkCore": {
"type": "Direct",
Expand Down Expand Up @@ -47,9 +47,9 @@
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"xunit": {
"type": "Direct",
Expand Down Expand Up @@ -258,9 +258,9 @@
},
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Microsoft.EntityFrameworkCore": {
"type": "Direct",
Expand Down Expand Up @@ -289,9 +289,9 @@
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"xunit": {
"type": "Direct",
Expand Down
21 changes: 12 additions & 9 deletions tests/EnumUtilities.Generators.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"Microsoft.CodeAnalysis.CSharp": {
"type": "Direct",
Expand Down Expand Up @@ -66,9 +66,9 @@
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"xunit": {
"type": "Direct",
Expand Down Expand Up @@ -497,8 +497,8 @@
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.4",
"contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw=="
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
},
"System.ObjectModel": {
"type": "Transitive",
Expand Down Expand Up @@ -776,7 +776,10 @@
}
},
"Raiqub.Generators.EnumUtilities": {
"type": "Project"
"type": "Project",
"dependencies": {
"System.Memory": "[4.5.5, )"
}
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions tests/EnumUtilities.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"DotNet.ReproducibleBuilds": {
"type": "Direct",
"requested": "[1.2.4, )",
"resolved": "1.2.4",
"contentHash": "Ch9U74tQA2fQH+U0hcYH7WyIFUfAq7jrjgSHVu2FAcYiMBtbrCMyq2nGA/ZZnB2jSaUeOOYiCjxeaDVB7Ssbdw=="
"requested": "[1.2.25, )",
"resolved": "1.2.25",
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
},
"FluentAssertions": {
"type": "Direct",
Expand All @@ -35,9 +35,9 @@
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.6.139, )",
"resolved": "3.6.139",
"contentHash": "rq0Ub/Jik7PtMtZtLn0tHuJ01Yt36RQ+eeBe+S7qnJ/EFOX6D4T9zuYD3vQPYKGI6Ro4t2iWgFm3fGDgjBrMfg=="
"requested": "[3.6.143, )",
"resolved": "3.6.143",
"contentHash": "N24MtdLq4PmdJ2woTQd9515q0I1jeO/DlimYCB/GoRd510Fc9dk9H6YaN8MPPrVF8RHrIalCUfWbWvcoarYeoQ=="
},
"xunit": {
"type": "Direct",
Expand Down

0 comments on commit 8991d6d

Please sign in to comment.