Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## [4.1.9](https://github.com/cloudquery/setup-cloudquery/compare/v4.1.8...v4.1.9) (2025-11-10)


### Bug Fixes

* **deps:** Update dependency @types/node to v22.17.2 ([#741](https://github.com/cloudquery/setup-cloudquery/issues/741)) ([43be401](https://github.com/cloudquery/setup-cloudquery/commit/43be401d9341902c196bb0a55974a74c8252a66d))
* **deps:** Update dependency @types/node to v22.18.12 ([#767](https://github.com/cloudquery/setup-cloudquery/issues/767)) ([6d53ac8](https://github.com/cloudquery/setup-cloudquery/commit/6d53ac8d63c6714248519cdbda87a6f03c018957))
* **deps:** Update dependency @types/node to v22.18.6 ([#757](https://github.com/cloudquery/setup-cloudquery/issues/757)) ([e0b397f](https://github.com/cloudquery/setup-cloudquery/commit/e0b397f8a2256e41ed595e5f19445336f580974d))
* **deps:** Update dependency @types/pg to v8.15.5 ([#740](https://github.com/cloudquery/setup-cloudquery/issues/740)) ([6dec952](https://github.com/cloudquery/setup-cloudquery/commit/6dec952a60f32ece6a8a302e23b1d645fb111972))
* **deps:** Update dependency @types/semver to v7.7.1 ([#754](https://github.com/cloudquery/setup-cloudquery/issues/754)) ([e8158d4](https://github.com/cloudquery/setup-cloudquery/commit/e8158d43dada46401ec80910fcfe9098ffb8353a))
* **deps:** Update dependency @vercel/ncc to v0.38.4 ([#755](https://github.com/cloudquery/setup-cloudquery/issues/755)) ([11f6c16](https://github.com/cloudquery/setup-cloudquery/commit/11f6c161ba2834f940de5e85e4929eab55a5a5e1))
* **deps:** Update dependency chalk to v5.6.0 ([#743](https://github.com/cloudquery/setup-cloudquery/issues/743)) ([2c69def](https://github.com/cloudquery/setup-cloudquery/commit/2c69def01bbff06e7282c9ef6c271e42e7367084))
* **deps:** Update dependency chalk to v5.6.2 ([#756](https://github.com/cloudquery/setup-cloudquery/issues/756)) ([c3d5c7a](https://github.com/cloudquery/setup-cloudquery/commit/c3d5c7a4f6f25340f37c7ab7badf9940597ffbcb))
* **deps:** Update dependency semver to v7.7.3 ([#768](https://github.com/cloudquery/setup-cloudquery/issues/768)) ([dccd16c](https://github.com/cloudquery/setup-cloudquery/commit/dccd16cf1ada33293198fc72c6ff8ee8833b9fae))
* **deps:** Update dependency typescript to v5.9.3 ([#769](https://github.com/cloudquery/setup-cloudquery/issues/769)) ([7aef537](https://github.com/cloudquery/setup-cloudquery/commit/7aef537eb9e7cc91be9455ed6e5f7c11e10db687))
* **deps:** Update eslint packages ([#758](https://github.com/cloudquery/setup-cloudquery/issues/758)) ([7d1705c](https://github.com/cloudquery/setup-cloudquery/commit/7d1705cb3c4fe711ad70d169b5612999a9feb6b0))
* **deps:** Update eslint packages ([#770](https://github.com/cloudquery/setup-cloudquery/issues/770)) ([f5f926d](https://github.com/cloudquery/setup-cloudquery/commit/f5f926da4bc467ad1ec1faf6acaf4c5b08cb2177))

## [4.1.8](https://github.com/cloudquery/setup-cloudquery/compare/v4.1.7...v4.1.8) (2025-08-01)


Expand Down
29 changes: 24 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4150,6 +4150,7 @@ const isSatisfiable = (comparators, options) => {
// already replaced the hyphen ranges
// turn into a set of JUST comparators.
const parseComparator = (comp, options) => {
comp = comp.replace(re[t.BUILD], '')
debug('comp', comp, options)
comp = replaceCarets(comp, options)
debug('caret', comp)
Expand Down Expand Up @@ -4569,11 +4570,25 @@ class SemVer {
other = new SemVer(other, this.options)
}

return (
compareIdentifiers(this.major, other.major) ||
compareIdentifiers(this.minor, other.minor) ||
compareIdentifiers(this.patch, other.patch)
)
if (this.major < other.major) {
return -1
}
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) {
Expand Down Expand Up @@ -5446,6 +5461,10 @@ module.exports = debug

const numeric = /^[0-9]+$/
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 bnum = numeric.test(b)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudquery/setup-cloudquery",
"version": "4.1.8",
"version": "4.1.9",
"description": "Setup CloudQuery CLI in a GitHub action environment",
"main": "dist/index.js",
"type": "module",
Expand Down
Loading