mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-21 19:16:20 +00:00
Backend (Cargo.lock): openssl 0.10.55 -> 0.10.81, bytes 1.12.1, h2 0.3.27, tokio 1.26 -> 1.47.1 (mio 1.x), url 2.3.1 -> 2.5.7 (idna 1.1), rand 0.8.8, spin 0.9.9, time 0.3.55, ring 0.17.14. Three alerts needed manifest changes: - tokio-rustls 0.23 -> 0.26 (rustls 0.20 -> 0.23), which is what moves ring off 0.16. The ring provider is selected explicitly instead of the default aws-lc-rs, so the image build needs no cmake/C toolchain; roots still come from webpki-roots (now 1.0). Checked against live hosts: a valid certificate connects, an expired one and a name mismatch are refused. - maxminddb 0.23 -> 0.27: lookup() now returns a result that is decoded, and the City model's fields are no longer Options. The existing locate_random_ip test (12.5.56.25 -> "Gardena") passes. - structopt (clap 2, which pulled atty) -> clap 4 derive in telemetry_core, telemetry_shard and the soak tests; criterion 0.4 -> 0.5 for the same reason. Both binaries' arguments were parsed before and after for the docker-compose invocations and a set of other cases: identical results, except that `--feed-timeout` given without a value is now an error where structopt silently used the default. --denylist keeps taking every value up to the next flag (num_args = 1..), as its help text describes. Frontend: npm audit fix within ranges, and webpack-dev-server 4 -> 5.2.6 (no devServer options are configured, so nothing to migrate). Left: sockjs -> uuid 8 inside webpack-dev-server 5; the fix is 6.0, which needs Node 22 while CI runs 20, and it is the local dev server only. Checked: backend cargo test (58 passed), clippy, fmt; frontend lint, prettier, test and build.
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"name": "@pezkuwi/telemetry-frontend",
|
|
"version": "1.0.0",
|
|
"author": "Dijital Kurdistan Tech Institute <admin@pezkuwichain.io>",
|
|
"license": "GPL-3.0",
|
|
"description": "Pezkuwichain Telemetry frontend",
|
|
"scripts": {
|
|
"start": "webpack serve --mode=development",
|
|
"build": "webpack --mode=production",
|
|
"test": "jest",
|
|
"pretty:check": "prettier --check src/**/*.{ts,tsx}",
|
|
"pretty:fix": "prettier --write src",
|
|
"clean": "rm -rf node_modules build ./tmp/env-config.js report*.json npm-error.log",
|
|
"lint": "eslint src"
|
|
},
|
|
"dependencies": {
|
|
"@polkadot/util-crypto": "^10.1.7",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "29.4.0",
|
|
"@types/node": "^16.11.58",
|
|
"@types/react": "^18.0.18",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@types/react-measure": "^2.0.6",
|
|
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
|
"@typescript-eslint/parser": "^5.49.0",
|
|
"css-loader": "^6.7.3",
|
|
"eslint": "^8.23.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react": "^7.31.8",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"jest": "^29.4.0",
|
|
"jest-environment-jsdom": "^29.4.0",
|
|
"prettier": "^2.0.5",
|
|
"style-loader": "^3.3.1",
|
|
"ts-jest": "29.0.5",
|
|
"ts-loader": "^9.4.2",
|
|
"typescript": "^4.9.4",
|
|
"webpack": "^5.76.0",
|
|
"webpack-cli": "^5.0.1",
|
|
"webpack-dev-server": "^5.2.6",
|
|
"whatwg-fetch": "^3.6.2"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx,json,css}": [
|
|
"pretty:fix"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
"chrome >= 67",
|
|
"edge >= 79",
|
|
"firefox >= 68",
|
|
"opera >= 54",
|
|
"safari >= 14"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|