Skip to content

Commit

Permalink
⬆️ Bump the npm-production group across 1 directory with 5 updates
Browse files Browse the repository at this point in the history
Bumps the npm-production group with 4 updates in the / directory: [@actions/artifact](https://github.com/actions/toolkit/tree/HEAD/packages/artifact), [@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js), [azure-pipelines-task-lib](https://github.com/Microsoft/azure-pipelines-task-lib) and [azure-pipelines-tool-lib](https://github.com/microsoft/azure-pipelines-tool-lib).

Updates `@actions/artifact` from 2.1.9 to 2.1.11
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/artifact/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/artifact)

Updates `@octokit/plugin-paginate-rest` from 11.3.3 to 11.3.5
- [Release notes](https://github.com/octokit/plugin-paginate-rest.js/releases)
- [Commits](octokit/plugin-paginate-rest.js@v11.3.3...v11.3.5)

Updates `@octokit/types` from 13.5.0 to 13.6.1
- [Release notes](https://github.com/octokit/types.ts/releases)
- [Commits](octokit/types.ts@v13.5.0...v13.6.1)

Updates `azure-pipelines-task-lib` from 4.17.2 to 4.17.3
- [Commits](https://github.com/Microsoft/azure-pipelines-task-lib/commits)

Updates `azure-pipelines-tool-lib` from 2.0.7 to 2.0.8
- [Changelog](https://github.com/microsoft/azure-pipelines-tool-lib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microsoft/azure-pipelines-tool-lib/commits)

---
updated-dependencies:
- dependency-name: "@actions/artifact"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-production
- dependency-name: "@octokit/plugin-paginate-rest"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-production
- dependency-name: "@octokit/types"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-production
- dependency-name: azure-pipelines-task-lib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-production
- dependency-name: azure-pipelines-tool-lib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-production
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and tiulpin committed Oct 21, 2024
1 parent 21b001e commit 4f04143
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 38 deletions.
45 changes: 19 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 15 additions & 8 deletions scan/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93426,7 +93426,7 @@ var require_config = __commonJS({
__name(getConcurrency, "getConcurrency");
exports2.getConcurrency = getConcurrency;
function getUploadChunkTimeout() {
return 3e4;
return 3e5;
}
__name(getUploadChunkTimeout, "getUploadChunkTimeout");
exports2.getUploadChunkTimeout = getUploadChunkTimeout;
Expand Down Expand Up @@ -101656,7 +101656,7 @@ var require_package = __commonJS({
"../node_modules/@actions/artifact/package.json"(exports2, module2) {
module2.exports = {
name: "@actions/artifact",
version: "2.1.9",
version: "2.1.11",
preview: true,
description: "Actions artifact lib",
keywords: [
Expand Down Expand Up @@ -101706,7 +101706,6 @@ var require_package = __commonJS({
"@octokit/request-error": "^5.0.0",
"@protobuf-ts/plugin": "^2.2.3-alpha.1",
archiver: "^7.0.1",
crypto: "^1.0.1",
"jwt-decode": "^3.1.2",
"twirp-ts": "^2.5.0",
"unzip-stream": "^0.3.1"
Expand Down Expand Up @@ -102067,10 +102066,11 @@ var require_upload_zip_specification = __commonJS({
rootDirectory = (0, path_1.normalize)(rootDirectory);
rootDirectory = (0, path_1.resolve)(rootDirectory);
for (let file of filesToZip) {
if (!fs2.existsSync(file)) {
const stats = fs2.lstatSync(file, { throwIfNoEntry: false });
if (!stats) {
throw new Error(`File ${file} does not exist`);
}
if (!fs2.statSync(file).isDirectory()) {
if (!stats.isDirectory()) {
file = (0, path_1.normalize)(file);
file = (0, path_1.resolve)(file);
if (!file.startsWith(rootDirectory)) {
Expand All @@ -102080,14 +102080,16 @@ var require_upload_zip_specification = __commonJS({
(0, path_and_artifact_name_validation_1.validateFilePath)(uploadPath);
specification.push({
sourcePath: file,
destinationPath: uploadPath
destinationPath: uploadPath,
stats
});
} else {
const directoryPath = file.replace(rootDirectory, "");
(0, path_and_artifact_name_validation_1.validateFilePath)(directoryPath);
specification.push({
sourcePath: null,
destinationPath: directoryPath
destinationPath: directoryPath,
stats
});
}
}
Expand Down Expand Up @@ -127579,6 +127581,7 @@ var require_zip2 = __commonJS({
Object.defineProperty(exports2, "__esModule", { value: true });
exports2.createZipUploadStream = exports2.ZipUploadStream = exports2.DEFAULT_COMPRESSION_LEVEL = void 0;
var stream = __importStar3(require("stream"));
var promises_1 = require("fs/promises");
var archiver = __importStar3(require_archiver());
var core2 = __importStar3(require_core());
var config_1 = require_config();
Expand Down Expand Up @@ -127611,7 +127614,11 @@ var require_zip2 = __commonJS({
zip.on("end", zipEndCallback);
for (const file of uploadSpecification) {
if (file.sourcePath !== null) {
zip.file(file.sourcePath, {
let sourcePath = file.sourcePath;
if (file.stats.isSymbolicLink()) {
sourcePath = yield (0, promises_1.realpath)(file.sourcePath);
}
zip.file(sourcePath, {
name: file.destinationPath
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"url": "git+https://github.com/JetBrains/qodana-action.git"
},
"dependencies": {
"@actions/artifact": "^2.1.9",
"@actions/artifact": "^2.1.11",
"@actions/cache": "^3.2.4",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.0",
Expand Down
11 changes: 10 additions & 1 deletion vsts/QodanaScan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14353,8 +14353,16 @@ var require_tool = __commonJS({
tl2.debug("creating stream");
const file = fs2.createWriteStream(destPath);
file.on("open", (fd) => __awaiter2(this, void 0, void 0, function* () {
tl2.debug("file write stream opened. fd: " + fd);
const messageStream = response.message;
if (messageStream.aborted || messageStream.destroyed) {
file.end();
reject(new Error("Incoming message read stream was Aborted or Destroyed before download was complete"));
return;
}
tl2.debug("subscribing to message read stream events...");
try {
response.message.on("error", (err) => {
messageStream.on("error", (err) => {
file.end();
reject(err);
}).on("aborted", () => {
Expand All @@ -14364,6 +14372,7 @@ var require_tool = __commonJS({
} catch (err) {
reject(err);
}
tl2.debug("successfully subscribed to message read stream events");
})).on("close", () => {
tl2.debug("download complete");
let fileSizeInBytes;
Expand Down
4 changes: 2 additions & 2 deletions vsts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"author": "JetBrains",
"license": "Apache-2.0",
"dependencies": {
"azure-pipelines-task-lib": "^4.17.2",
"azure-pipelines-task-lib": "^4.17.3",
"azure-pipelines-tasks-utility-common": "^3.246.0",
"azure-pipelines-tool-lib": "^2.0.7"
"azure-pipelines-tool-lib": "^2.0.8"
},
"devDependencies": {
"@types/node": "^22.5.2",
Expand Down

0 comments on commit 4f04143

Please sign in to comment.