Skip to content

Commit dbc211a

Browse files
author
github-actions
committed
update actions dist
Signed-off-by: github-actions <[email protected]>
1 parent 229e36b commit dbc211a

File tree

14 files changed

+224
-224
lines changed

14 files changed

+224
-224
lines changed

.github/actions/create-container_based-predicate/dist/index.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13599,7 +13599,7 @@ module.exports = {
1359913599

1360013600

1360113601
const { parseSetCookie } = __nccwpck_require__(8915)
13602-
const { stringify, getHeadersList } = __nccwpck_require__(3834)
13602+
const { stringify } = __nccwpck_require__(3834)
1360313603
const { webidl } = __nccwpck_require__(4222)
1360413604
const { Headers } = __nccwpck_require__(6349)
1360513605

@@ -13675,14 +13675,13 @@ function getSetCookies (headers) {
1367513675

1367613676
webidl.brandCheck(headers, Headers, { strict: false })
1367713677

13678-
const cookies = getHeadersList(headers).cookies
13678+
const cookies = headers.getSetCookie()
1367913679

1368013680
if (!cookies) {
1368113681
return []
1368213682
}
1368313683

13684-
// In older versions of undici, cookies is a list of name:value.
13685-
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
13684+
return cookies.map((pair) => parseSetCookie(pair))
1368613685
}
1368713686

1368813687
/**
@@ -14110,14 +14109,15 @@ module.exports = {
1411014109
/***/ }),
1411114110

