File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
.github/actions/update-website/dist Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -15610,6 +15610,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
1561015610const { File: UndiciFile } = __nccwpck_require__(8511)
1561115611const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
1561215612
15613+ let random
15614+ try {
15615+ const crypto = __nccwpck_require__(6005)
15616+ random = (max) => crypto.randomInt(0, max)
15617+ } catch {
15618+ random = (max) => Math.floor(Math.random(max))
15619+ }
15620+
1561315621let ReadableStream = globalThis.ReadableStream
1561415622
1561515623/** @type {globalThis['File']} */
@@ -15695,7 +15703,7 @@ function extractBody (object, keepalive = false) {
1569515703 // Set source to a copy of the bytes held by object.
1569615704 source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
1569715705 } else if (util.isFormDataLike(object)) {
15698- const boundary = `----formdata-undici-0${`${Math.floor(Math. random() * 1e11)}`.padStart(11, '0')}`
15706+ const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
1569915707 const prefix = `--${boundary}\r\nContent-Disposition: form-data`
1570015708
1570115709 /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
@@ -30526,6 +30534,14 @@ module.exports = require("net");
3052630534
3052730535/***/ }),
3052830536
30537+ /***/ 6005:
30538+ /***/ ((module) => {
30539+
30540+ "use strict";
30541+ module.exports = require("node:crypto");
30542+
30543+ /***/ }),
30544+
3052930545/***/ 5673:
3053030546/***/ ((module) => {
3053130547
You can’t perform that action at this time.
0 commit comments