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
46 lines
720 B
JSON
46 lines
720 B
JSON
{
|
|
"name": "locate-path",
|
|
"version": "5.0.0",
|
|
"description": "Get the first path that exists on disk of multiple paths",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/locate-path",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava && tsd"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"keywords": [
|
|
"locate",
|
|
"path",
|
|
"paths",
|
|
"file",
|
|
"files",
|
|
"exists",
|
|
"find",
|
|
"finder",
|
|
"search",
|
|
"searcher",
|
|
"array",
|
|
"iterable",
|
|
"iterator"
|
|
],
|
|
"dependencies": {
|
|
"p-locate": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^1.4.1",
|
|
"tsd": "^0.7.2",
|
|
"xo": "^0.24.0"
|
|
}
|
|
}
|