Skip to content

chore(deps): fix dependency advisories and report audits in CI - #865

Merged
roncohen merged 1 commit into
mainfrom
chore/refresh-dependency-audits
Dec 2, 2026
Merged

roncohen merged 1 commit into
mainfrom
chore/refresh-dependency-audits

Conversation

@roncohen

@roncohen roncohen commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Update the SDK repository’s build and test dependencies to address current Yarn advisories. This includes the critical cross-spawn update to 7.1.2, newer ws, terser, node-forge, glob, and minimatch resolutions, and the React Native CLI, Expo, and Metro updates that remove the vulnerable XML, image-size, and UUID paths. Keep TypeDoc’s glob traversal working with minimatch 11, including negated patterns. The React Native development apps stay on React Native 0.81 and Expo SDK 54.

Package CI now audits the root workspace and both standalone examples without ignoring any advisories. It also checks TypeDoc traversal, archive streaming, and Android and iOS JavaScript bundles for the bare React Native and Expo development apps. The withdrawn deepmerge advisory needs no exception.

No published SDK or CLI API, runtime dependency declaration, or release version changes. No changeset is needed.

Remaining tar findings

Update tar to 7.5.24 across all three lockfiles. This fixes GHSA-ph3c-p786-j4rp. Forcing tar 8 clears the other audit findings but breaks the compatibility test: Lerna and node-gyp still use the older Node stream APIs. Keep the recursive audit visible as a non-blocking CI step until those consumers can move to tar 8. The findings still appear in the logs and the audit command still exits nonzero.

Yarn audit scope Before After
Root workspace 30 17
Cloudflare Worker example 19 17
OpenFeature Node example 18 17

Counts are distinct advisories within each scope. All remaining findings are for tar.

Verification

  • Immutable installs and unfiltered recursive audits in all three scopes.
  • All 15 workspace builds and 12 workspace test targets, including browser end-to-end tests. Both standalone examples built and passed their tests.
  • TypeDoc generation and glob regression, archive streaming regression, generated CLI declaration checks, release and docs publishing checks, formatting, and lint.
  • Bare React Native configuration, both native app type checks, and production JavaScript bundles for Android and iOS in both development apps. No native binaries were built.

Supersedes #797, whose dependency pins and audit results predated the current main and advisory set.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

@roncohen
roncohen added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit c91d27e Dec 2, 2026
9 checks passed
@roncohen
roncohen deleted the chore/refresh-dependency-audits branch December 2, 2026 18:48
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