Add comprehensive security audit (86 findings across 10 areas)

Secure dev auth with signed tokens, add email support for --user
Simplify breakpoint variables, suppress Sass deprecation warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-19 01:14:31 +00:00
parent ee87bc6297
commit f67c88a4f1
10 changed files with 270 additions and 35 deletions

View File

@@ -27,7 +27,7 @@ class Responsive {
}
const styles = getComputedStyle(document.documentElement);
const value = styles.getPropertyValue(`--${name}`).trim();
const value = styles.getPropertyValue(`--bp-${name}`).trim();
const parsed = parseInt(value, 10);
this._cache[name] = parsed;
@@ -84,7 +84,7 @@ class Responsive {
*/
static is_desktop_sm() {
const vp = this._viewport();
return vp >= this._get_breakpoint('desktop-sm') && vp < this._get_breakpoint('desktop-md');
return vp >= this._get_breakpoint('desktop') && vp < this._get_breakpoint('desktop-md');
}
/**