Skip to content

Commit 0aaccfd

Browse files
Bump undici from 5.28.4 to 5.28.5 (#541)
* Bump undici from 5.28.4 to 5.28.5 Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.28.4...v5.28.5) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Bump undici from 5.28.4 to 5.28.5 Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.28.4...v5.28.5) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Fix failures --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
1 parent c4c1141 commit 0aaccfd

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
lines changed

.licenses/npm/undici.dep.yml

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

dist/cache-save/index.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65451,6 +65451,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
6545165451
const { File: UndiciFile } = __nccwpck_require__(8511)
6545265452
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
6545365453

65454+
let random
65455+
try {
65456+
const crypto = __nccwpck_require__(6005)
65457+
random = (max) => crypto.randomInt(0, max)
65458+
} catch {
65459+
random = (max) => Math.floor(Math.random(max))
65460+
}
65461+
6545465462
let ReadableStream = globalThis.ReadableStream
6545565463

6545665464
/** @type {globalThis['File']} */
@@ -65536,7 +65544,7 @@ function extractBody (object, keepalive = false) {
6553665544
// Set source to a copy of the bytes held by object.
6553765545
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
6553865546
} else if (util.isFormDataLike(object)) {
65539-
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
65547+
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
6554065548
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
6554165549

6554265550
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
@@ -86891,6 +86899,14 @@ module.exports = require("net");
8689186899

8689286900
/***/ }),
8689386901

86902+
/***/ 6005:
86903+
/***/ ((module) => {
86904+
86905+
"use strict";
86906+
module.exports = require("node:crypto");
86907+
86908+
/***/ }),
86909+
8689486910
/***/ 5673:
8689586911
/***/ ((module) => {
8689686912

dist/setup/index.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71739,6 +71739,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
7173971739
const { File: UndiciFile } = __nccwpck_require__(8511)
7174071740
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
7174171741

71742+
let random
71743+
try {
71744+
const crypto = __nccwpck_require__(6005)
71745+
random = (max) => crypto.randomInt(0, max)
71746+
} catch {
71747+
random = (max) => Math.floor(Math.random(max))
71748+
}
71749+
7174271750
let ReadableStream = globalThis.ReadableStream
7174371751

7174471752
/** @type {globalThis['File']} */
@@ -71824,7 +71832,7 @@ function extractBody (object, keepalive = false) {
7182471832
// Set source to a copy of the bytes held by object.
7182571833
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
7182671834
} else if (util.isFormDataLike(object)) {
71827-
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
71835+
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
7182871836
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
7182971837

7183071838
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
@@ -93892,6 +93900,14 @@ module.exports = require("net");
9389293900

9389393901
/***/ }),
9389493902

93903+
/***/ 6005:
93904+
/***/ ((module) => {
93905+
93906+
"use strict";
93907+
module.exports = require("node:crypto");
93908+
93909+
/***/ }),
93910+
9389593911
/***/ 5673:
9389693912
/***/ ((module) => {
9389793913

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy