From e20dc73d442d1842e022020bbbd0dec657cd2eac Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Nov 2025 03:31:15 +0000 Subject: [PATCH 1/2] chore(main): release 4.1.9 --- CHANGELOG.md | 18 ++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f688ed3..e73329b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [4.1.9](https://github.com/cloudquery/setup-cloudquery/compare/v4.1.8...v4.1.9) (2025-11-01) + + +### 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) diff --git a/package-lock.json b/package-lock.json index 8e18dfa..c00c80d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cloudquery/setup-cloudquery", - "version": "4.1.8", + "version": "4.1.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@cloudquery/setup-cloudquery", - "version": "4.1.8", + "version": "4.1.9", "license": "MIT", "dependencies": { "@actions/core": "1.11.1", diff --git a/package.json b/package.json index 6b3e051..ef0c727 100644 --- a/package.json +++ b/package.json @@ -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", From ab851428db58702e3caa34377d683045d8669dda Mon Sep 17 00:00:00 2001 From: cq-bot <102256036+cq-bot@users.noreply.github.com> Date: Sat, 1 Nov 2025 03:31:34 +0000 Subject: [PATCH 2/2] chore: Prepare dist --- dist/index.js | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 660d27b..ad8cc21 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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) @@ -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) { @@ -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)