Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WithBuiltin FormatterOption added #294

Merged

Conversation

atzedus
Copy link
Contributor

@atzedus atzedus commented May 16, 2024

Added WithBuiltin option for formatter.
Reason: emitBuiltin exists and used, but no chance enable it outside. We need it :)

I have:

  • Added tests covering the bug / feature
  • Updated any relevant documentation

@coveralls
Copy link

Coverage Status

coverage: 88.725% (-0.07%) from 88.797%
when pulling cc5ead9 on atzedus:ability-to-include-builtin-in-formatter
into 59e3c3a on vektah:master.

@StevenACoffman StevenACoffman merged commit 3c0d3ac into vektah:master May 16, 2024
4 of 5 checks passed
github-merge-queue bot pushed a commit to infratographer/x that referenced this pull request Aug 8, 2024
…ecurity] (#238)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/vektah/gqlparser/v2](https://github.com/vektah/gqlparser)
| `v2.5.11` -> `v2.5.14` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvektah%2fgqlparser%2fv2/v2.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvektah%2fgqlparser%2fv2/v2.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvektah%2fgqlparser%2fv2/v2.5.11/v2.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvektah%2fgqlparser%2fv2/v2.5.11/v2.5.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

#### [CVE-2023-49559](https://nvd.nist.gov/vuln/detail/CVE-2023-49559)

An issue in vektah gqlparser open-source-library v.2.5.10 allows a
remote attacker to cause a denial of service via a crafted script to the
parserDirectives function.

---

### Release Notes

<details>
<summary>vektah/gqlparser (github.com/vektah/gqlparser/v2)</summary>

###
[`v2.5.14`](https://github.com/vektah/gqlparser/releases/tag/v2.5.14)

[Compare
Source](https://github.com/vektah/gqlparser/compare/v2.5.13...v2.5.14)

#### What's Changed

- Add ParseQueryWithLimit by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[vektah/gqlparser#304

**Full Changelog**:
vektah/gqlparser@v2.5.13...v2.5.14

###
[`v2.5.13`](https://github.com/vektah/gqlparser/releases/tag/v2.5.13)

[Compare
Source](https://github.com/vektah/gqlparser/compare/v2.5.12...v2.5.13)

#### What's Changed

- Bump the actions-deps group in /validator/imported with 6 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[vektah/gqlparser#298
- Bump prettier from 3.2.5 to 3.3.0 in /validator/imported in the
actions-deps group by
[@&#8203;dependabot](https://github.com/dependabot) in
[vektah/gqlparser#299
- Bump the actions-deps group in /validator/imported with 7 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[vektah/gqlparser#301
- Bump braces from 3.0.2 to 3.0.3 in /validator/imported by
[@&#8203;dependabot](https://github.com/dependabot) in
[vektah/gqlparser#302
- Token limit fix CVE-2023-49559 by
[@&#8203;uvzz](https://github.com/uvzz) in
[vektah/gqlparser#291

#### New Contributors

- [@&#8203;uvzz](https://github.com/uvzz) made their first
contribution in
[vektah/gqlparser#291

**Full Changelog**:
vektah/gqlparser@v2.5.12...v2.5.13

###
[`v2.5.12`](https://github.com/vektah/gqlparser/releases/tag/v2.5.12)

[Compare
Source](https://github.com/vektah/gqlparser/compare/v2.5.11...v2.5.12)

##### What's Changed

- Disallow empty parens
([#&#8203;292](https://github.com/vektah/gqlparser/issues/292)). by
[@&#8203;yuchenshi](https://github.com/yuchenshi) in
[vektah/gqlparser#293
- WithBuiltin FormatterOption added by
[@&#8203;atzedus](https://github.com/atzedus) in
[vektah/gqlparser#294
- Redo github actions by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[vektah/gqlparser#295
- Bump github.com/stretchr/testify from 1.4.0 to 1.9.0 in the
actions-deps group by
[@&#8203;dependabot](https://github.com/dependabot) in
[vektah/gqlparser#296
- Bump the actions-deps group in /validator/imported with 8 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[vektah/gqlparser#297

##### New Contributors

- [@&#8203;yuchenshi](https://github.com/yuchenshi) made their first
contribution in
[vektah/gqlparser#293

**Full Changelog**:
vektah/gqlparser@v2.5.11...v2.5.12

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/infratographer/x).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants