Update dependency filesize to v10.1.1 #116

Merged
pierre merged 3 commits from renovate/filesize-10.x-lockfile into master 2024-03-22 10:38:14 +00:00
3 changed files with 5 additions and 6 deletions

View File

@ -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"
}

View File

@ -5,7 +5,7 @@ use diesel::result::{DatabaseErrorKind, Error};
use diesel::{Connection, PgConnection};
use std::cell::RefCell;
thread_local! {
static POSTGRES_CONNECTION: RefCell<Option<PgConnection>> = RefCell::new(None);
static POSTGRES_CONNECTION: RefCell<Option<PgConnection>> = const { RefCell::new(None) };
}
/// Execute a request on the database

View File

@ -7,7 +7,7 @@ use std::cell::RefCell;
use std::time::Duration;
thread_local! {
static REDIS_CONNECTION: RefCell<Option<redis::Client>> = RefCell::new(None);
static REDIS_CONNECTION: RefCell<Option<redis::Client>> = const { RefCell::new(None) };
}
/// Execute a request on Redis