From 78d5497f7677a51e1965d3dcdceb032154315273 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Thu, 1 Aug 2024 04:10:26 -0400 Subject: [PATCH] chore(main): release 3.0.18 (#549) :robot: I have created a release *beep* *boop* --- ## [3.0.18](https://github.com/cloudquery/setup-cloudquery/compare/v3.0.17...v3.0.18) (2024-08-01) ### Bug Fixes * **deps:** Update dependency @types/node to v20.14.13 ([#548](https://github.com/cloudquery/setup-cloudquery/issues/548)) ([e47cd27](https://github.com/cloudquery/setup-cloudquery/commit/e47cd27453e0ba300667e9bc8aca5935a3c2eeed)) * **deps:** Update dependency eslint-plugin-n to v17.10.1 ([#553](https://github.com/cloudquery/setup-cloudquery/issues/553)) ([d39edbd](https://github.com/cloudquery/setup-cloudquery/commit/d39edbd48c9e5f23bf53acbb11b17c137d56fc50)) * **deps:** Update dependency eslint-plugin-prettier to v5.2.1 ([#554](https://github.com/cloudquery/setup-cloudquery/issues/554)) ([b613ef0](https://github.com/cloudquery/setup-cloudquery/commit/b613ef0e8c4947ded6c86725b5a45271959e38ad)) * **deps:** Update dependency husky to v9.1.4 ([#555](https://github.com/cloudquery/setup-cloudquery/issues/555)) ([85b8c4c](https://github.com/cloudquery/setup-cloudquery/commit/85b8c4c750b7aacefcade9fd69293ed05ab032e1)) * **deps:** Update dependency prettier to v3.3.3 ([#550](https://github.com/cloudquery/setup-cloudquery/issues/550)) ([d4ff5c6](https://github.com/cloudquery/setup-cloudquery/commit/d4ff5c627ad1dbb76640ee2dab97dc1f3776df24)) * **deps:** Update dependency semver to v7.6.3 ([#551](https://github.com/cloudquery/setup-cloudquery/issues/551)) ([b8dd5ab](https://github.com/cloudquery/setup-cloudquery/commit/b8dd5abd7e2841741ff1dc2e494209b51a195de1)) * **deps:** Update dependency typescript to v5.5.4 ([#552](https://github.com/cloudquery/setup-cloudquery/issues/552)) ([fbb2898](https://github.com/cloudquery/setup-cloudquery/commit/fbb2898148bfa31a4ab6df158989f30423e4db63)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 13 +++++++++++++ dist/index.js | 34 ++++++++++++++++++++++++---------- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 40 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aed0125..fe9e686 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [3.0.18](https://github.com/cloudquery/setup-cloudquery/compare/v3.0.17...v3.0.18) (2024-08-01) + + +### Bug Fixes + +* **deps:** Update dependency @types/node to v20.14.13 ([#548](https://github.com/cloudquery/setup-cloudquery/issues/548)) ([e47cd27](https://github.com/cloudquery/setup-cloudquery/commit/e47cd27453e0ba300667e9bc8aca5935a3c2eeed)) +* **deps:** Update dependency eslint-plugin-n to v17.10.1 ([#553](https://github.com/cloudquery/setup-cloudquery/issues/553)) ([d39edbd](https://github.com/cloudquery/setup-cloudquery/commit/d39edbd48c9e5f23bf53acbb11b17c137d56fc50)) +* **deps:** Update dependency eslint-plugin-prettier to v5.2.1 ([#554](https://github.com/cloudquery/setup-cloudquery/issues/554)) ([b613ef0](https://github.com/cloudquery/setup-cloudquery/commit/b613ef0e8c4947ded6c86725b5a45271959e38ad)) +* **deps:** Update dependency husky to v9.1.4 ([#555](https://github.com/cloudquery/setup-cloudquery/issues/555)) ([85b8c4c](https://github.com/cloudquery/setup-cloudquery/commit/85b8c4c750b7aacefcade9fd69293ed05ab032e1)) +* **deps:** Update dependency prettier to v3.3.3 ([#550](https://github.com/cloudquery/setup-cloudquery/issues/550)) ([d4ff5c6](https://github.com/cloudquery/setup-cloudquery/commit/d4ff5c627ad1dbb76640ee2dab97dc1f3776df24)) +* **deps:** Update dependency semver to v7.6.3 ([#551](https://github.com/cloudquery/setup-cloudquery/issues/551)) ([b8dd5ab](https://github.com/cloudquery/setup-cloudquery/commit/b8dd5abd7e2841741ff1dc2e494209b51a195de1)) +* **deps:** Update dependency typescript to v5.5.4 ([#552](https://github.com/cloudquery/setup-cloudquery/issues/552)) ([fbb2898](https://github.com/cloudquery/setup-cloudquery/commit/fbb2898148bfa31a4ab6df158989f30423e4db63)) + ## [3.0.17](https://github.com/cloudquery/setup-cloudquery/compare/v3.0.16...v3.0.17) (2024-07-05) diff --git a/dist/index.js b/dist/index.js index d1ac415..8385828 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2613,6 +2613,8 @@ const Range = __nccwpck_require__(9828) /***/ 9828: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +const SPACE_CHARACTERS = /\s+/g + // hoisted class for cyclic dependency class Range { constructor (range, options) { @@ -2633,7 +2635,7 @@ class Range { // just put it in the set and return this.raw = range.value this.set = [[range]] - this.format() + this.formatted = undefined return this } @@ -2644,10 +2646,7 @@ class Range { // First reduce all whitespace as much as possible so we do not have to rely // on potentially slow regexes like \s*. This is then stored and used for // future error messages as well. - this.raw = range - .trim() - .split(/\s+/) - .join(' ') + this.raw = range.trim().replace(SPACE_CHARACTERS, ' ') // First, split on || this.set = this.raw @@ -2681,14 +2680,29 @@ class Range { } } - this.format() + this.formatted = undefined + } + + get range () { + if (this.formatted === undefined) { + this.formatted = '' + for (let i = 0; i < this.set.length; i++) { + if (i > 0) { + this.formatted += '||' + } + const comps = this.set[i] + for (let k = 0; k < comps.length; k++) { + if (k > 0) { + this.formatted += ' ' + } + this.formatted += comps[k].toString().trim() + } + } + } + return this.formatted } format () { - this.range = this.set - .map((comps) => comps.join(' ').trim()) - .join('||') - .trim() return this.range } diff --git a/package-lock.json b/package-lock.json index 03dfea3..267960d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cloudquery/setup-cloudquery", - "version": "3.0.17", + "version": "3.0.18", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@cloudquery/setup-cloudquery", - "version": "3.0.17", + "version": "3.0.18", "license": "MIT", "dependencies": { "@actions/core": "1.10.1", diff --git a/package.json b/package.json index a84b0c4..39caf89 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cloudquery/setup-cloudquery", - "version": "3.0.17", + "version": "3.0.18", "description": "Setup CloudQuery CLI in a GitHub action environment", "main": "dist/index.js", "type": "module",