mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
Bump semver from 7.7.2 to 7.7.4 (#406)
* Bump semver from 7.7.2 to 7.7.4 Bumps [semver](https://github.com/npm/node-semver) from 7.7.2 to 7.7.4. - [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.2...v7.7.4) --- updated-dependencies: - dependency-name: semver dependency-version: 7.7.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Help Dependabot --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
This commit is contained in:
Vendored
+28
-9
@@ -23416,6 +23416,7 @@ const isSatisfiable = (comparators, options) => {
|
|||||||
// already replaced the hyphen ranges
|
// already replaced the hyphen ranges
|
||||||
// turn into a set of JUST comparators.
|
// turn into a set of JUST comparators.
|
||||||
const parseComparator = (comp, options) => {
|
const parseComparator = (comp, options) => {
|
||||||
|
comp = comp.replace(re[t.BUILD], '')
|
||||||
debug('comp', comp, options)
|
debug('comp', comp, options)
|
||||||
comp = replaceCarets(comp, options)
|
comp = replaceCarets(comp, options)
|
||||||
debug('caret', comp)
|
debug('caret', comp)
|
||||||
@@ -23836,11 +23837,25 @@ class SemVer {
|
|||||||
other = new SemVer(other, this.options)
|
other = new SemVer(other, this.options)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
if (this.major < other.major) {
|
||||||
compareIdentifiers(this.major, other.major) ||
|
return -1
|
||||||
compareIdentifiers(this.minor, other.minor) ||
|
}
|
||||||
compareIdentifiers(this.patch, other.patch)
|
if (this.major > other.major) {
|
||||||
)
|
return 1
|
||||||
|
}
|
||||||
|
if (this.minor < other.minor) {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
|
if (this.minor > other.minor) {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
if (this.patch < other.patch) {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
|
if (this.patch > other.patch) {
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
comparePre (other) {
|
comparePre (other) {
|
||||||
@@ -24298,7 +24313,7 @@ const diff = (version1, version2) => {
|
|||||||
return prefix + 'patch'
|
return prefix + 'patch'
|
||||||
}
|
}
|
||||||
|
|
||||||
// high and low are preleases
|
// high and low are prereleases
|
||||||
return 'prerelease'
|
return 'prerelease'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24741,6 +24756,10 @@ module.exports = debug
|
|||||||
|
|
||||||
const numeric = /^[0-9]+$/
|
const numeric = /^[0-9]+$/
|
||||||
const compareIdentifiers = (a, b) => {
|
const compareIdentifiers = (a, b) => {
|
||||||
|
if (typeof a === 'number' && typeof b === 'number') {
|
||||||
|
return a === b ? 0 : a < b ? -1 : 1
|
||||||
|
}
|
||||||
|
|
||||||
const anum = numeric.test(a)
|
const anum = numeric.test(a)
|
||||||
const bnum = numeric.test(b)
|
const bnum = numeric.test(b)
|
||||||
|
|
||||||
@@ -24925,8 +24944,8 @@ createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
|
|||||||
|
|
||||||
// ## Pre-release Version Identifier
|
// ## Pre-release Version Identifier
|
||||||
// A numeric identifier, or a non-numeric identifier.
|
// A numeric identifier, or a non-numeric identifier.
|
||||||
// Non-numberic identifiers include numberic identifiers but can be longer.
|
// Non-numeric identifiers include numeric identifiers but can be longer.
|
||||||
// Therefore non-numberic identifiers must go first.
|
// Therefore non-numeric identifiers must go first.
|
||||||
|
|
||||||
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
|
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
|
||||||
}|${src[t.NUMERICIDENTIFIER]})`)
|
}|${src[t.NUMERICIDENTIFIER]})`)
|
||||||
@@ -25448,7 +25467,7 @@ const compare = __nccwpck_require__(8469)
|
|||||||
// - If LT
|
// - If LT
|
||||||
// - If LT.semver is greater than any < or <= comp in C, return false
|
// - If LT.semver is greater than any < or <= comp in C, return false
|
||||||
// - If LT is <=, and LT.semver does not satisfy every C, return false
|
// - If LT is <=, and LT.semver does not satisfy every C, return false
|
||||||
// - If GT.semver has a prerelease, and not in prerelease mode
|
// - If LT.semver has a prerelease, and not in prerelease mode
|
||||||
// - If no C has a prerelease and the LT.semver tuple, return false
|
// - If no C has a prerelease and the LT.semver tuple, return false
|
||||||
// - Else return true
|
// - Else return true
|
||||||
|
|
||||||
|
|||||||
Generated
+4
-4
@@ -12,7 +12,7 @@
|
|||||||
"@actions/tool-cache": "2.0.2",
|
"@actions/tool-cache": "2.0.2",
|
||||||
"csv-parse": "6.1.0",
|
"csv-parse": "6.1.0",
|
||||||
"lodash": "4.17.23",
|
"lodash": "4.17.23",
|
||||||
"semver": "7.7.2"
|
"semver": "7.7.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "10.0.1",
|
"@eslint/js": "10.0.1",
|
||||||
@@ -3226,9 +3226,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/semver": {
|
"node_modules/semver": {
|
||||||
"version": "7.7.2",
|
"version": "7.7.4",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
|
||||||
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
|
"integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bin": {
|
"bin": {
|
||||||
"semver": "bin/semver.js"
|
"semver": "bin/semver.js"
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
"@actions/tool-cache": "2.0.2",
|
"@actions/tool-cache": "2.0.2",
|
||||||
"csv-parse": "6.1.0",
|
"csv-parse": "6.1.0",
|
||||||
"lodash": "4.17.23",
|
"lodash": "4.17.23",
|
||||||
"semver": "7.7.2"
|
"semver": "7.7.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "10.0.1",
|
"@eslint/js": "10.0.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user