Skip to content

Commit aff96d3

Browse files
authored
Merge pull request #35 from debugmcp/dependabot/npm_and_yarn/tar-7.5.13
deps: Bump tar from 6.2.1 to 7.5.13
2 parents e58e51f + 4335a94 commit aff96d3

3 files changed

Lines changed: 35 additions & 58 deletions

File tree

‎packages/adapter-javascript/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint": "^10.2.0",
4343
"extract-zip": "^2.0.1",
4444
"fs-extra": "^11.3.4",
45-
"tar": "^6.2.1",
45+
"tar": "^7.5.13",
4646
"typescript": "^5.9.3",
4747
"vitest": "^4.1.3"
4848
},

‎packages/adapter-javascript/scripts/build-js-debug.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import os from 'node:os';
2828
import crypto from 'node:crypto';
2929
import { fileURLToPath } from 'node:url';
3030
import { spawn } from 'node:child_process';
31-
import tar from 'tar';
31+
import { extract as tarExtract } from 'tar';
3232
import extractZip from 'extract-zip';
3333
import { ensureDir, copy as fsxCopy } from 'fs-extra';
3434
import { selectBestAsset, normalizePath } from './lib/js-debug-helpers.js';
@@ -219,7 +219,7 @@ async function downloadWithRetries(url, destFile) {
219219
async function extractArchive(archiveFile, type, outDir) {
220220
await ensureDir(outDir);
221221
if (type === 'tgz') {
222-
await tar.x({
222+
await tarExtract({
223223
file: archiveFile,
224224
cwd: outDir,
225225
// Keep structure; do not strip

‎pnpm-lock.yaml‎

Lines changed: 32 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)