diff --git a/package-lock.json b/package-lock.json index 042b7e6a9..3ab082c11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@microsoft/vscode-azext-utils": "^2.0.0", - "fs-extra": "^10.1.0", + "fs-extra": "^11.2.0", "moment": "^2.30.1", "strip-json-comments": "^3.1.1", "vscode-jsonrpc": "^8.2.1", @@ -20,7 +20,7 @@ "@microsoft/vscode-azext-dev": "^2.0.6", "@types/decompress": "^4.2.3", "@types/estree": "^1.0.6", - "@types/fs-extra": "^5.1.0", + "@types/fs-extra": "^11.0.4", "@types/gulp": "^4.0.17", "@types/mocha": "^10.0.9", "@types/node": "^22.9.0", @@ -1081,11 +1081,12 @@ "dev": true }, "node_modules/@types/fs-extra": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-5.1.0.tgz", - "integrity": "sha512-AInn5+UBFIK9FK5xc9yP5e3TQSPNNgjHByqYcj9g5elVBnDQcQL7PlO1CIRy2gWlbwK7UPYqi7vRvFA44dCmYQ==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz", + "integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==", "dev": true, "dependencies": { + "@types/jsonfile": "*", "@types/node": "*" } }, @@ -1173,6 +1174,15 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/jsonfile": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/@types/jsonfile/-/jsonfile-6.1.4.tgz", + "integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/minimatch": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", @@ -3636,16 +3646,16 @@ "dev": true }, "node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=14.14" } }, "node_modules/fs-extra/node_modules/jsonfile": { diff --git a/package.json b/package.json index db3cf1022..70b80d212 100644 --- a/package.json +++ b/package.json @@ -614,7 +614,7 @@ "devDependencies": { "@types/decompress": "^4.2.3", "@types/estree": "^1.0.6", - "@types/fs-extra": "^5.1.0", + "@types/fs-extra": "^11.0.4", "@types/gulp": "^4.0.17", "@types/mocha": "^10.0.9", "@types/node": "^22.9.0", @@ -648,7 +648,7 @@ }, "dependencies": { "@microsoft/vscode-azext-utils": "^2.0.0", - "fs-extra": "^10.1.0", + "fs-extra": "^11.2.0", "moment": "^2.30.1", "strip-json-comments": "^3.1.1", "vscode-jsonrpc": "^8.2.1", diff --git a/test/support/publishVsCodeLogs.ts b/test/support/publishVsCodeLogs.ts index 3062b4509..590ca9d16 100644 --- a/test/support/publishVsCodeLogs.ts +++ b/test/support/publishVsCodeLogs.ts @@ -18,7 +18,6 @@ export async function publishVsCodeLogs(extensionid: string | undefined): Promis if (fse.pathExistsSync(sourcePath)) { await fse.copy(sourcePath, destFolderPath, { - recursive: true, preserveTimestamps: true }); } else {