Skip to content

Commit 6657aad

Browse files
dependabot[bot]github-actions
and
github-actions
authored
chore(deps): bump undici from 5.28.4 to 5.28.5 in /actions/installer in the npm_and_yarn group across 1 directory (#827)
Bumps the npm_and_yarn group with 1 update in the /actions/installer directory: [undici](https://github.com/nodejs/undici). Updates `undici` from 5.28.4 to 5.28.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nodejs/undici/releases">undici's releases</a>.</em></p> <blockquote> <h2>v5.28.5</h2> <h1>⚠️ Security Release ⚠️</h1> <p>Fixes CVE CVE-2025-22150 <a href="https://github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975">https://github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975</a> (embargoed until 22-01-2025).</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5">https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nodejs/undici/commit/6139ed2e0c787853243de58ef7c4301b26ca66f2"><code>6139ed2</code></a> Bumped v5.28.5</li> <li><a href="https://github.com/nodejs/undici/commit/711e20772764c29f6622ddc937c63b6eefdf07d0"><code>711e207</code></a> Backport of c2d78cd</li> <li>See full diff in <a href="https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=undici&package-manager=npm_and_yarn&previous-version=5.28.4&new-version=5.28.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/slsa-framework/slsa-verifier/network/alerts). </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <[email protected]>
1 parent d72d368 commit 6657aad

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

actions/installer/dist/index.js

+17-1
Original file line numberDiff line numberDiff line change
@@ -18571,6 +18571,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
1857118571
const { File: UndiciFile } = __nccwpck_require__(8511)
1857218572
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
1857318573

18574+
let random
18575+
try {
18576+
const crypto = __nccwpck_require__(6005)
18577+
random = (max) => crypto.randomInt(0, max)
18578+
} catch {
18579+
random = (max) => Math.floor(Math.random(max))
18580+
}
18581+
1857418582
let ReadableStream = globalThis.ReadableStream
1857518583

1857618584
/** @type {globalThis['File']} */
@@ -18656,7 +18664,7 @@ function extractBody (object, keepalive = false) {
1865618664
// Set source to a copy of the bytes held by object.
1865718665
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
1865818666
} else if (util.isFormDataLike(object)) {
18659-
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
18667+
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
1866018668
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
1866118669

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

3284232850
/***/ }),
3284332851

32852+
/***/ 6005:
32853+
/***/ ((module) => {
32854+
32855+
"use strict";
32856+
module.exports = require("node:crypto");
32857+
32858+
/***/ }),
32859+
3284432860
/***/ 5673:
3284532861
/***/ ((module) => {
3284632862

actions/installer/dist/index.js.map

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

actions/installer/package-lock.json

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

0 commit comments

Comments
 (0)