ntopng/doc/developers
GabrieleDeri e5d7231c73
Updated preference unit of measure n2disk and grafana dash (#10516)
* Updated preference unit of measure n2disk and grafana dash

* Update dist
2026-06-29 16:59:12 +02:00
..
vue_components Fixes geomap shadow, navbar tabs component (#10184) 2026-03-19 17:16:13 +01:00
AddClickhouseColumns.md Added documentation on how to add new columns to db and frontend (#9342) 2025-07-04 10:10:09 +02:00
cpp_flows_sorting.md Added c++ docs on how to add flows sorting (#9604) 2025-09-03 16:09:11 +02:00
README.add_new_pref.md Fixes geomap shadow, navbar tabs component (#10184) 2026-03-19 17:16:13 +01:00
README.add_preference.md Updated preference unit of measure n2disk and grafana dash (#10516) 2026-06-29 16:59:12 +02:00
README.Add_startup_param.md Added ch flows export to file before ttl delete #9398 (#9427) 2025-07-28 11:06:05 +02:00
README.alerts.md Added documentation for duplicate alerts silencing logic (#8992) 2025-02-25 09:26:46 +01:00
README.dashboard_timeseries.md Pie refresh no load, cached dashboard rest call (#10169) 2026-03-16 11:11:08 +01:00
README.flow_state.md Move dev readmes to developers 2025-02-13 11:36:48 +01:00
README.GUI.frontend.md Move dev readmes to developers 2025-02-13 11:36:48 +01:00
README.GUI.ntopng_utility_js.md Added new table to host countries page (#8473) 2024-06-25 10:57:57 +02:00
README.GUI.quickstart.md Typo 2024-09-04 19:26:06 +02:00
README.GUI.utilization.md Updated build 2025-01-22 11:32:19 +01:00
README.hash_entries_lifecycle.md Move dev readmes to developers 2025-02-13 11:36:48 +01:00
README.hr.md HR counters README 2026-05-18 15:43:40 +02:00
README.OIDC.md Add OIDC implementation doc 2026-03-17 18:58:56 +01:00
README.passkey.md Passkey impl doc 2026-03-19 12:05:21 +01:00
README.pref_input_box.md Fixed the BGP server preferences (#10406) 2026-06-01 16:12:09 +02:00
README.recording.md Update README.recording.md 2025-09-19 17:36:25 +02:00
README.report_dashboard.md Pie refresh no load, cached dashboard rest call (#10169) 2026-03-16 11:11:08 +01:00
README.tags.md Update docs: labels to tags 2026-05-12 15:07:00 +02:00
README.timeseries.md Move dev readmes to developers 2025-02-13 11:36:48 +01:00
README.UI.architecture.md Moved dist building to vite (#10064) 2026-02-19 18:21:47 +01:00
README.update_frontend_CVE.md Fixes vite CVE, piechart legend, sankey resize dashboard (#10503) 2026-06-27 12:59:04 +02:00

How to update a CVE on the frontend

If a new CVE arises for the frontend, the file to change is package.json. In this file there is the definition for all the frontend dependencies.

For example to update vite version, first find the package to update, then change the version. Below an example

"vite": "^6.3.5", -> "vite": "^6.4.3",

Then, to verify that everything works, in ntopng/:

# remove installed dependencies
rm -rf node_modules/

# reinstall dependencies with new package version
npm install 

# build the dist for the frontend
npm run build

Then, after having reinstalled dependencies and rebuilt the dist, navigate to the ntopng UI, check that there are no errors in console that were not present before.

For example, if package X was to be updated, check that in all pages affecting package X, everything works as before.