Compare commits

..
Author SHA1 Message Date
Brian DeHamer bb12edf482 bump undici in http-client to 5.28.5
Signed-off-by: Brian DeHamer <[email protected]>
2025-02-14 07:54:38 -08:00
5 changed files with 12 additions and 8 deletions
+2 -1
View File
@@ -115,6 +115,7 @@ test('restore with restore keys and no cache found', async () => {
const paths = ['node_modules']
const key = 'node-test'
const restoreKeys = ['node-']
const logWarningMock = jest.spyOn(core, 'warning')
jest
.spyOn(CacheServiceClientJSON.prototype, 'GetCacheEntryDownloadURL')
@@ -129,7 +130,7 @@ test('restore with restore keys and no cache found', async () => {
const cacheKey = await restoreCache(paths, key, restoreKeys)
expect(cacheKey).toBe(undefined)
expect(logDebugMock).toHaveBeenCalledWith(
expect(logWarningMock).toHaveBeenCalledWith(
`Cache not found for keys: ${[key, ...restoreKeys].join(', ')}`
)
})
+1 -1
View File
@@ -256,7 +256,7 @@ async function restoreCacheV2(
const response = await twirpClient.GetCacheEntryDownloadURL(request)
if (!response.ok) {
core.debug(`Cache not found for keys: ${keys.join(', ')}`)
core.warning(`Cache not found for keys: ${keys.join(', ')}`)
return undefined
}
+3
View File
@@ -1,5 +1,8 @@
## Releases
## 2.2.4
- Bump `undici` to version 5.28.5 [#1956](https://github.com/actions/toolkit/pull/1956)
## 2.2.3
- Fixed an issue where proxy username and password were not handled correctly [#1799](https://github.com/actions/toolkit/pull/1799)
+3 -3
View File
@@ -1,16 +1,16 @@
{
"name": "@actions/http-client",
"version": "2.2.3",
"version": "2.2.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@actions/http-client",
"version": "2.2.3",
"version": "2.2.4",
"license": "MIT",
"dependencies": {
"tunnel": "^0.0.6",
"undici": "^5.25.5"
"undici": "^5.28.5"
},
"devDependencies": {
"@types/node": "20.7.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/http-client",
"version": "2.2.3",
"version": "2.2.4",
"description": "Actions Http Client",
"keywords": [
"github",
@@ -46,6 +46,6 @@
},
"dependencies": {
"tunnel": "^0.0.6",
"undici": "^5.25.5"
"undici": "^5.28.5"
}
}
}