Skip to content

Commit bb33cd4

Browse files
Merge branch 'actions:main' into main
2 parents d8170fe + 799ee7c commit bb33cd4

File tree

6 files changed

+47
-11
lines changed

6 files changed

+47
-11
lines changed

.licenses/npm/undici.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ Currently, the following distributions are supported:
118118

119119
**NOTE:** For Azul Zulu OpenJDK architectures x64 and arm64 are mapped to x86 / arm with proper hw_bitness.
120120

121+
**NOTE:** To comply with the GraalVM Free Terms and Conditions (GFTC) license, it is recommended to use GraalVM JDK 17 version 17.0.12, as this is the only version of GraalVM JDK 17 available under the GFTC license. Additionally, it is encouraged to consider upgrading to GraalVM JDK 21, which offers the latest features and improvements.
122+
121123
### Caching packages dependencies
122124
The action has a built-in functionality for caching and restoring dependencies. It uses [toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache) under hood for caching dependencies but requires less configuration settings. Supported package managers are gradle, maven and sbt. The format of the used cache key is `setup-java-${{ platform }}-${{ packageManager }}-${{ fileHash }}`, where the hash is based on the following files:
123125

dist/cleanup/index.js

Lines changed: 17 additions & 1 deletion
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

Lines changed: 17 additions & 1 deletion
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

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
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)