Skip to content

Fix high-severity dependency vulnerabilities - #114

Merged
miguelcalderon merged 4 commits into
mainfrom
miguel/dependency-audit-2026-11-03
Nov 5, 2026
Merged

miguelcalderon merged 4 commits into
mainfrom
miguel/dependency-audit-2026-11-03

Conversation

@miguelcalderon

@miguelcalderon miguelcalderon commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

What

Fix high-severity dependency vulnerabilities in the root tooling and the Angular, Elm, TypeScript, and Webpack examples. Fix GraphQL Tools prototype pollution in Gatsby and update Nuxt’s locked build dependencies. The Nutrient Web SDK stays at 1.25.0.

Use targeted overrides for patched transitive dependencies and update Angular to aligned 21.2.26 packages. Root tooling and the Angular, Elm, TypeScript, and Webpack examples report no high or critical audit findings. Gatsby now uses @graphql-tools/utils 12.0.4, with compatible schema and loader versions, addressing CVE-2026-104852 and GHSA-c4qx-w738-7hr3. Gatsby still reports 52 other audit findings, including six high-severity findings. This PR does not remediate every vulnerability or example in the repository.

Validation: root frozen install and workflow tests passed. Angular, TypeScript, Webpack, Nuxt, and Gatsby builds passed. Viewer smoke tests passed for Angular, Elm, TypeScript, and Nuxt (eight tests). Gatsby’s focused Chromium check passed on /example1/; the shared smoke test targets the home page and is not suitable for this example. Gatsby’s frozen install, type generation, and seven regression tests passed, covering both pollution issues, schema extensions, and synchronous/asynchronous loader failures. The new Gatsby tests are not run by the existing CI workflow.

Biome checks passed for changed manifests and the new test. Angular reports existing bundle-size and CommonJS warnings. Gatsby validation used Node 24.22.1; its new transitive dependency requires Node 22.15 or later. The utility override crosses upstream major-version ranges; the checked integrations pass, but this is not an exhaustive compatibility guarantee. Elm has no production build script, and Webpack is excluded from the shared smoke suite.

Type

  • New framework example
  • Update existing example
  • SDK version bump
  • Bug fix
  • Repo infrastructure (CI, scripts, docs)

Checklist

  • pnpm run format passes (Biome)
  • Example has start and start:e2e scripts in package.json
  • SERVER_DIR=examples/<name> pnpm run test passes (Playwright smoke test)
  • README.md included with prerequisites, setup, and usage
  • Uses current pinned @nutrient-sdk/viewer version

Formatting was checked on changed files and by the pre-commit hook rather than running the repository-wide write command. Existing example READMEs and startup scripts are unchanged. The shared smoke-test checkbox reflects the supported examples listed above; Gatsby was checked separately on its document route.

@miguelcalderon miguelcalderon self-assigned this Nov 3, 2026
@miguelcalderon
miguelcalderon marked this pull request as ready for review November 4, 2026 05:21
@miguelcalderon
miguelcalderon requested a review from a team as a code owner November 4, 2026 05:21
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: lts/*
node-version: '24'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Prevents drift to Node 26, which does not work with current Playwright image.

@miguelcalderon
miguelcalderon merged commit 5297f62 into main Nov 5, 2026
3 checks passed
@miguelcalderon
miguelcalderon deleted the miguel/dependency-audit-2026-11-03 branch November 5, 2026 15:43
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.

2 participants