chore(api): remove unused code

This commit is contained in:
spiral 2022-11-18 03:35:56 +00:00
parent b95f51fff4
commit 12d267ed1f
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E
6 changed files with 641 additions and 652 deletions

View File

@ -1,8 +0,0 @@
using Autofac;
namespace PluralKit.API;
public class APIModule: Module
{
protected override void Load(ContainerBuilder builder) { }
}

View File

@ -28,21 +28,12 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="App.Metrics.AspNetCore.All" Version="4.3.0" />
<PackageReference Include="App.Metrics.Prometheus" Version="4.3.0" />
<PackageReference Include="App.Metrics.Reporting.Console" Version="4.3.0" />
<PackageReference Include="Google.Protobuf" Version="3.13.0" />
<PackageReference Include="Grpc.Tools" Version="2.47.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="4.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="4.2.0" />
<PackageReference Include="Serilog.AspNetCore" Version="3.4.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="5.6.3" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="6.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="5.6.3" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="5.6.3" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="5.6.3" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="5.6.3" />
</ItemGroup>
<ItemGroup>

View File

@ -1,7 +1,3 @@
using App.Metrics;
using App.Metrics.AspNetCore;
using App.Metrics.Formatters.Prometheus;
using Autofac.Extensions.DependencyInjection;
using PluralKit.Core;
@ -12,15 +8,8 @@ namespace PluralKit.API;
public class Program
{
public static IMetricsRoot _metrics { get; set; }
public static async Task Main(string[] args)
{
_metrics = AppMetrics.CreateDefaultBuilder()
.OutputMetrics.AsPrometheusPlainText()
.OutputMetrics.AsPrometheusProtobuf()
.Build();
InitUtils.InitStatic();
await BuildInfoService.LoadVersion();
var host = CreateHostBuilder(args).Build();
@ -31,18 +20,6 @@ public class Program
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureMetrics(_metrics)
.UseMetricsWebTracking()
.UseMetricsEndpoints()
.UseMetrics(
options =>
{
options.EndpointOptions = endpointsOptions =>
{
endpointsOptions.MetricsTextEndpointOutputFormatter = _metrics.OutputMetricsFormatters.OfType<MetricsPrometheusTextOutputFormatter>().First();
endpointsOptions.MetricsEndpointOutputFormatter = _metrics.OutputMetricsFormatters.OfType<MetricsPrometheusProtobufOutputFormatter>().First();
};
})
.UseServiceProviderFactory(new AutofacServiceProviderFactory())
.UseSerilog()
.ConfigureWebHostDefaults(whb => whb

View File

@ -17,17 +17,9 @@ namespace PluralKit.API;
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddCors();
services.AddControllers()
// sorry MS, this just does *more*
.AddNewtonsoftJson(opts =>
@ -39,33 +31,6 @@ public class Startup
options.InvalidModelStateResponseFactory = context =>
throw Errors.GenericBadRequest
);
services.AddSwaggerGen(c =>
{
c.SwaggerDoc("v1.0", new OpenApiInfo { Title = "PluralKit", Version = "1.0" });
c.EnableAnnotations();
c.AddSecurityDefinition("TokenAuth",
new OpenApiSecurityScheme { Name = "Authorization", Type = SecuritySchemeType.ApiKey });
// Exclude routes without a version, then fall back to group name matching (default behavior)
c.DocInclusionPredicate((docName, apiDesc) =>
{
if (!apiDesc.RelativePath.StartsWith("v1/")) return false;
return apiDesc.GroupName == docName;
});
// Set the comments path for the Swagger JSON and UI.
// https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-3.1&tabs=visual-studio#customize-and-extend
var xmlFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
c.IncludeXmlComments(xmlPath);
});
services.AddSwaggerGenNewtonsoftSupport();
// metrics
services.AddMetricsTrackingMiddleware();
services.AddAppMetricsCollectors();
}
public void ConfigureContainer(ContainerBuilder builder)
@ -77,23 +42,13 @@ public class Startup
cfg: new LoggerConfiguration().Filter.ByExcluding(
exc => exc.Exception is PKError || exc.Exception.IsUserError()
)));
// builder.RegisterModule(new MetricsModule("API"));
builder.RegisterModule<DataStoreModule>();
builder.RegisterModule<APIModule>();
builder.RegisterModule(new MetricsModule());
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
// Only enable Swagger stuff when ASPNETCORE_ENVIRONMENT=Development (for now)
app.UseSwagger();
app.UseSwaggerUI(c => { c.SwaggerEndpoint("/swagger/v1.0/swagger.json", "PluralKit (v1)"); });
}
// add X-PluralKit-Version header
app.Use((ctx, next) =>
{
@ -127,12 +82,7 @@ public class Startup
app.UseMiddleware<AuthorizationTokenHandlerMiddleware>();
//app.UseHttpsRedirection();
// app.UseCors(opts => opts.AllowAnyMethod().AllowAnyOrigin().WithHeaders("Content-Type", "Authorization", "sentry-trace"));
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.UseEndpoints(endpoints =>
{
// register base / legacy routes
@ -142,8 +92,5 @@ public class Startup
// register controllers
endpoints.MapControllers();
});
// metrics
app.UseMetricsAllMiddleware();
}
}

