Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

feat(ui): add dedicated third-party license sections to settings (#6820)

Ludy11df30b914a1
diff --git a/frontend/editor/public/locales/en-US/translation.toml b/frontend/editor/public/locales/en-US/translation.toml
index 6d827eb895..31ee42a8a2 100644
--- a/frontend/editor/public/locales/en-US/translation.toml
+++ b/frontend/editor/public/locales/en-US/translation.toml
@@ -8932,6 +8932,21 @@ manage = "Manage"
description = "Policies and legal information for this service."
title = "Legal Documents"
+[settings.licenses]
+backendDescription = "Licenses for backend dependencies bundled with this server."
+backendLabel = "Backend Licenses"
+backendTitle = "Backend 3rd Party Licenses"
+empty = "No dependencies found."
+frontendDescription = "Licenses for frontend dependencies bundled into the release build."
+frontendLabel = "Frontend Licenses"
+frontendTitle = "Frontend 3rd Party Licenses"
+license = "License"
+listDescription = "The list is shown directly in the UI from the release bundle or backend endpoint."
+listTitle = "Bundled dependencies"
+loadError = "Failed to load third-party licenses"
+module = "Module"
+version = "Version"
+
[settings.licensingAnalytics]
audit = "Audit"
plan = "Plan"
diff --git a/frontend/editor/public/og-metadata.json b/frontend/editor/public/og-metadata.json
index e8aded59d2..65f1da789c 100644
--- a/frontend/editor/public/og-metadata.json
+++ b/frontend/editor/public/og-metadata.json
@@ -485,6 +485,16 @@
"title": "Legal Settings - Stirling PDF",
"description": "The Free Adobe Acrobat alternative (10M+ Downloads)"
},
+ "/settings/backendThirdPartyLicenses": {
+ "image": "/og_images/home.png",
+ "title": "Backend Third Party Licenses Settings - Stirling PDF",
+ "description": "The Free Adobe Acrobat alternative (10M+ Downloads)"
+ },
+ "/settings/frontendThirdPartyLicenses": {
+ "image": "/og_images/home.png",
+ "title": "Frontend Third Party Licenses Settings - Stirling PDF",
+ "description": "The Free Adobe Acrobat alternative (10M+ Downloads)"
+ },
"/settings/payg": {
"image": "/og_images/home.png",
"title": "Payg Settings - Stirling PDF",
@@ -641,6 +651,8 @@
"/settings/adminMcp": "/settings/adminMcp",
"/settings/help": "/settings/help",
"/settings/legal": "/settings/legal",
+ "/settings/backendThirdPartyLicenses": "/settings/backendThirdPartyLicenses",
+ "/settings/frontendThirdPartyLicenses": "/settings/frontendThirdPartyLicenses",
"/settings/payg": "/settings/payg"
}
}
diff --git a/frontend/editor/src/assets/3rdPartyLicenses.json b/frontend/editor/src/assets/3rdPartyLicenses.json
index baf60879b6..3b606376de 100644
--- a/frontend/editor/src/assets/3rdPartyLicenses.json
+++ b/frontend/editor/src/assets/3rdPartyLicenses.json
@@ -3,133 +3,182 @@
{
"moduleName": "@atlaskit/pragmatic-drag-and-drop",
"moduleUrl": "git+https://github.com/atlassian/pragmatic-drag-and-drop.git",
- "moduleVersion": "1.7.7",
+ "moduleVersion": "1.7.9",
"moduleLicense": "Apache-2.0",
"moduleLicenseUrl": "git+https://github.com/atlassian/pragmatic-drag-and-drop.git"
},
+ {
+ "moduleName": "@cantoo/pdf-lib",
+ "moduleUrl": "git+https://github.com/cantoo-scribe/pdf-lib.git",
+ "moduleVersion": "2.6.5",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/cantoo-scribe/pdf-lib.git"
+ },
+ {
+ "moduleName": "@dnd-kit/core",
+ "moduleUrl": "git+https://github.com/clauderic/dnd-kit.git",
+ "moduleVersion": "6.3.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/clauderic/dnd-kit.git"
+ },
{
"moduleName": "@embedpdf/core",
- "moduleUrl": "https://registry.npmjs.org/@embedpdf/core/-/core-1.3.1.tgz",
- "moduleVersion": "1.3.0",
+ "moduleUrl": "https://registry.npmjs.org/@embedpdf/core/-/core-2.14.4.tgz",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
- "moduleLicenseUrl": "https://registry.npmjs.org/@embedpdf/core/-/core-1.3.1.tgz"
+ "moduleLicenseUrl": "https://registry.npmjs.org/@embedpdf/core/-/core-2.14.4.tgz"
},
{
"moduleName": "@embedpdf/engines",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
+ },
+ {
+ "moduleName": "@embedpdf/models",
+ "moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-annotation",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
+ },
+ {
+ "moduleName": "@embedpdf/plugin-attachment",
+ "moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
+ "moduleVersion": "2.14.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
+ },
+ {
+ "moduleName": "@embedpdf/plugin-bookmark",
+ "moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
+ "moduleVersion": "2.14.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
+ },
+ {
+ "moduleName": "@embedpdf/plugin-document-manager",
+ "moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-export",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-history",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-interaction-manager",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
- "moduleName": "@embedpdf/plugin-loader",
+ "moduleName": "@embedpdf/plugin-pan",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
- "moduleName": "@embedpdf/plugin-pan",
+ "moduleName": "@embedpdf/plugin-print",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
+ },
+ {
+ "moduleName": "@embedpdf/plugin-redaction",
+ "moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-render",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-rotate",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-scroll",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-search",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-selection",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-spread",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-thumbnail",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-tiling",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-viewport",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
{
"moduleName": "@embedpdf/plugin-zoom",
"moduleUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
- "moduleVersion": "1.3.0",
+ "moduleVersion": "2.14.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/embedpdf/embed-pdf-viewer.git"
},
@@ -157,94 +206,185 @@
{
"moduleName": "@mantine/core",
"moduleUrl": "git+https://github.com/mantinedev/mantine.git",
- "moduleVersion": "8.3.1",
+ "moduleVersion": "8.3.18",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/mantinedev/mantine.git"
},
{
"moduleName": "@mantine/dates",
"moduleUrl": "git+https://github.com/mantinedev/mantine.git",
- "moduleVersion": "8.3.1",
+ "moduleVersion": "8.3.18",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/mantinedev/mantine.git"
},
{
"moduleName": "@mantine/dropzone",
"moduleUrl": "git+https://github.com/mantinedev/mantine.git",
- "moduleVersion": "8.3.1",
+ "moduleVersion": "8.3.18",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/mantinedev/mantine.git"
},
{
"moduleName": "@mantine/hooks",
"moduleUrl": "git+https://github.com/mantinedev/mantine.git",
- "moduleVersion": "8.3.1",
+ "moduleVersion": "8.3.18",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/mantinedev/mantine.git"
},
{
"moduleName": "@mui/icons-material",
"moduleUrl": "git+https://github.com/mui/material-ui.git",
- "moduleVersion": "7.3.2",
+ "moduleVersion": "9.0.0",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/mui/material-ui.git"
},
{
"moduleName": "@mui/material",
"moduleUrl": "git+https://github.com/mui/material-ui.git",
- "moduleVersion": "7.3.2",
+ "moduleVersion": "9.0.0",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/mui/material-ui.git"
},
+ {
+ "moduleName": "@posthog/react",
+ "moduleUrl": "git+https://github.com/PostHog/posthog-js.git",
+ "moduleVersion": "1.8.2",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/PostHog/posthog-js.git"
+ },
+ {
+ "moduleName": "@reactour/tour",
+ "moduleUrl": "git+https://github.com/elrumordelaluz/reactour.git",
+ "moduleVersion": "3.8.0",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/elrumordelaluz/reactour.git"
+ },
+ {
+ "moduleName": "@stripe/react-stripe-js",
+ "moduleUrl": "https://github.com/stripe/react-stripe-js.git",
+ "moduleVersion": "4.0.2",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "https://github.com/stripe/react-stripe-js.git"
+ },
+ {
+ "moduleName": "@stripe/stripe-js",
+ "moduleUrl": "https://github.com/stripe/stripe-js.git",
+ "moduleVersion": "7.9.0",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "https://github.com/stripe/stripe-js.git"
+ },
+ {
+ "moduleName": "@supabase/supabase-js",
+ "moduleUrl": "https://github.com/supabase/supabase-js.git",
+ "moduleVersion": "2.100.0",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "https://github.com/supabase/supabase-js.git"
+ },
{
"moduleName": "@tailwindcss/postcss",
- "moduleUrl": "git+https://github.com/tailwindlabs/tailwindcss.git",
- "moduleVersion": "4.1.13",
+ "moduleUrl": "https://github.com/tailwindlabs/tailwindcss.git",
+ "moduleVersion": "4.2.2",
"moduleLicense": "MIT",
- "moduleLicenseUrl": "git+https://github.com/tailwindlabs/tailwindcss.git"
+ "moduleLicenseUrl": "https://github.com/tailwindlabs/tailwindcss.git"
},
{
"moduleName": "@tanstack/react-virtual",
"moduleUrl": "git+https://github.com/TanStack/virtual.git",
- "moduleVersion": "3.13.12",
+ "moduleVersion": "3.13.23",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/TanStack/virtual.git"
},
+ {
+ "moduleName": "@tauri-apps/api",
+ "moduleUrl": "git+https://github.com/tauri-apps/tauri.git",
+ "moduleVersion": "2.10.1",
+ "moduleLicense": "Apache-2.0 OR MIT",
+ "moduleLicenseUrl": "git+https://github.com/tauri-apps/tauri.git"
+ },
+ {
+ "moduleName": "@tauri-apps/plugin-dialog",
+ "moduleUrl": "git+https://github.com/tauri-apps/plugins-workspace.git",
+ "moduleVersion": "2.7.0",
+ "moduleLicense": "MIT OR Apache-2.0",
+ "moduleLicenseUrl": "git+https://github.com/tauri-apps/plugins-workspace.git"
+ },
+ {
+ "moduleName": "@tauri-apps/plugin-fs",
+ "moduleUrl": "git+https://github.com/tauri-apps/plugins-workspace.git",
+ "moduleVersion": "2.5.0",
+ "moduleLicense": "MIT OR Apache-2.0",
+ "moduleLicenseUrl": "git+https://github.com/tauri-apps/plugins-workspace.git"
+ },
+ {
+ "moduleName": "@tauri-apps/plugin-http",
+ "moduleUrl": "git+https://github.com/tauri-apps/plugins-workspace.git",
+ "moduleVersion": "2.5.7",
+ "moduleLicense": "MIT OR Apache-2.0",
+ "moduleLicenseUrl": "git+https://github.com/tauri-apps/plugins-workspace.git"
+ },
+ {
+ "moduleName": "@tauri-apps/plugin-notification",
+ "moduleUrl": "git+https://github.com/tauri-apps/plugins-workspace.git",
+ "moduleVersion": "2.3.3",
+ "moduleLicense": "MIT OR Apache-2.0",
+ "moduleLicenseUrl": "git+https://github.com/tauri-apps/plugins-workspace.git"
+ },
+ {
+ "moduleName": "@tauri-apps/plugin-shell",
+ "moduleUrl": "git+https://github.com/tauri-apps/plugins-workspace.git",
+ "moduleVersion": "2.3.5",
+ "moduleLicense": "MIT OR Apache-2.0",
+ "moduleLicenseUrl": "git+https://github.com/tauri-apps/plugins-workspace.git"
+ },
+ {
+ "moduleName": "@userback/widget",
+ "moduleUrl": "git+https://github.com/userback/widget-js.git",
+ "moduleVersion": "0.3.12",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/userback/widget-js.git"
+ },
{
"moduleName": "autoprefixer",
"moduleUrl": "git+https://github.com/postcss/autoprefixer.git",
- "moduleVersion": "10.4.21",
+ "moduleVersion": "10.4.27",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/postcss/autoprefixer.git"
},
{
"moduleName": "axios",
"moduleUrl": "git+https://github.com/axios/axios.git",
- "moduleVersion": "1.12.2",
+ "moduleVersion": "1.15.0",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/axios/axios.git"
},
+ {
+ "moduleName": "d3",
+ "moduleUrl": "git+https://github.com/d3/d3.git",
+ "moduleVersion": "7.9.0",
+ "moduleLicense": "ISC",
+ "moduleLicenseUrl": "git+https://github.com/d3/d3.git"
+ },
+ {
+ "moduleName": "globals",
+ "moduleUrl": "git+https://github.com/sindresorhus/globals.git",
+ "moduleVersion": "17.5.0",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/sindresorhus/globals.git"
+ },
{
"moduleName": "i18next",
"moduleUrl": "git+https://github.com/i18next/i18next.git",
- "moduleVersion": "25.5.2",
+ "moduleVersion": "25.10.10",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/i18next/i18next.git"
},
{
"moduleName": "i18next-browser-languagedetector",
"moduleUrl": "git+https://github.com/i18next/i18next-browser-languageDetector.git",
- "moduleVersion": "8.2.0",
+ "moduleVersion": "8.2.1",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/i18next/i18next-browser-languageDetector.git"
},
- {
- "moduleName": "i18next-http-backend",
- "moduleUrl": "git+ssh://[email protected]/i18next/i18next-http-backend.git",
- "moduleVersion": "3.0.2",
- "moduleLicense": "MIT",
- "moduleLicenseUrl": "git+ssh://[email protected]/i18next/i18next-http-backend.git"
- },
{
"moduleName": "jszip",
"moduleUrl": "git+https://github.com/Stuk/jszip.git",
@@ -254,66 +394,129 @@
},
{
"moduleName": "license-report",
- "moduleUrl": "git+https://github.com/kessler/license-report.git",
- "moduleVersion": "6.8.0",
+ "moduleUrl": "git+https://github.com/bepo65/license-report.git",
+ "moduleVersion": "6.8.2",
"moduleLicense": "MIT",
- "moduleLicenseUrl": "git+https://github.com/kessler/license-report.git"
- },
- {
- "moduleName": "pdf-lib",
- "moduleUrl": "git+https://github.com/Hopding/pdf-lib.git",
- "moduleVersion": "1.17.1",
- "moduleLicense": "MIT",
- "moduleLicenseUrl": "git+https://github.com/Hopding/pdf-lib.git"
+ "moduleLicenseUrl": "git+https://github.com/bepo65/license-report.git"
},
{
"moduleName": "pdfjs-dist",
"moduleUrl": "git+https://github.com/mozilla/pdf.js.git",
- "moduleVersion": "5.4.149",
+ "moduleVersion": "5.5.207",
"moduleLicense": "Apache-2.0",
"moduleLicenseUrl": "git+https://github.com/mozilla/pdf.js.git"
},
+ {
+ "moduleName": "peerjs",
+ "moduleUrl": "git+https://github.com/peers/peerjs.git",
+ "moduleVersion": "1.5.5",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/peers/peerjs.git"
+ },
+ {
+ "moduleName": "pixelmatch",
+ "moduleUrl": "git+https://github.com/mapbox/pixelmatch.git",
+ "moduleVersion": "7.1.0",
+ "moduleLicense": "ISC",
+ "moduleLicenseUrl": "git+https://github.com/mapbox/pixelmatch.git"
+ },
{
"moduleName": "posthog-js",
- "moduleUrl": "git+https://github.com/PostHog/posthog-js.git",
- "moduleVersion": "1.268.0",
+ "moduleUrl": "https://github.com/PostHog/posthog-js",
+ "moduleVersion": "1.363.3",
"moduleLicense": "SEE LICENSE IN LICENSE https://github.com/PostHog/posthog-js/blob/main/LICENSE",
- "moduleLicenseUrl": "git+https://github.com/PostHog/posthog-js.git"
+ "moduleLicenseUrl": "https://github.com/PostHog/posthog-js"
+ },
+ {
+ "moduleName": "qrcode.react",
+ "moduleUrl": "git+https://github.com/zpao/qrcode.react.git",
+ "moduleVersion": "4.2.0",
+ "moduleLicense": "ISC",
+ "moduleLicenseUrl": "git+https://github.com/zpao/qrcode.react.git"
},
{
"moduleName": "react",
"moduleUrl": "git+https://github.com/facebook/react.git",
- "moduleVersion": "19.1.1",
+ "moduleVersion": "19.2.4",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/facebook/react.git"
},
{
"moduleName": "react-dom",
"moduleUrl": "git+https://github.com/facebook/react.git",
- "moduleVersion": "19.1.1",
+ "moduleVersion": "19.2.4",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/facebook/react.git"
},
+ {
+ "moduleName": "react-easy-crop",
+ "moduleUrl": "git+https://github.com/ValentinH/react-easy-crop.git",
+ "moduleVersion": "5.5.6",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/ValentinH/react-easy-crop.git"
+ },
{
"moduleName": "react-i18next",
"moduleUrl": "git+https://github.com/i18next/react-i18next.git",
- "moduleVersion": "15.7.3",
+ "moduleVersion": "16.6.6",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/i18next/react-i18next.git"
},
+ {
+ "moduleName": "react-markdown",
+ "moduleUrl": "git+https://github.com/remarkjs/react-markdown.git",
+ "moduleVersion": "9.1.0",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/remarkjs/react-markdown.git"
+ },
+ {
+ "moduleName": "react-rnd",
+ "moduleUrl": "git+https://github.com/bokuweb/react-rnd.git",
+ "moduleVersion": "10.5.3",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/bokuweb/react-rnd.git"
+ },
{
"moduleName": "react-router-dom",
"moduleUrl": "git+https://github.com/remix-run/react-router.git",
- "moduleVersion": "7.9.1",
+ "moduleVersion": "7.13.2",
"moduleLicense": "MIT",
"moduleLicenseUrl": "git+https://github.com/remix-run/react-router.git"
},
+ {
+ "moduleName": "recharts",
+ "moduleUrl": "git+https://github.com/recharts/recharts.git",
+ "moduleVersion": "3.8.0",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/recharts/recharts.git"
+ },
+ {
+ "moduleName": "remark-gfm",
+ "moduleUrl": "git+https://github.com/remarkjs/remark-gfm.git",
+ "moduleVersion": "4.0.1",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/remarkjs/remark-gfm.git"
+ },
+ {
+ "moduleName": "signature_pad",
+ "moduleUrl": "git+https://github.com/szimek/signature_pad.git",
+ "moduleVersion": "5.1.3",
+ "moduleLicense": "MIT",
+ "moduleLicenseUrl": "git+https://github.com/szimek/signature_pad.git"
+ },
+ {
+ "moduleName": "smol-toml",
+ "moduleUrl": "github:squirrelchat/smol-toml",
+ "moduleVersion": "1.6.1",
+ "moduleLicense": "BSD-3-Clause",
+ "moduleLicenseUrl": "github:squirrelchat/smol-toml"
+ },
{
"moduleName": "tailwindcss",
- "moduleUrl": "git+https://github.com/tailwindlabs/tailwindcss.git",
- "moduleVersion": "4.1.13",
+ "moduleUrl": "https://github.com/tailwindlabs/tailwindcss.git",
+ "moduleVersion": "4.2.2",
"moduleLicense": "MIT",
- "moduleLicenseUrl": "git+https://github.com/tailwindlabs/tailwindcss.git"
+ "moduleLicenseUrl": "https://github.com/tailwindlabs/tailwindcss.git"
},
{
"moduleName": "web-vitals",
diff --git a/frontend/editor/src/core/components/shared/config/configNavSections.tsx b/frontend/editor/src/core/components/shared/config/configNavSections.tsx
index 260cbe970a..db02ad8458 100644
--- a/frontend/editor/src/core/components/shared/config/configNavSections.tsx
+++ b/frontend/editor/src/core/components/shared/config/configNavSections.tsx
@@ -5,6 +5,10 @@ import HotkeysSection from "@app/components/shared/config/configSections/Hotkeys
import GeneralSection from "@app/components/shared/config/configSections/GeneralSection";
import HelpSection from "@app/components/shared/config/configSections/HelpSection";
import LegalSection from "@app/components/shared/config/configSections/LegalSection";
+import {
+ BackendThirdPartyLicensesSection,
+ FrontendThirdPartyLicensesSection,
+} from "@app/components/shared/config/configSections/ThirdPartyLicensesSection";
export interface ConfigNavItem {
key: NavKey;
@@ -80,6 +84,18 @@ export const useConfigNavSections = (
icon: "gavel-rounded",
component: <LegalSection />,
},
+ {
+ key: "backendThirdPartyLicenses",
+ label: t("settings.licenses.backendLabel", "Backend Licenses"),
+ icon: "article-rounded",
+ component: <BackendThirdPartyLicensesSection />,
+ },
+ {
+ key: "frontendThirdPartyLicenses",
+ label: t("settings.licenses.frontendLabel", "Frontend Licenses"),
+ icon: "code-rounded",
+ component: <FrontendThirdPartyLicensesSection />,
+ },
],
},
];
diff --git a/frontend/editor/src/core/components/shared/config/configSections/ThirdPartyLicensesSection.tsx b/frontend/editor/src/core/components/shared/config/configSections/ThirdPartyLicensesSection.tsx
new file mode 100644
index 0000000000..5d0de982fc
--- /dev/null
+++ b/frontend/editor/src/core/components/shared/config/configSections/ThirdPartyLicensesSection.tsx
@@ -0,0 +1,235 @@
+import { useEffect, useMemo, useState } from "react";
+import { useTranslation } from "react-i18next";
+import {
+ Alert,
+ Anchor,
+ Group,
+ Loader,
+ Paper,
+ Stack,
+ Table,
+ Text,
+} from "@mantine/core";
+import { isAxiosError } from "axios";
+import apiClient from "@app/services/apiClient";
+import frontendLicenses from "../../../../../assets/3rdPartyLicenses.json"; // eslint-disable-line no-restricted-imports -- asset lives outside @app alias root
+
+interface Dependency {
+ moduleName?: string;
+ moduleUrl?: string;
+ moduleVersion?: string;
+ moduleLicense?: string;
+ moduleLicenseUrl?: string;
+}
+
+interface LicensesResponse {
+ dependencies?: Dependency[];
+}
+
+interface LicensesSectionBodyProps {
+ title: string;
+ description: string;
+ dependencies: Dependency[];
+}
+
+function LicensesSectionBody({
+ title,
+ description,
+ dependencies,
+}: LicensesSectionBodyProps) {
+ const { t } = useTranslation();
+ const sortedDependencies = useMemo(
+ () =>
+ [...dependencies].sort((a, b) =>
+ (a.moduleName || "").localeCompare(b.moduleName || ""),
+ ),
+ [dependencies],
+ );
+
+ const getDependencyKey = (dependency: Dependency) =>
+ [
+ dependency.moduleName ?? "module",
+ dependency.moduleVersion ?? "version",
+ dependency.moduleUrl ?? "url",
+ ].join(":");
+
+ return (
+ <Stack gap="lg">
+ <Paper withBorder p="md" radius="md">
+ <Stack gap="md">
+ <div>
+ <Text fw={600} size="sm">
+ {title}
+ </Text>
+ <Text size="xs" c="dimmed" mt={4}>
+ {description}
+ </Text>
+ </div>
+
+ <Group justify="space-between" align="center">
+ <div>
+ <Text fw={600} size="sm">
+ {t("settings.licenses.listTitle", "Bundled dependencies")}
+ </Text>
+ <Text size="xs" c="dimmed" mt={4}>
+ {t(
+ "settings.licenses.listDescription",
+ "The list is shown directly in the UI from the release bundle or backend endpoint.",
+ )}
+ </Text>
+ </div>
+ </Group>
+
+ <Table
+ highlightOnHover
+ withRowBorders
+ verticalSpacing="sm"
+ horizontalSpacing="md"
+ >
+ <Table.Thead>
+ <Table.Tr>
+ <Table.Th>{t("settings.licenses.module", "Module")}</Table.Th>
+ <Table.Th>{t("settings.licenses.version", "Version")}</Table.Th>
+ <Table.Th>{t("settings.licenses.license", "License")}</Table.Th>
+ </Table.Tr>
+ </Table.Thead>
+ <Table.Tbody>
+ {sortedDependencies.length === 0 ? (
+ <Table.Tr>
+ <Table.Td colSpan={3}>
+ <Text ta="center" c="dimmed" py="xl">
+ {t("settings.licenses.empty", "No dependencies found.")}
+ </Text>
+ </Table.Td>
+ </Table.Tr>
+ ) : (
+ sortedDependencies.map((dependency) => (
+ <Table.Tr key={getDependencyKey(dependency)}>
+ <Table.Td>
+ {dependency.moduleUrl ? (
+ <Anchor
+ href={dependency.moduleUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ {dependency.moduleName || "-"}
+ </Anchor>
+ ) : (
+ <Text size="sm">{dependency.moduleName || "-"}</Text>
+ )}
+ </Table.Td>
+ <Table.Td>
+ <Text size="sm" c="dimmed">
+ {dependency.moduleVersion || "-"}
+ </Text>
+ </Table.Td>
+ <Table.Td>
+ {dependency.moduleLicenseUrl ? (
+ <Anchor
+ href={dependency.moduleLicenseUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ {dependency.moduleLicense || "-"}
+ </Anchor>
+ ) : (
+ <Text size="sm">{dependency.moduleLicense || "-"}</Text>
+ )}
+ </Table.Td>
+ </Table.Tr>
+ ))
+ )}
+ </Table.Tbody>
+ </Table>
+ </Stack>
+ </Paper>
+ </Stack>
+ );
+}
+
+export function BackendThirdPartyLicensesSection() {
+ const { t } = useTranslation();
+ const [dependencies, setDependencies] = useState<Dependency[]>([]);
+ const [loading, setLoading] = useState(true);
+ const [error, setError] = useState<string | null>(null);
+
+ useEffect(() => {
+ const loadLicenses = async () => {
+ try {
+ setLoading(true);
+ setError(null);
+ const response = await apiClient.get<LicensesResponse>(
+ "/api/v1/ui-data/licenses",
+ { suppressErrorToast: true },
+ );
+ setDependencies(response.data?.dependencies ?? []);
+ } catch (err: unknown) {
+ setError(
+ isAxiosError(err)
+ ? err.response?.data?.message || err.message
+ : t(
+ "settings.licenses.loadError",
+ "Failed to load third-party licenses",
+ ),
+ );
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ void loadLicenses();
+ }, [t]);
+
+ if (loading) {
+ return (
+ <Stack align="center" justify="center" h={200}>
+ <Loader size="lg" />
+ </Stack>
+ );
+ }
+
+ if (error) {
+ return (
+ <Stack gap="lg">
+ <Alert color="red" title={t("admin.error", "Error")}>
+ {error}
+ </Alert>
+ </Stack>
+ );
+ }
+
+ return (
+ <LicensesSectionBody
+ title={t("settings.licenses.backendTitle", "Backend 3rd Party Licenses")}
+ description={t(
+ "settings.licenses.backendDescription",
+ "Licenses for backend dependencies bundled with this server.",
+ )}
+ dependencies={dependencies}
+ />
+ );
+}
+
+export function FrontendThirdPartyLicensesSection() {
+ const { t } = useTranslation();
+ const dependencies =
+ (frontendLicenses as LicensesResponse).dependencies ?? [];
+
+ return (
+ <LicensesSectionBody
+ title={t(
+ "settings.licenses.frontendTitle",
+ "Frontend 3rd Party Licenses",
+ )}
+ description={t(
+ "settings.licenses.frontendDescription",
+ "Licenses for frontend dependencies bundled into the release build.",
+ )}
+ dependencies={dependencies}
+ />
+ );
+}
+
+export default function ThirdPartyLicensesSection() {
+ return <BackendThirdPartyLicensesSection />;
+}
diff --git a/frontend/editor/src/core/components/shared/config/types.ts b/frontend/editor/src/core/components/shared/config/types.ts
index a71866d0c1..9fa87fe915 100644
--- a/frontend/editor/src/core/components/shared/config/types.ts
+++ b/frontend/editor/src/core/components/shared/config/types.ts
@@ -32,6 +32,8 @@ export const VALID_NAV_KEYS = [
"adminMcp",
"help",
"legal",
+ "backendThirdPartyLicenses",
+ "frontendThirdPartyLicenses",
"payg",
] as const;