From 299cd4db07713cdd6c82d5fb81f2779cc5d5e2b8 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Fri, 22 Mar 2024 00:04:18 +0000 Subject: [PATCH 1/3] Update dependency filesize to v10.1.1 --- geneit_app/package-lock.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/geneit_app/package-lock.json b/geneit_app/package-lock.json index 8a163ff..4f5d8a5 100644 --- a/geneit_app/package-lock.json +++ b/geneit_app/package-lock.json @@ -2734,10 +2734,9 @@ "license": "MIT" }, "node_modules/filesize": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/filesize/-/filesize-10.1.0.tgz", - "integrity": "sha512-GTLKYyBSDz3nPhlLVPjPWZCnhkd9TrrRArNcy8Z+J2cqScB7h2McAzR6NBX6nYOoWafql0roY8hrocxnZBv9CQ==", - "license": "BSD-3-Clause", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-10.1.1.tgz", + "integrity": "sha512-L0cdwZrKlwZQkMSFnCflJ6J2Y+5egO/p3vgRSDQGxQt++QbUZe5gMbRO6kg6gzwQDPvq2Fk9AmoxUNfZ5gdqaQ==", "engines": { "node": ">= 10.4.0" } -- 2.45.2 From de6900917438cbdebd2c48ebe3accb0aa12a9afd Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Fri, 22 Mar 2024 10:31:46 +0000 Subject: [PATCH 2/3] Update geneit_backend/src/connections/db_connection.rs --- geneit_backend/src/connections/db_connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geneit_backend/src/connections/db_connection.rs b/geneit_backend/src/connections/db_connection.rs index 3827829..0fb543f 100644 --- a/geneit_backend/src/connections/db_connection.rs +++ b/geneit_backend/src/connections/db_connection.rs @@ -5,7 +5,7 @@ use diesel::result::{DatabaseErrorKind, Error}; use diesel::{Connection, PgConnection}; use std::cell::RefCell; thread_local! { - static POSTGRES_CONNECTION: RefCell> = RefCell::new(None); + static POSTGRES_CONNECTION: RefCell> = const { RefCell::new(None) }; } /// Execute a request on the database -- 2.45.2 From c4ce37208fc1ec83b725e4c4ed525e2793666256 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Fri, 22 Mar 2024 10:34:12 +0000 Subject: [PATCH 3/3] Update geneit_backend/src/connections/redis_connection.rs --- geneit_backend/src/connections/redis_connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geneit_backend/src/connections/redis_connection.rs b/geneit_backend/src/connections/redis_connection.rs index a2d6872..aa201d7 100644 --- a/geneit_backend/src/connections/redis_connection.rs +++ b/geneit_backend/src/connections/redis_connection.rs @@ -7,7 +7,7 @@ use std::cell::RefCell; use std::time::Duration; thread_local! { - static REDIS_CONNECTION: RefCell> = RefCell::new(None); + static REDIS_CONNECTION: RefCell> = const { RefCell::new(None) }; } /// Execute a request on Redis -- 2.45.2