feat(security,ui): self-host React deps, Tailwind, fonts; strict CSP; local QR; better selection state
Replace CDN React/ReactDOM/Babel with local libs; remove Babel and inline scripts Build Tailwind locally, add safelist; switch to assets/tailwind.css Self-host Font Awesome and Inter (CSS + woff2); remove external font CDNs Implement strict CSP (no unsafe-inline/eval; scripts/styles/fonts from self) Extract inline handlers; move PWA scripts to external files Add local QR code generation (qrcode lib) and remove api.qrserver.com Improve SessionTypeSelector visual selection (highlighted background and ring) Keep PWA working with service worker and offline assets Refs: CSP hardening, offline-first, no external dependencies
This commit is contained in:
18
node_modules/dijkstrajs/README.md
generated
vendored
Normal file
18
node_modules/dijkstrajs/README.md
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# dijkstrajs.js
|
||||
|
||||
dijkstrajs is a simple JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.
|
||||
|
||||
The code was originally written by Wyatt Baldwin and turned into a node module by Thomas Cort.
|
||||
|
||||
## Requirements
|
||||
|
||||
* [nodejs](http://nodejs.org/)
|
||||
|
||||
## Installation
|
||||
|
||||
npm install dijkstrajs
|
||||
|
||||
## Examples
|
||||
|
||||
See `test/dijkstra.test.js` in the sources for some example code.
|
||||
|
||||
Reference in New Issue
Block a user