Repository navigation
chore(deps): update dependencies securely - #805
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain with the dependency and lockfile updates.
No open issues 🎉
What changed in this PR
Updates the Babylon.js website’s build, demo, and development dependencies to address reported security vulnerabilities without changing application code.
Changes:
- Updates 13 direct dependencies, including six Babylon.js packages, Eleventy, and development tools, while preserving caret ranges.
- Refreshes the lockfile, replacing vulnerable minimatch versions and resolving Rolldown to 1.2.18.
- Retains TypeScript 6.0.3 for compatibility with typescript-eslint and avoids newly resolved prerelease packages.
| File | Description |
|---|---|
package.json |
Updates direct dependency ranges for website builds and demo tooling. |
package-lock.json |
Records updated dependency resolutions, integrity hashes, and platform packages. |
Review effort: Balanced
sebavan
approved these changes
Dec 1, 2026
Popov72
requested changes
Dec 1, 2026
Popov72
left a comment
Contributor
There was a problem hiding this comment.
Skeptical senior code review
Verdict: Request substantial changes
- Value and necessity: The refresh is worthwhile: it removes the locked minimatch 10.2.6 copies cited in the advisory and updates the site and demo toolchains without requiring a TypeScript major-version migration.
- Design: Keeping the refresh in the npm manifest and lockfile is appropriate. This is not CI-only: Eleventy builds the published site, and the Babylon.js packages are bundled into shipped demos. The renderer package identity must be consistent across the dependency declaration and resolution.
- Implementation and tests: The direct manifest ranges match their locked versions. TypeScript 6.0.3 fits the retained parser peer range; the native TypeScript and Babylon Lite peers are optional, and the Rolldown Linux binding is present at the expected version. Existing CI covers clean installation, the site build, lint, formatting, type checking, and both demo render suites. Those suites do not exercise the lazy Inspector toggle or independently assert the identity of the installed template renderer.
- Hot paths: No website-owned per-frame or per-draw code changes. Eleventy, Vite, linting, and Playwright changes affect build or validation paths. The Babylon.js update replaces code used on the demo render path, but the repository diff contains no upstream implementation from which to establish added hot-path overhead.
- Findings: 1 inline (1 blocking, 0 nonblocking).
- Open questions: None.
- Review limitations: Read-only source review. No installs, builds, audits, or registry checks were run independently. The PR description's local assessment names an earlier revision, so it does not establish exact-head validation. In the authenticated snapshot, Azure demo validation and CodeQL JavaScript/TypeScript were still in progress, and the Azure parent check was queued.
Resolve upstream nunjucks from Eleventy's published manifest. Apply cross-spawn 7.1.0, the minimum fix for critical GHSA-ghv9-86vm-4v8m. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Popov72
approved these changes
Dec 1, 2026
Popov72
left a comment
Contributor
There was a problem hiding this comment.
Incremental review
- Start:
c82affd10b2484fa88577b363e7c237fddb20389 - End:
c16b32cf50cc1ce62ef70c51dfe2fd2ac7b9ea07
The lockfile now resolves Eleventy's Nunjucks dependency to the upstream package. No new findings in the follow-up diff.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
c16b32cf50cc1ce62ef70c51dfe2fd2ac7b9ea07↑ All 53 new registry versions checked: 52 eligible and one documented critical security exception.
↓ Full demo build/render/smoke suites passed at 06ac155, not rerun after the renderer/cross-spawn fix; current-head CI is not yet verified.
Summary
package.jsonandpackage-lock.json. No overrides, audit suppressions, or application changes.>=4.8.4 <6.1.0. TypeScript 7.0.2 is age-eligible but not compatible with that peer dependency; its native compiler migration is not forced into this update.@emnapi/coreand@emnapi/runtime2.0.0-beta.2; no new prerelease versions are included.nunjucks@3.2.4, matching Eleventy's published manifest, instead of retaining the old fork alias. Verify package identity after a clean install and build the site.Security audit
Command:
npm audit --json, including production and development dependencies and every severity.All severities are zero. ESLint/typescript-eslint updates remove vulnerable minimatch 10.2.6 instances and resolve GHSA-g3hv-75wg-m249, including its affected parent packages.
On December 1, the audit additionally reported one critical finding in cross-spawn 7.0.6: GHSA-ghv9-86vm-4v8m. Updating to 7.1.0 restores zero findings.
Seven-day release-age policy
npm-version-age.mjs check --days 7 --now 2026-11-30T16:05:34.090Z.Under-seven-day security exceptions
Deferred recent releases
Latest routine releases intentionally not selected because they are newer than the original cutoff:
Deferred quarantined security fixes
None.
Validation
Final review-fix tree, macOS, Node 24.19.0, npm 11.17.0:
npm ci --no-audit --no-fund- clean corrected-lock installation passes.nunjucksname/version, upstream tarball URL, Eleventy's installed/published dependency agreement, and block rendering.npm run site:build- complete site build passes with the corrected renderer (22 pages).npm run demos:lintandnpm run demos:pure:lint- pass with patched cross-spawn.npm run demos:format,npm run demos:typecheck, andnpm run demos:pure:typecheck- pass.npm ls --depth=0- valid graph.npm audit --json- zero findings at every severity.git diff --check- clean.Earlier dependency revision
06ac15553288be822bdffaba807e2a0bd4bf5aa2passed these additional commands. They were not rerun after the renderer/cross-spawn correction:npm run build- website, compiled demos, pure demos, and source pages.npm run demos:ciandnpm run demos:pure:ci- lint, format, typecheck, and render checks for all 85 enabled demos in each flavor.npm run demos:smokeandnpm run demos:pure:smoke- all 85 enabled demos in each flavor.Each manifest contains 86 demos; the existing disabled demo remains excluded by the repository's checks. No thresholds or exclusions were changed.