Skip to content

Fix npm security vulnerabilities#98

Open
ditto-integrations wants to merge 1 commit into
masterfrom
security/batch-1781549165-npm-master
Open

Fix npm security vulnerabilities#98
ditto-integrations wants to merge 1 commit into
masterfrom
security/batch-1781549165-npm-master

Conversation

@ditto-integrations

Copy link
Copy Markdown

Summary

Resolves: SPO-1046

Workflow run

Note: Target versions are sourced from Tines and may not always
reflect the latest or most appropriate release (e.g. a version may
be deprecated upstream). Please verify that the resolved versions
in lockfiles are suitable.

Test plan

  • CI passes
  • No new high/critical vulnerabilities in affected lockfiles
  • Affected SDK/component builds successfully

Generated by Tines + Claude Code

- **tmp** → 0.2.7 (CVE-2026-49982)
- **esbuild** → 0.28.1 (GHSA-gv7w-rqvm-qjhr)
- **vitest** → 3.2.6 (CVE-2026-47429)

Resolves: SPO-1046

Co-Authored-By: Claude <noreply@anthropic.com>

Copilot AI 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.

Pull request overview

This PR updates npm dependencies/overrides to remediate reported security vulnerabilities across the root package and the Vite TypeScript example app.

Changes:

  • Bump tmp override to ^0.2.7 and update root lockfile resolution.
  • Update the example app to vitest@^3.2.6 and vite@^7.0.0, and add an esbuild@^0.28.1 override with corresponding lockfile updates.
  • Refresh transitive dependency resolutions in the example lockfile consistent with the toolchain upgrades.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 3 comments.

File Description
package.json Updates the root tmp override to address the referenced CVE.
package-lock.json Updates tmp to 0.2.7 in the resolved dependency tree.
examples/vite-typescript-example/package.json Upgrades example tooling (Vite/Vitest) and adds an esbuild override.
examples/vite-typescript-example/package-lock.json Captures the upgraded toolchain and updated transitive dependency graph for the example app.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +64 to 68
"esbuild": "^0.28.1"
},
"engines": {
"node": ">=20"
}
Comment on lines 62 to 65
}
}
},
"esbuild": "^0.28.1"
},
Comment on lines 41 to +44
"typescript": "^4.9",
"typescript-eslint": "^8.15.0",
"vite": "^5.4.11",
"vitest": "^2.1.8"
"vite": "^7.0.0",
"vitest": "^3.2.6"
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