mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2025-12-06 07:50:37 +00:00
chore(deps): Bump semver from 7.7.2 to 7.7.3 (#71)
Some checks failed
Setup OpenTofu / OpenTofu Version Files (push) Has been cancelled
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
Setup OpenTofu / OpenTofu Versions (push) Has been cancelled
Setup OpenTofu / OpenTofu Arguments (push) Has been cancelled
Setup OpenTofu / OpenTofu No Credentials (push) Has been cancelled
Setup OpenTofu / OpenTofu Run Local (push) Has been cancelled
Setup OpenTofu / OpenTofu Cloud Credentials (push) Has been cancelled
Setup OpenTofu / OpenTofu Enterprise Credentials (push) Has been cancelled
Some checks failed
Setup OpenTofu / OpenTofu Version Files (push) Has been cancelled
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
Setup OpenTofu / OpenTofu Versions (push) Has been cancelled
Setup OpenTofu / OpenTofu Arguments (push) Has been cancelled
Setup OpenTofu / OpenTofu No Credentials (push) Has been cancelled
Setup OpenTofu / OpenTofu Run Local (push) Has been cancelled
Setup OpenTofu / OpenTofu Cloud Credentials (push) Has been cancelled
Setup OpenTofu / OpenTofu Enterprise Credentials (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Diogenes Fernandes <diofeher@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Diogenes Fernandes <diofeher@gmail.com>
This commit is contained in:
parent
5e2b22fba4
commit
339b7b2a1b
6 changed files with 39 additions and 20 deletions
8
.github/workflows/continuous-integration.yml
vendored
8
.github/workflows/continuous-integration.yml
vendored
|
|
@ -1,9 +1,9 @@
|
||||||
name: 'Continuous Integration'
|
name: "Continuous Integration"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -11,9 +11,9 @@ jobs:
|
||||||
name: Check dist/ directory
|
name: Check dist/ directory
|
||||||
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@2826fb8353263a138210fc017301ce5767a9c0d4
|
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@2826fb8353263a138210fc017301ce5767a9c0d4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.19.1"
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@2826fb8353263a138210fc017301ce5767a9c0d4
|
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@2826fb8353263a138210fc017301ce5767a9c0d4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.19.1"
|
||||||
|
|
|
||||||
31
dist/index.js
vendored
31
dist/index.js
vendored
|
|
@ -51,7 +51,7 @@ async function fetchReleases (githubToken) {
|
||||||
throw new Error('failed fetching releases (' + resp.message.statusCode + ')');
|
throw new Error('failed fetching releases (' + resp.message.statusCode + ')');
|
||||||
}
|
}
|
||||||
|
|
||||||
let body = await resp.readBody();
|
const body = await resp.readBody();
|
||||||
const releasesMeta = JSON.parse(body);
|
const releasesMeta = JSON.parse(body);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -6437,6 +6437,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)
|
||||||
|
|
@ -6857,11 +6858,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) {
|
||||||
|
|
@ -7762,6 +7777,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)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ async function fetchReleases (githubToken) {
|
||||||
throw new Error('failed fetching releases (' + resp.message.statusCode + ')');
|
throw new Error('failed fetching releases (' + resp.message.statusCode + ')');
|
||||||
}
|
}
|
||||||
|
|
||||||
let body = await resp.readBody();
|
const body = await resp.readBody();
|
||||||
const releasesMeta = JSON.parse(body);
|
const releasesMeta = JSON.parse(body);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -13,7 +13,7 @@
|
||||||
"@actions/exec": "1.1.1",
|
"@actions/exec": "1.1.1",
|
||||||
"@actions/io": "1.1.3",
|
"@actions/io": "1.1.3",
|
||||||
"@actions/tool-cache": "2.0.2",
|
"@actions/tool-cache": "2.0.2",
|
||||||
"semver": "7.7.2"
|
"semver": "7.7.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "0.38.4",
|
"@vercel/ncc": "0.38.4",
|
||||||
|
|
@ -6223,9 +6223,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/semver": {
|
"node_modules/semver": {
|
||||||
"version": "7.7.2",
|
"version": "7.7.3",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
|
||||||
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
|
"integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bin": {
|
"bin": {
|
||||||
"semver": "bin/semver.js"
|
"semver": "bin/semver.js"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
"@actions/exec": "1.1.1",
|
"@actions/exec": "1.1.1",
|
||||||
"@actions/io": "1.1.3",
|
"@actions/io": "1.1.3",
|
||||||
"@actions/tool-cache": "2.0.2",
|
"@actions/tool-cache": "2.0.2",
|
||||||
"semver": "7.7.2"
|
"semver": "7.7.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "0.38.4",
|
"@vercel/ncc": "0.38.4",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue