Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump sanitize-html from 2.7.1 to 2.12.1 in /src/Ecotag/ClientApp #308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build(deps): bump sanitize-html in /src/Ecotag/ClientApp
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.7.1 to 2.12.1.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](apostrophecms/sanitize-html@2.7.1...2.12.1)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] authored Mar 1, 2024
commit 1eea5edd1f05a49d2c04db1cec4ad35e76b5874b
84 changes: 79 additions & 5 deletions src/Ecotag/ClientApp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Ecotag/ClientApp/package.json
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
"react-router-dom": "5.3.0",
"react-toastify": "8.0.3",
"react-webcam": "7.0.1",
"sanitize-html": "2.7.1",
"sanitize-html": "2.12.1",
"tesseract.js": "2.1.5",
"use-image": "1.0.12"
},

Unchanged files with check annotations Beta

{
private const long UnixEpochTicks = 621_355_968_000_000_000;
public static async Task<TokenResponse> GetAccessTokenWithClientAssertionAsync(this HttpClient httpClient,

Check warning on line 18 in src/MlCli/Extentions/OAuth2ClientCredentials/HttpClientExtensions.cs

GitHub Actions / Analyze (csharp)

Return type of 'HttpClientExtensions.GetAccessTokenWithClientAssertionAsync(HttpClient, OAuth2ClientCredentialsBaseOptions)' is not CLS-compliant
OAuth2ClientCredentialsBaseOptions options)
{
// discover endpoints from metadata
this.httpClient = httpClient;
}
public async Task<TokenResponse> GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions options)

Check warning on line 17 in src/MlCli/Extentions/Http/OAuth2ClientCredentials/OAuth2ClientCredentialsClient.cs

GitHub Actions / Analyze (csharp)

Return type of 'OAuth2ClientCredentialsClient.GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions)' is not CLS-compliant
{
return await httpClient.GetAccessTokenWithClientAssertionAsync(options);
}
public interface IOAuth2ClientCredentialsClient
{
Task<TokenResponse> GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions options);

Check warning on line 9 in src/MlCli/Extentions/Http/OAuth2ClientCredentials/IOAuth2ClientCredentialsClient.cs

GitHub Actions / Analyze (csharp)

Return type of 'IOAuth2ClientCredentialsClient.GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions)' is not CLS-compliant
}
Main(args, "appsettings-cli");
}
public static void Main(string[] args, string appSettingsName)

Check warning on line 38 in src/MlCli/Program.cs

GitHub Actions / Analyze (csharp)

'Program.Main(string[], string)' has the wrong signature to be an entry point
{
var app = new CommandLineApplication
{
}
}
private async Task UpdateUrl(VersionTask inputTask, string version)

Check warning on line 42 in src/MlCli/JobVersion/Job.cs

GitHub Actions / Analyze (csharp)

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
{
var fileName = Path.Combine(inputTask.UrlLogDirectory, inputTask.LogFileName);
_logger = logger;
}
public async Task CopyAsync(CopyTask inputTask)

Check warning on line 19 in src/MlCli/JobCopy/Job.cs

GitHub Actions / Analyze (csharp)

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
{
_fileLoader.CreateDirectory(inputTask.To);
var files = _fileLoader.EnumerateFiles(inputTask.From, inputTask.Pattern);
inputTask.SortByFileType ? fileUrl.Key : fileName
);
ServicePointManager.FindServicePoint(fileUrl.Url).ConnectionLeaseTimeout = 60000;

Check warning on line 135 in src/MlCli/JobApiCall/ApiCallFiles.cs

GitHub Actions / Analyze (csharp)

'ServicePointManager.FindServicePoint(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
var request = new HttpRequestMessage(HttpMethod.Get, fileUrl.Url);
await httpClient.GetAsync(fileUrl.Url);
var httpResponse = httpClient.SendAsync(
return commandResult;
}
private async Task<GroupModel?> GetGroupsAsync(string groupId)

Check warning on line 123 in src/Ecotag/Server/Groups/Database/Group/GroupsRepository.cs

GitHub Actions / Analyze (csharp)

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
{
var groups = await _groupsContext.Groups.Where(group => group.Id == new Guid(groupId))
.Include(group => group.GroupUsers).FirstOrDefaultAsync();
}
public async Task<List<ExportAnnotation>> GetAnnotationsByProjectIdAndDatasetIdAsync(string projectId,
string datasetId, JsonSerializerOptions? options = null)

Check warning on line 230 in src/Ecotag/Server/Datasets/Database/Annotations/AnnotationsRepository.cs

GitHub Actions / Analyze (csharp)

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
{
var result = new List<ExportAnnotation>();
var fileDataModels = await _datasetsContext.Files.AsNoTracking()
_args = args;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)

Check warning on line 16 in src/Ecotag/Local/Worker.cs

GitHub Actions / Analyze (csharp)

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
{
if (_args[0] != string.Empty) MlCli.Program.Main(_args, "appsettings-local");
}