Skip to content

Commit 78d5497

Browse files
authored
chore(main): release 3.0.18 (#549)
🤖 I have created a release *beep* *boop* --- ## [3.0.18](v3.0.17...v3.0.18) (2024-08-01) ### Bug Fixes * **deps:** Update dependency @types/node to v20.14.13 ([#548](#548)) ([e47cd27](e47cd27)) * **deps:** Update dependency eslint-plugin-n to v17.10.1 ([#553](#553)) ([d39edbd](d39edbd)) * **deps:** Update dependency eslint-plugin-prettier to v5.2.1 ([#554](#554)) ([b613ef0](b613ef0)) * **deps:** Update dependency husky to v9.1.4 ([#555](#555)) ([85b8c4c](85b8c4c)) * **deps:** Update dependency prettier to v3.3.3 ([#550](#550)) ([d4ff5c6](d4ff5c6)) * **deps:** Update dependency semver to v7.6.3 ([#551](#551)) ([b8dd5ab](b8dd5ab)) * **deps:** Update dependency typescript to v5.5.4 ([#552](#552)) ([fbb2898](fbb2898)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
1 parent 85b8c4c commit 78d5497

File tree

4 files changed

+40
-13
lines changed

4 files changed

+40
-13
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## [3.0.18](https://github.com/cloudquery/setup-cloudquery/compare/v3.0.17...v3.0.18) (2024-08-01)
4+
5+
6+
### Bug Fixes
7+
8+
* **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))
9+
* **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))
10+
* **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))
11+
* **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))
12+
* **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))
13+
* **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))
14+
* **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))
15+
316
## [3.0.17](https://github.com/cloudquery/setup-cloudquery/compare/v3.0.16...v3.0.17) (2024-07-05)
417

518

dist/index.js

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,6 +2613,8 @@ const Range = __nccwpck_require__(9828)
26132613
/***/ 9828:
26142614
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
26152615

2616+
const SPACE_CHARACTERS = /\s+/g
2617+
26162618
// hoisted class for cyclic dependency
26172619
class Range {
26182620
constructor (range, options) {
@@ -2633,7 +2635,7 @@ class Range {
26332635
// just put it in the set and return
26342636
this.raw = range.value
26352637
this.set = [[range]]
2636-
this.format()
2638+
this.formatted = undefined
26372639
return this
26382640
}
26392641

@@ -2644,10 +2646,7 @@ class Range {
26442646
// First reduce all whitespace as much as possible so we do not have to rely
26452647
// on potentially slow regexes like \s*. This is then stored and used for
26462648
// future error messages as well.
2647-
this.raw = range
2648-
.trim()
2649-
.split(/\s+/)
2650-
.join(' ')
2649+
this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')
26512650

26522651
// First, split on ||
26532652
this.set = this.raw
@@ -2681,14 +2680,29 @@ class Range {
26812680
}
26822681
}
26832682

2684-
this.format()
2683+
this.formatted = undefined
2684+
}
2685+
2686+
get range () {
2687+
if (this.formatted === undefined) {
2688+
this.formatted = ''
2689+
for (let i = 0; i < this.set.length; i++) {
2690+
if (i > 0) {
2691+
this.formatted += '||'
2692+
}
2693+
const comps = this.set[i]
2694+
for (let k = 0; k < comps.length; k++) {
2695+
if (k > 0) {
2696+
this.formatted += ' '
2697+
}
2698+
this.formatted += comps[k].toString().trim()
2699+
}
2700+
}
2701+
}
2702+
return this.formatted
26852703
}
26862704

26872705
format () {
2688-
this.range = this.set
2689-
.map((comps) => comps.join(' ').trim())
2690-
.join('||')
2691-
.trim()
26922706
return this.range
26932707
}
26942708

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudquery/setup-cloudquery",
3-
"version": "3.0.17",
3+
"version": "3.0.18",
44
"description": "Setup CloudQuery CLI in a GitHub action environment",
55
"main": "dist/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)