File diff suppressed because it is too large Load Diff

View File

@ -40,191 +40,46 @@
},
"App.Metrics": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "D2eDXyfrl+lXigXsQTv/81JCxUPTjgwsazK5neA3NOg87tNmBpFqeVJppI/qLKyC8yklTU2ekZDFX5hKechu6A==",
"resolved": "4.1.0",
"contentHash": "qQTp6o1pKC/L8yKpmUovenlDDw0HNuQ3gdKkq92BbpluEZTJLQ8AiX0NEpevoUgEwL5aHnonHq0E3yOHgoaaIA==",
"dependencies": {
"App.Metrics.Core": "4.3.0",
"App.Metrics.Formatters.Json": "4.3.0"
"App.Metrics.Core": "4.1.0",
"App.Metrics.Formatters.Json": "4.1.0"
}
},
"App.Metrics.Abstractions": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "ekSlyVgN6foN6rmwVmRGBr0j5ufgRPsO5f7Md2fc3q44vkBNYpjsRLiUQsIXCSVI3NHorkrZh8aL4eRcLkVDGw==",
"resolved": "4.1.0",
"contentHash": "HolXOB3x6/TQeaHPhMnxYvk5jaFsYgkZ7/OIzjBloRniLz/QE6pW5B7WqyiJ1a1PtCKZmjh/UA1MAB/Dj+eg3Q==",
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "1.0.0"
}
},
"App.Metrics.AspNetCore": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "b9xsSzFRRMTfhZSwPxwA6AgnItIfINXVXJHtnawjWZmELByAVljqk/pt/rqBgmGdi4lm08mYD5Oa+wv//79iiA==",
"dependencies": {
"App.Metrics": "4.3.0",
"App.Metrics.AspNetCore.Endpoints": "4.3.0",
"App.Metrics.AspNetCore.Tracking": "4.3.0",
"App.Metrics.Extensions.Hosting": "4.3.0"
}
},
"App.Metrics.AspNetCore.Abstractions": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "VQRn2A70HXn0KzB0OTzx4C7LjTLa2zARg4G2OkHpdlbqBQaJo7Lt1amKjzUQAdg7zEEOofr9wtzVISpV63UB9A==",
"dependencies": {
"App.Metrics.Abstractions": "4.3.0"
}
},
"App.Metrics.AspNetCore.All": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "ZCc2GSoDdmwxvacu9Rc/2TFtMW33KPWXfRbLF9yemEKalO5CQvDtZbCs9E1dDCEofeeI2Eho0ky86Brm3lXm4g==",
"dependencies": {
"App.Metrics.AspNetCore": "4.3.0",
"App.Metrics.AspNetCore.Endpoints": "4.3.0",
"App.Metrics.AspNetCore.Hosting": "4.3.0",
"App.Metrics.AspNetCore.Mvc": "4.3.0",
"App.Metrics.AspNetCore.Routing": "4.3.0",
"App.Metrics.AspNetCore.Tracking": "4.3.0",
"App.Metrics.Extensions.Collectors": "4.3.0",
"App.Metrics.Extensions.Configuration": "4.3.0",
"App.Metrics.Extensions.DependencyInjection": "4.3.0",
"App.Metrics.Extensions.HealthChecks": "4.3.0",
"App.Metrics.Extensions.Hosting": "4.3.0",
"App.Metrics.Formatters.Json": "4.3.0"
}
},
"App.Metrics.AspNetCore.Core": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "Ddk6q4YeA2P23+07MXo6j4vaJtE+sY81+6jbbLBSboW9CRhO40QKUukYW+OtNfgX+PegQigHWjFLrZGt/X4sWw==",
"dependencies": {
"App.Metrics.AspNetCore.Abstractions": "4.3.0",
"App.Metrics.Core": "4.3.0",
"App.Metrics.Extensions.Configuration": "4.3.0",
"App.Metrics.Extensions.DependencyInjection": "4.3.0",
"Microsoft.Extensions.Logging.Abstractions": "3.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "3.1.0"
}
},
"App.Metrics.AspNetCore.Endpoints": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "Ns/66gHqwwujWpSxrgdJH39YcNYfmd23Jon+vb+SE43VOFTBHRxer6zGJQIuFdFhePCFlT7obi5Dz9hde47jIQ==",
"dependencies": {
"App.Metrics.AspNetCore.Hosting": "4.3.0"
}
},
"App.Metrics.AspNetCore.Hosting": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "BBb4BT6c20pT/in7jzSR0PrKXc1kwGQNLY921BRs5szJcNoNkdPbct7gzYOUed2JWMY7e2GhKNVZT9Ew1fQ9XA==",
"dependencies": {
"App.Metrics.AspNetCore.Core": "4.3.0"
}
},
"App.Metrics.AspNetCore.Mvc": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "CvsIUrUFS6sWimxKRl9RChDtOAGY36yW3HSTNXSaUrbFpmF76qL2HKiXu+4vSpO0Xau+fk7TdJvGRiG5RWGj0A==",
"dependencies": {
"App.Metrics.AspNetCore": "4.3.0",
"App.Metrics.AspNetCore.Mvc.Core": "4.3.0",
"App.Metrics.AspNetCore.Routing": "4.3.0"
}
},
"App.Metrics.AspNetCore.Mvc.Core": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "acAmuq4roemQv19S7xtboDqEA04NAlSsIw9F/mt51fCcjdq338qgdlEFlr3M2OCaorfS8WzMtlBPblY2/VUdWg==",
"dependencies": {
"App.Metrics.AspNetCore": "4.3.0",
"App.Metrics.AspNetCore.Routing": "4.3.0"
}
},
"App.Metrics.AspNetCore.Routing": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "s8TMzlkvKM+zBlLYVcpH/Ofk4ftfWBvSDD6T+ehxMiY3k4entz6SVAeJTLrq2PDmO2T5vy7cYI97R0M6Fr6dpA==",
"dependencies": {
"App.Metrics.AspNetCore.Abstractions": "4.3.0"
}
},
"App.Metrics.AspNetCore.Tracking": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "NWFmXLKEDXdkdKBN32FZXBd16Qhj6UpzQYSjmUN8XOYb+pjJQxttpTTnO8nWYHQ1xX893jx8vjZTN8vQ40j9AA==",
"dependencies": {
"App.Metrics.AspNetCore.Hosting": "4.3.0"
}
},
"App.Metrics.Concurrency": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "otryWX9AR7wLPD49glbxvbYc16pnDOEezHsAtf5oVjhAa/fD+fjhI11MOgzBOjFpkH7z2FLl/gtZ0lwSdNxSag=="
"resolved": "2.0.1",
"contentHash": "XJ7eYseDig2/S61DygC8XCTckHHKNnGVGR9qTGjdeJ2x3LElKIQuScrhnEuxU3J6pqs0+UMjkATEeE7WsOf87w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"App.Metrics.Core": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "HhW4n2fF+WBi6ctCpwsYkKCSeLhG5Y17e31kSkdESNAdPvroI9szlzW3WoY20qsB3bCldrGPPnCN6jXI1t3agA==",
"resolved": "4.1.0",
"contentHash": "us3u1po1KyPywv/zOqCSXjWZxldWz1yW2zGbRcnsDunv3Sem6M8+DnMYjAnoTplREo9mrm0tuSR5fIwnDg7kUA==",
"dependencies": {
"App.Metrics.Abstractions": "4.3.0",
"App.Metrics.Concurrency": "4.3.0",
"App.Metrics.Formatters.Ascii": "4.3.0",
"App.Metrics.Abstractions": "4.1.0",
"App.Metrics.Concurrency": "2.0.1",
"App.Metrics.Formatters.Ascii": "4.1.0",
"Microsoft.CSharp": "4.4.0"
}
},
"App.Metrics.Extensions.Collectors": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "vpWzbLJ2uUnaR6s/bp4F1mZNf5vxMvFA0re+bUbQ8gkop7AEJZ1g3uFdQs7mSeL56josQBGnwbMediVst5zywA==",
"dependencies": {
"App.Metrics": "4.3.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0",
"Microsoft.Extensions.Hosting.Abstractions": "3.1.0"
}
},
"App.Metrics.Extensions.Configuration": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "+5eNA58nJEvKNd6eKXXnwjjH8KU0wIN9VnE4015qoU6P/yii0tKARrF5Rbw0OGpI6jJmfZ/UIielU07b9QB8aA==",
"dependencies": {
"App.Metrics": "4.3.0",
"Microsoft.Extensions.Configuration.Binder": "3.1.0"
}
},
"App.Metrics.Extensions.DependencyInjection": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "lujWx61MSJPKdX7PiaNPv0aXW6D+UzzqiQe/2EwXv401+bshJyyrltSTVVS2cuyla+iq/ag+W1Vc/xeFR0rrwg==",
"dependencies": {
"App.Metrics": "4.3.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0"
}
},
"App.Metrics.Extensions.HealthChecks": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "uLpWgl9flmsDTYuYvIOjjo3tEsn3H951OS3ItS2tqi/wgGGpwAXwRW+HB/meB8W6PBRmISPQCUwNJudRerH5zA==",
"dependencies": {
"App.Metrics.Core": "4.3.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0",
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions": "3.1.5"
}
},
"App.Metrics.Extensions.Hosting": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "uSw1pD6MHoky5NCDHsmGArThHhjIXiILRv+XboZXHGA6M4DbWbPrPMsMr9uCeKKyT2wl63y8cboH8oCkC4s8yg==",
"dependencies": {
"App.Metrics.Core": "4.3.0"
}
},
"App.Metrics.Formatters.Ascii": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "PPacBFRji8wTGv8rs13fPmAVlOit7CAvkdPkZ6aYgtUa75e0v4fYzwqPcLxokCqdQXW96PpKPfC0VZZeDkgljg==",
"resolved": "4.1.0",
"contentHash": "/OKvOt8AJT9K7EuuXLsTQ6zKmRua4X3NaSxkHZbOAJJ8ouelZGHkAvXRcJlTLoPHiBEW3vbJj/twGsIVC8U3kw==",
"dependencies": {
"App.Metrics.Abstractions": "4.3.0"
"App.Metrics.Abstractions": "4.1.0"
}
},
"App.Metrics.Formatters.InfluxDB": {
@ -237,37 +92,11 @@
},
"App.Metrics.Formatters.Json": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "H+4Q407Xa5nuBagooMeh5UAuGHWfKZRsinpwr9dtyV+LZbhAS5yheAAMPY1Xs/g0zzI3zJQJDRy7iX0totAcYA==",
"resolved": "4.1.0",
"contentHash": "OCdjSSRIkK0x4dy6NJ8b4H+wVUSAFxqtlL+tBSWNVC79N3K3abLG50NNdeMc79jDNq07M/qb2ow00tsuHiNA0g==",
"dependencies": {
"App.Metrics.Abstractions": "4.3.0",
"System.Text.Json": "4.7.2"
}
},
"App.Metrics.Formatters.Prometheus": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "cVJZX5jiMxt+YytjpbMw52reN47LGL3XsCljzNH9Pb+Op9iSTazc4pa+/fX+FdpbhH/Zt+5hjdYiqOLFol0wGg==",
"dependencies": {
"App.Metrics.Core": "4.3.0",
"protobuf-net": "2.4.0"
}
},
"App.Metrics.Prometheus": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "QhEL8zqnmOuaaSEUfQmWrqBEYt3MI3hb5Qhmlln72wUjyWzFkadA6QgzrQmG7K0lYqsj269BYcg42cL9T7wg6g==",
"dependencies": {
"App.Metrics.Formatters.Prometheus": "4.3.0"
}
},
"App.Metrics.Reporting.Console": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "LhQQd+CTwQ6YXpg53Bnt9seGh/zKDMWF/hWPIYVUUv5163PpexIFgvH85U7J1+Yjxrka95OEv5O/uUGxPQcyHg==",
"dependencies": {
"App.Metrics.Core": "4.3.0",
"App.Metrics.Formatters.Ascii": "4.3.0"
"App.Metrics.Abstractions": "4.1.0",
"System.Text.Json": "4.6.0"
}
},
"App.Metrics.Reporting.InfluxDB": {
@ -547,11 +376,6 @@
"System.Linq": "4.1.0"
}
},
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions": {
"type": "Transitive",
"resolved": "3.1.5",
"contentHash": "6oo7BLy4cdYGegZJ2d3YXUFT9Pb1Pp2kq8QuTSG7oZOQ6nF0QgHMwJPX/zQqTeWVDbA+UsFaZ4QNyUGHdG5VEg=="
},
"Microsoft.Extensions.FileProviders.Abstractions": {
"type": "Transitive",
"resolved": "3.1.10",
@ -576,13 +400,13 @@
},
"Microsoft.Extensions.Hosting.Abstractions": {
"type": "Transitive",
"resolved": "3.1.0",
"contentHash": "LiOP1ceFaPBxaE28SOjtORzOVCJk33TT5VQ/Cg5EoatZh1dxpPAgAV/0ruzWKQE7WAHU3F1H9Z6rFgsQwIb9uQ==",
"resolved": "2.1.0",
"contentHash": "BpMaoBxdXr5VD0yk7rYN6R8lAU9X9JbvsPveNdKT+llIn3J5s4sxpWqaSG/NnzTzTLU5eJE5nrecTl7clg/7dQ==",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "3.1.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0",
"Microsoft.Extensions.FileProviders.Abstractions": "3.1.0",
"Microsoft.Extensions.Logging.Abstractions": "3.1.0"
"Microsoft.Extensions.Configuration.Abstractions": "2.1.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0",
"Microsoft.Extensions.FileProviders.Abstractions": "2.1.0",
"Microsoft.Extensions.Logging.Abstractions": "2.1.0"
}
},
"Microsoft.Extensions.Http": {
@ -622,13 +446,13 @@
},
"Microsoft.Extensions.Options.ConfigurationExtensions": {
"type": "Transitive",
"resolved": "3.1.0",
"contentHash": "tx6gMKE3rDspA1YZT8SlQJmyt1BaBSl6mNjB3g0ZO6m3NnoavCifXkGeBuDk9Ae4XjW8C+dty52p+0u38jPRIQ==",
"resolved": "2.0.0",
"contentHash": "Y/lGICwO27fCkQRK3tZseVzFjZaxfGmui990E67sB4MuiPzdJHnJDS/BeYWrHShSSBgCl4KyKRx4ux686fftPg==",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "3.1.0",
"Microsoft.Extensions.Configuration.Binder": "3.1.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0",
"Microsoft.Extensions.Options": "3.1.0"
"Microsoft.Extensions.Configuration.Abstractions": "2.0.0",
"Microsoft.Extensions.Configuration.Binder": "2.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
"Microsoft.Extensions.Options": "2.0.0"
}
},
"Microsoft.Extensions.Primitives": {
@ -816,14 +640,6 @@
"resolved": "1.1.1",
"contentHash": "1MUQLiSo4KDkQe6nzQRhIU05lm9jlexX5BVsbuw0SL82ynZ+GzAHQxJVDPVBboxV37Po3SG077aX8DuSy8TkaA=="
},
"protobuf-net": {
"type": "Transitive",
"resolved": "2.4.0",
"contentHash": "j37MD1p1s9NdX8P5+IaY2J9p2382xiL1VP3mxYu0g+G/kf2YM2grFa1jJPO+0WDJNl1XhNPO0Q5yBEcbX77hBQ==",
"dependencies": {
"System.ServiceModel.Primitives": "4.5.3"
}
},
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"type": "Transitive",
"resolved": "4.3.0",
@ -1552,16 +1368,6 @@
"System.Threading": "4.3.0"
}
},
"System.Private.ServiceModel": {
"type": "Transitive",
"resolved": "4.5.3",
"contentHash": "ancrQgJagx+yC4SZbuE+eShiEAUIF0E1d21TRSoy1C/rTwafAVcBr/fKibkq5TQzyy9uNil2tx2/iaUxsy0S9g==",
"dependencies": {
"Microsoft.NETCore.Platforms": "2.1.0",
"System.Reflection.DispatchProxy": "4.5.0",
"System.Security.Principal.Windows": "4.5.0"
}
},
"System.Reflection": {
"type": "Transitive",
"resolved": "4.3.0",
@ -1574,11 +1380,6 @@
"System.Runtime": "4.3.0"
}
},
"System.Reflection.DispatchProxy": {
"type": "Transitive",
"resolved": "4.5.0",
"contentHash": "+UW1hq11TNSeb+16rIk8hRQ02o339NFyzMc4ma/FqmxBzM30l1c2IherBB4ld1MNcenS48fz8tbt50OW4rVULA=="
},
"System.Reflection.Emit": {
"type": "Transitive",
"resolved": "4.7.0",
@ -1885,14 +1686,6 @@
"resolved": "5.0.0",
"contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA=="
},
"System.ServiceModel.Primitives": {
"type": "Transitive",
"resolved": "4.5.3",
"contentHash": "Wc9Hgg4Cmqi416zvEgq2sW1YYCGuhwWzspDclJWlFZqY6EGhFUPZU+kVpl5z9kAgrSOQP7/Uiik+PtSQtmq+5A==",
"dependencies": {
"System.Private.ServiceModel": "4.5.3"
}
},
"System.Text.Encoding": {
"type": "Transitive",
"resolved": "4.3.0",
@ -1916,8 +1709,8 @@
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "4.7.2",
"contentHash": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg=="
"resolved": "4.6.0",
"contentHash": "4F8Xe+JIkVoDJ8hDAZ7HqLkjctN/6WItJIzQaifBwClC7wmoLSda/Sv2i6i1kycqDb3hWF4JCVbpAweyOKHEUA=="
},
"System.Text.RegularExpressions": {
"type": "Transitive",
@ -2075,9 +1868,6 @@
"pluralkit.api": {
"type": "Project",
"dependencies": {
"App.Metrics.AspNetCore.All": "4.3.0",
"App.Metrics.Prometheus": "4.3.0",
"App.Metrics.Reporting.Console": "4.3.0",
"Google.Protobuf": "3.13.0",
"Microsoft.AspNetCore.Mvc.NewtonsoftJson": "3.1.0",
"Microsoft.AspNetCore.Mvc.Versioning": "4.2.0",