diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..804c919 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,26 @@ +name: Test + +on: + push: + branches: + - v2 + +jobs: + release-please: + name: Create nightly version + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + + - name: Get version candidate from release-please + id: release-please + run: npx release-please release-pr --dry-run --repo-url ${{ github.event.repository.full_name }} --token ${{ secrets.GITHUB_TOKEN }} --release-type node | grep -Po 'release \d.*' | grep -Po '\d.*' | xargs echo version= >> $GITHUB_OUTPUT + + - name: Set nightly version + uses: significantbit/nightly-versioning-action@v2 + with: + dry-run: true + version: ${{ steps.release-please.outputs.version }} \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index 94727d2..96544de 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - pnpm build \ No newline at end of file diff --git a/README.md b/README.md index 081e804..e89ff31 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Nightly Versioning Action Use current commit hash as semver pre-release version in _package.json_.
-For example, bump `1.0.0-rc.0` to `1.0.0-rc.0.a1b2c3d`. +For example, bump `1.0.0` to `1.0.0-a1b2c3d`. ## Example usage @@ -18,17 +18,28 @@ jobs: packages: write contents: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 - - - uses: pnpm/action-setup@v2 - name: Install pnpm + uses: actions/setup-node@v4 - name: Set nightly version - uses: significantbit/nightly-versioning-action@v1 + uses: significantbit/nightly-versioning-action@v2 - name: Publish package - run: pnpm publish --no-git-checks --tag next + run: npm publish --no-git-checks --tag next +``` + +## Example usage with release-please +You can run `release-please` in dry-run mode to determine the next version. +```yaml +- name: Run release-please + id: release-please + run: echo version=$(npx release-please release-pr --dry-run --repo-url ${{ github.event.repository.url }} --token ${{ secrets.GITHUB_TOKEN }} --release-type node | grep -Po 'release \d.*' | grep -Po '\d.*') >> $GITHUB_OUTPUT + +- name: Set nightly version + uses: significantbit/nightly-versioning-action@v2 + with: + dry-run: true + version: ${{ steps.release-please.outputs.version }} ``` \ No newline at end of file diff --git a/action.yml b/action.yml index 847cfc3..553d771 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,9 @@ inputs: dry-run: description: Whether to run the action without committing or pushing required: false - default: false + version: + description: New version candidate to be used + required: false outputs: version: description: New version generated by the action diff --git a/dist/index.mjs b/dist/index.mjs index 516dd2d..0b50a6f 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -7321,347 +7321,6 @@ function isPlainObject(o) { exports.isPlainObject = isPlainObject; -/***/ }), - -/***/ 3918: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - - - -// A linked list to keep track of recently-used-ness -const Yallist = __nccwpck_require__(694) - -const MAX = Symbol('max') -const LENGTH = Symbol('length') -const LENGTH_CALCULATOR = Symbol('lengthCalculator') -const ALLOW_STALE = Symbol('allowStale') -const MAX_AGE = Symbol('maxAge') -const DISPOSE = Symbol('dispose') -const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet') -const LRU_LIST = Symbol('lruList') -const CACHE = Symbol('cache') -const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet') - -const naiveLength = () => 1 - -// lruList is a yallist where the head is the youngest -// item, and the tail is the oldest. the list contains the Hit -// objects as the entries. -// Each Hit object has a reference to its Yallist.Node. This -// never changes. -// -// cache is a Map (or PseudoMap) that matches the keys to -// the Yallist.Node object. -class LRUCache { - constructor (options) { - if (typeof options === 'number') - options = { max: options } - - if (!options) - options = {} - - if (options.max && (typeof options.max !== 'number' || options.max < 0)) - throw new TypeError('max must be a non-negative number') - // Kind of weird to have a default max of Infinity, but oh well. - const max = this[MAX] = options.max || Infinity - - const lc = options.length || naiveLength - this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc - this[ALLOW_STALE] = options.stale || false - if (options.maxAge && typeof options.maxAge !== 'number') - throw new TypeError('maxAge must be a number') - this[MAX_AGE] = options.maxAge || 0 - this[DISPOSE] = options.dispose - this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false - this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false - this.reset() - } - - // resize the cache when the max changes. - set max (mL) { - if (typeof mL !== 'number' || mL < 0) - throw new TypeError('max must be a non-negative number') - - this[MAX] = mL || Infinity - trim(this) - } - get max () { - return this[MAX] - } - - set allowStale (allowStale) { - this[ALLOW_STALE] = !!allowStale - } - get allowStale () { - return this[ALLOW_STALE] - } - - set maxAge (mA) { - if (typeof mA !== 'number') - throw new TypeError('maxAge must be a non-negative number') - - this[MAX_AGE] = mA - trim(this) - } - get maxAge () { - return this[MAX_AGE] - } - - // resize the cache when the lengthCalculator changes. - set lengthCalculator (lC) { - if (typeof lC !== 'function') - lC = naiveLength - - if (lC !== this[LENGTH_CALCULATOR]) { - this[LENGTH_CALCULATOR] = lC - this[LENGTH] = 0 - this[LRU_LIST].forEach(hit => { - hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key) - this[LENGTH] += hit.length - }) - } - trim(this) - } - get lengthCalculator () { return this[LENGTH_CALCULATOR] } - - get length () { return this[LENGTH] } - get itemCount () { return this[LRU_LIST].length } - - rforEach (fn, thisp) { - thisp = thisp || this - for (let walker = this[LRU_LIST].tail; walker !== null;) { - const prev = walker.prev - forEachStep(this, fn, walker, thisp) - walker = prev - } - } - - forEach (fn, thisp) { - thisp = thisp || this - for (let walker = this[LRU_LIST].head; walker !== null;) { - const next = walker.next - forEachStep(this, fn, walker, thisp) - walker = next - } - } - - keys () { - return this[LRU_LIST].toArray().map(k => k.key) - } - - values () { - return this[LRU_LIST].toArray().map(k => k.value) - } - - reset () { - if (this[DISPOSE] && - this[LRU_LIST] && - this[LRU_LIST].length) { - this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value)) - } - - this[CACHE] = new Map() // hash of items by key - this[LRU_LIST] = new Yallist() // list of items in order of use recency - this[LENGTH] = 0 // length of items in the list - } - - dump () { - return this[LRU_LIST].map(hit => - isStale(this, hit) ? false : { - k: hit.key, - v: hit.value, - e: hit.now + (hit.maxAge || 0) - }).toArray().filter(h => h) - } - - dumpLru () { - return this[LRU_LIST] - } - - set (key, value, maxAge) { - maxAge = maxAge || this[MAX_AGE] - - if (maxAge && typeof maxAge !== 'number') - throw new TypeError('maxAge must be a number') - - const now = maxAge ? Date.now() : 0 - const len = this[LENGTH_CALCULATOR](value, key) - - if (this[CACHE].has(key)) { - if (len > this[MAX]) { - del(this, this[CACHE].get(key)) - return false - } - - const node = this[CACHE].get(key) - const item = node.value - - // dispose of the old one before overwriting - // split out into 2 ifs for better coverage tracking - if (this[DISPOSE]) { - if (!this[NO_DISPOSE_ON_SET]) - this[DISPOSE](key, item.value) - } - - item.now = now - item.maxAge = maxAge - item.value = value - this[LENGTH] += len - item.length - item.length = len - this.get(key) - trim(this) - return true - } - - const hit = new Entry(key, value, len, now, maxAge) - - // oversized objects fall out of cache automatically. - if (hit.length > this[MAX]) { - if (this[DISPOSE]) - this[DISPOSE](key, value) - - return false - } - - this[LENGTH] += hit.length - this[LRU_LIST].unshift(hit) - this[CACHE].set(key, this[LRU_LIST].head) - trim(this) - return true - } - - has (key) { - if (!this[CACHE].has(key)) return false - const hit = this[CACHE].get(key).value - return !isStale(this, hit) - } - - get (key) { - return get(this, key, true) - } - - peek (key) { - return get(this, key, false) - } - - pop () { - const node = this[LRU_LIST].tail - if (!node) - return null - - del(this, node) - return node.value - } - - del (key) { - del(this, this[CACHE].get(key)) - } - - load (arr) { - // reset the cache - this.reset() - - const now = Date.now() - // A previous serialized cache has the most recent items first - for (let l = arr.length - 1; l >= 0; l--) { - const hit = arr[l] - const expiresAt = hit.e || 0 - if (expiresAt === 0) - // the item was created without expiration in a non aged cache - this.set(hit.k, hit.v) - else { - const maxAge = expiresAt - now - // dont add already expired items - if (maxAge > 0) { - this.set(hit.k, hit.v, maxAge) - } - } - } - } - - prune () { - this[CACHE].forEach((value, key) => get(this, key, false)) - } -} - -const get = (self, key, doUse) => { - const node = self[CACHE].get(key) - if (node) { - const hit = node.value - if (isStale(self, hit)) { - del(self, node) - if (!self[ALLOW_STALE]) - return undefined - } else { - if (doUse) { - if (self[UPDATE_AGE_ON_GET]) - node.value.now = Date.now() - self[LRU_LIST].unshiftNode(node) - } - } - return hit.value - } -} - -const isStale = (self, hit) => { - if (!hit || (!hit.maxAge && !self[MAX_AGE])) - return false - - const diff = Date.now() - hit.now - return hit.maxAge ? diff > hit.maxAge - : self[MAX_AGE] && (diff > self[MAX_AGE]) -} - -const trim = self => { - if (self[LENGTH] > self[MAX]) { - for (let walker = self[LRU_LIST].tail; - self[LENGTH] > self[MAX] && walker !== null;) { - // We know that we're about to delete this one, and also - // what the next least recently used key will be, so just - // go ahead and set it now. - const prev = walker.prev - del(self, walker) - walker = prev - } - } -} - -const del = (self, node) => { - if (node) { - const hit = node.value - if (self[DISPOSE]) - self[DISPOSE](hit.key, hit.value) - - self[LENGTH] -= hit.length - self[CACHE].delete(hit.key) - self[LRU_LIST].removeNode(node) - } -} - -class Entry { - constructor (key, value, length, now, maxAge) { - this.key = key - this.value = value - this.length = length - this.now = now - this.maxAge = maxAge || 0 - } -} - -const forEachStep = (self, fn, node, thisp) => { - let hit = node.value - if (isStale(self, hit)) { - del(self, node) - if (!self[ALLOW_STALE]) - hit = undefined - } - if (hit) - fn.call(thisp, hit.value, hit.key, self) -} - -module.exports = LRUCache - - /***/ }), /***/ 9472: @@ -7713,7 +7372,7 @@ function onceStrict (fn) { /***/ }), -/***/ 8160: +/***/ 5945: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { const ANY = Symbol('SemVer ANY') @@ -7851,19 +7510,21 @@ class Comparator { module.exports = Comparator -const parseOptions = __nccwpck_require__(4512) -const { safeRe: re, t } = __nccwpck_require__(8649) -const cmp = __nccwpck_require__(7488) -const debug = __nccwpck_require__(8191) -const SemVer = __nccwpck_require__(2210) -const Range = __nccwpck_require__(71) +const parseOptions = __nccwpck_require__(4387) +const { safeRe: re, t } = __nccwpck_require__(1778) +const cmp = __nccwpck_require__(9679) +const debug = __nccwpck_require__(8509) +const SemVer = __nccwpck_require__(5130) +const Range = __nccwpck_require__(183) /***/ }), -/***/ 71: +/***/ 183: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +const SPACE_CHARACTERS = /\s+/g + // hoisted class for cyclic dependency class Range { constructor (range, options) { @@ -7884,7 +7545,7 @@ class Range { // just put it in the set and return this.raw = range.value this.set = [[range]] - this.format() + this.formatted = undefined return this } @@ -7895,10 +7556,7 @@ class Range { // First reduce all whitespace as much as possible so we do not have to rely // on potentially slow regexes like \s*. This is then stored and used for // future error messages as well. - this.raw = range - .trim() - .split(/\s+/) - .join(' ') + this.raw = range.trim().replace(SPACE_CHARACTERS, ' ') // First, split on || this.set = this.raw @@ -7932,14 +7590,29 @@ class Range { } } - this.format() + this.formatted = undefined + } + + get range () { + if (this.formatted === undefined) { + this.formatted = '' + for (let i = 0; i < this.set.length; i++) { + if (i > 0) { + this.formatted += '||' + } + const comps = this.set[i] + for (let k = 0; k < comps.length; k++) { + if (k > 0) { + this.formatted += ' ' + } + this.formatted += comps[k].toString().trim() + } + } + } + return this.formatted } format () { - this.range = this.set - .map((comps) => comps.join(' ').trim()) - .join('||') - .trim() return this.range } @@ -8064,21 +7737,21 @@ class Range { module.exports = Range -const LRU = __nccwpck_require__(3918) -const cache = new LRU({ max: 1000 }) +const LRU = __nccwpck_require__(3104) +const cache = new LRU() -const parseOptions = __nccwpck_require__(4512) -const Comparator = __nccwpck_require__(8160) -const debug = __nccwpck_require__(8191) -const SemVer = __nccwpck_require__(2210) +const parseOptions = __nccwpck_require__(4387) +const Comparator = __nccwpck_require__(5945) +const debug = __nccwpck_require__(8509) +const SemVer = __nccwpck_require__(5130) const { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace, -} = __nccwpck_require__(8649) -const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __nccwpck_require__(7621) +} = __nccwpck_require__(1778) +const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __nccwpck_require__(3568) const isNullSet = c => c.value === '<0.0.0-0' const isAny = c => c.value === '' @@ -8336,9 +8009,10 @@ const replaceGTE0 = (comp, options) => { // 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 // 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do // 1.2 - 3.4 => >=1.2.0 <3.5.0-0 +// TODO build? const hyphenReplace = incPr => ($0, from, fM, fm, fp, fpr, fb, - to, tM, tm, tp, tpr, tb) => { + to, tM, tm, tp, tpr) => { if (isX(fM)) { from = '' } else if (isX(fm)) { @@ -8407,15 +8081,15 @@ const testSet = (set, version, options) => { /***/ }), -/***/ 2210: +/***/ 5130: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const debug = __nccwpck_require__(8191) -const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(7621) -const { safeRe: re, t } = __nccwpck_require__(8649) +const debug = __nccwpck_require__(8509) +const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(3568) +const { safeRe: re, t } = __nccwpck_require__(1778) -const parseOptions = __nccwpck_require__(4512) -const { compareIdentifiers } = __nccwpck_require__(5613) +const parseOptions = __nccwpck_require__(4387) +const { compareIdentifiers } = __nccwpck_require__(8857) class SemVer { constructor (version, options) { options = parseOptions(options) @@ -8570,7 +8244,7 @@ class SemVer { do { const a = this.build[i] const b = other.build[i] - debug('prerelease compare', i, a, b) + debug('build compare', i, a, b) if (a === undefined && b === undefined) { return 0 } else if (b === undefined) { @@ -8716,10 +8390,10 @@ module.exports = SemVer /***/ }), -/***/ 8185: +/***/ 9653: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const parse = __nccwpck_require__(6894) +const parse = __nccwpck_require__(3874) const clean = (version, options) => { const s = parse(version.trim().replace(/^[=v]+/, ''), options) return s ? s.version : null @@ -8729,15 +8403,15 @@ module.exports = clean /***/ }), -/***/ 7488: +/***/ 9679: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const eq = __nccwpck_require__(8704) -const neq = __nccwpck_require__(6451) -const gt = __nccwpck_require__(6086) -const gte = __nccwpck_require__(3822) -const lt = __nccwpck_require__(6847) -const lte = __nccwpck_require__(583) +const eq = __nccwpck_require__(1877) +const neq = __nccwpck_require__(5046) +const gt = __nccwpck_require__(2217) +const gte = __nccwpck_require__(5147) +const lt = __nccwpck_require__(8015) +const lte = __nccwpck_require__(5065) const cmp = (a, op, b, loose) => { switch (op) { @@ -8788,12 +8462,12 @@ module.exports = cmp /***/ }), -/***/ 1203: +/***/ 904: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) -const parse = __nccwpck_require__(6894) -const { safeRe: re, t } = __nccwpck_require__(8649) +const SemVer = __nccwpck_require__(5130) +const parse = __nccwpck_require__(3874) +const { safeRe: re, t } = __nccwpck_require__(1778) const coerce = (version, options) => { if (version instanceof SemVer) { @@ -8812,45 +8486,53 @@ const coerce = (version, options) => { let match = null if (!options.rtl) { - match = version.match(re[t.COERCE]) + match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]) } else { // Find the right-most coercible string that does not share // a terminus with a more left-ward coercible string. // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' + // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4' // // Walk through the string checking with a /g regexp // Manually set the index so as to pick up overlapping matches. // Stop when we get a match that ends at the string end, since no // coercible string can be more right-ward without the same terminus. + const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL] let next - while ((next = re[t.COERCERTL].exec(version)) && + while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length) ) { if (!match || next.index + next[0].length !== match.index + match[0].length) { match = next } - re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length + coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length } // leave it in a clean state - re[t.COERCERTL].lastIndex = -1 + coerceRtlRegex.lastIndex = -1 } if (match === null) { return null } - return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options) + const major = match[2] + const minor = match[3] || '0' + const patch = match[4] || '0' + const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : '' + const build = options.includePrerelease && match[6] ? `+${match[6]}` : '' + + return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options) } module.exports = coerce /***/ }), -/***/ 4564: +/***/ 9182: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const compareBuild = (a, b, loose) => { const versionA = new SemVer(a, loose) const versionB = new SemVer(b, loose) @@ -8861,20 +8543,20 @@ module.exports = compareBuild /***/ }), -/***/ 7109: +/***/ 9245: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const compareLoose = (a, b) => compare(a, b, true) module.exports = compareLoose /***/ }), -/***/ 3410: +/***/ 646: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)) @@ -8883,10 +8565,10 @@ module.exports = compare /***/ }), -/***/ 8259: +/***/ 6114: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const parse = __nccwpck_require__(6894) +const parse = __nccwpck_require__(3874) const diff = (version1, version2) => { const v1 = parse(version1, null, true) @@ -8955,40 +8637,40 @@ module.exports = diff /***/ }), -/***/ 8704: +/***/ 1877: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const eq = (a, b, loose) => compare(a, b, loose) === 0 module.exports = eq /***/ }), -/***/ 6086: +/***/ 2217: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const gt = (a, b, loose) => compare(a, b, loose) > 0 module.exports = gt /***/ }), -/***/ 3822: +/***/ 5147: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const gte = (a, b, loose) => compare(a, b, loose) >= 0 module.exports = gte /***/ }), -/***/ 3128: +/***/ 8795: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const inc = (version, release, options, identifier, identifierBase) => { if (typeof (options) === 'string') { @@ -9011,60 +8693,60 @@ module.exports = inc /***/ }), -/***/ 6847: +/***/ 8015: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const lt = (a, b, loose) => compare(a, b, loose) < 0 module.exports = lt /***/ }), -/***/ 583: +/***/ 5065: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const lte = (a, b, loose) => compare(a, b, loose) <= 0 module.exports = lte /***/ }), -/***/ 6943: +/***/ 4569: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const major = (a, loose) => new SemVer(a, loose).major module.exports = major /***/ }), -/***/ 395: +/***/ 4035: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const minor = (a, loose) => new SemVer(a, loose).minor module.exports = minor /***/ }), -/***/ 6451: +/***/ 5046: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const neq = (a, b, loose) => compare(a, b, loose) !== 0 module.exports = neq /***/ }), -/***/ 6894: +/***/ 3874: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const parse = (version, options, throwErrors = false) => { if (version instanceof SemVer) { return version @@ -9084,20 +8766,20 @@ module.exports = parse /***/ }), -/***/ 1034: +/***/ 4374: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) +const SemVer = __nccwpck_require__(5130) const patch = (a, loose) => new SemVer(a, loose).patch module.exports = patch /***/ }), -/***/ 413: +/***/ 3409: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const parse = __nccwpck_require__(6894) +const parse = __nccwpck_require__(3874) const prerelease = (version, options) => { const parsed = parse(version, options) return (parsed && parsed.prerelease.length) ? parsed.prerelease : null @@ -9107,30 +8789,30 @@ module.exports = prerelease /***/ }), -/***/ 5075: +/***/ 1668: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compare = __nccwpck_require__(3410) +const compare = __nccwpck_require__(646) const rcompare = (a, b, loose) => compare(b, a, loose) module.exports = rcompare /***/ }), -/***/ 3164: +/***/ 7316: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compareBuild = __nccwpck_require__(4564) +const compareBuild = __nccwpck_require__(9182) const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) module.exports = rsort /***/ }), -/***/ 9927: +/***/ 6687: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const Range = __nccwpck_require__(71) +const Range = __nccwpck_require__(183) const satisfies = (version, range, options) => { try { range = new Range(range, options) @@ -9144,20 +8826,20 @@ module.exports = satisfies /***/ }), -/***/ 5536: +/***/ 5227: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const compareBuild = __nccwpck_require__(4564) +const compareBuild = __nccwpck_require__(9182) const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) module.exports = sort /***/ }), -/***/ 901: +/***/ 8357: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const parse = __nccwpck_require__(6894) +const parse = __nccwpck_require__(3874) const valid = (version, options) => { const v = parse(version, options) return v ? v.version : null @@ -9167,51 +8849,51 @@ module.exports = valid /***/ }), -/***/ 1026: +/***/ 2970: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { // just pre-load all the stuff that index.js lazily exports -const internalRe = __nccwpck_require__(8649) -const constants = __nccwpck_require__(7621) -const SemVer = __nccwpck_require__(2210) -const identifiers = __nccwpck_require__(5613) -const parse = __nccwpck_require__(6894) -const valid = __nccwpck_require__(901) -const clean = __nccwpck_require__(8185) -const inc = __nccwpck_require__(3128) -const diff = __nccwpck_require__(8259) -const major = __nccwpck_require__(6943) -const minor = __nccwpck_require__(395) -const patch = __nccwpck_require__(1034) -const prerelease = __nccwpck_require__(413) -const compare = __nccwpck_require__(3410) -const rcompare = __nccwpck_require__(5075) -const compareLoose = __nccwpck_require__(7109) -const compareBuild = __nccwpck_require__(4564) -const sort = __nccwpck_require__(5536) -const rsort = __nccwpck_require__(3164) -const gt = __nccwpck_require__(6086) -const lt = __nccwpck_require__(6847) -const eq = __nccwpck_require__(8704) -const neq = __nccwpck_require__(6451) -const gte = __nccwpck_require__(3822) -const lte = __nccwpck_require__(583) -const cmp = __nccwpck_require__(7488) -const coerce = __nccwpck_require__(1203) -const Comparator = __nccwpck_require__(8160) -const Range = __nccwpck_require__(71) -const satisfies = __nccwpck_require__(9927) -const toComparators = __nccwpck_require__(1435) -const maxSatisfying = __nccwpck_require__(3609) -const minSatisfying = __nccwpck_require__(8083) -const minVersion = __nccwpck_require__(7988) -const validRange = __nccwpck_require__(5571) -const outside = __nccwpck_require__(9754) -const gtr = __nccwpck_require__(5422) -const ltr = __nccwpck_require__(3601) -const intersects = __nccwpck_require__(3234) -const simplifyRange = __nccwpck_require__(1567) -const subset = __nccwpck_require__(6053) +const internalRe = __nccwpck_require__(1778) +const constants = __nccwpck_require__(3568) +const SemVer = __nccwpck_require__(5130) +const identifiers = __nccwpck_require__(8857) +const parse = __nccwpck_require__(3874) +const valid = __nccwpck_require__(8357) +const clean = __nccwpck_require__(9653) +const inc = __nccwpck_require__(8795) +const diff = __nccwpck_require__(6114) +const major = __nccwpck_require__(4569) +const minor = __nccwpck_require__(4035) +const patch = __nccwpck_require__(4374) +const prerelease = __nccwpck_require__(3409) +const compare = __nccwpck_require__(646) +const rcompare = __nccwpck_require__(1668) +const compareLoose = __nccwpck_require__(9245) +const compareBuild = __nccwpck_require__(9182) +const sort = __nccwpck_require__(5227) +const rsort = __nccwpck_require__(7316) +const gt = __nccwpck_require__(2217) +const lt = __nccwpck_require__(8015) +const eq = __nccwpck_require__(1877) +const neq = __nccwpck_require__(5046) +const gte = __nccwpck_require__(5147) +const lte = __nccwpck_require__(5065) +const cmp = __nccwpck_require__(9679) +const coerce = __nccwpck_require__(904) +const Comparator = __nccwpck_require__(5945) +const Range = __nccwpck_require__(183) +const satisfies = __nccwpck_require__(6687) +const toComparators = __nccwpck_require__(7779) +const maxSatisfying = __nccwpck_require__(4073) +const minSatisfying = __nccwpck_require__(5680) +const minVersion = __nccwpck_require__(2244) +const validRange = __nccwpck_require__(2810) +const outside = __nccwpck_require__(2389) +const gtr = __nccwpck_require__(9599) +const ltr = __nccwpck_require__(5090) +const intersects = __nccwpck_require__(7107) +const simplifyRange = __nccwpck_require__(3358) +const subset = __nccwpck_require__(5528) module.exports = { parse, valid, @@ -9263,7 +8945,7 @@ module.exports = { /***/ }), -/***/ 7621: +/***/ 3568: /***/ ((module) => { // Note: this is the semver.org version of the spec that it implements @@ -9305,7 +8987,7 @@ module.exports = { /***/ }), -/***/ 8191: +/***/ 8509: /***/ ((module) => { const debug = ( @@ -9321,7 +9003,7 @@ module.exports = debug /***/ }), -/***/ 5613: +/***/ 8857: /***/ ((module) => { const numeric = /^[0-9]+$/ @@ -9351,7 +9033,54 @@ module.exports = { /***/ }), -/***/ 4512: +/***/ 3104: +/***/ ((module) => { + +class LRUCache { + constructor () { + this.max = 1000 + this.map = new Map() + } + + get (key) { + const value = this.map.get(key) + if (value === undefined) { + return undefined + } else { + // Remove the key from the map and add it to the end + this.map.delete(key) + this.map.set(key, value) + return value + } + } + + delete (key) { + return this.map.delete(key) + } + + set (key, value) { + const deleted = this.delete(key) + + if (!deleted && value !== undefined) { + // If cache is full, delete the least recently used item + if (this.map.size >= this.max) { + const firstKey = this.map.keys().next().value + this.delete(firstKey) + } + + this.map.set(key, value) + } + + return this + } +} + +module.exports = LRUCache + + +/***/ }), + +/***/ 4387: /***/ ((module) => { // parse out just the options we care about @@ -9373,15 +9102,15 @@ module.exports = parseOptions /***/ }), -/***/ 8649: +/***/ 1778: /***/ ((module, exports, __nccwpck_require__) => { const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH, -} = __nccwpck_require__(7621) -const debug = __nccwpck_require__(8191) +} = __nccwpck_require__(3568) +const debug = __nccwpck_require__(8509) exports = module.exports = {} // The actual regexps go on exports.re @@ -9532,12 +9261,17 @@ createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`) // Coercion. // Extract anything that could conceivably be a part of a valid semver -createToken('COERCE', `${'(^|[^\\d])' + +createToken('COERCEPLAIN', `${'(^|[^\\d])' + '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + - `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`) +createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`) +createToken('COERCEFULL', src[t.COERCEPLAIN] + + `(?:${src[t.PRERELEASE]})?` + + `(?:${src[t.BUILD]})?` + `(?:$|[^\\d])`) createToken('COERCERTL', src[t.COERCE], true) +createToken('COERCERTLFULL', src[t.COERCEFULL], true) // Tilde ranges. // Meaning is "reasonably at or greater than" @@ -9592,21 +9326,21 @@ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$') /***/ }), -/***/ 5422: +/***/ 9599: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { // Determine if version is greater than all the versions possible in the range. -const outside = __nccwpck_require__(9754) +const outside = __nccwpck_require__(2389) const gtr = (version, range, options) => outside(version, range, '>', options) module.exports = gtr /***/ }), -/***/ 3234: +/***/ 7107: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const Range = __nccwpck_require__(71) +const Range = __nccwpck_require__(183) const intersects = (r1, r2, options) => { r1 = new Range(r1, options) r2 = new Range(r2, options) @@ -9617,10 +9351,10 @@ module.exports = intersects /***/ }), -/***/ 3601: +/***/ 5090: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const outside = __nccwpck_require__(9754) +const outside = __nccwpck_require__(2389) // Determine if version is less than all the versions possible in the range const ltr = (version, range, options) => outside(version, range, '<', options) module.exports = ltr @@ -9628,11 +9362,11 @@ module.exports = ltr /***/ }), -/***/ 3609: +/***/ 4073: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) -const Range = __nccwpck_require__(71) +const SemVer = __nccwpck_require__(5130) +const Range = __nccwpck_require__(183) const maxSatisfying = (versions, range, options) => { let max = null @@ -9660,11 +9394,11 @@ module.exports = maxSatisfying /***/ }), -/***/ 8083: +/***/ 5680: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) -const Range = __nccwpck_require__(71) +const SemVer = __nccwpck_require__(5130) +const Range = __nccwpck_require__(183) const minSatisfying = (versions, range, options) => { let min = null let minSV = null @@ -9691,12 +9425,12 @@ module.exports = minSatisfying /***/ }), -/***/ 7988: +/***/ 2244: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) -const Range = __nccwpck_require__(71) -const gt = __nccwpck_require__(6086) +const SemVer = __nccwpck_require__(5130) +const Range = __nccwpck_require__(183) +const gt = __nccwpck_require__(2217) const minVersion = (range, loose) => { range = new Range(range, loose) @@ -9759,18 +9493,18 @@ module.exports = minVersion /***/ }), -/***/ 9754: +/***/ 2389: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const SemVer = __nccwpck_require__(2210) -const Comparator = __nccwpck_require__(8160) +const SemVer = __nccwpck_require__(5130) +const Comparator = __nccwpck_require__(5945) const { ANY } = Comparator -const Range = __nccwpck_require__(71) -const satisfies = __nccwpck_require__(9927) -const gt = __nccwpck_require__(6086) -const lt = __nccwpck_require__(6847) -const lte = __nccwpck_require__(583) -const gte = __nccwpck_require__(3822) +const Range = __nccwpck_require__(183) +const satisfies = __nccwpck_require__(6687) +const gt = __nccwpck_require__(2217) +const lt = __nccwpck_require__(8015) +const lte = __nccwpck_require__(5065) +const gte = __nccwpck_require__(5147) const outside = (version, range, hilo, options) => { version = new SemVer(version, options) @@ -9846,14 +9580,14 @@ module.exports = outside /***/ }), -/***/ 1567: +/***/ 3358: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { // given a set of versions and a range, create a "simplified" range // that includes the same versions that the original range does // If the original range is shorter than the simplified one, return that. -const satisfies = __nccwpck_require__(9927) -const compare = __nccwpck_require__(3410) +const satisfies = __nccwpck_require__(6687) +const compare = __nccwpck_require__(646) module.exports = (versions, range, options) => { const set = [] let first = null @@ -9900,14 +9634,14 @@ module.exports = (versions, range, options) => { /***/ }), -/***/ 6053: +/***/ 5528: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const Range = __nccwpck_require__(71) -const Comparator = __nccwpck_require__(8160) +const Range = __nccwpck_require__(183) +const Comparator = __nccwpck_require__(5945) const { ANY } = Comparator -const satisfies = __nccwpck_require__(9927) -const compare = __nccwpck_require__(3410) +const satisfies = __nccwpck_require__(6687) +const compare = __nccwpck_require__(646) // Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff: // - Every simple range `r1, r2, ...` is a null set, OR @@ -10154,10 +9888,10 @@ module.exports = subset /***/ }), -/***/ 1435: +/***/ 7779: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const Range = __nccwpck_require__(71) +const Range = __nccwpck_require__(183) // Mostly just for testing and legacy API reasons const toComparators = (range, options) => @@ -10169,10 +9903,10 @@ module.exports = toComparators /***/ }), -/***/ 5571: +/***/ 2810: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -const Range = __nccwpck_require__(71) +const Range = __nccwpck_require__(183) const validRange = (range, options) => { try { // Return '*' instead of '' so that truthiness works. @@ -32542,454 +32276,6 @@ function wrappy (fn, cb) { } -/***/ }), - -/***/ 9513: -/***/ ((module) => { - - -module.exports = function (Yallist) { - Yallist.prototype[Symbol.iterator] = function* () { - for (let walker = this.head; walker; walker = walker.next) { - yield walker.value - } - } -} - - -/***/ }), - -/***/ 694: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - - -module.exports = Yallist - -Yallist.Node = Node -Yallist.create = Yallist - -function Yallist (list) { - var self = this - if (!(self instanceof Yallist)) { - self = new Yallist() - } - - self.tail = null - self.head = null - self.length = 0 - - if (list && typeof list.forEach === 'function') { - list.forEach(function (item) { - self.push(item) - }) - } else if (arguments.length > 0) { - for (var i = 0, l = arguments.length; i < l; i++) { - self.push(arguments[i]) - } - } - - return self -} - -Yallist.prototype.removeNode = function (node) { - if (node.list !== this) { - throw new Error('removing node which does not belong to this list') - } - - var next = node.next - var prev = node.prev - - if (next) { - next.prev = prev - } - - if (prev) { - prev.next = next - } - - if (node === this.head) { - this.head = next - } - if (node === this.tail) { - this.tail = prev - } - - node.list.length-- - node.next = null - node.prev = null - node.list = null - - return next -} - -Yallist.prototype.unshiftNode = function (node) { - if (node === this.head) { - return - } - - if (node.list) { - node.list.removeNode(node) - } - - var head = this.head - node.list = this - node.next = head - if (head) { - head.prev = node - } - - this.head = node - if (!this.tail) { - this.tail = node - } - this.length++ -} - -Yallist.prototype.pushNode = function (node) { - if (node === this.tail) { - return - } - - if (node.list) { - node.list.removeNode(node) - } - - var tail = this.tail - node.list = this - node.prev = tail - if (tail) { - tail.next = node - } - - this.tail = node - if (!this.head) { - this.head = node - } - this.length++ -} - -Yallist.prototype.push = function () { - for (var i = 0, l = arguments.length; i < l; i++) { - push(this, arguments[i]) - } - return this.length -} - -Yallist.prototype.unshift = function () { - for (var i = 0, l = arguments.length; i < l; i++) { - unshift(this, arguments[i]) - } - return this.length -} - -Yallist.prototype.pop = function () { - if (!this.tail) { - return undefined - } - - var res = this.tail.value - this.tail = this.tail.prev - if (this.tail) { - this.tail.next = null - } else { - this.head = null - } - this.length-- - return res -} - -Yallist.prototype.shift = function () { - if (!this.head) { - return undefined - } - - var res = this.head.value - this.head = this.head.next - if (this.head) { - this.head.prev = null - } else { - this.tail = null - } - this.length-- - return res -} - -Yallist.prototype.forEach = function (fn, thisp) { - thisp = thisp || this - for (var walker = this.head, i = 0; walker !== null; i++) { - fn.call(thisp, walker.value, i, this) - walker = walker.next - } -} - -Yallist.prototype.forEachReverse = function (fn, thisp) { - thisp = thisp || this - for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { - fn.call(thisp, walker.value, i, this) - walker = walker.prev - } -} - -Yallist.prototype.get = function (n) { - for (var i = 0, walker = this.head; walker !== null && i < n; i++) { - // abort out of the list early if we hit a cycle - walker = walker.next - } - if (i === n && walker !== null) { - return walker.value - } -} - -Yallist.prototype.getReverse = function (n) { - for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { - // abort out of the list early if we hit a cycle - walker = walker.prev - } - if (i === n && walker !== null) { - return walker.value - } -} - -Yallist.prototype.map = function (fn, thisp) { - thisp = thisp || this - var res = new Yallist() - for (var walker = this.head; walker !== null;) { - res.push(fn.call(thisp, walker.value, this)) - walker = walker.next - } - return res -} - -Yallist.prototype.mapReverse = function (fn, thisp) { - thisp = thisp || this - var res = new Yallist() - for (var walker = this.tail; walker !== null;) { - res.push(fn.call(thisp, walker.value, this)) - walker = walker.prev - } - return res -} - -Yallist.prototype.reduce = function (fn, initial) { - var acc - var walker = this.head - if (arguments.length > 1) { - acc = initial - } else if (this.head) { - walker = this.head.next - acc = this.head.value - } else { - throw new TypeError('Reduce of empty list with no initial value') - } - - for (var i = 0; walker !== null; i++) { - acc = fn(acc, walker.value, i) - walker = walker.next - } - - return acc -} - -Yallist.prototype.reduceReverse = function (fn, initial) { - var acc - var walker = this.tail - if (arguments.length > 1) { - acc = initial - } else if (this.tail) { - walker = this.tail.prev - acc = this.tail.value - } else { - throw new TypeError('Reduce of empty list with no initial value') - } - - for (var i = this.length - 1; walker !== null; i--) { - acc = fn(acc, walker.value, i) - walker = walker.prev - } - - return acc -} - -Yallist.prototype.toArray = function () { - var arr = new Array(this.length) - for (var i = 0, walker = this.head; walker !== null; i++) { - arr[i] = walker.value - walker = walker.next - } - return arr -} - -Yallist.prototype.toArrayReverse = function () { - var arr = new Array(this.length) - for (var i = 0, walker = this.tail; walker !== null; i++) { - arr[i] = walker.value - walker = walker.prev - } - return arr -} - -Yallist.prototype.slice = function (from, to) { - to = to || this.length - if (to < 0) { - to += this.length - } - from = from || 0 - if (from < 0) { - from += this.length - } - var ret = new Yallist() - if (to < from || to < 0) { - return ret - } - if (from < 0) { - from = 0 - } - if (to > this.length) { - to = this.length - } - for (var i = 0, walker = this.head; walker !== null && i < from; i++) { - walker = walker.next - } - for (; walker !== null && i < to; i++, walker = walker.next) { - ret.push(walker.value) - } - return ret -} - -Yallist.prototype.sliceReverse = function (from, to) { - to = to || this.length - if (to < 0) { - to += this.length - } - from = from || 0 - if (from < 0) { - from += this.length - } - var ret = new Yallist() - if (to < from || to < 0) { - return ret - } - if (from < 0) { - from = 0 - } - if (to > this.length) { - to = this.length - } - for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) { - walker = walker.prev - } - for (; walker !== null && i > from; i--, walker = walker.prev) { - ret.push(walker.value) - } - return ret -} - -Yallist.prototype.splice = function (start, deleteCount, ...nodes) { - if (start > this.length) { - start = this.length - 1 - } - if (start < 0) { - start = this.length + start; - } - - for (var i = 0, walker = this.head; walker !== null && i < start; i++) { - walker = walker.next - } - - var ret = [] - for (var i = 0; walker && i < deleteCount; i++) { - ret.push(walker.value) - walker = this.removeNode(walker) - } - if (walker === null) { - walker = this.tail - } - - if (walker !== this.head && walker !== this.tail) { - walker = walker.prev - } - - for (var i = 0; i < nodes.length; i++) { - walker = insert(this, walker, nodes[i]) - } - return ret; -} - -Yallist.prototype.reverse = function () { - var head = this.head - var tail = this.tail - for (var walker = head; walker !== null; walker = walker.prev) { - var p = walker.prev - walker.prev = walker.next - walker.next = p - } - this.head = tail - this.tail = head - return this -} - -function insert (self, node, value) { - var inserted = node === self.head ? - new Node(value, null, node, self) : - new Node(value, node, node.next, self) - - if (inserted.next === null) { - self.tail = inserted - } - if (inserted.prev === null) { - self.head = inserted - } - - self.length++ - - return inserted -} - -function push (self, item) { - self.tail = new Node(item, self.tail, null, self) - if (!self.head) { - self.head = self.tail - } - self.length++ -} - -function unshift (self, item) { - self.head = new Node(item, null, self.head, self) - if (!self.tail) { - self.tail = self.head - } - self.length++ -} - -function Node (value, prev, next, list) { - if (!(this instanceof Node)) { - return new Node(value, prev, next, list) - } - - this.list = list - this.value = value - - if (prev) { - prev.next = this - this.prev = prev - } else { - this.prev = null - } - - if (next) { - next.prev = this - this.next = next - } else { - this.next = null - } -} - -try { - // add if support for Symbol.iterator is present - __nccwpck_require__(9513)(Yallist) -} catch (er) {} - - /***/ }), /***/ 9491: @@ -33238,8 +32524,8 @@ const external_node_fs_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import var core = __nccwpck_require__(9093); // EXTERNAL MODULE: ./node_modules/.pnpm/@actions+github@6.0.0/node_modules/@actions/github/lib/github.js var github = __nccwpck_require__(5942); -// EXTERNAL MODULE: ./node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js -var node_modules_semver = __nccwpck_require__(1026); +// EXTERNAL MODULE: ./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js +var node_modules_semver = __nccwpck_require__(2970); ;// CONCATENATED MODULE: ./index.mjs @@ -33249,13 +32535,17 @@ var node_modules_semver = __nccwpck_require__(1026); /** * Analyze package.json and prepare a new version - * @param {string} commitHash Current commit hash */ -const getNewVersion = (commitHash) => { +const getNewVersion = () => { + const commitHash = github.context.sha.substring(0, 7) + let version = (0,core.getInput)('version') + const path = (0,external_node_path_namespaceObject.resolve)(process.cwd(), 'package.json') const file = (0,external_node_fs_namespaceObject.readFileSync)(path, 'utf8') const pkg = JSON.parse(file) - const version = pkg.version + + if (!version) + version = pkg.version if (!version) throw new Error('No version found in package.json') @@ -33282,7 +32572,7 @@ const getNewVersion = (commitHash) => { try { // Get new version - const { version, writeFile } = getNewVersion(github.context.sha.substring(0, 7)) + const { version, writeFile } = getNewVersion() console.log(`New version: ${version}`) // Write new version to package.json diff --git a/dist/licenses.txt b/dist/licenses.txt index 22f6677..2ec7a61 100644 --- a/dist/licenses.txt +++ b/dist/licenses.txt @@ -490,25 +490,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -lru-cache -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - once ISC The ISC License @@ -638,22 +619,3 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -yallist -ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/index.mjs b/index.mjs index 58a7230..c41cffb 100644 --- a/index.mjs +++ b/index.mjs @@ -6,13 +6,17 @@ import { parse } from 'semver' /** * Analyze package.json and prepare a new version - * @param {string} commitHash Current commit hash */ -const getNewVersion = (commitHash) => { +const getNewVersion = () => { + const commitHash = context.sha.substring(0, 7) + let version = getInput('version') + const path = resolve(process.cwd(), 'package.json') const file = readFileSync(path, 'utf8') const pkg = JSON.parse(file) - const version = pkg.version + + if (!version) + version = pkg.version if (!version) throw new Error('No version found in package.json') @@ -39,7 +43,7 @@ const getNewVersion = (commitHash) => { try { // Get new version - const { version, writeFile } = getNewVersion(context.sha.substring(0, 7)) + const { version, writeFile } = getNewVersion() console.log(`New version: ${version}`) // Write new version to package.json diff --git a/package.json b/package.json index 9f40034..a889d87 100644 --- a/package.json +++ b/package.json @@ -7,17 +7,19 @@ "url": "https://github.com/miii" }, "main": "dist/index.mjs", + "type": "module", "scripts": { "build": "ncc build index.mjs -o dist --license licenses.txt", - "prepare": "husky install" + "prepare": "husky" }, "devDependencies": { "@vercel/ncc": "^0.38.1", - "husky": "^8.0.0" + "husky": "^9.1.5" }, "dependencies": { "@actions/core": "^1.10.1", "@actions/github": "^6.0.0", - "semver": "^7.5.4" - } -} + "semver": "^7.6.3" + }, + "packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247" +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c7f9b1..2809813 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,66 +1,156 @@ -lockfileVersion: '6.0' +lockfileVersion: '9.0' settings: autoInstallPeers: true excludeLinksFromLockfile: false -dependencies: - '@actions/core': - specifier: ^1.10.1 - version: 1.10.1 - '@actions/github': - specifier: ^6.0.0 - version: 6.0.0 - semver: - specifier: ^7.5.4 - version: 7.5.4 - -devDependencies: - '@vercel/ncc': - specifier: ^0.38.1 - version: 0.38.1 - husky: - specifier: ^8.0.0 - version: 8.0.3 +importers: + + .: + dependencies: + '@actions/core': + specifier: ^1.10.1 + version: 1.10.1 + '@actions/github': + specifier: ^6.0.0 + version: 6.0.0 + semver: + specifier: ^7.6.3 + version: 7.6.3 + devDependencies: + '@vercel/ncc': + specifier: ^0.38.1 + version: 0.38.1 + husky: + specifier: ^9.1.5 + version: 9.1.5 packages: - /@actions/core@1.10.1: + '@actions/core@1.10.1': resolution: {integrity: sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==} + + '@actions/github@6.0.0': + resolution: {integrity: sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==} + + '@actions/http-client@2.2.0': + resolution: {integrity: sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==} + + '@fastify/busboy@2.0.0': + resolution: {integrity: sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==} + engines: {node: '>=14'} + + '@octokit/auth-token@4.0.0': + resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} + engines: {node: '>= 18'} + + '@octokit/core@5.0.1': + resolution: {integrity: sha512-lyeeeZyESFo+ffI801SaBKmCfsvarO+dgV8/0gD8u1d87clbEdWsP5yC+dSj3zLhb2eIf5SJrn6vDz9AheETHw==} + engines: {node: '>= 18'} + + '@octokit/endpoint@9.0.1': + resolution: {integrity: sha512-hRlOKAovtINHQPYHZlfyFwaM8OyetxeoC81lAkBy34uLb8exrZB50SQdeW3EROqiY9G9yxQTpp5OHTV54QD+vA==} + engines: {node: '>= 18'} + + '@octokit/graphql@7.0.2': + resolution: {integrity: sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==} + engines: {node: '>= 18'} + + '@octokit/openapi-types@19.0.2': + resolution: {integrity: sha512-8li32fUDUeml/ACRp/njCWTsk5t17cfTM1jp9n08pBrqs5cDFJubtjsSnuz56r5Tad6jdEPJld7LxNp9dNcyjQ==} + + '@octokit/plugin-paginate-rest@9.1.2': + resolution: {integrity: sha512-euDbNV6fxX6btsCDnZoZM4vw3zO1nj1Z7TskHAulO6mZ9lHoFTpwll6farf+wh31mlBabgU81bBYdflp0GLVAQ==} + engines: {node: '>= 18'} + peerDependencies: + '@octokit/core': '>=5' + + '@octokit/plugin-rest-endpoint-methods@10.1.2': + resolution: {integrity: sha512-JztgZ82CY4JNlPTuF0jh4iWuuGpEi5czFCoXyAbMg4F2XyFBbG5DWAKfa3odRvdZww6Df1tQgBKnqpd9X0WF9g==} + engines: {node: '>= 18'} + peerDependencies: + '@octokit/core': '>=5' + + '@octokit/request-error@5.0.1': + resolution: {integrity: sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==} + engines: {node: '>= 18'} + + '@octokit/request@8.1.4': + resolution: {integrity: sha512-M0aaFfpGPEKrg7XoA/gwgRvc9MSXHRO2Ioki1qrPDbl1e9YhjIwVoHE7HIKmv/m3idzldj//xBujcFNqGX6ENA==} + engines: {node: '>= 18'} + + '@octokit/types@12.1.1': + resolution: {integrity: sha512-qnJTldJ1NyGT5MTsCg/Zi+y2IFHZ1Jo5+njNCjJ9FcainV7LjuHgmB697kA0g4MjZeDAJsM3B45iqCVsCLVFZg==} + + '@vercel/ncc@0.38.1': + resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==} + hasBin: true + + before-after-hook@2.2.3: + resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} + + deprecation@2.3.1: + resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} + + husky@9.1.5: + resolution: {integrity: sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag==} + engines: {node: '>=18'} + hasBin: true + + is-plain-object@5.0.0: + resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} + engines: {node: '>=0.10.0'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + semver@7.6.3: + resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + engines: {node: '>=10'} + hasBin: true + + tunnel@0.0.6: + resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} + engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} + + undici@5.27.0: + resolution: {integrity: sha512-l3ydWhlhOJzMVOYkymLykcRRXqbUaQriERtR70B9LzNkZ4bX52Fc8wbTDneMiwo8T+AemZXvXaTx+9o5ROxrXg==} + engines: {node: '>=14.0'} + + universal-user-agent@6.0.0: + resolution: {integrity: sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==} + + uuid@8.3.2: + resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} + hasBin: true + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + +snapshots: + + '@actions/core@1.10.1': dependencies: '@actions/http-client': 2.2.0 uuid: 8.3.2 - dev: false - /@actions/github@6.0.0: - resolution: {integrity: sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==} + '@actions/github@6.0.0': dependencies: '@actions/http-client': 2.2.0 '@octokit/core': 5.0.1 '@octokit/plugin-paginate-rest': 9.1.2(@octokit/core@5.0.1) '@octokit/plugin-rest-endpoint-methods': 10.1.2(@octokit/core@5.0.1) - dev: false - /@actions/http-client@2.2.0: - resolution: {integrity: sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==} + '@actions/http-client@2.2.0': dependencies: tunnel: 0.0.6 undici: 5.27.0 - dev: false - /@fastify/busboy@2.0.0: - resolution: {integrity: sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==} - engines: {node: '>=14'} - dev: false + '@fastify/busboy@2.0.0': {} - /@octokit/auth-token@4.0.0: - resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} - engines: {node: '>= 18'} - dev: false + '@octokit/auth-token@4.0.0': {} - /@octokit/core@5.0.1: - resolution: {integrity: sha512-lyeeeZyESFo+ffI801SaBKmCfsvarO+dgV8/0gD8u1d87clbEdWsP5yC+dSj3zLhb2eIf5SJrn6vDz9AheETHw==} - engines: {node: '>= 18'} + '@octokit/core@5.0.1': dependencies: '@octokit/auth-token': 4.0.0 '@octokit/graphql': 7.0.2 @@ -69,146 +159,73 @@ packages: '@octokit/types': 12.1.1 before-after-hook: 2.2.3 universal-user-agent: 6.0.0 - dev: false - /@octokit/endpoint@9.0.1: - resolution: {integrity: sha512-hRlOKAovtINHQPYHZlfyFwaM8OyetxeoC81lAkBy34uLb8exrZB50SQdeW3EROqiY9G9yxQTpp5OHTV54QD+vA==} - engines: {node: '>= 18'} + '@octokit/endpoint@9.0.1': dependencies: '@octokit/types': 12.1.1 is-plain-object: 5.0.0 universal-user-agent: 6.0.0 - dev: false - /@octokit/graphql@7.0.2: - resolution: {integrity: sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==} - engines: {node: '>= 18'} + '@octokit/graphql@7.0.2': dependencies: '@octokit/request': 8.1.4 '@octokit/types': 12.1.1 universal-user-agent: 6.0.0 - dev: false - /@octokit/openapi-types@19.0.2: - resolution: {integrity: sha512-8li32fUDUeml/ACRp/njCWTsk5t17cfTM1jp9n08pBrqs5cDFJubtjsSnuz56r5Tad6jdEPJld7LxNp9dNcyjQ==} - dev: false + '@octokit/openapi-types@19.0.2': {} - /@octokit/plugin-paginate-rest@9.1.2(@octokit/core@5.0.1): - resolution: {integrity: sha512-euDbNV6fxX6btsCDnZoZM4vw3zO1nj1Z7TskHAulO6mZ9lHoFTpwll6farf+wh31mlBabgU81bBYdflp0GLVAQ==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '>=5' + '@octokit/plugin-paginate-rest@9.1.2(@octokit/core@5.0.1)': dependencies: '@octokit/core': 5.0.1 '@octokit/types': 12.1.1 - dev: false - /@octokit/plugin-rest-endpoint-methods@10.1.2(@octokit/core@5.0.1): - resolution: {integrity: sha512-JztgZ82CY4JNlPTuF0jh4iWuuGpEi5czFCoXyAbMg4F2XyFBbG5DWAKfa3odRvdZww6Df1tQgBKnqpd9X0WF9g==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '>=5' + '@octokit/plugin-rest-endpoint-methods@10.1.2(@octokit/core@5.0.1)': dependencies: '@octokit/core': 5.0.1 '@octokit/types': 12.1.1 - dev: false - /@octokit/request-error@5.0.1: - resolution: {integrity: sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==} - engines: {node: '>= 18'} + '@octokit/request-error@5.0.1': dependencies: '@octokit/types': 12.1.1 deprecation: 2.3.1 once: 1.4.0 - dev: false - /@octokit/request@8.1.4: - resolution: {integrity: sha512-M0aaFfpGPEKrg7XoA/gwgRvc9MSXHRO2Ioki1qrPDbl1e9YhjIwVoHE7HIKmv/m3idzldj//xBujcFNqGX6ENA==} - engines: {node: '>= 18'} + '@octokit/request@8.1.4': dependencies: '@octokit/endpoint': 9.0.1 '@octokit/request-error': 5.0.1 '@octokit/types': 12.1.1 is-plain-object: 5.0.0 universal-user-agent: 6.0.0 - dev: false - /@octokit/types@12.1.1: - resolution: {integrity: sha512-qnJTldJ1NyGT5MTsCg/Zi+y2IFHZ1Jo5+njNCjJ9FcainV7LjuHgmB697kA0g4MjZeDAJsM3B45iqCVsCLVFZg==} + '@octokit/types@12.1.1': dependencies: '@octokit/openapi-types': 19.0.2 - dev: false - /@vercel/ncc@0.38.1: - resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==} - hasBin: true - dev: true + '@vercel/ncc@0.38.1': {} - /before-after-hook@2.2.3: - resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} - dev: false + before-after-hook@2.2.3: {} - /deprecation@2.3.1: - resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} - dev: false + deprecation@2.3.1: {} - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} - hasBin: true - dev: true - - /is-plain-object@5.0.0: - resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} - engines: {node: '>=0.10.0'} - dev: false + husky@9.1.5: {} - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - dev: false + is-plain-object@5.0.0: {} - /once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + once@1.4.0: dependencies: wrappy: 1.0.2 - dev: false - /semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: false + semver@7.6.3: {} - /tunnel@0.0.6: - resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} - engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} - dev: false + tunnel@0.0.6: {} - /undici@5.27.0: - resolution: {integrity: sha512-l3ydWhlhOJzMVOYkymLykcRRXqbUaQriERtR70B9LzNkZ4bX52Fc8wbTDneMiwo8T+AemZXvXaTx+9o5ROxrXg==} - engines: {node: '>=14.0'} + undici@5.27.0: dependencies: '@fastify/busboy': 2.0.0 - dev: false - /universal-user-agent@6.0.0: - resolution: {integrity: sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==} - dev: false + universal-user-agent@6.0.0: {} - /uuid@8.3.2: - resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} - hasBin: true - dev: false - - /wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - dev: false + uuid@8.3.2: {} - /yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - dev: false + wrappy@1.0.2: {}