Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

chore(deps): update dependency tsx to v4.11.0 (#537)

homarr-renovate[bot]0ccf258a90e0
diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json
index cb3f9b643..029758c8d 100644
--- a/apps/nextjs/package.json
+++ b/apps/nextjs/package.json
@@ -73,7 +73,7 @@
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
- "tsx": "4.10.5",
+ "tsx": "4.11.0",
"typescript": "^5.4.5"
},
"eslintConfig": {
diff --git a/apps/nextjs/src/components/layout/analytics.tsx b/apps/nextjs/src/components/layout/analytics.tsx
index 76e76e2d2..322d7a0a6 100644
--- a/apps/nextjs/src/components/layout/analytics.tsx
+++ b/apps/nextjs/src/components/layout/analytics.tsx
@@ -4,9 +4,10 @@ import { UMAMI_WEBSITE_ID } from "@homarr/analytics";
import { api } from "@homarr/api/server";
export const Analytics = async () => {
- const analytics = await api.serverSettings.getAnalytics();
+ // For static pages it will not find any analytics data so we do not include the script on them
+ const analytics = await api.serverSettings.getAnalytics().catch(() => null);
- if (analytics.enableGeneral) {
+ if (analytics?.enableGeneral) {
return <Script src="https://umami.homarr.dev/script.js" data-website-id={UMAMI_WEBSITE_ID} defer />;
}
diff --git a/apps/tasks/package.json b/apps/tasks/package.json
index 7fb47a799..da7d67760 100644
--- a/apps/tasks/package.json
+++ b/apps/tasks/package.json
@@ -41,7 +41,7 @@
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
- "tsx": "4.10.5",
+ "tsx": "4.11.0",
"typescript": "^5.4.5"
},
"eslintConfig": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index fd0adcb06..6d15c645d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -233,8 +233,8 @@ importers:
specifier: ^3.2.5
version: 3.2.5
tsx:
- specifier: 4.10.5
- version: 4.10.5
+ specifier: 4.11.0
+ version: 4.11.0
typescript:
specifier: ^5.4.5
version: 5.4.5
@@ -303,8 +303,8 @@ importers:
specifier: ^3.2.5
version: 3.2.5
tsx:
- specifier: 4.10.5
- version: 4.10.5
+ specifier: 4.11.0
+ version: 4.11.0
typescript:
specifier: ^5.4.5
version: 5.4.5
@@ -3929,6 +3929,7 @@ packages:
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@@ -5084,6 +5085,7 @@ packages:
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
+ deprecated: Rimraf versions prior to v4 are no longer supported
hasBin: true
@@ -5514,8 +5516,8 @@ packages:
resolution: {integrity: sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==}
engines: {node: '>=0.6.x'}
- resolution: {integrity: sha512-twDSbf7Gtea4I2copqovUiNTEDrT8XNFXsuHpfGbdpW/z9ZW4fTghzzhAG0WfrCuJmJiOEY1nLIjq4u3oujRWQ==}
+ resolution: {integrity: sha512-vzGGELOgAupsNVssAmZjbUDfdm/pWP4R+Kg8TVdsonxbXk0bEpE1qh0yV6/QxUVXaVlNemgcPajGdJJ82n3stg==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -10657,7 +10659,7 @@ snapshots:
dependencies:
esbuild: 0.20.2
get-tsconfig: 4.7.5