Skip to content

chore(mongodb-downloader): bump tar VSCODE-753#625

Merged
addaleax merged 1 commit intomainfrom
gagik/bump-tar
Mar 16, 2026
Merged

chore(mongodb-downloader): bump tar VSCODE-753#625
addaleax merged 1 commit intomainfrom
gagik/bump-tar

Conversation

@gagik
Copy link
Collaborator

@gagik gagik commented Mar 13, 2026

tar has snyk vulnerabilities associated with it so it would be good to bump this.

tar v7 is ESM-only so alternative import is used instead

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates @mongodb-js/mongodb-downloader to use a newer tar version in order to address reported Snyk vulnerabilities.

Changes:

  • Bump tar dependency from ^6.1.15 to ^7.5.11 in mongodb-downloader.
  • Adjust tar import style in the downloader implementation.
  • Regenerate package-lock.json to reflect the new dependency graph for tar@7.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/mongodb-downloader/src/index.ts Updates the tar import style used for extraction.
packages/mongodb-downloader/package.json Bumps tar to ^7.5.11.
package-lock.json Updates lockfile entries for tar@7 and its transitive dependencies (incl. engine constraints).

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

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 55 to 57
"debug": "^4.4.0",
"tar": "^6.1.15",
"tar": "^7.5.11",
"decompress": "^4.2.1",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Node >= 18 seems fine

@coveralls
Copy link

Coverage Status

coverage: 78.338%. remained the same
when pulling cc12c04 on gagik/bump-tar
into fabfa55 on main.

@gagik gagik changed the title chore(mongodb-downloader): bump tar chore(mongodb-downloader): bump tar VSCODE-753 Mar 16, 2026
@addaleax addaleax merged commit 18cc55e into main Mar 16, 2026
39 of 40 checks passed
@addaleax addaleax deleted the gagik/bump-tar branch March 16, 2026 10:34
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.

4 participants