mirror of
https://gitea.com/actions/setup-node.git
synced 2026-01-13 12:19:44 +00:00
check failure fix
This commit is contained in:
parent
cb32f28c40
commit
c7aa1fc762
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: semver
|
name: semver
|
||||||
version: 7.7.2
|
version: 7.7.3
|
||||||
type: npm
|
type: npm
|
||||||
summary: The semantic version parser used by npm.
|
summary: The semantic version parser used by npm.
|
||||||
homepage:
|
homepage:
|
||||||
29
dist/setup/index.js
vendored
29
dist/setup/index.js
vendored
@ -66159,6 +66159,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)
|
||||||
@ -66579,11 +66580,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) {
|
||||||
@ -67484,6 +67499,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)
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "setup-node",
|
"name": "setup-node",
|
||||||
"version": "6.0.0",
|
"version": "6.2.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "setup-node",
|
"name": "setup-node",
|
||||||
"version": "6.0.0",
|
"version": "6.2.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^4.1.0",
|
"@actions/cache": "^4.1.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "setup-node",
|
"name": "setup-node",
|
||||||
"version": "6.0.0",
|
"version": "6.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "setup node action",
|
"description": "setup node action",
|
||||||
"main": "lib/setup-node.js",
|
"main": "lib/setup-node.js",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user