mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
chore(server,web,docs) bulk bump of dependencies with vulnerabilities (#4312)
* chore: bump node version to 20.8 * chore(server,web) upgrade vulnerable dependencies * fix: revert node change * fix: commander version * fix: set country to null if undefined * fix: set docs module resolution * fix(web): correct return type of interval * fix(docs): set node in tsconfig --------- Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se> Co-authored-by: debricked[bot] <47180885+debricked[bot]@users.noreply.github.com>
This commit is contained in:
parent
2370c9ef41
commit
43f4dac3ad
6808
cli/package-lock.json
generated
6808
cli/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
9117
docs/package-lock.json
generated
9117
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
// This file is not used in compilation. It is here just for a nice editor experience.
|
// This file is not used in compilation. It is here just for a nice editor experience.
|
||||||
"extends": "@tsconfig/docusaurus/tsconfig.json",
|
"extends": "@tsconfig/docusaurus/tsconfig.json",
|
||||||
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "."
|
"baseUrl": ".",
|
||||||
|
"module": "Node16"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
7710
server/package-lock.json
generated
7710
server/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -64,7 +64,7 @@ export class MetadataRepository implements IMetadataRepository {
|
|||||||
this.logger.verbose(`Raw: ${JSON.stringify(address, null, 2)}`);
|
this.logger.verbose(`Raw: ${JSON.stringify(address, null, 2)}`);
|
||||||
|
|
||||||
const { countryCode, name: city, admin1Code, admin2Code } = address[0] as GeoData;
|
const { countryCode, name: city, admin1Code, admin2Code } = address[0] as GeoData;
|
||||||
const country = getName(countryCode, 'en');
|
const country = getName(countryCode, 'en') ?? null;
|
||||||
const stateParts = [(admin2Code as AdminCode)?.name, (admin1Code as AdminCode)?.name].filter((name) => !!name);
|
const stateParts = [(admin2Code as AdminCode)?.name, (admin1Code as AdminCode)?.name].filter((name) => !!name);
|
||||||
const state = stateParts.length > 0 ? stateParts.join(', ') : null;
|
const state = stateParts.length > 0 ? stateParts.join(', ') : null;
|
||||||
this.logger.debug(`Normalized: ${JSON.stringify({ country, state, city })}`);
|
this.logger.debug(`Normalized: ${JSON.stringify({ country, state, city })}`);
|
||||||
|
6129
web/package-lock.json
generated
6129
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
|||||||
import { AllJobStatusResponseDto, api } from '@api';
|
import { AllJobStatusResponseDto, api } from '@api';
|
||||||
import { onDestroy, onMount } from 'svelte';
|
import { onDestroy, onMount } from 'svelte';
|
||||||
|
|
||||||
let timer: NodeJS.Timer;
|
let timer: ReturnType<typeof setInterval>;
|
||||||
|
|
||||||
let jobs: AllJobStatusResponseDto;
|
let jobs: AllJobStatusResponseDto;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
import type { PageData } from './$types';
|
import type { PageData } from './$types';
|
||||||
|
|
||||||
export let data: PageData;
|
export let data: PageData;
|
||||||
let setIntervalHandler: NodeJS.Timer;
|
let setIntervalHandler: ReturnType<typeof setInterval>;
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
setIntervalHandler = setInterval(async () => {
|
setIntervalHandler = setInterval(async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user