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
57 lines
941 B
JSON
57 lines
941 B
JSON
{
|
|
"name": "string-width",
|
|
"version": "4.2.3",
|
|
"description": "Get the visual width of a string - the number of columns required to display it",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/string-width",
|
|
"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": [
|
|
"string",
|
|
"character",
|
|
"unicode",
|
|
"width",
|
|
"visual",
|
|
"column",
|
|
"columns",
|
|
"fullwidth",
|
|
"full-width",
|
|
"full",
|
|
"ansi",
|
|
"escape",
|
|
"codes",
|
|
"cli",
|
|
"command-line",
|
|
"terminal",
|
|
"console",
|
|
"cjk",
|
|
"chinese",
|
|
"japanese",
|
|
"korean",
|
|
"fixed-width"
|
|
],
|
|
"dependencies": {
|
|
"emoji-regex": "^8.0.0",
|
|
"is-fullwidth-code-point": "^3.0.0",
|
|
"strip-ansi": "^6.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^1.4.1",
|
|
"tsd": "^0.7.1",
|
|
"xo": "^0.24.0"
|
|
}
|
|
}
|