mirror of
https://github.com/actions/setup-java.git
synced 2025-03-25 23:03:08 +00:00
fix for check failures
This commit is contained in:
parent
75e5110721
commit
a9dc40589f
5 changed files with 63 additions and 17 deletions
2
.licenses/npm/@fastify/busboy.dep.yml
generated
2
.licenses/npm/@fastify/busboy.dep.yml
generated
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: "@fastify/busboy"
|
name: "@fastify/busboy"
|
||||||
version: 2.1.0
|
version: 2.1.1
|
||||||
type: npm
|
type: npm
|
||||||
summary: A streaming parser for HTML form data for node.js
|
summary: A streaming parser for HTML form data for node.js
|
||||||
homepage:
|
homepage:
|
||||||
|
|
2
.licenses/npm/undici.dep.yml
generated
2
.licenses/npm/undici.dep.yml
generated
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: undici
|
name: undici
|
||||||
version: 5.28.4
|
version: 5.28.5
|
||||||
type: npm
|
type: npm
|
||||||
summary: An HTTP/1.1 client, written from scratch for Node.js
|
summary: An HTTP/1.1 client, written from scratch for Node.js
|
||||||
homepage: https://undici.nodejs.org
|
homepage: https://undici.nodejs.org
|
||||||
|
|
34
dist/cleanup/index.js
vendored
34
dist/cleanup/index.js
vendored
|
@ -77289,6 +77289,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830)
|
||||||
const { File: UndiciFile } = __nccwpck_require__(8511)
|
const { File: UndiciFile } = __nccwpck_require__(8511)
|
||||||
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
|
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
|
||||||
|
|
||||||
|
let random
|
||||||
|
try {
|
||||||
|
const crypto = __nccwpck_require__(6005)
|
||||||
|
random = (max) => crypto.randomInt(0, max)
|
||||||
|
} catch {
|
||||||
|
random = (max) => Math.floor(Math.random(max))
|
||||||
|
}
|
||||||
|
|
||||||
let ReadableStream = globalThis.ReadableStream
|
let ReadableStream = globalThis.ReadableStream
|
||||||
|
|
||||||
/** @type {globalThis['File']} */
|
/** @type {globalThis['File']} */
|
||||||
|
@ -77374,7 +77382,7 @@ function extractBody (object, keepalive = false) {
|
||||||
// Set source to a copy of the bytes held by object.
|
// Set source to a copy of the bytes held by object.
|
||||||
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
|
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
|
||||||
} else if (util.isFormDataLike(object)) {
|
} else if (util.isFormDataLike(object)) {
|
||||||
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
|
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
|
||||||
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
|
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
|
||||||
|
|
||||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
||||||
|
@ -97248,6 +97256,14 @@ module.exports = require("net");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 6005:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:crypto");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 5673:
|
/***/ 5673:
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
@ -97476,7 +97492,7 @@ Dicer.prototype._write = function (data, encoding, cb) {
|
||||||
if (this._headerFirst && this._isPreamble) {
|
if (this._headerFirst && this._isPreamble) {
|
||||||
if (!this._part) {
|
if (!this._part) {
|
||||||
this._part = new PartStream(this._partOpts)
|
this._part = new PartStream(this._partOpts)
|
||||||
if (this._events.preamble) { this.emit('preamble', this._part) } else { this._ignore() }
|
if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() }
|
||||||
}
|
}
|
||||||
const r = this._hparser.push(data)
|
const r = this._hparser.push(data)
|
||||||
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
||||||
|
@ -97533,7 +97549,7 @@ Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this._dashes === 2) {
|
if (this._dashes === 2) {
|
||||||
if ((start + i) < end && this._events.trailer) { this.emit('trailer', data.slice(start + i, end)) }
|
if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) }
|
||||||
this.reset()
|
this.reset()
|
||||||
this._finished = true
|
this._finished = true
|
||||||
// no more parts will be added
|
// no more parts will be added
|
||||||
|
@ -97551,7 +97567,13 @@ Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
||||||
this._part._read = function (n) {
|
this._part._read = function (n) {
|
||||||
self._unpause()
|
self._unpause()
|
||||||
}
|
}
|
||||||
if (this._isPreamble && this._events.preamble) { this.emit('preamble', this._part) } else if (this._isPreamble !== true && this._events.part) { this.emit('part', this._part) } else { this._ignore() }
|
if (this._isPreamble && this.listenerCount('preamble') !== 0) {
|
||||||
|
this.emit('preamble', this._part)
|
||||||
|
} else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {
|
||||||
|
this.emit('part', this._part)
|
||||||
|
} else {
|
||||||
|
this._ignore()
|
||||||
|
}
|
||||||
if (!this._isPreamble) { this._inHeader = true }
|
if (!this._isPreamble) { this._inHeader = true }
|
||||||
}
|
}
|
||||||
if (data && start < end && !this._ignoreData) {
|
if (data && start < end && !this._ignoreData) {
|
||||||
|
@ -98234,7 +98256,7 @@ function Multipart (boy, cfg) {
|
||||||
|
|
||||||
++nfiles
|
++nfiles
|
||||||
|
|
||||||
if (!boy._events.file) {
|
if (boy.listenerCount('file') === 0) {
|
||||||
self.parser._ignore()
|
self.parser._ignore()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -98763,7 +98785,7 @@ const decoders = {
|
||||||
if (textDecoders.has(this.toString())) {
|
if (textDecoders.has(this.toString())) {
|
||||||
try {
|
try {
|
||||||
return textDecoders.get(this).decode(data)
|
return textDecoders.get(this).decode(data)
|
||||||
} catch (e) { }
|
} catch {}
|
||||||
}
|
}
|
||||||
return typeof data === 'string'
|
return typeof data === 'string'
|
||||||
? data
|
? data
|
||||||
|
|
34
dist/setup/index.js
vendored
34
dist/setup/index.js
vendored
|
@ -102143,6 +102143,14 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(29830)
|
||||||
const { File: UndiciFile } = __nccwpck_require__(78511)
|
const { File: UndiciFile } = __nccwpck_require__(78511)
|
||||||
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
|
const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685)
|
||||||
|
|
||||||
|
let random
|
||||||
|
try {
|
||||||
|
const crypto = __nccwpck_require__(6005)
|
||||||
|
random = (max) => crypto.randomInt(0, max)
|
||||||
|
} catch {
|
||||||
|
random = (max) => Math.floor(Math.random(max))
|
||||||
|
}
|
||||||
|
|
||||||
let ReadableStream = globalThis.ReadableStream
|
let ReadableStream = globalThis.ReadableStream
|
||||||
|
|
||||||
/** @type {globalThis['File']} */
|
/** @type {globalThis['File']} */
|
||||||
|
@ -102228,7 +102236,7 @@ function extractBody (object, keepalive = false) {
|
||||||
// Set source to a copy of the bytes held by object.
|
// Set source to a copy of the bytes held by object.
|
||||||
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
|
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))
|
||||||
} else if (util.isFormDataLike(object)) {
|
} else if (util.isFormDataLike(object)) {
|
||||||
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`
|
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`
|
||||||
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
|
const prefix = `--${boundary}\r\nContent-Disposition: form-data`
|
||||||
|
|
||||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
||||||
|
@ -135253,6 +135261,14 @@ module.exports = require("net");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 6005:
|
||||||
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
module.exports = require("node:crypto");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 15673:
|
/***/ 15673:
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
|
@ -135481,7 +135497,7 @@ Dicer.prototype._write = function (data, encoding, cb) {
|
||||||
if (this._headerFirst && this._isPreamble) {
|
if (this._headerFirst && this._isPreamble) {
|
||||||
if (!this._part) {
|
if (!this._part) {
|
||||||
this._part = new PartStream(this._partOpts)
|
this._part = new PartStream(this._partOpts)
|
||||||
if (this._events.preamble) { this.emit('preamble', this._part) } else { this._ignore() }
|
if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() }
|
||||||
}
|
}
|
||||||
const r = this._hparser.push(data)
|
const r = this._hparser.push(data)
|
||||||
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
||||||
|
@ -135538,7 +135554,7 @@ Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this._dashes === 2) {
|
if (this._dashes === 2) {
|
||||||
if ((start + i) < end && this._events.trailer) { this.emit('trailer', data.slice(start + i, end)) }
|
if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) }
|
||||||
this.reset()
|
this.reset()
|
||||||
this._finished = true
|
this._finished = true
|
||||||
// no more parts will be added
|
// no more parts will be added
|
||||||
|
@ -135556,7 +135572,13 @@ Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
||||||
this._part._read = function (n) {
|
this._part._read = function (n) {
|
||||||
self._unpause()
|
self._unpause()
|
||||||
}
|
}
|
||||||
if (this._isPreamble && this._events.preamble) { this.emit('preamble', this._part) } else if (this._isPreamble !== true && this._events.part) { this.emit('part', this._part) } else { this._ignore() }
|
if (this._isPreamble && this.listenerCount('preamble') !== 0) {
|
||||||
|
this.emit('preamble', this._part)
|
||||||
|
} else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {
|
||||||
|
this.emit('part', this._part)
|
||||||
|
} else {
|
||||||
|
this._ignore()
|
||||||
|
}
|
||||||
if (!this._isPreamble) { this._inHeader = true }
|
if (!this._isPreamble) { this._inHeader = true }
|
||||||
}
|
}
|
||||||
if (data && start < end && !this._ignoreData) {
|
if (data && start < end && !this._ignoreData) {
|
||||||
|
@ -136239,7 +136261,7 @@ function Multipart (boy, cfg) {
|
||||||
|
|
||||||
++nfiles
|
++nfiles
|
||||||
|
|
||||||
if (!boy._events.file) {
|
if (boy.listenerCount('file') === 0) {
|
||||||
self.parser._ignore()
|
self.parser._ignore()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -136768,7 +136790,7 @@ const decoders = {
|
||||||
if (textDecoders.has(this.toString())) {
|
if (textDecoders.has(this.toString())) {
|
||||||
try {
|
try {
|
||||||
return textDecoders.get(this).decode(data)
|
return textDecoders.get(this).decode(data)
|
||||||
} catch (e) { }
|
} catch {}
|
||||||
}
|
}
|
||||||
return typeof data === 'string'
|
return typeof data === 'string'
|
||||||
? data
|
? data
|
||||||
|
|
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -17,6 +17,7 @@
|
||||||
"@actions/io": "^1.0.2",
|
"@actions/io": "^1.0.2",
|
||||||
"@actions/tool-cache": "^2.0.1",
|
"@actions/tool-cache": "^2.0.1",
|
||||||
"semver": "^7.6.0",
|
"semver": "^7.6.0",
|
||||||
|
"undici": "^5.28.4",
|
||||||
"xmlbuilder2": "^2.4.0"
|
"xmlbuilder2": "^2.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1037,9 +1038,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@fastify/busboy": {
|
"node_modules/@fastify/busboy": {
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz",
|
||||||
"integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==",
|
"integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==",
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=14"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue