From bb8fa20f6b7957150c561cca476c12d9334929db Mon Sep 17 00:00:00 2001 From: Vinicius Mangueira Date: Mon, 24 Aug 2026 18:57:39 -0300 Subject: [PATCH] fix(build): restore valid chrome-trace-event lock entry Context: The RouteFilter 1.0.5 release commit accidentally changed the locked chrome-trace-event package from 1.0.4 to the nonexistent 1.0.5 version. Webpack 5.97.1 depends on chrome-trace-event ^1.0.2, but npm cannot install the invalid locked tarball and returns HTTP 404. Changes: - restore the chrome-trace-event lock entry to published version 1.0.4 - restore the corresponding 1.0.4 npm registry tarball URL - preserve the existing integrity hash after verifying it against the npm metadata for version 1.0.4 Behavior: The UI dependency graph and declared dependency ranges are unchanged. The lockfile now resolves webpack's existing semver range to the valid package tarball it referenced before the release-version replacement. Compatibility: - no runtime mod behavior changes - no Cities: Skylines II save changes - no C# changes - no UI feature changes - no dependency range changes - no package.json changes Security: - no executable code added - no new dependencies added - no credential handling changes - no publishing changes - no filesystem behavior changes in the mod - validation used only the official npm registry and a cache under UI/build Validation: - npm view chrome-trace-event@1.0.4 version: returned 1.0.4 - npm view chrome-trace-event@1.0.4 dist --json: integrity matched the existing lockfile hash - npm view chrome-trace-event@1.0.5 version: returned the expected HTTP 404 - npm ci --cache build/.npm-cache --no-audit: passed, 184 packages added - ROUTEFILTER_OUTPUT_DIR: confirmed as C:\Users\vinic\CS2-RouteFilter\UI\build - npm run build: passed, webpack 5.97.1 compiled successfully - npm audit --omit=dev --cache build/.npm-cache: passed, 0 vulnerabilities found - git diff --check: passed --- UI/package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/package-lock.json b/UI/package-lock.json index 781dace..8db1830 100644 --- a/UI/package-lock.json +++ b/UI/package-lock.json @@ -631,8 +631,8 @@ } }, "node_modules/chrome-trace-event": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.5.tgz", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", "dev": true, "license": "MIT",