@@ -15741,6 +15741,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(8253)
1574115741const { File: UndiciFile } = __nccwpck_require__(3041)
1574215742const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(4322)
1574315743
15744+ let random
15745+ try {
15746+ const crypto = __nccwpck_require__(7598)
15747+ random = (max) => crypto.randomInt(0, max)
15748+ } catch {
15749+ random = (max) => Math.floor(Math.random(max))
15750+ }
15751+
1574415752let ReadableStream = globalThis.ReadableStream
1574515753
1574615754/** @type {globalThis['File']} */
@@ -15826,7 +15834,7 @@ function extractBody (object, keepalive = false) {
1582615834 // Set source to a copy of the bytes held by object.
1582715835 source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
1582815836 } else if (util.isFormDataLike(object)) {
15829- const boundary = `----formdata-undici-0${`${Math.floor(Math. random() * 1e11)}`.padStart(11, '0')}`
15837+ const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
1583015838 const prefix = `--${boundary}\r\nContent-Disposition: form-data`
1583115839
1583215840 /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
@@ -30034,7 +30042,7 @@ function getConventionalCommitTypes() {
3003430042}
3003530043async function lintPullRequest(title) {
3003630044 const matches = types.map(type => {
30037- return new RegExp(`^${type}(\\(.* \\))?!?:.* $`);
30045+ return new RegExp(`^${type}(\\(.+ \\))?!?:.+ $`);
3003830046 });
3003930047 return matches.some(regex => regex.test(title));
3004030048}
@@ -30163,6 +30171,14 @@ module.exports = require("net");
3016330171
3016430172/***/ }),
3016530173
30174+ /***/ 7598:
30175+ /***/ ((module) => {
30176+
30177+ "use strict";
30178+ module.exports = require("node:crypto");
30179+
30180+ /***/ }),
30181+
3016630182/***/ 8474:
3016730183/***/ ((module) => {
3016830184
0 commit comments