1411214111
/***/ 3834:
14113-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
14112+
/***/ ((module) => {
1411414113

1411514114
"use strict";
1411614115

1411714116

14118-
const assert = __nccwpck_require__(2613)
14119-
const { kHeadersList } = __nccwpck_require__(6443)
14120-
14117+
/**
14118+
* @param {string} value
14119+
* @returns {boolean}
14120+
*/
1412114121
function isCTLExcludingHtab (value) {
1412214122
if (value.length === 0) {
1412314123
return false
@@ -14378,31 +14378,13 @@ function stringify (cookie) {
1437814378
return out.join('; ')
1437914379
}
1438014380

14381-
let kHeadersListNode
14382-
14383-
function getHeadersList (headers) {
14384-
if (headers[kHeadersList]) {
14385-
return headers[kHeadersList]
14386-
}
14387-
14388-
if (!kHeadersListNode) {
14389-
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
14390-
(symbol) => symbol.description === 'headers list'
14391-
)
14392-
14393-
assert(kHeadersListNode, 'Headers cannot be parsed')
14394-
}
14395-
14396-
const headersList = headers[kHeadersListNode]
14397-
assert(headersList)
14398-
14399-
return headersList
14400-
}
14401-
1440214381
module.exports = {
1440314382
isCTLExcludingHtab,
14404-
stringify,
14405-
getHeadersList
14383+
validateCookieName,
14384+
validateCookiePath,
14385+
validateCookieValue,
14386+
toIMFDate,
14387+
stringify
1440614388
}
1440714389

1440814390

@@ -18406,6 +18388,7 @@ const {
1840618388
isValidHeaderName,
1840718389
isValidHeaderValue
1840818390
} = __nccwpck_require__(5523)
18391+
const util = __nccwpck_require__(9023)
1840918392
const { webidl } = __nccwpck_require__(4222)
1841018393
const assert = __nccwpck_require__(2613)
1841118394

@@ -18959,6 +18942,9 @@ Object.defineProperties(Headers.prototype, {
1895918942
[Symbol.toStringTag]: {
1896018943
value: 'Headers',
1896118944
configurable: true
18945+
},
18946+
[util.inspect.custom]: {
18947+
enumerable: false
1896218948
}
1896318949
})
1896418950

@@ -28135,6 +28121,20 @@ class Pool extends PoolBase {
2813528121
? { ...options.interceptors }
2813628122
: undefined
2813728123
this[kFactory] = factory
28124+
28125+
this.on('connectionError', (origin, targets, error) => {
28126+
// If a connection error occurs, we remove the client from the pool,
28127+
// and emit a connectionError event. They will not be re-used.
28128+
// Fixes https://github.com/nodejs/undici/issues/3895
28129+
for (const target of targets) {
28130+
// Do not use kRemoveClient here, as it will close the client,
28131+
// but the client cannot be closed in this state.
28132+
const idx = this[kClients].indexOf(target)
28133+
if (idx !== -1) {
28134+
this[kClients].splice(idx, 1)
28135+
}
28136+
}
28137+
})
2813828138
}
2813928139

2814028140
[kGetDispatcher] () {

.github/actions/create-container_based-predicate/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/detect-workflow-js/dist/index.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13290,7 +13290,7 @@ module.exports = {
1329013290

1329113291

1329213292
const { parseSetCookie } = __nccwpck_require__(8915)
13293-
const { stringify, getHeadersList } = __nccwpck_require__(3834)
13293+
const { stringify } = __nccwpck_require__(3834)
1329413294
const { webidl } = __nccwpck_require__(4222)
1329513295
const { Headers } = __nccwpck_require__(6349)
1329613296

@@ -13366,14 +13366,13 @@ function getSetCookies (headers) {
1336613366

1336713367
webidl.brandCheck(headers, Headers, { strict: false })
1336813368

13369-
const cookies = getHeadersList(headers).cookies
13369+
const cookies = headers.getSetCookie()
1337013370

1337113371
if (!cookies) {
1337213372
return []
1337313373
}
1337413374

13375-
// In older versions of undici, cookies is a list of name:value.
13376-
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
13375+
return cookies.map((pair) => parseSetCookie(pair))
1337713376
}
1337813377

1337913378
/**
@@ -13801,14 +13800,15 @@ module.exports = {
1380113800
/***/ }),
1380213801

1380313802
/***/ 3834:
13804-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
13803+
/***/ ((module) => {
1380513804

1380613805
"use strict";
1380713806

1380813807

13809-
const assert = __nccwpck_require__(2613)
13810-
const { kHeadersList } = __nccwpck_require__(6443)
13811-
13808+
/**
13809+
* @param {string} value
13810+
* @returns {boolean}
13811+
*/
1381213812
function isCTLExcludingHtab (value) {
1381313813
if (value.length === 0) {
1381413814
return false
@@ -14069,31 +14069,13 @@ function stringify (cookie) {
1406914069
return out.join('; ')
1407014070
}
1407114071

14072-
let kHeadersListNode
14073-
14074-
function getHeadersList (headers) {
14075-
if (headers[kHeadersList]) {
14076-
return headers[kHeadersList]
14077-
}
14078-
14079-
if (!kHeadersListNode) {
14080-
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
14081-
(symbol) => symbol.description === 'headers list'
14082-
)
14083-
14084-
assert(kHeadersListNode, 'Headers cannot be parsed')
14085-
}
14086-
14087-
const headersList = headers[kHeadersListNode]
14088-
assert(headersList)
14089-
14090-
return headersList
14091-
}
14092-
1409314072
module.exports = {
1409414073
isCTLExcludingHtab,
14095-
stringify,
14096-
getHeadersList
14074+
validateCookieName,
14075+
validateCookiePath,
14076+
validateCookieValue,
14077+
toIMFDate,
14078+
stringify
1409714079
}
1409814080

1409914081

@@ -18097,6 +18079,7 @@ const {
1809718079
isValidHeaderName,
1809818080
isValidHeaderValue
1809918081
} = __nccwpck_require__(5523)
18082+
const util = __nccwpck_require__(9023)
1810018083
const { webidl } = __nccwpck_require__(4222)
1810118084
const assert = __nccwpck_require__(2613)
1810218085

@@ -18650,6 +18633,9 @@ Object.defineProperties(Headers.prototype, {
1865018633
[Symbol.toStringTag]: {
1865118634
value: 'Headers',
1865218635
configurable: true
18636+
},
18637+
[util.inspect.custom]: {
18638+
enumerable: false
1865318639
}
1865418640
})
1865518641

@@ -27826,6 +27812,20 @@ class Pool extends PoolBase {
2782627812
? { ...options.interceptors }
2782727813
: undefined
2782827814
this[kFactory] = factory
27815+
27816+
this.on('connectionError', (origin, targets, error) => {
27817+
// If a connection error occurs, we remove the client from the pool,
27818+
// and emit a connectionError event. They will not be re-used.
27819+
// Fixes https://github.com/nodejs/undici/issues/3895
27820+
for (const target of targets) {
27821+
// Do not use kRemoveClient here, as it will close the client,
27822+
// but the client cannot be closed in this state.
27823+
const idx = this[kClients].indexOf(target)
27824+
if (idx !== -1) {
27825+
this[kClients].splice(idx, 1)
27826+
}
27827+
}
27828+
})
2782927829
}
2783027830

2783127831
[kGetDispatcher] () {

.github/actions/detect-workflow-js/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/generate-attestations/dist/index.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9235,7 +9235,7 @@ module.exports = {
92359235

92369236

92379237
const { parseSetCookie } = __nccwpck_require__(8915)
9238-
const { stringify, getHeadersList } = __nccwpck_require__(3834)
9238+
const { stringify } = __nccwpck_require__(3834)
92399239
const { webidl } = __nccwpck_require__(4222)
92409240
const { Headers } = __nccwpck_require__(6349)
92419241

@@ -9311,14 +9311,13 @@ function getSetCookies (headers) {
93119311

93129312
webidl.brandCheck(headers, Headers, { strict: false })
93139313

9314-
const cookies = getHeadersList(headers).cookies
9314+
const cookies = headers.getSetCookie()
93159315

93169316
if (!cookies) {
93179317
return []
93189318
}
93199319

9320-
// In older versions of undici, cookies is a list of name:value.
9321-
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
9320+
return cookies.map((pair) => parseSetCookie(pair))
93229321
}
93239322

93249323
/**
@@ -9746,14 +9745,15 @@ module.exports = {
97469745
/***/ }),
97479746

97489747
/***/ 3834:
9749-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
9748+
/***/ ((module) => {
97509749

97519750
"use strict";
97529751

97539752

9754-
const assert = __nccwpck_require__(2613)
9755-
const { kHeadersList } = __nccwpck_require__(6443)
9756-
9753+
/**
9754+
* @param {string} value
9755+
* @returns {boolean}
9756+
*/
97579757
function isCTLExcludingHtab (value) {
97589758
if (value.length === 0) {
97599759
return false
@@ -10014,31 +10014,13 @@ function stringify (cookie) {
1001410014
return out.join('; ')
1001510015
}
1001610016

10017-
let kHeadersListNode
10018-
10019-
function getHeadersList (headers) {
10020-
if (headers[kHeadersList]) {
10021-
return headers[kHeadersList]
10022-
}
10023-
10024-
if (!kHeadersListNode) {
10025-
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
10026-
(symbol) => symbol.description === 'headers list'
10027-
)
10028-
10029-
assert(kHeadersListNode, 'Headers cannot be parsed')
10030-
}
10031-
10032-
const headersList = headers[kHeadersListNode]
10033-
assert(headersList)
10034-
10035-
return headersList
10036-
}
10037-
1003810017
module.exports = {
1003910018
isCTLExcludingHtab,
10040-
stringify,
10041-
getHeadersList
10019+
validateCookieName,
10020+
validateCookiePath,
10021+
validateCookieValue,
10022+
toIMFDate,
10023+
stringify
1004210024
}
1004310025

1004410026

@@ -14042,6 +14024,7 @@ const {
1404214024
isValidHeaderName,
1404314025
isValidHeaderValue
1404414026
} = __nccwpck_require__(5523)
14027+
const util = __nccwpck_require__(9023)
1404514028
const { webidl } = __nccwpck_require__(4222)
1404614029
const assert = __nccwpck_require__(2613)
1404714030

@@ -14595,6 +14578,9 @@ Object.defineProperties(Headers.prototype, {
1459514578
[Symbol.toStringTag]: {
1459614579
value: 'Headers',
1459714580
configurable: true
14581+
},
14582+
[util.inspect.custom]: {
14583+
enumerable: false
1459814584
}
1459914585
})
1460014586

@@ -23771,6 +23757,20 @@ class Pool extends PoolBase {
2377123757
? { ...options.interceptors }
2377223758
: undefined
2377323759
this[kFactory] = factory
23760+
23761+
this.on('connectionError', (origin, targets, error) => {
23762+
// If a connection error occurs, we remove the client from the pool,
23763+
// and emit a connectionError event. They will not be re-used.
23764+
// Fixes https://github.com/nodejs/undici/issues/3895
23765+
for (const target of targets) {
23766+
// Do not use kRemoveClient here, as it will close the client,
23767+
// but the client cannot be closed in this state.
23768+
const idx = this[kClients].indexOf(target)
23769+
if (idx !== -1) {
23770+
this[kClients].splice(idx, 1)
23771+
}
23772+
}
23773+
})
2377423774
}
2377523775

2377623776
[kGetDispatcher] () {

.github/actions/generate-attestations/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)