commits
Fixes CVEs for XSS in DOMPurify and ASN.1 vulnerabilities in node-forge.
Co-authored-by: Duplicake-fyi <duplicake@pstream.mov>
This reverts commit 8d8d4659dbd893ca6355115e0a9279b5e0f4cdb5.
Maps an array to a promise that resolves with an array of results, limiting the number of concurrent operations.
useDerived resets its local edit whenever initial changes. When the async loadSettings() completes it updates the store, so initial changes and the effect clears the user's toggle before they click Save. Fixing by: 1) removing the effect in useDerived that clears overwrite when initial changes; 2) calling state.reset() in Settings after applying loaded settings so the form reflects backend values without wiping in-progress edits.
useDerived resets its local edit whenever initial changes. When the async loadSettings() completes it updates the store, so initial changes and the effect clears the user's toggle before they click Save. Fixing by: 1) removing the effect in useDerived that clears overwrite when initial changes; 2) calling state.reset() in Settings after applying loaded settings so the form reflects backend values without wiping in-progress edits.