Bumped version

This commit is contained in:
peterz 2024-03-04 14:48:40 +03:00
parent e3034b8b5f
commit ad288a9b43
4 changed files with 11 additions and 210 deletions

103
dist/cleanup/index.js generated vendored
View File

@ -74855,6 +74855,9 @@ function httpRedirectFetch (fetchParams, response) {
// https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
request.headersList.delete('authorization') request.headersList.delete('authorization')
// https://fetch.spec.whatwg.org/#authentication-entries
request.headersList.delete('proxy-authorization', true)
// "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement. // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement.
request.headersList.delete('cookie') request.headersList.delete('cookie')
request.headersList.delete('host') request.headersList.delete('host')
@ -77845,20 +77848,8 @@ function isURLPotentiallyTrustworthy (url) {
return true return true
} }
<<<<<<< HEAD
// If scheme is data, return true // If scheme is data, return true
if (url.protocol === 'data:') return true if (url.protocol === 'data:') return true
=======
// First, split on ||
this.set = this.raw
.split('||')
// map the range to a 2d array of comparators
.map(r => this.parseRange(r))
// throw out any comparator lists that are empty
// this generally means that it was not a valid range, which is allowed
// in loose mode, but will still throw if the WHOLE range is invalid.
.filter(c => c.length)
>>>>>>> Added Liberica distribution
// If file, return true // If file, return true
if (url.protocol === 'file:') return true if (url.protocol === 'file:') return true
@ -77915,7 +77906,6 @@ function bytesMatch (bytes, metadataList) {
return true return true
} }
<<<<<<< HEAD
// 4. Let metadata be the result of getting the strongest // 4. Let metadata be the result of getting the strongest
// metadata from parsedMetadata. // metadata from parsedMetadata.
const list = parsedMetadata.sort((c, d) => d.algo.localeCompare(c.algo)) const list = parsedMetadata.sort((c, d) => d.algo.localeCompare(c.algo))
@ -77934,22 +77924,6 @@ function bytesMatch (bytes, metadataList) {
// See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e
// "be liberal with padding". This is annoying, and it's not even in the spec. // "be liberal with padding". This is annoying, and it's not even in the spec.
=======
const loose = this.options.loose
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
range = range.replace(hr, hyphenReplace(this.options.includePrerelease))
debug('hyphen replace', range)
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
debug('comparator trim', range)
// `~ 1.2.3` => `~1.2.3`
range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
// `^ 1.2.3` => `^1.2.3`
range = range.replace(re[t.CARETTRIM], caretTrimReplace)
>>>>>>> Added Liberica distribution
if (expectedValue.endsWith('==')) { if (expectedValue.endsWith('==')) {
expectedValue = expectedValue.slice(0, -2) expectedValue = expectedValue.slice(0, -2)
@ -80450,7 +80424,6 @@ class RedirectHandler {
this.history.push(new URL(this.opts.path, this.opts.origin)) this.history.push(new URL(this.opts.path, this.opts.origin))
} }
<<<<<<< HEAD
if (!this.location) { if (!this.location) {
return this.handler.onHeaders(statusCode, headers, resume, statusText) return this.handler.onHeaders(statusCode, headers, resume, statusText)
} }
@ -80466,27 +80439,6 @@ class RedirectHandler {
this.opts.origin = origin this.opts.origin = origin
this.opts.maxRedirections = 0 this.opts.maxRedirections = 0
this.opts.query = null this.opts.query = null
=======
const RELEASE_TYPES = [
'major',
'premajor',
'minor',
'preminor',
'patch',
'prepatch',
'prerelease',
]
module.exports = {
MAX_LENGTH,
MAX_SAFE_COMPONENT_LENGTH,
MAX_SAFE_INTEGER,
RELEASE_TYPES,
SEMVER_SPEC_VERSION,
FLAG_INCLUDE_PRERELEASE: 0b001,
FLAG_LOOSE: 0b010,
}
>>>>>>> Added Liberica distribution
// https://tools.ietf.org/html/rfc7231#section-6.4.4 // https://tools.ietf.org/html/rfc7231#section-6.4.4
// In case of HTTP 303, always replace method to be either HEAD or GET // In case of HTTP 303, always replace method to be either HEAD or GET
@ -80712,14 +80664,8 @@ class RetryHandler {
} = retryOptions } = retryOptions
let { counter, currentTimeout } = state let { counter, currentTimeout } = state
<<<<<<< HEAD
currentTimeout = currentTimeout =
currentTimeout != null && currentTimeout > 0 ? currentTimeout : timeout currentTimeout != null && currentTimeout > 0 ? currentTimeout : timeout
=======
const { MAX_SAFE_COMPONENT_LENGTH } = __nccwpck_require__(2293)
const debug = __nccwpck_require__(427)
exports = module.exports = {}
>>>>>>> Added Liberica distribution
// Any code that is not a Undici's originated and allowed to retry // Any code that is not a Undici's originated and allowed to retry
if ( if (
@ -80732,7 +80678,6 @@ exports = module.exports = {}
return return
} }
<<<<<<< HEAD
// If a set of method are provided and the current method is not in the list // If a set of method are provided and the current method is not in the list
if (Array.isArray(methods) && !methods.includes(method)) { if (Array.isArray(methods) && !methods.includes(method)) {
cb(err) cb(err)
@ -80775,25 +80720,6 @@ exports = module.exports = {}
onHeaders (statusCode, rawHeaders, resume, statusMessage) { onHeaders (statusCode, rawHeaders, resume, statusMessage) {
const headers = parseHeaders(rawHeaders) const headers = parseHeaders(rawHeaders)
=======
const createToken = (name, value, isGlobal) => {
// Replace all greedy whitespace to prevent regex dos issues. These regex are
// used internally via the safeRe object since all inputs in this library get
// normalized first to trim and collapse all extra whitespace. The original
// regexes are exported for userland consumption and lower level usage. A
// future breaking change could export the safer regex only with a note that
// all input should have extra whitespace removed.
const safe = value
.split('\\s*').join('\\s{0,1}')
.split('\\s+').join('\\s')
const index = R++
debug(name, index, value)
t[name] = index
src[index] = value
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
}
>>>>>>> Added Liberica distribution
this.retryCount += 1 this.retryCount += 1
@ -80807,20 +80733,14 @@ const createToken = (name, value, isGlobal) => {
return false return false
} }
<<<<<<< HEAD
// Checkpoint for resume from where we left it // Checkpoint for resume from where we left it
if (this.resume != null) { if (this.resume != null) {
this.resume = null this.resume = null
=======
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*')
createToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')
>>>>>>> Added Liberica distribution
if (statusCode !== 206) { if (statusCode !== 206) {
return true return true
} }
<<<<<<< HEAD
const contentRange = parseRangeHeader(headers['content-range']) const contentRange = parseRangeHeader(headers['content-range'])
// If no content range // If no content range
if (!contentRange) { if (!contentRange) {
@ -80832,9 +80752,6 @@ createToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')
) )
return false return false
} }
=======
createToken('NONNUMERICIDENTIFIER', '\\d*[a-zA-Z-][a-zA-Z0-9-]*')
>>>>>>> Added Liberica distribution
// Let's start with a weak etag check // Let's start with a weak etag check
if (this.etag != null && this.etag !== headers.etag) { if (this.etag != null && this.etag !== headers.etag) {
@ -80892,15 +80809,11 @@ createToken('NONNUMERICIDENTIFIER', '\\d*[a-zA-Z-][a-zA-Z0-9-]*')
this.end = contentLength != null ? Number(contentLength) : null this.end = contentLength != null ? Number(contentLength) : null
} }
<<<<<<< HEAD
assert(Number.isFinite(this.start)) assert(Number.isFinite(this.start))
assert( assert(
this.end == null || Number.isFinite(this.end), this.end == null || Number.isFinite(this.end),
'invalid content-length' 'invalid content-length'
) )
=======
createToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')
>>>>>>> Added Liberica distribution
this.resume = resume this.resume = resume
this.etag = headers.etag != null ? headers.etag : null this.etag = headers.etag != null ? headers.etag : null
@ -92262,11 +92175,7 @@ else {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
<<<<<<< HEAD exports.ERROR_HINT = exports.ERROR_REQUEST = exports.EVENT_NAME_PULL_REQUEST = exports.ENV_GITHUB_EVENT_NAME = exports.GDS_GRAALVM_PRODUCT_ID = exports.GDS_BASE = exports.MANDREL_NAMESPACE = exports.GRAALVM_RELEASES_REPO = exports.GRAALVM_PLATFORM = exports.GRAALVM_GH_USER = exports.GRAALVM_FILE_EXTENSION = exports.GRAALVM_ARCH = exports.JDK_HOME_SUFFIX = exports.JDK_PLATFORM = exports.JDK_ARCH = exports.VERSION_LATEST = exports.VERSION_DEV = exports.DISTRIBUTION_LIBERICA = exports.DISTRIBUTION_MANDREL = exports.DISTRIBUTION_GRAALVM_COMMUNITY = exports.DISTRIBUTION_GRAALVM = exports.EXECUTABLE_SUFFIX = exports.IS_WINDOWS = exports.IS_MACOS = exports.IS_LINUX = exports.INPUT_NI_MUSL = exports.INPUT_CHECK_FOR_UPDATES = exports.INPUT_CACHE = exports.INPUT_SET_JAVA_HOME = exports.INPUT_GITHUB_TOKEN = exports.INPUT_COMPONENTS = exports.INPUT_DISTRIBUTION = exports.INPUT_JAVA_VERSION = exports.INPUT_GDS_TOKEN = exports.INPUT_VERSION = void 0;
exports.ERROR_HINT = exports.ERROR_REQUEST = exports.EVENT_NAME_PULL_REQUEST = exports.ENV_GITHUB_EVENT_NAME = exports.GDS_GRAALVM_PRODUCT_ID = exports.GDS_BASE = exports.MANDREL_NAMESPACE = exports.GRAALVM_RELEASES_REPO = exports.GRAALVM_PLATFORM = exports.GRAALVM_GH_USER = exports.GRAALVM_FILE_EXTENSION = exports.GRAALVM_ARCH = exports.JDK_HOME_SUFFIX = exports.JDK_PLATFORM = exports.JDK_ARCH = exports.VERSION_LATEST = exports.VERSION_DEV = exports.DISTRIBUTION_MANDREL = exports.DISTRIBUTION_GRAALVM_COMMUNITY = exports.DISTRIBUTION_GRAALVM = exports.EXECUTABLE_SUFFIX = exports.IS_WINDOWS = exports.IS_MACOS = exports.IS_LINUX = exports.INPUT_NI_MUSL = exports.INPUT_CHECK_FOR_UPDATES = exports.INPUT_CACHE = exports.INPUT_SET_JAVA_HOME = exports.INPUT_GITHUB_TOKEN = exports.INPUT_COMPONENTS = exports.INPUT_DISTRIBUTION = exports.INPUT_JAVA_VERSION = exports.INPUT_GDS_TOKEN = exports.INPUT_VERSION = void 0;
=======
exports.ERROR_HINT = exports.EVENT_NAME_PULL_REQUEST = exports.ENV_GITHUB_EVENT_NAME = exports.GDS_GRAALVM_PRODUCT_ID = exports.GDS_BASE = exports.MANDREL_NAMESPACE = exports.GRAALVM_RELEASES_REPO = exports.GRAALVM_PLATFORM = exports.GRAALVM_GH_USER = exports.GRAALVM_FILE_EXTENSION = exports.GRAALVM_ARCH = exports.JDK_HOME_SUFFIX = exports.JDK_PLATFORM = exports.JDK_ARCH = exports.VERSION_LATEST = exports.VERSION_DEV = exports.DISTRIBUTION_LIBERICA = exports.DISTRIBUTION_MANDREL = exports.DISTRIBUTION_GRAALVM_COMMUNITY = exports.DISTRIBUTION_GRAALVM = exports.IS_WINDOWS = exports.IS_MACOS = exports.IS_LINUX = exports.INPUT_NI_MUSL = exports.INPUT_CHECK_FOR_UPDATES = exports.INPUT_CACHE = exports.INPUT_SET_JAVA_HOME = exports.INPUT_GITHUB_TOKEN = exports.INPUT_COMPONENTS = exports.INPUT_DISTRIBUTION = exports.INPUT_JAVA_VERSION = exports.INPUT_GDS_TOKEN = exports.INPUT_VERSION = void 0;
>>>>>>> Added Liberica distribution
exports.INPUT_VERSION = 'version'; exports.INPUT_VERSION = 'version';
exports.INPUT_GDS_TOKEN = 'gds-token'; exports.INPUT_GDS_TOKEN = 'gds-token';
exports.INPUT_JAVA_VERSION = 'java-version'; exports.INPUT_JAVA_VERSION = 'java-version';
@ -93004,7 +92913,6 @@ function getLatestRelease(repo) {
}); });
} }
exports.getLatestRelease = getLatestRelease; exports.getLatestRelease = getLatestRelease;
<<<<<<< HEAD
function getContents(repo, path) { function getContents(repo, path) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const githubToken = getGitHubToken(); const githubToken = getGitHubToken();
@ -93018,10 +92926,7 @@ function getContents(repo, path) {
}); });
} }
exports.getContents = getContents; exports.getContents = getContents;
function getTaggedRelease(repo, tag) {
=======
function getTaggedRelease(owner, repo, tag) { function getTaggedRelease(owner, repo, tag) {
>>>>>>> Added Liberica distribution
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const githubToken = getGitHubToken(); const githubToken = getGitHubToken();
const options = githubToken.length > 0 ? { auth: githubToken } : {}; const options = githubToken.length > 0 ? { auth: githubToken } : {};

112
dist/main/index.js generated vendored
View File

@ -74855,6 +74855,9 @@ function httpRedirectFetch (fetchParams, response) {
// https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
request.headersList.delete('authorization') request.headersList.delete('authorization')
// https://fetch.spec.whatwg.org/#authentication-entries
request.headersList.delete('proxy-authorization', true)
// "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement. // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement.
request.headersList.delete('cookie') request.headersList.delete('cookie')
request.headersList.delete('host') request.headersList.delete('host')
@ -79751,19 +79754,7 @@ class ProgressEvent extends Event {
type = webidl.converters.DOMString(type) type = webidl.converters.DOMString(type)
eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {}) eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {})
<<<<<<< HEAD
super(type, eventInitDict) super(type, eventInitDict)
=======
// First, split on ||
this.set = this.raw
.split('||')
// map the range to a 2d array of comparators
.map(r => this.parseRange(r))
// throw out any comparator lists that are empty
// this generally means that it was not a valid range, which is allowed
// in loose mode, but will still throw if the WHOLE range is invalid.
.filter(c => c.length)
>>>>>>> Added Liberica distribution
this[kState] = { this[kState] = {
lengthComputable: eventInitDict.lengthComputable, lengthComputable: eventInitDict.lengthComputable,
@ -79824,7 +79815,6 @@ webidl.converters.ProgressEventInit = webidl.dictionaryConverter([
} }
]) ])
<<<<<<< HEAD
module.exports = { module.exports = {
ProgressEvent ProgressEvent
} }
@ -79834,22 +79824,6 @@ module.exports = {
/***/ 9054: /***/ 9054:
/***/ ((module) => { /***/ ((module) => {
=======
const loose = this.options.loose
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
range = range.replace(hr, hyphenReplace(this.options.includePrerelease))
debug('hyphen replace', range)
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
debug('comparator trim', range)
// `~ 1.2.3` => `~1.2.3`
range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
// `^ 1.2.3` => `^1.2.3`
range = range.replace(re[t.CARETTRIM], caretTrimReplace)
>>>>>>> Added Liberica distribution
"use strict"; "use strict";
@ -81823,7 +81797,6 @@ module.exports = MockPool
/***/ 4347: /***/ 4347:
/***/ ((module) => { /***/ ((module) => {
<<<<<<< HEAD
"use strict"; "use strict";
@ -81847,37 +81820,6 @@ module.exports = {
kNetConnect: Symbol('net connect'), kNetConnect: Symbol('net connect'),
kGetNetConnect: Symbol('get net connect'), kGetNetConnect: Symbol('get net connect'),
kConnected: Symbol('connected') kConnected: Symbol('connected')
=======
// Note: this is the semver.org version of the spec that it implements
// Not necessarily the package version of this code.
const SEMVER_SPEC_VERSION = '2.0.0'
const MAX_LENGTH = 256
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
/* istanbul ignore next */ 9007199254740991
// Max safe segment length for coercion.
const MAX_SAFE_COMPONENT_LENGTH = 16
const RELEASE_TYPES = [
'major',
'premajor',
'minor',
'preminor',
'patch',
'prepatch',
'prerelease',
]
module.exports = {
MAX_LENGTH,
MAX_SAFE_COMPONENT_LENGTH,
MAX_SAFE_INTEGER,
RELEASE_TYPES,
SEMVER_SPEC_VERSION,
FLAG_INCLUDE_PRERELEASE: 0b001,
FLAG_LOOSE: 0b010,
>>>>>>> Added Liberica distribution
} }
@ -82014,15 +81956,9 @@ function getResponseData (data) {
} }
} }
<<<<<<< HEAD
function getMockDispatch (mockDispatches, key) { function getMockDispatch (mockDispatches, key) {
const basePath = key.query ? buildURL(key.path, key.query) : key.path const basePath = key.query ? buildURL(key.path, key.query) : key.path
const resolvedPath = typeof basePath === 'string' ? safeUrl(basePath) : basePath const resolvedPath = typeof basePath === 'string' ? safeUrl(basePath) : basePath
=======
const { MAX_SAFE_COMPONENT_LENGTH } = __nccwpck_require__(2293)
const debug = __nccwpck_require__(427)
exports = module.exports = {}
>>>>>>> Added Liberica distribution
// Match path // Match path
let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path }) => matchValue(safeUrl(path), resolvedPath)) let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path }) => matchValue(safeUrl(path), resolvedPath))
@ -82030,7 +81966,6 @@ exports = module.exports = {}
throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`) throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`)
} }
<<<<<<< HEAD
// Match method // Match method
matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method)) matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method))
if (matchedMockDispatches.length === 0) { if (matchedMockDispatches.length === 0) {
@ -82050,24 +81985,6 @@ exports = module.exports = {}
} }
return matchedMockDispatches[0] return matchedMockDispatches[0]
=======
const createToken = (name, value, isGlobal) => {
// Replace all greedy whitespace to prevent regex dos issues. These regex are
// used internally via the safeRe object since all inputs in this library get
// normalized first to trim and collapse all extra whitespace. The original
// regexes are exported for userland consumption and lower level usage. A
// future breaking change could export the safer regex only with a note that
// all input should have extra whitespace removed.
const safe = value
.split('\\s*').join('\\s{0,1}')
.split('\\s+').join('\\s')
const index = R++
debug(name, index, value)
t[name] = index
src[index] = value
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
>>>>>>> Added Liberica distribution
} }
function addMockDispatch (mockDispatches, key, data) { function addMockDispatch (mockDispatches, key, data) {
@ -82078,7 +81995,6 @@ function addMockDispatch (mockDispatches, key, data) {
return newMockDispatch return newMockDispatch
} }
<<<<<<< HEAD
function deleteMockDispatch (mockDispatches, key) { function deleteMockDispatch (mockDispatches, key) {
const index = mockDispatches.findIndex(dispatch => { const index = mockDispatches.findIndex(dispatch => {
if (!dispatch.consumed) { if (!dispatch.consumed) {
@ -82090,10 +82006,6 @@ function deleteMockDispatch (mockDispatches, key) {
mockDispatches.splice(index, 1) mockDispatches.splice(index, 1)
} }
} }
=======
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*')
createToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')
>>>>>>> Added Liberica distribution
function buildKey (opts) { function buildKey (opts) {
const { path, method, body, headers, query } = opts const { path, method, body, headers, query } = opts
@ -82106,7 +82018,6 @@ function buildKey (opts) {
} }
} }
<<<<<<< HEAD
function generateKeyValues (data) { function generateKeyValues (data) {
return Object.entries(data).reduce((keyValuePairs, [key, value]) => [ return Object.entries(data).reduce((keyValuePairs, [key, value]) => [
...keyValuePairs, ...keyValuePairs,
@ -82114,9 +82025,6 @@ function generateKeyValues (data) {
Array.isArray(value) ? value.map(x => Buffer.from(`${x}`)) : Buffer.from(`${value}`) Array.isArray(value) ? value.map(x => Buffer.from(`${x}`)) : Buffer.from(`${value}`)
], []) ], [])
} }
=======
createToken('NONNUMERICIDENTIFIER', '\\d*[a-zA-Z-][a-zA-Z0-9-]*')
>>>>>>> Added Liberica distribution
/** /**
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
@ -82197,16 +82105,12 @@ function mockDispatch (opts, handler) {
const responseHeaders = generateKeyValues(headers) const responseHeaders = generateKeyValues(headers)
const responseTrailers = generateKeyValues(trailers) const responseTrailers = generateKeyValues(trailers)
<<<<<<< HEAD
handler.abort = nop handler.abort = nop
handler.onHeaders(statusCode, responseHeaders, resume, getStatusText(statusCode)) handler.onHeaders(statusCode, responseHeaders, resume, getStatusText(statusCode))
handler.onData(Buffer.from(responseData)) handler.onData(Buffer.from(responseData))
handler.onComplete(responseTrailers) handler.onComplete(responseTrailers)
deleteMockDispatch(mockDispatches, key) deleteMockDispatch(mockDispatches, key)
} }
=======
createToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')
>>>>>>> Added Liberica distribution
function resume () {} function resume () {}
@ -92837,11 +92741,7 @@ function wrappy (fn, cb) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
<<<<<<< HEAD exports.ERROR_HINT = exports.ERROR_REQUEST = exports.EVENT_NAME_PULL_REQUEST = exports.ENV_GITHUB_EVENT_NAME = exports.GDS_GRAALVM_PRODUCT_ID = exports.GDS_BASE = exports.MANDREL_NAMESPACE = exports.GRAALVM_RELEASES_REPO = exports.GRAALVM_PLATFORM = exports.GRAALVM_GH_USER = exports.GRAALVM_FILE_EXTENSION = exports.GRAALVM_ARCH = exports.JDK_HOME_SUFFIX = exports.JDK_PLATFORM = exports.JDK_ARCH = exports.VERSION_LATEST = exports.VERSION_DEV = exports.DISTRIBUTION_LIBERICA = exports.DISTRIBUTION_MANDREL = exports.DISTRIBUTION_GRAALVM_COMMUNITY = exports.DISTRIBUTION_GRAALVM = exports.EXECUTABLE_SUFFIX = exports.IS_WINDOWS = exports.IS_MACOS = exports.IS_LINUX = exports.INPUT_NI_MUSL = exports.INPUT_CHECK_FOR_UPDATES = exports.INPUT_CACHE = exports.INPUT_SET_JAVA_HOME = exports.INPUT_GITHUB_TOKEN = exports.INPUT_COMPONENTS = exports.INPUT_DISTRIBUTION = exports.INPUT_JAVA_VERSION = exports.INPUT_GDS_TOKEN = exports.INPUT_VERSION = void 0;
exports.ERROR_HINT = exports.ERROR_REQUEST = exports.EVENT_NAME_PULL_REQUEST = exports.ENV_GITHUB_EVENT_NAME = exports.GDS_GRAALVM_PRODUCT_ID = exports.GDS_BASE = exports.MANDREL_NAMESPACE = exports.GRAALVM_RELEASES_REPO = exports.GRAALVM_PLATFORM = exports.GRAALVM_GH_USER = exports.GRAALVM_FILE_EXTENSION = exports.GRAALVM_ARCH = exports.JDK_HOME_SUFFIX = exports.JDK_PLATFORM = exports.JDK_ARCH = exports.VERSION_LATEST = exports.VERSION_DEV = exports.DISTRIBUTION_MANDREL = exports.DISTRIBUTION_GRAALVM_COMMUNITY = exports.DISTRIBUTION_GRAALVM = exports.EXECUTABLE_SUFFIX = exports.IS_WINDOWS = exports.IS_MACOS = exports.IS_LINUX = exports.INPUT_NI_MUSL = exports.INPUT_CHECK_FOR_UPDATES = exports.INPUT_CACHE = exports.INPUT_SET_JAVA_HOME = exports.INPUT_GITHUB_TOKEN = exports.INPUT_COMPONENTS = exports.INPUT_DISTRIBUTION = exports.INPUT_JAVA_VERSION = exports.INPUT_GDS_TOKEN = exports.INPUT_VERSION = void 0;
=======
exports.ERROR_HINT = exports.EVENT_NAME_PULL_REQUEST = exports.ENV_GITHUB_EVENT_NAME = exports.GDS_GRAALVM_PRODUCT_ID = exports.GDS_BASE = exports.MANDREL_NAMESPACE = exports.GRAALVM_RELEASES_REPO = exports.GRAALVM_PLATFORM = exports.GRAALVM_GH_USER = exports.GRAALVM_FILE_EXTENSION = exports.GRAALVM_ARCH = exports.JDK_HOME_SUFFIX = exports.JDK_PLATFORM = exports.JDK_ARCH = exports.VERSION_LATEST = exports.VERSION_DEV = exports.DISTRIBUTION_LIBERICA = exports.DISTRIBUTION_MANDREL = exports.DISTRIBUTION_GRAALVM_COMMUNITY = exports.DISTRIBUTION_GRAALVM = exports.IS_WINDOWS = exports.IS_MACOS = exports.IS_LINUX = exports.INPUT_NI_MUSL = exports.INPUT_CHECK_FOR_UPDATES = exports.INPUT_CACHE = exports.INPUT_SET_JAVA_HOME = exports.INPUT_GITHUB_TOKEN = exports.INPUT_COMPONENTS = exports.INPUT_DISTRIBUTION = exports.INPUT_JAVA_VERSION = exports.INPUT_GDS_TOKEN = exports.INPUT_VERSION = void 0;
>>>>>>> Added Liberica distribution
exports.INPUT_VERSION = 'version'; exports.INPUT_VERSION = 'version';
exports.INPUT_GDS_TOKEN = 'gds-token'; exports.INPUT_GDS_TOKEN = 'gds-token';
exports.INPUT_JAVA_VERSION = 'java-version'; exports.INPUT_JAVA_VERSION = 'java-version';
@ -94959,7 +94859,6 @@ function getLatestRelease(repo) {
}); });
} }
exports.getLatestRelease = getLatestRelease; exports.getLatestRelease = getLatestRelease;
<<<<<<< HEAD
function getContents(repo, path) { function getContents(repo, path) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const githubToken = getGitHubToken(); const githubToken = getGitHubToken();
@ -94973,10 +94872,7 @@ function getContents(repo, path) {
}); });
} }
exports.getContents = getContents; exports.getContents = getContents;
function getTaggedRelease(repo, tag) {
=======
function getTaggedRelease(owner, repo, tag) { function getTaggedRelease(owner, repo, tag) {
>>>>>>> Added Liberica distribution
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const githubToken = getGitHubToken(); const githubToken = getGitHubToken();
const options = githubToken.length > 0 ? { auth: githubToken } : {}; const options = githubToken.length > 0 ? { auth: githubToken } : {};

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "setup-graalvm", "name": "setup-graalvm",
"version": "1.1.8", "version": "1.1.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "setup-graalvm", "name": "setup-graalvm",
"version": "1.1.8", "version": "1.1.9",
"license": "UPL", "license": "UPL",
"dependencies": { "dependencies": {
"@actions/cache": "^3.2.3", "@actions/cache": "^3.2.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "setup-graalvm", "name": "setup-graalvm",
"version": "1.1.8", "version": "1.1.9",
"private": true, "private": true,
"description": "GitHub Action for GraalVM", "description": "GitHub Action for GraalVM",
"main": "lib/main.js", "main": "lib/main.js",