Bump semver from 7.7.1 to 7.7.2 (#477)

* Bump semver from 7.7.1 to 7.7.2

Bumps [semver](https://github.com/npm/node-semver) from 7.7.1 to 7.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.7.1...v7.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Baraa Basata <bbasata@gmail.com>
This commit is contained in:
dependabot[bot] 2025-05-13 12:35:13 +00:00 committed by GitHub
parent a8fd1d197b
commit 06d7cc5c8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 151 additions and 15 deletions

150
dist/index.js vendored
View file

@ -18645,6 +18645,9 @@ module.exports = safer
/***/ 9379:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const ANY = Symbol('SemVer ANY')
// hoisted class for cyclic dependency
class Comparator {
@ -18793,6 +18796,9 @@ const Range = __nccwpck_require__(6782)
/***/ 6782:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SPACE_CHARACTERS = /\s+/g
// hoisted class for cyclic dependency
@ -19354,9 +19360,12 @@ const testSet = (set, version, options) => {
/***/ 7163:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const debug = __nccwpck_require__(1159)
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(5101)
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(5471)
const { safeRe: re, t } = __nccwpck_require__(5471)
const parseOptions = __nccwpck_require__(356)
const { compareIdentifiers } = __nccwpck_require__(3348)
@ -19538,8 +19547,7 @@ class SemVer {
}
// Avoid an invalid semver results
if (identifier) {
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
const match = `-${identifier}`.match(r)
const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])
if (!match || match[1] !== identifier) {
throw new Error(`invalid identifier: ${identifier}`)
}
@ -19679,6 +19687,9 @@ module.exports = SemVer
/***/ 1799:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const parse = __nccwpck_require__(6353)
const clean = (version, options) => {
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
@ -19692,6 +19703,9 @@ module.exports = clean
/***/ 8646:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const eq = __nccwpck_require__(5082)
const neq = __nccwpck_require__(4974)
const gt = __nccwpck_require__(6599)
@ -19751,6 +19765,9 @@ module.exports = cmp
/***/ 5385:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const parse = __nccwpck_require__(6353)
const { safeRe: re, t } = __nccwpck_require__(5471)
@ -19818,6 +19835,9 @@ module.exports = coerce
/***/ 7648:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const compareBuild = (a, b, loose) => {
const versionA = new SemVer(a, loose)
@ -19832,6 +19852,9 @@ module.exports = compareBuild
/***/ 6874:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const compareLoose = (a, b) => compare(a, b, true)
module.exports = compareLoose
@ -19842,6 +19865,9 @@ module.exports = compareLoose
/***/ 8469:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const compare = (a, b, loose) =>
new SemVer(a, loose).compare(new SemVer(b, loose))
@ -19854,6 +19880,9 @@ module.exports = compare
/***/ 711:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const parse = __nccwpck_require__(6353)
const diff = (version1, version2) => {
@ -19919,6 +19948,9 @@ module.exports = diff
/***/ 5082:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const eq = (a, b, loose) => compare(a, b, loose) === 0
module.exports = eq
@ -19929,6 +19961,9 @@ module.exports = eq
/***/ 6599:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const gt = (a, b, loose) => compare(a, b, loose) > 0
module.exports = gt
@ -19939,6 +19974,9 @@ module.exports = gt
/***/ 1236:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const gte = (a, b, loose) => compare(a, b, loose) >= 0
module.exports = gte
@ -19949,6 +19987,9 @@ module.exports = gte
/***/ 2338:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const inc = (version, release, options, identifier, identifierBase) => {
@ -19975,6 +20016,9 @@ module.exports = inc
/***/ 3872:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const lt = (a, b, loose) => compare(a, b, loose) < 0
module.exports = lt
@ -19985,6 +20029,9 @@ module.exports = lt
/***/ 6717:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte
@ -19995,6 +20042,9 @@ module.exports = lte
/***/ 8511:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const major = (a, loose) => new SemVer(a, loose).major
module.exports = major
@ -20005,6 +20055,9 @@ module.exports = major
/***/ 2603:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const minor = (a, loose) => new SemVer(a, loose).minor
module.exports = minor
@ -20015,6 +20068,9 @@ module.exports = minor
/***/ 4974:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const neq = (a, b, loose) => compare(a, b, loose) !== 0
module.exports = neq
@ -20025,6 +20081,9 @@ module.exports = neq
/***/ 6353:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const parse = (version, options, throwErrors = false) => {
if (version instanceof SemVer) {
@ -20048,6 +20107,9 @@ module.exports = parse
/***/ 8756:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const patch = (a, loose) => new SemVer(a, loose).patch
module.exports = patch
@ -20058,6 +20120,9 @@ module.exports = patch
/***/ 5714:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const parse = __nccwpck_require__(6353)
const prerelease = (version, options) => {
const parsed = parse(version, options)
@ -20071,6 +20136,9 @@ module.exports = prerelease
/***/ 2173:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compare = __nccwpck_require__(8469)
const rcompare = (a, b, loose) => compare(b, a, loose)
module.exports = rcompare
@ -20081,6 +20149,9 @@ module.exports = rcompare
/***/ 7192:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compareBuild = __nccwpck_require__(7648)
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
module.exports = rsort
@ -20091,6 +20162,9 @@ module.exports = rsort
/***/ 8011:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const Range = __nccwpck_require__(6782)
const satisfies = (version, range, options) => {
try {
@ -20108,6 +20182,9 @@ module.exports = satisfies
/***/ 9872:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const compareBuild = __nccwpck_require__(7648)
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
module.exports = sort
@ -20118,6 +20195,9 @@ module.exports = sort
/***/ 8780:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const parse = __nccwpck_require__(6353)
const valid = (version, options) => {
const v = parse(version, options)
@ -20131,6 +20211,9 @@ module.exports = valid
/***/ 2088:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
// just pre-load all the stuff that index.js lazily exports
const internalRe = __nccwpck_require__(5471)
const constants = __nccwpck_require__(5101)
@ -20227,6 +20310,9 @@ module.exports = {
/***/ 5101:
/***/ ((module) => {
"use strict";
// 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'
@ -20269,6 +20355,9 @@ module.exports = {
/***/ 1159:
/***/ ((module) => {
"use strict";
const debug = (
typeof process === 'object' &&
process.env &&
@ -20285,6 +20374,9 @@ module.exports = debug
/***/ 3348:
/***/ ((module) => {
"use strict";
const numeric = /^[0-9]+$/
const compareIdentifiers = (a, b) => {
const anum = numeric.test(a)
@ -20315,6 +20407,9 @@ module.exports = {
/***/ 1383:
/***/ ((module) => {
"use strict";
class LRUCache {
constructor () {
this.max = 1000
@ -20362,6 +20457,9 @@ module.exports = LRUCache
/***/ 356:
/***/ ((module) => {
"use strict";
// parse out just the options we care about
const looseOption = Object.freeze({ loose: true })
const emptyOpts = Object.freeze({ })
@ -20384,6 +20482,9 @@ module.exports = parseOptions
/***/ 5471:
/***/ ((module, exports, __nccwpck_require__) => {
"use strict";
const {
MAX_SAFE_COMPONENT_LENGTH,
MAX_SAFE_BUILD_LENGTH,
@ -20462,12 +20563,14 @@ createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
// ## Pre-release Version Identifier
// A numeric identifier, or a non-numeric identifier.
// Non-numberic identifiers include numberic identifiers but can be longer.
// Therefore non-numberic identifiers must go first.
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]
}|${src[t.NONNUMERICIDENTIFIER]})`)
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
}|${src[t.NUMERICIDENTIFIER]})`)
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]
}|${src[t.NONNUMERICIDENTIFIER]})`)
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
}|${src[t.NUMERICIDENTIFIERLOOSE]})`)
// ## Pre-release Version
// Hyphen, followed by one or more dot-separated pre-release version
@ -20610,6 +20713,9 @@ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
/***/ 2276:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
// Determine if version is greater than all the versions possible in the range.
const outside = __nccwpck_require__(280)
const gtr = (version, range, options) => outside(version, range, '>', options)
@ -20621,6 +20727,9 @@ module.exports = gtr
/***/ 3465:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const Range = __nccwpck_require__(6782)
const intersects = (r1, r2, options) => {
r1 = new Range(r1, options)
@ -20635,6 +20744,9 @@ module.exports = intersects
/***/ 5213:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const outside = __nccwpck_require__(280)
// Determine if version is less than all the versions possible in the range
const ltr = (version, range, options) => outside(version, range, '<', options)
@ -20646,6 +20758,9 @@ module.exports = ltr
/***/ 5574:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const Range = __nccwpck_require__(6782)
@ -20678,6 +20793,9 @@ module.exports = maxSatisfying
/***/ 8595:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const Range = __nccwpck_require__(6782)
const minSatisfying = (versions, range, options) => {
@ -20709,6 +20827,9 @@ module.exports = minSatisfying
/***/ 1866:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const Range = __nccwpck_require__(6782)
const gt = __nccwpck_require__(6599)
@ -20777,6 +20898,9 @@ module.exports = minVersion
/***/ 280:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const SemVer = __nccwpck_require__(7163)
const Comparator = __nccwpck_require__(9379)
const { ANY } = Comparator
@ -20864,6 +20988,9 @@ module.exports = outside
/***/ 2028:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
// 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.
@ -20918,6 +21045,9 @@ module.exports = (versions, range, options) => {
/***/ 1489:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const Range = __nccwpck_require__(6782)
const Comparator = __nccwpck_require__(9379)
const { ANY } = Comparator
@ -21172,6 +21302,9 @@ module.exports = subset
/***/ 4750:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const Range = __nccwpck_require__(6782)
// Mostly just for testing and legacy API reasons
@ -21187,6 +21320,9 @@ module.exports = toComparators
/***/ 4737:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const Range = __nccwpck_require__(6782)
const validRange = (range, options) => {
try {

14
package-lock.json generated
View file

@ -15,7 +15,7 @@
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.2",
"@hashicorp/js-releases": "^1.7.3",
"semver": "^7.7.1"
"semver": "^7.7.2"
},
"devDependencies": {
"@vercel/ncc": "^0.38.3",
@ -6318,9 +6318,9 @@
}
},
"node_modules/semver": {
"version": "7.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
"integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
"version": "7.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@ -11833,9 +11833,9 @@
}
},
"semver": {
"version": "7.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
"integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA=="
"version": "7.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="
},
"shebang-command": {
"version": "2.0.0",

View file

@ -24,7 +24,7 @@
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.2",
"@hashicorp/js-releases": "^1.7.3",
"semver": "^7.7.1"
"semver": "^7.7.2"
},
"devDependencies": {
"@vercel/ncc": "^0.38.3",