File tree 4 files changed +39
-6
lines changed
Filter options
4 files changed +39
-6
lines changed
Original file line number Diff line number Diff line change @@ -68310,6 +68310,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
68310
68310
const { File: UndiciFile } = __nccwpck_require__(8511)
68311
68311
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
68312
68312
68313
+ let random
68314
+ try {
68315
+ const crypto = __nccwpck_require__(6005)
68316
+ random = (max) => crypto.randomInt(0, max)
68317
+ } catch {
68318
+ random = (max) => Math.floor(Math.random(max))
68319
+ }
68320
+
68313
68321
let ReadableStream = globalThis.ReadableStream
68314
68322
68315
68323
/** @type {globalThis['File']} */
@@ -68395,7 +68403,7 @@ function extractBody (object, keepalive = false) {
68395
68403
// Set source to a copy of the bytes held by object.
68396
68404
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
68397
68405
} else if (util.isFormDataLike(object)) {
68398
- const boundary = `----formdata-undici-0${`${Math.floor(Math. random() * 1e11)}`.padStart(11, '0')}`
68406
+ const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
68399
68407
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
68400
68408
68401
68409
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
@@ -89719,6 +89727,14 @@ module.exports = require("net");
89719
89727
89720
89728
/***/ }),
89721
89729
89730
+ /***/ 6005:
89731
+ /***/ ((module) => {
89732
+
89733
+ "use strict";
89734
+ module.exports = require("node:crypto");
89735
+
89736
+ /***/ }),
89737
+
89722
89738
/***/ 5673:
89723
89739
/***/ ((module) => {
89724
89740
Original file line number Diff line number Diff line change @@ -77512,6 +77512,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
77512
77512
const { File: UndiciFile } = __nccwpck_require__(8511)
77513
77513
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
77514
77514
77515
+ let random
77516
+ try {
77517
+ const crypto = __nccwpck_require__(6005)
77518
+ random = (max) => crypto.randomInt(0, max)
77519
+ } catch {
77520
+ random = (max) => Math.floor(Math.random(max))
77521
+ }
77522
+
77515
77523
let ReadableStream = globalThis.ReadableStream
77516
77524
77517
77525
/** @type {globalThis['File']} */
@@ -77597,7 +77605,7 @@ function extractBody (object, keepalive = false) {
77597
77605
// Set source to a copy of the bytes held by object.
77598
77606
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
77599
77607
} else if (util.isFormDataLike(object)) {
77600
- const boundary = `----formdata-undici-0${`${Math.floor(Math. random() * 1e11)}`.padStart(11, '0')}`
77608
+ const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
77601
77609
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
77602
77610
77603
77611
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
@@ -100823,6 +100831,14 @@ module.exports = require("net");
100823
100831
100824
100832
/***/ }),
100825
100833
100834
+ /***/ 6005:
100835
+ /***/ ((module) => {
100836
+
100837
+ "use strict";
100838
+ module.exports = require("node:crypto");
100839
+
100840
+ /***/ }),
100841
+
100826
100842
/***/ 5673:
100827
100843
/***/ ((module) => {
100828
100844
You can’t perform that action at this time.
0 commit comments