Skip to content

Commit

Permalink
fix(deps): update all non-major dependencies (#29)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
|
[@sentry/node](https://github.com/getsentry/sentry-javascript/tree/master/packages/node)
([source](https://github.com/getsentry/sentry-javascript)) |
[`^8.13.0` ->
`^8.17.0`](https://renovatebot.com/diffs/npm/@sentry%2fnode/8.13.0/8.17.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fnode/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fnode/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fnode/8.13.0/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fnode/8.13.0/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor |
|
[@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ws)
([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws))
| [`^8.5.10` ->
`^8.5.11`](https://renovatebot.com/diffs/npm/@types%2fws/8.5.10/8.5.11)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fws/8.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fws/8.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fws/8.5.10/8.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fws/8.5.10/8.5.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [discord-api-types](https://discord-api-types.dev)
([source](https://github.com/discordjs/discord-api-types)) |
[`^0.37.91` ->
`^0.37.92`](https://renovatebot.com/diffs/npm/discord-api-types/0.37.91/0.37.92)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/discord-api-types/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/discord-api-types/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/discord-api-types/0.37.91/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/discord-api-types/0.37.91/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| resolutions | patch |
| [discord-api-types](https://discord-api-types.dev)
([source](https://github.com/discordjs/discord-api-types)) |
[`^0.37.91` ->
`^0.37.92`](https://renovatebot.com/diffs/npm/discord-api-types/0.37.91/0.37.92)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/discord-api-types/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/discord-api-types/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/discord-api-types/0.37.91/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/discord-api-types/0.37.91/0.37.92?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch |
|
[docker/build-push-action](https://github.com/docker/build-push-action)
| `v6.2.0` -> `v6.4.0` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/docker%2fbuild-push-action/v6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/docker%2fbuild-push-action/v6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/docker%2fbuild-push-action/v6.2.0/v6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/docker%2fbuild-push-action/v6.2.0/v6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| action | minor |
|
[docker/setup-buildx-action](https://github.com/docker/setup-buildx-action)
| `v3.3.0` -> `v3.4.0` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/docker%2fsetup-buildx-action/v3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/docker%2fsetup-buildx-action/v3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/docker%2fsetup-buildx-action/v3.3.0/v3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/docker%2fsetup-buildx-action/v3.3.0/v3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| action | minor |
| [node](https://nodejs.org)
([source](https://github.com/nodejs/node)) | [`20.15.0` ->
`20.15.1`](https://renovatebot.com/diffs/npm/node/v20.15.0/v20.15.1) |
[![age](https://developer.mend.io/api/mc/badges/age/node-version/node/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/node-version/node/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/node-version/node/v20.15.0/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/node-version/node/v20.15.0/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| volta | patch |
| [prettier](https://prettier.io)
([source](https://github.com/prettier/prettier)) | [`^3.3.2` ->
`^3.3.3`](https://renovatebot.com/diffs/npm/prettier/3.3.2/3.3.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.3.2/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.3.2/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |

---

### Release Notes

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/node)</summary>

###
[`v8.17.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8170)

[Compare
Source](https://github.com/getsentry/sentry-javascript/compare/8.16.0...8.17.0)

- feat: Upgrade OTEL deps
([#&#8203;12809](https://github.com/getsentry/sentry-javascript/issues/12809))
- fix(nuxt): Add module to build:transpile script
([#&#8203;12843](https://github.com/getsentry/sentry-javascript/issues/12843))
- fix(browser): Allow SDK initialization in NW.js apps
([#&#8203;12846](https://github.com/getsentry/sentry-javascript/issues/12846))

###
[`v8.16.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8160)

[Compare
Source](https://github.com/getsentry/sentry-javascript/compare/8.15.0...8.16.0)

##### Important Changes

- **feat(nextjs): Use spans generated by Next.js for App Router
([#&#8203;12729](https://github.com/getsentry/sentry-javascript/issues/12729))**

Previously, the `@sentry/nextjs` SDK automatically recorded spans in the
form of transactions for each of your top-level
server components (pages, layouts, ...). This approach had a few
drawbacks, the main ones being that traces didn't have
a root span, and more importantly, if you had data stream to the client,
its duration was not captured because the
server component spans had finished before the data could finish
streaming.

With this release, we will capture the duration of App Router requests
in their entirety as a single transaction with
server component spans being descendants of that transaction. This means
you will get more data that is also more
accurate. Note that this does not apply to the Edge runtime. For the
Edge runtime, the SDK will emit transactions as it
has before.

Generally speaking, this change means that you will see less
*transactions* and more *spans* in Sentry. You will no
longer receive server component transactions like `Page Server Component
(/path/to/route)` (unless using the Edge
runtime), and you will instead receive transactions for your App Router
SSR requests that look like
`GET /path/to/route`.

If you are on Sentry SaaS, this may have an effect on your quota
consumption: Less transactions, more spans.

- **- feat(nestjs): Add nest cron monitoring support
([#&#8203;12781](https://github.com/getsentry/sentry-javascript/issues/12781))**

The `@sentry/nestjs` SDK now includes a `@SentryCron` decorator that can
be used to augment the native NestJS `@Cron`
decorator to send check-ins to Sentry before and after each cron job
run:

```typescript
import { Cron } from '@&#8203;nestjs/schedule';
import { SentryCron, MonitorConfig } from '@&#8203;sentry/nestjs';
import type { MonitorConfig } from '@&#8203;sentry/types';

const monitorConfig: MonitorConfig = {
  schedule: {
    type: 'crontab',
    value: '* * * * *',
  },
  checkinMargin: 2, // In minutes. Optional.
  maxRuntime: 10, // In minutes. Optional.
  timezone: 'America/Los_Angeles', // Optional.
};

export class MyCronService {
  @&#8203;Cron('* * * * *')
  @&#8203;SentryCron('my-monitor-slug', monitorConfig)
  handleCron() {
    // Your cron job logic here
  }
}
```

##### Other Changes

- feat(node): Allow to pass instrumentation config to `httpIntegration`
([#&#8203;12761](https://github.com/getsentry/sentry-javascript/issues/12761))
- feat(nuxt): Add server error hook
([#&#8203;12796](https://github.com/getsentry/sentry-javascript/issues/12796))
- feat(nuxt): Inject sentry config with Nuxt `addPluginTemplate`
([#&#8203;12760](https://github.com/getsentry/sentry-javascript/issues/12760))
- fix: Apply stack frame metadata before event processors
([#&#8203;12799](https://github.com/getsentry/sentry-javascript/issues/12799))
- fix(feedback): Add missing `h` import in `ScreenshotEditor`
([#&#8203;12784](https://github.com/getsentry/sentry-javascript/issues/12784))
- fix(node): Ensure `autoSessionTracking` is enabled by default
([#&#8203;12790](https://github.com/getsentry/sentry-javascript/issues/12790))
- ref(feedback): Let CropCorner inherit the existing h prop
([#&#8203;12814](https://github.com/getsentry/sentry-javascript/issues/12814))
- ref(otel): Ensure we never swallow args for ContextManager
([#&#8203;12798](https://github.com/getsentry/sentry-javascript/issues/12798))

###
[`v8.15.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8150)

[Compare
Source](https://github.com/getsentry/sentry-javascript/compare/8.14.0...8.15.0)

- feat(core): allow unregistering callback through `on`
([#&#8203;11710](https://github.com/getsentry/sentry-javascript/issues/11710))
- feat(nestjs): Add function-level span decorator to nestjs
([#&#8203;12721](https://github.com/getsentry/sentry-javascript/issues/12721))
- feat(otel): Export & use `spanTimeInputToSeconds` for otel span
exporter
([#&#8203;12699](https://github.com/getsentry/sentry-javascript/issues/12699))
- fix(core): Pass origin as referrer for `lazyLoadIntegration`
([#&#8203;12766](https://github.com/getsentry/sentry-javascript/issues/12766))
- fix(deno): Publish from build directory
([#&#8203;12773](https://github.com/getsentry/sentry-javascript/issues/12773))
- fix(hapi): Specify error channel to filter boom errors
([#&#8203;12725](https://github.com/getsentry/sentry-javascript/issues/12725))
- fix(react): Revert back to `jsxRuntime: 'classic'` to prevent breaking
react 17
([#&#8203;12775](https://github.com/getsentry/sentry-javascript/issues/12775))
- fix(tracing): Report dropped spans for transactions
([#&#8203;12751](https://github.com/getsentry/sentry-javascript/issues/12751))
- ref(scope): Delete unused public `getStack()`
([#&#8203;12737](https://github.com/getsentry/sentry-javascript/issues/12737))

Work in this release was contributed by
[@&#8203;arturovt](https://github.com/arturovt) and
[@&#8203;jaulz](https://github.com/jaulz). Thank you for your
contributions!

###
[`v8.14.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8140)

[Compare
Source](https://github.com/getsentry/sentry-javascript/compare/8.13.0...8.14.0)

##### Important Changes

- **feat(nestjs): Filter 4xx errors
([#&#8203;12695](https://github.com/getsentry/sentry-javascript/issues/12695))**

The `@sentry/nestjs` SDK no longer captures 4xx errors automatically.

##### Other Changes

- chore(react): Remove private namespace `JSX`
([#&#8203;12691](https://github.com/getsentry/sentry-javascript/issues/12691))
- feat(deps): bump
[@&#8203;opentelemetry/propagator-aws-xray](https://github.com/opentelemetry/propagator-aws-xray)
from 1.25.0 to 1.25.1
([#&#8203;12719](https://github.com/getsentry/sentry-javascript/issues/12719))
- feat(deps): bump
[@&#8203;prisma/instrumentation](https://github.com/prisma/instrumentation)
from 5.16.0 to 5.16.1
([#&#8203;12718](https://github.com/getsentry/sentry-javascript/issues/12718))
- feat(node): Add `registerEsmLoaderHooks` option
([#&#8203;12684](https://github.com/getsentry/sentry-javascript/issues/12684))
- feat(opentelemetry): Expose sampling helper
([#&#8203;12674](https://github.com/getsentry/sentry-javascript/issues/12674))
- fix(browser): Make sure measure spans have valid start timestamps
([#&#8203;12648](https://github.com/getsentry/sentry-javascript/issues/12648))
- fix(hapi): Widen type definitions
([#&#8203;12710](https://github.com/getsentry/sentry-javascript/issues/12710))
- fix(nextjs): Attempt to ignore critical dependency warnings
([#&#8203;12694](https://github.com/getsentry/sentry-javascript/issues/12694))
- fix(react): Fix React jsx runtime import for esm
([#&#8203;12740](https://github.com/getsentry/sentry-javascript/issues/12740))
- fix(replay): Start replay in `afterAllSetup` instead of next tick
([#&#8203;12709](https://github.com/getsentry/sentry-javascript/issues/12709))

Work in this release was contributed by
[@&#8203;quisido](https://github.com/quisido). Thank you for your
contribution!

</details>

<details>
<summary>discordjs/discord-api-types (discord-api-types)</summary>

###
[`v0.37.92`](https://github.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#03792-2024-07-04)

[Compare
Source](https://github.com/discordjs/discord-api-types/compare/0.37.91...0.37.92)

##### Bug Fixes

- **RESTAPIPollCreate:** optional properties
([#&#8203;1022](https://github.com/discordjs/discord-api-types/issues/1022))
([c05998d](https://github.com/discordjs/discord-api-types/commit/c05998de274ef7a8d570db9d23c9ad9c228eeccc))

</details>

<details>
<summary>docker/build-push-action (docker/build-push-action)</summary>

###
[`v6.4.0`](https://github.com/docker/build-push-action/releases/tag/v6.4.0)

[Compare
Source](https://github.com/docker/build-push-action/compare/v6.3.0...v6.4.0)

- Set `repository` and `ghtoken` attributes for [GitHub Actions cache
backend](https://docs.docker.com/build/cache/backends/gha/#avoid-github-actions-cache-api-throttling)
by [@&#8203;crazy-max](https://github.com/crazy-max) in
[docker/build-push-action#1133
- Bump
[@&#8203;docker/actions-toolkit](https://github.com/docker/actions-toolkit)
from 0.31.0 to 0.33.0 in
[docker/build-push-action#1179

**Full Changelog**:
docker/build-push-action@v6.3.0...v6.4.0

###
[`v6.3.0`](https://github.com/docker/build-push-action/releases/tag/v6.3.0)

[Compare
Source](https://github.com/docker/build-push-action/compare/v6.2.0...v6.3.0)

- `DOCKER_BUILD_RECORD_UPLOAD` environment variable to enable/disable
build record upload by
[@&#8203;crazy-max](https://github.com/crazy-max) in
[docker/build-push-action#1172
- `DOCKER_BUILD_NO_SUMMARY` has been deprecated. Set
`DOCKER_BUILD_SUMMARY` to `false` instead by
[@&#8203;crazy-max](https://github.com/crazy-max) in
[docker/build-push-action#1170
[docker/build-push-action#1173
- Bump
[@&#8203;docker/actions-toolkit](https://github.com/docker/actions-toolkit)
from 0.28.0 to 0.31.0 in
[docker/build-push-action#1171
[docker/build-push-action#1159
[docker/build-push-action#1169

**Full Changelog**:
docker/build-push-action@v6.2.0...v6.3.0

</details>

<details>
<summary>docker/setup-buildx-action
(docker/setup-buildx-action)</summary>

###
[`v3.4.0`](https://github.com/docker/setup-buildx-action/releases/tag/v3.4.0)

[Compare
Source](https://github.com/docker/setup-buildx-action/compare/v3.3.0...v3.4.0)

- Throw error message instead of exit code by
[@&#8203;crazy-max](https://github.com/crazy-max) in
[docker/setup-buildx-action#315
- Bump
[@&#8203;docker/actions-toolkit](https://github.com/docker/actions-toolkit)
from 0.20.0 to 0.31.0 in
[docker/setup-buildx-action#321
[docker/setup-buildx-action#338
- Bump braces from 3.0.2 to 3.0.3 in
[docker/setup-buildx-action#329
- Bump undici from 5.28.3 to 5.28.4 in
[docker/setup-buildx-action#312
- Bump uuid from 9.0.1 to 10.0.0 in
[docker/setup-buildx-action#326

**Full Changelog**:
docker/setup-buildx-action@v3.3.0...v3.4.0

</details>

<details>
<summary>nodejs/node (node)</summary>

###
[`v20.15.1`](https://github.com/nodejs/node/compare/v20.15.0...v20.15.1)

[Compare
Source](https://github.com/nodejs/node/compare/v20.15.0...v20.15.1)

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.3.3`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#333)

[Compare
Source](https://github.com/prettier/prettier/compare/3.3.2...3.3.3)

[diff](https://github.com/prettier/prettier/compare/3.3.2...3.3.3)

##### Add parentheses for nullish coalescing in ternary
([#&#8203;16391](https://github.com/prettier/prettier/pull/16391) by
[@&#8203;cdignam-segment](https://github.com/cdignam-segment))

This change adds clarity to operator precedence.

<!-- prettier-ignore -->

```js
// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
```

##### Add parentheses for decorator expressions
([#&#8203;16458](https://github.com/prettier/prettier/pull/16458) by
[@&#8203;y-schneider](https://github.com/y-schneider))

Prevent parentheses around member expressions or tagged template
literals from being removed to follow the stricter parsing rules of
TypeScript 5.5.

<!-- prettier-ignore -->

```ts
// Input
@&#8203;(foo`tagged template`)
class X {}

// Prettier 3.3.2
@&#8203;foo`tagged template`
class X {}

// Prettier 3.3.3
@&#8203;(foo`tagged template`)
class X {}
```

##### Support `@let` declaration syntax
([#&#8203;16474](https://github.com/prettier/prettier/pull/16474) by
[@&#8203;sosukesuzuki](https://github.com/sosukesuzuki))

Adds support for Angular v18 `@let` declaration syntax.

Please see the following code example. The `@let` declaration allows you
to define local variables within the template:

<!-- prettier-ignore -->

```html
@&#8203;let name = 'Frodo';

<h1>Dashboard for {{name}}</h1>
Hello, {{name}}
```

For more details, please refer to the excellent blog post by the Angular
Team: [Introducing @&#8203;let in
Angular](https://blog.angular.dev/introducing-let-in-angular-686f9f383f0f).

We also appreciate the Angular Team for kindly answering our questions
to implement this feature.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 12pm on Sunday" (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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/wolfstar-project/wolfstar).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
  • Loading branch information
RedStar071 committed Jul 15, 2024
2 parents 01cc429 + c76810d commit 81cfd19
Show file tree
Hide file tree
Showing 7 changed files with 153 additions and 336 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.3.0
uses: docker/setup-buildx-action@v3.4.0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push WolfStar Docker image
uses: docker/build-push-action@v6.2.0
uses: docker/build-push-action@v6.4.0
with:
push: true
context: .
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@sapphire/stopwatch": "^1.5.2",
"@sapphire/time-utilities": "^1.7.12",
"@sapphire/utilities": "^3.16.2",
"@sentry/node": "^8.13.0",
"@sentry/node": "^8.17.0",
"@skyra/ai": "^1.2.0",
"@skyra/char": "^1.0.3",
"@skyra/env-utilities": "^1.3.0",
Expand All @@ -85,7 +85,7 @@
"colorette": "^2.0.20",
"confusables": "^1.1.1",
"diff": "^5.2.0",
"discord-api-types": "^0.37.91",
"discord-api-types": "^0.37.92",
"discord.js": "^14.15.3",
"he": "^1.2.0",
"pg": "^8.12.0",
Expand All @@ -105,7 +105,7 @@
"@types/he": "^1.2.3",
"@types/node": "^20.11.17",
"@types/pg": "^8.11.6",
"@types/ws": "^8.5.10",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@vitest/coverage-v8": "^1.6.0",
Expand All @@ -114,15 +114,15 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"tsc-watch": "^6.2.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"resolutions": {
"@types/node": "20.11.5",
"ansi-regex": "^5.0.1",
"discord-api-types": "^0.37.91",
"discord-api-types": "^0.37.92",
"minimist": "^1.2.8"
},
"engines": {
Expand Down Expand Up @@ -150,6 +150,6 @@
"prettier": "@sapphire/prettier-config",
"packageManager": "yarn@4.3.1",
"volta": {
"node": "20.15.0"
"node": "20.15.1"
}
}
2 changes: 1 addition & 1 deletion src/arguments/roleName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class UserArgument extends Argument<Role> {

public resolveRole(query: string, guild: Guild) {
const role = RoleMentionRegex.exec(query) ?? SnowflakeRegex.exec(query);
return role ? guild.roles.cache.get(role[1]) ?? null : null;
return role ? (guild.roles.cache.get(role[1]) ?? null) : null;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/database/settings/schema/SchemaGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class SchemaGroup extends AliasedCollection<string, ISchemaValue> impleme

public getPathArray([key, ...tail]: NonEmptyArray<string>): ISchemaValue | null {
if (tail.length === 0) {
return key === '' || key === '.' ? this : this.get(key) ?? null;
return key === '' || key === '.' ? this : (this.get(key) ?? null);
}

const value = this.get(key);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/functions/emojis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ export function getEmojiObject(emoji: string): EmojiObject | null {
export function resolveEmojiId(emoji: EmojiObject | SerializedEmoji): string {
if (isNullish(emoji)) return '';

return typeof emoji === 'string' ? getEmojiId(emoji) : emoji.id ?? encodeURIComponent(emoji.name!);
return typeof emoji === 'string' ? getEmojiId(emoji) : (emoji.id ?? encodeURIComponent(emoji.name!));
}
4 changes: 3 additions & 1 deletion src/listeners/guilds/guildUpdateNotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ export class UserListener extends Listener<typeof Events.GuildUpdate> {

private displayWidgetEnabled(t: TFunction, previous: boolean | null, next: boolean | null): string {
return t(
next ?? !previous ? LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetEnabled : LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetDisabled
(next ?? !previous)
? LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetEnabled
: LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetDisabled
);
}
}
Loading

0 comments on commit 81cfd19

Please sign in to comment.