From 158274163087d4d4d49dfcc6a39806493e413240 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Sun, 4 Feb 2024 09:29:45 +0100 Subject: [PATCH] update dependencies --- dist/restore/index.js | 121 +++++++++++++++++++++++++++++++++++------- dist/save/index.js | 121 +++++++++++++++++++++++++++++++++++------- package-lock.json | 91 +++++++++++++++++++++---------- package.json | 4 +- 4 files changed, 266 insertions(+), 71 deletions(-) diff --git a/dist/restore/index.js b/dist/restore/index.js index 7b143c5..640ab67 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -3405,7 +3405,10 @@ function assertDefined(name, value) { exports.assertDefined = assertDefined; function isGhes() { const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); - return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; + const hostname = ghUrl.hostname.trimEnd().toUpperCase(); + const isGitHubHost = hostname === 'GITHUB.COM'; + const isGheHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); + return !isGitHubHost && !isGheHost; } exports.isGhes = isGhes; //# sourceMappingURL=cacheUtils.js.map @@ -10631,6 +10634,18 @@ class AzureKeyCredential { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +/** + * Tests an object to determine whether it implements KeyCredential. + * + * @param credential - The assumed KeyCredential to be tested. + */ +function isKeyCredential(credential) { + return coreUtil.isObjectWithProperties(credential, ["key"]) && typeof credential.key === "string"; +} + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * A static name/key-based credential that supports updating * the underlying name and key values. @@ -10691,6 +10706,7 @@ function isNamedKeyCredential(credential) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * A static-signature-based credential that supports updating * the underlying signature value. @@ -10760,6 +10776,7 @@ function isTokenCredential(credential) { exports.AzureKeyCredential = AzureKeyCredential; exports.AzureNamedKeyCredential = AzureNamedKeyCredential; exports.AzureSASCredential = AzureSASCredential; +exports.isKeyCredential = isKeyCredential; exports.isNamedKeyCredential = isNamedKeyCredential; exports.isSASCredential = isSASCredential; exports.isTokenCredential = isTokenCredential; @@ -17421,10 +17438,10 @@ exports["default"] = _default; Object.defineProperty(exports, "__esModule", ({ value: true })); var logger$1 = __nccwpck_require__(3233); -var abortController = __nccwpck_require__(978); var coreUtil = __nccwpck_require__(1333); // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * The `@azure/logger` configuration for this package. * @internal @@ -17443,6 +17460,7 @@ const POLL_INTERVAL_IN_MS = 2000; const terminalStates = ["succeeded", "canceled", "failed"]; // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * Deserializes the state */ @@ -17606,6 +17624,7 @@ async function pollOperation(inputs) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. function getOperationLocationPollingUrl(inputs) { const { azureAsyncOperation, operationLocation } = inputs; return operationLocation !== null && operationLocation !== void 0 ? operationLocation : azureAsyncOperation; @@ -17747,7 +17766,7 @@ function parseRetryAfter({ rawResponse }) { return undefined; } function getErrorFromResponse(response) { - const error = response.flatResponse.error; + const error = accessBodyProperty(response, "error"); if (!error) { logger.warning(`The long-running operation failed but there is no error property in the response's body`); return; @@ -17843,12 +17862,14 @@ function getOperationStatus({ rawResponse }, state) { throw new Error(`Internal error: Unexpected operation mode: ${mode}`); } } -function getResourceLocation({ flatResponse }, state) { - if (typeof flatResponse === "object") { - const resourceLocation = flatResponse.resourceLocation; - if (resourceLocation !== undefined) { - state.config.resourceLocation = resourceLocation; - } +function accessBodyProperty({ flatResponse, rawResponse }, prop) { + var _a, _b; + return (_a = flatResponse === null || flatResponse === void 0 ? void 0 : flatResponse[prop]) !== null && _a !== void 0 ? _a : (_b = rawResponse.body) === null || _b === void 0 ? void 0 : _b[prop]; +} +function getResourceLocation(res, state) { + const loc = accessBodyProperty(res, "resourceLocation"); + if (loc && typeof loc === "string") { + state.config.resourceLocation = loc; } return state.config.resourceLocation; } @@ -17883,6 +17904,7 @@ async function pollHttpOperation(inputs) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. const createStateProxy$1 = () => ({ /** * The state at this point is created to be of type OperationState. @@ -17934,7 +17956,7 @@ function buildCreatePoller(inputs) { setErrorAsResult: !resolveOnUnsuccessful, }); let resultPromise; - const abortController$1 = new abortController.AbortController(); + const abortController = new AbortController(); const handlers = new Map(); const handleProgressEvents = async () => handlers.forEach((h) => h(state)); const cancelErrMsg = "Operation was canceled"; @@ -17945,7 +17967,7 @@ function buildCreatePoller(inputs) { isDone: () => ["succeeded", "failed", "canceled"].includes(state.status), isStopped: () => resultPromise === undefined, stopPolling: () => { - abortController$1.abort(); + abortController.abort(); }, toString: () => JSON.stringify({ state, @@ -17957,16 +17979,29 @@ function buildCreatePoller(inputs) { }, pollUntilDone: (pollOptions) => (resultPromise !== null && resultPromise !== void 0 ? resultPromise : (resultPromise = (async () => { const { abortSignal: inputAbortSignal } = pollOptions || {}; - const { signal: abortSignal } = inputAbortSignal - ? new abortController.AbortController([inputAbortSignal, abortController$1.signal]) - : abortController$1; - if (!poller.isDone()) { - await poller.poll({ abortSignal }); - while (!poller.isDone()) { - await coreUtil.delay(currentPollIntervalInMs, { abortSignal }); + // In the future we can use AbortSignal.any() instead + function abortListener() { + abortController.abort(); + } + const abortSignal = abortController.signal; + if (inputAbortSignal === null || inputAbortSignal === void 0 ? void 0 : inputAbortSignal.aborted) { + abortController.abort(); + } + else if (!abortSignal.aborted) { + inputAbortSignal === null || inputAbortSignal === void 0 ? void 0 : inputAbortSignal.addEventListener("abort", abortListener, { once: true }); + } + try { + if (!poller.isDone()) { await poller.poll({ abortSignal }); + while (!poller.isDone()) { + await coreUtil.delay(currentPollIntervalInMs, { abortSignal }); + await poller.poll({ abortSignal }); + } } } + finally { + inputAbortSignal === null || inputAbortSignal === void 0 ? void 0 : inputAbortSignal.removeEventListener("abort", abortListener); + } if (resolveOnUnsuccessful) { return poller.getResult(); } @@ -18036,6 +18071,7 @@ function buildCreatePoller(inputs) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * Creates a poller that can be used to poll a long-running operation. * @param lro - Description of the long-running operation @@ -18077,6 +18113,7 @@ async function createHttpPoller(lro, options) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. const createStateProxy = () => ({ initState: (config) => ({ config, isStarted: true }), setCanceled: (state) => (state.isCancelled = true), @@ -18555,6 +18592,7 @@ class Poller { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * The LRO Engine, a class that performs polling. */ @@ -18933,7 +18971,9 @@ exports.setSpanContext = setSpanContext; "use strict"; -var abortController = __nccwpck_require__(978); +Object.defineProperty(exports, "__esModule", ({ value: true })); + +var abortController = __nccwpck_require__(4200); var crypto = __nccwpck_require__(6113); // Copyright (c) Microsoft Corporation. @@ -19005,7 +19045,7 @@ function delay(timeInMs, options) { */ async function cancelablePromiseRace(abortablePromiseBuilders, options) { var _a, _b; - const aborter = new abortController.AbortController(); + const aborter = new AbortController(); function abortHandler() { aborter.abort(); } @@ -19290,6 +19330,47 @@ exports.uint8ArrayToString = uint8ArrayToString; //# sourceMappingURL=index.js.map +/***/ }), + +/***/ 4200: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +/** + * This error is thrown when an asynchronous operation has been aborted. + * Check for this error by testing the `name` that the name property of the + * error matches `"AbortError"`. + * + * @example + * ```ts + * const controller = new AbortController(); + * controller.abort(); + * try { + * doAsyncWork(controller.signal) + * } catch (e) { + * if (e.name === 'AbortError') { + * // handle abort error here. + * } + * } + * ``` + */ +class AbortError extends Error { + constructor(message) { + super(message); + this.name = "AbortError"; + } +} + +exports.AbortError = AbortError; +//# sourceMappingURL=index.js.map + + /***/ }), /***/ 3233: diff --git a/dist/save/index.js b/dist/save/index.js index 24dd6cf..91474b4 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -3405,7 +3405,10 @@ function assertDefined(name, value) { exports.assertDefined = assertDefined; function isGhes() { const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); - return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; + const hostname = ghUrl.hostname.trimEnd().toUpperCase(); + const isGitHubHost = hostname === 'GITHUB.COM'; + const isGheHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); + return !isGitHubHost && !isGheHost; } exports.isGhes = isGhes; //# sourceMappingURL=cacheUtils.js.map @@ -10631,6 +10634,18 @@ class AzureKeyCredential { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +/** + * Tests an object to determine whether it implements KeyCredential. + * + * @param credential - The assumed KeyCredential to be tested. + */ +function isKeyCredential(credential) { + return coreUtil.isObjectWithProperties(credential, ["key"]) && typeof credential.key === "string"; +} + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * A static name/key-based credential that supports updating * the underlying name and key values. @@ -10691,6 +10706,7 @@ function isNamedKeyCredential(credential) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * A static-signature-based credential that supports updating * the underlying signature value. @@ -10760,6 +10776,7 @@ function isTokenCredential(credential) { exports.AzureKeyCredential = AzureKeyCredential; exports.AzureNamedKeyCredential = AzureNamedKeyCredential; exports.AzureSASCredential = AzureSASCredential; +exports.isKeyCredential = isKeyCredential; exports.isNamedKeyCredential = isNamedKeyCredential; exports.isSASCredential = isSASCredential; exports.isTokenCredential = isTokenCredential; @@ -17421,10 +17438,10 @@ exports["default"] = _default; Object.defineProperty(exports, "__esModule", ({ value: true })); var logger$1 = __nccwpck_require__(3233); -var abortController = __nccwpck_require__(978); var coreUtil = __nccwpck_require__(1333); // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * The `@azure/logger` configuration for this package. * @internal @@ -17443,6 +17460,7 @@ const POLL_INTERVAL_IN_MS = 2000; const terminalStates = ["succeeded", "canceled", "failed"]; // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * Deserializes the state */ @@ -17606,6 +17624,7 @@ async function pollOperation(inputs) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. function getOperationLocationPollingUrl(inputs) { const { azureAsyncOperation, operationLocation } = inputs; return operationLocation !== null && operationLocation !== void 0 ? operationLocation : azureAsyncOperation; @@ -17747,7 +17766,7 @@ function parseRetryAfter({ rawResponse }) { return undefined; } function getErrorFromResponse(response) { - const error = response.flatResponse.error; + const error = accessBodyProperty(response, "error"); if (!error) { logger.warning(`The long-running operation failed but there is no error property in the response's body`); return; @@ -17843,12 +17862,14 @@ function getOperationStatus({ rawResponse }, state) { throw new Error(`Internal error: Unexpected operation mode: ${mode}`); } } -function getResourceLocation({ flatResponse }, state) { - if (typeof flatResponse === "object") { - const resourceLocation = flatResponse.resourceLocation; - if (resourceLocation !== undefined) { - state.config.resourceLocation = resourceLocation; - } +function accessBodyProperty({ flatResponse, rawResponse }, prop) { + var _a, _b; + return (_a = flatResponse === null || flatResponse === void 0 ? void 0 : flatResponse[prop]) !== null && _a !== void 0 ? _a : (_b = rawResponse.body) === null || _b === void 0 ? void 0 : _b[prop]; +} +function getResourceLocation(res, state) { + const loc = accessBodyProperty(res, "resourceLocation"); + if (loc && typeof loc === "string") { + state.config.resourceLocation = loc; } return state.config.resourceLocation; } @@ -17883,6 +17904,7 @@ async function pollHttpOperation(inputs) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. const createStateProxy$1 = () => ({ /** * The state at this point is created to be of type OperationState. @@ -17934,7 +17956,7 @@ function buildCreatePoller(inputs) { setErrorAsResult: !resolveOnUnsuccessful, }); let resultPromise; - const abortController$1 = new abortController.AbortController(); + const abortController = new AbortController(); const handlers = new Map(); const handleProgressEvents = async () => handlers.forEach((h) => h(state)); const cancelErrMsg = "Operation was canceled"; @@ -17945,7 +17967,7 @@ function buildCreatePoller(inputs) { isDone: () => ["succeeded", "failed", "canceled"].includes(state.status), isStopped: () => resultPromise === undefined, stopPolling: () => { - abortController$1.abort(); + abortController.abort(); }, toString: () => JSON.stringify({ state, @@ -17957,16 +17979,29 @@ function buildCreatePoller(inputs) { }, pollUntilDone: (pollOptions) => (resultPromise !== null && resultPromise !== void 0 ? resultPromise : (resultPromise = (async () => { const { abortSignal: inputAbortSignal } = pollOptions || {}; - const { signal: abortSignal } = inputAbortSignal - ? new abortController.AbortController([inputAbortSignal, abortController$1.signal]) - : abortController$1; - if (!poller.isDone()) { - await poller.poll({ abortSignal }); - while (!poller.isDone()) { - await coreUtil.delay(currentPollIntervalInMs, { abortSignal }); + // In the future we can use AbortSignal.any() instead + function abortListener() { + abortController.abort(); + } + const abortSignal = abortController.signal; + if (inputAbortSignal === null || inputAbortSignal === void 0 ? void 0 : inputAbortSignal.aborted) { + abortController.abort(); + } + else if (!abortSignal.aborted) { + inputAbortSignal === null || inputAbortSignal === void 0 ? void 0 : inputAbortSignal.addEventListener("abort", abortListener, { once: true }); + } + try { + if (!poller.isDone()) { await poller.poll({ abortSignal }); + while (!poller.isDone()) { + await coreUtil.delay(currentPollIntervalInMs, { abortSignal }); + await poller.poll({ abortSignal }); + } } } + finally { + inputAbortSignal === null || inputAbortSignal === void 0 ? void 0 : inputAbortSignal.removeEventListener("abort", abortListener); + } if (resolveOnUnsuccessful) { return poller.getResult(); } @@ -18036,6 +18071,7 @@ function buildCreatePoller(inputs) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * Creates a poller that can be used to poll a long-running operation. * @param lro - Description of the long-running operation @@ -18077,6 +18113,7 @@ async function createHttpPoller(lro, options) { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. const createStateProxy = () => ({ initState: (config) => ({ config, isStarted: true }), setCanceled: (state) => (state.isCancelled = true), @@ -18555,6 +18592,7 @@ class Poller { } // Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. /** * The LRO Engine, a class that performs polling. */ @@ -18933,7 +18971,9 @@ exports.setSpanContext = setSpanContext; "use strict"; -var abortController = __nccwpck_require__(978); +Object.defineProperty(exports, "__esModule", ({ value: true })); + +var abortController = __nccwpck_require__(4200); var crypto = __nccwpck_require__(6113); // Copyright (c) Microsoft Corporation. @@ -19005,7 +19045,7 @@ function delay(timeInMs, options) { */ async function cancelablePromiseRace(abortablePromiseBuilders, options) { var _a, _b; - const aborter = new abortController.AbortController(); + const aborter = new AbortController(); function abortHandler() { aborter.abort(); } @@ -19290,6 +19330,47 @@ exports.uint8ArrayToString = uint8ArrayToString; //# sourceMappingURL=index.js.map +/***/ }), + +/***/ 4200: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +/** + * This error is thrown when an asynchronous operation has been aborted. + * Check for this error by testing the `name` that the name property of the + * error matches `"AbortError"`. + * + * @example + * ```ts + * const controller = new AbortController(); + * controller.abort(); + * try { + * doAsyncWork(controller.signal) + * } catch (e) { + * if (e.name === 'AbortError') { + * // handle abort error here. + * } + * } + * ``` + */ +class AbortError extends Error { + constructor(message) { + super(message); + this.name = "AbortError"; + } +} + +exports.AbortError = AbortError; +//# sourceMappingURL=index.js.map + + /***/ }), /***/ 3233: diff --git a/package-lock.json b/package-lock.json index 8b0ebe1..381695b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,12 +10,12 @@ "license": "LGPL-3.0", "dependencies": { "@actions/buildjet-cache": "npm:github-actions.cache-buildjet@0.2.0", - "@actions/cache": "^3.2.3", + "@actions/cache": "^3.2.4", "@actions/core": "^1.10.1", "@actions/exec": "^1.1.1", "@actions/glob": "^0.4.0", "@actions/io": "^1.1.3", - "smol-toml": "1.1.3" + "smol-toml": "^1.1.4" }, "devDependencies": { "@vercel/ncc": "^0.38.1", @@ -51,9 +51,9 @@ } }, "node_modules/@actions/cache": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.2.3.tgz", - "integrity": "sha512-m8KvmcD+JxSLOfNUXuBF2jL0Lp+co/Fhbf0NTt0M9lz61WnXRdqpIGrOvTRZmKIl+7HaHil6kGE3fkEfrKQCQA==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.2.4.tgz", + "integrity": "sha512-RuHnwfcDagtX+37s0ZWy7clbOfnZ7AlDJQ7k/9rzt2W4Gnwde3fa/qjSjVuz4vLcLIpc7fUob27CMrqiWZytYA==", "dependencies": { "@actions/core": "^1.10.0", "@actions/exec": "^1.0.1", @@ -136,16 +136,27 @@ } }, "node_modules/@azure/core-auth": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.5.0.tgz", - "integrity": "sha512-udzoBuYG1VBoHVohDTrvKjyzel34zt77Bhp7dQntVGGD0ehVq48owENbBG8fIgkHRNUBQH5k1r0hpoMu5L8+kw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.6.0.tgz", + "integrity": "sha512-3X9wzaaGgRaBCwhLQZDtFp5uLIXCPrGbwJNWPPugvL4xbIGgScv77YzzxToKGLAKvG9amDoofMoP+9hsH1vs1w==", "dependencies": { - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.0.0", "@azure/core-util": "^1.1.0", "tslib": "^2.2.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-auth/node_modules/@azure/abort-controller": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.0.0.tgz", + "integrity": "sha512-RP/mR/WJchR+g+nQFJGOec+nzeN/VvjlwbinccoqfhTsTHbb8X5+mLDp48kHT0ueyum0BNSwGm0kX0UZuIqTGg==", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@azure/core-http": { @@ -194,17 +205,28 @@ } }, "node_modules/@azure/core-lro": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.5.4.tgz", - "integrity": "sha512-3GJiMVH7/10bulzOKGrrLeG/uCBH/9VtxqaMcB9lIqAeamI/xYQSHJL/KcsLDuH+yTjYpro/u6D/MuRe4dN70Q==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.6.0.tgz", + "integrity": "sha512-PyRNcaIOfMgoUC01/24NoG+k8O81VrKxYARnDlo+Q2xji0/0/j2nIt8BwQh294pb1c5QnXTDPbNR4KzoDKXEoQ==", "dependencies": { - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.0.0", "@azure/core-util": "^1.2.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-lro/node_modules/@azure/abort-controller": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.0.0.tgz", + "integrity": "sha512-RP/mR/WJchR+g+nQFJGOec+nzeN/VvjlwbinccoqfhTsTHbb8X5+mLDp48kHT0ueyum0BNSwGm0kX0UZuIqTGg==", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@azure/core-paging": { @@ -231,15 +253,26 @@ } }, "node_modules/@azure/core-util": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.6.1.tgz", - "integrity": "sha512-h5taHeySlsV9qxuK64KZxy4iln1BtMYlNt5jbuEFN3UFSAd1EwKg/Gjl5a6tZ/W8t6li3xPnutOx7zbDyXnPmQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.7.0.tgz", + "integrity": "sha512-Zq2i3QO6k9DA8vnm29mYM4G8IE9u1mhF1GUabVEqPNX8Lj833gdxQ2NAFxt2BZsfAL+e9cT8SyVN7dFVJ/Hf0g==", "dependencies": { - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.0.0", "tslib": "^2.2.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-util/node_modules/@azure/abort-controller": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.0.0.tgz", + "integrity": "sha512-RP/mR/WJchR+g+nQFJGOec+nzeN/VvjlwbinccoqfhTsTHbb8X5+mLDp48kHT0ueyum0BNSwGm0kX0UZuIqTGg==", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@azure/logger": { @@ -316,17 +349,17 @@ } }, "node_modules/@types/node": { - "version": "20.11.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.0.tgz", - "integrity": "sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ==", + "version": "20.11.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.16.tgz", + "integrity": "sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==", "dependencies": { "undici-types": "~5.26.4" } }, "node_modules/@types/node-fetch": { - "version": "2.6.10", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.10.tgz", - "integrity": "sha512-PPpPK6F9ALFTn59Ka3BaL+qGuipRfxNE8qVgkp0bVixeiR2c2/L+IVOiBdu9JhhT22sWnQEp6YyHGI2b2+CMcA==", + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==", "dependencies": { "@types/node": "*", "form-data": "^4.0.0" @@ -525,9 +558,9 @@ } }, "node_modules/smol-toml": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.1.3.tgz", - "integrity": "sha512-qTyy6Owjho1ISBmxj4HdrFWB2kMQ5RczU6J04OqslSfdSH656OIHuomHS4ZDvhwm37nig/uXyiTMJxlC9zIVfw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.1.4.tgz", + "integrity": "sha512-Y0OT8HezWsTNeEOSVxDnKOW/AyNXHQ4BwJNbAXlLTF5wWsBvrcHhIkE5Rf8kQMLmgf7nDX3PVOlgC6/Aiggu3Q==", "engines": { "node": ">= 18", "pnpm": ">= 8" diff --git a/package.json b/package.json index 02f0256..bea1b01 100644 --- a/package.json +++ b/package.json @@ -23,12 +23,12 @@ "homepage": "https://github.com/Swatinem/rust-cache#readme", "dependencies": { "@actions/buildjet-cache": "npm:github-actions.cache-buildjet@0.2.0", - "@actions/cache": "^3.2.3", + "@actions/cache": "^3.2.4", "@actions/core": "^1.10.1", "@actions/exec": "^1.1.1", "@actions/glob": "^0.4.0", "@actions/io": "^1.1.3", - "smol-toml": "1.1.3" + "smol-toml": "^1.1.4" }, "devDependencies": { "@vercel/ncc": "^0.38.1",