Skip to content

chore: vendor eagle-analytics client 0.1.1 - #935

Merged
danieltruong merged 3 commits into
developfrom
chore/client-0.1.1
Sep 7, 2026
Merged

danieltruong merged 3 commits into
developfrom
chore/client-0.1.1

Conversation

@danieltruong

Copy link
Copy Markdown
Collaborator

Bumps the vendored @digitalspace/eagle-analytics-client from 0.1.0 to 0.1.1, taken from release client-v0.1.1 of digitalspace/eagle-analytics.

Clears the CodeQL polynomial-redos alert on vendor/eagle-analytics-client/dist/index.js: the trailing-slash trim on apiUrl was replace(/\/+$/, '') and is now a plain scan backwards from the end of the string, so it cannot backtrack.

The release assets were checked against the release's SHA256SUMS (tarball and each dist/ file) before copying. README.md is the upstream file byte for byte, so the tag and tarball sha256 are recorded in a new sibling VENDOR.md instead.

Only the vendored directory and the lockfile checksum for the file: dependency change. Lint, unit tests and the production build pass.

Fixes the CodeQL polynomial-redos alert on dist/index.js (trailing-slash trim now scans instead of backtracking).
The vendored client is the only thing that normalises EAGLE_ANALYTICS_URL, and no spec passed it a trailing slash, so the trim had no covering assertion here.

Also notes in VENDOR.md that the Development and Releases sections of the upstream README, and the scripts in package.json, describe the source directory rather than this one.
Adding VENDOR.md changed the directory the file: dependency packs, so the lockfile entry no longer matched and --immutable installs failed.
@danieltruong
danieltruong merged commit a5237e3 into develop Sep 7, 2026
4 checks passed
@danieltruong
danieltruong deleted the chore/client-0.1.1 branch September 7, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant