Skip to content

Commit 3a4f6e1

Browse files
Bump @types/jest from 29.5.12 to 29.5.14 (#729)
* Bump @types/jest from 29.5.12 to 29.5.14 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.12 to 29.5.14. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: "@types/jest" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix for check failures --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
1 parent 25f376e commit 3a4f6e1

File tree

5 files changed

+45
-11
lines changed

5 files changed

+45
-11
lines changed

.licenses/npm/undici.dep.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cleanup/index.js

+17-1
Original file line numberDiff line numberDiff line change
@@ -77302,6 +77302,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
7730277302
const { File: UndiciFile } = __nccwpck_require__(8511)
7730377303
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
7730477304

77305+
let random
77306+
try {
77307+
const crypto = __nccwpck_require__(6005)
77308+
random = (max) => crypto.randomInt(0, max)
77309+
} catch {
77310+
random = (max) => Math.floor(Math.random(max))
77311+
}
77312+
7730577313
let ReadableStream = globalThis.ReadableStream
7730677314

7730777315
/** @type {globalThis['File']} */
@@ -77387,7 +77395,7 @@ function extractBody (object, keepalive = false) {
7738777395
// Set source to a copy of the bytes held by object.
7738877396
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
7738977397
} else if (util.isFormDataLike(object)) {
77390-
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
77398+
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
7739177399
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
7739277400

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

9726297270
/***/ }),
9726397271

97272+
/***/ 6005:
97273+
/***/ ((module) => {
97274+
97275+
"use strict";
97276+
module.exports = require("node:crypto");
97277+
97278+
/***/ }),
97279+
9726497280
/***/ 5673:
9726597281
/***/ ((module) => {
9726697282

dist/setup/index.js

+17-1
Original file line numberDiff line numberDiff line change
@@ -102156,6 +102156,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(29830)
102156102156
const { File: UndiciFile } = __nccwpck_require__(78511)
102157102157
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
102158102158

102159+
let random
102160+
try {
102161+
const crypto = __nccwpck_require__(6005)
102162+
random = (max) => crypto.randomInt(0, max)
102163+
} catch {
102164+
random = (max) => Math.floor(Math.random(max))
102165+
}
102166+
102159102167
let ReadableStream = globalThis.ReadableStream
102160102168

102161102169
/** @type {globalThis['File']} */
@@ -102241,7 +102249,7 @@ function extractBody (object, keepalive = false) {
102241102249
// Set source to a copy of the bytes held by object.
102242102250
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
102243102251
} else if (util.isFormDataLike(object)) {
102244-
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
102252+
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
102245102253
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
102246102254

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

135267135275
/***/ }),
135268135276

135277+
/***/ 6005:
135278+
/***/ ((module) => {
135279+
135280+
"use strict";
135281+
module.exports = require("node:crypto");
135282+
135283+
/***/ }),
135284+
135269135285
/***/ 15673:
135270135286
/***/ ((module) => {
135271135287

package-lock.json

+9-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"xmlbuilder2": "^2.4.0"
3838
},
3939
"devDependencies": {
40-
"@types/jest": "^29.5.12",
40+
"@types/jest": "^29.5.14",
4141
"@types/node": "^20.11.24",
4242
"@types/semver": "^7.5.8",
4343
"@typescript-eslint/eslint-plugin": "^5.54.0",

0 commit comments

Comments
 (0)