GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(deps): resolve npm audit vulnerabilities by hitesh-shetty-cstk · Pull Request #615 · contentstack/live-preview-sdk

Conversation

@hitesh-shetty-cstk

@hitesh-shetty-cstk hitesh-shetty-cstk commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolves all npm audit vulnerabilities in the SDK (previously 3 high, 2 moderate → now 0).

Changes

  • dompurify 3.4.1 → 3.4.11 (direct runtime dependency) — picks up the DOMPurify XSS / config-pollution advisory fixes. This is the only production dependency affected and the only one that ships in the published package.
  • Added an overrides block pinning transitive dev/test-tooling deps to patched versions:
    • form-data ^4.0.6 (via jsdom)
    • ws ^8.21.0 (via jsdom)
    • vite ^7.3.6 (via vitest — kept on 7.x to avoid a breaking major bump to vite 8)
    • js-yaml ^4.3.0 (via @commitlint/cli, eslint)

Verification

  • npm audit → 0 vulnerabilities
  • npm run build succeeds
  • Full unit test suite passes — 861 tests, 111 files

Notes

  • The four transitive packages are dev/test tooling only; they never reach a consumer's bundle.
  • Deliberately avoided npm audit fix --force, which would have bumped vite to 8 and broken the test suite. Fixes were applied surgically to keep the lockfile churn minimal.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hitesh-shetty-cstk @claude
chore(deps): resolve npm audit vulnerabilities
334cac8
Bump dompurify 3.4.1 -> 3.4.11 (direct runtime dep) to pick up the
DOMPurify XSS / config-pollution advisory fixes, and add overrides
pinning transitive dev-tooling deps to patched versions:

- form-data ^4.0.6 (via jsdom)
- ws ^8.21.0 (via jsdom)
- vite ^7.3.6 (via vitest; stays on 7.x to avoid a breaking major bump)
- js-yaml ^4.3.0 (via commitlint, eslint)

npm audit now reports 0 vulnerabilities. Build and the full unit test
suite (861 tests) pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@hitesh-shetty-cstk
hitesh-shetty-cstk requested review from a team as code owners July 1, 2026 10:13
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 67.11% 2508 / 3737
🔵 Statements 65.99% 2548 / 3861
🔵 Functions 64.51% 449 / 696
🔵 Branches 61.4% 1513 / 2464
File CoverageNo changed files found.
Generated in workflow #850 for commit 334cac8 by the Vitest Coverage Report Action
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Base automatically changed from develop_v4 to stage_v4 July 13, 2026 10:15
Base automatically changed from stage_v4 to main July 21, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@hitesh-shetty-cstk
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.