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

fix: filter falsy values before sending request #1049

Merged
merged 1 commit into from
May 6, 2024

Conversation

joschan21
Copy link
Contributor

Implicit undefined values as the expiry option work, however passing an explicit undefined to our expire command is possible on the type-level but leads to a runtime error. This PR allows explicit undefined values by filtering them in our SDK before submitting.

Copy link

linear bot commented May 6, 2024

@ogzhanolguncu ogzhanolguncu merged commit 76f1b10 into main May 6, 2024
13 of 14 checks passed
@ogzhanolguncu ogzhanolguncu deleted the dx-885-explicit-undefined-throws-err branch May 6, 2024 07:55
renovate bot referenced this pull request in inabagumi/shinju-date May 6, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@upstash/redis](https://togithub.com/upstash/upstash-redis) |
[`^1.30.0` ->
`^1.30.1`](https://renovatebot.com/diffs/npm/@upstash%2fredis/1.30.0/1.30.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@upstash%2fredis/1.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@upstash%2fredis/1.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@upstash%2fredis/1.30.0/1.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@upstash%2fredis/1.30.0/1.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>upstash/upstash-redis (@&#8203;upstash/redis)</summary>

###
[`v1.30.1`](https://togithub.com/upstash/upstash-redis/releases/tag/v1.30.1)

[Compare
Source](https://togithub.com/upstash/upstash-redis/compare/v1.30.0...v1.30.1)

#### What's Changed

- fix: filter falsy values before sending request by
[@&#8203;joschan21](https://togithub.com/joschan21) in
[https://github.com/upstash/upstash-redis/pull/1049](https://togithub.com/upstash/upstash-redis/pull/1049)
- Fix detection unsafe integer by
[@&#8203;PlutoyDev](https://togithub.com/PlutoyDev) in
[https://github.com/upstash/upstash-redis/pull/1048](https://togithub.com/upstash/upstash-redis/pull/1048)

#### New Contributors

- [@&#8203;joschan21](https://togithub.com/joschan21) made their first
contribution in
[https://github.com/upstash/upstash-redis/pull/1049](https://togithub.com/upstash/upstash-redis/pull/1049)
- [@&#8203;PlutoyDev](https://togithub.com/PlutoyDev) made their first
contribution in
[https://github.com/upstash/upstash-redis/pull/1048](https://togithub.com/upstash/upstash-redis/pull/1048)

**Full Changelog**:
upstash/redis-js@v1.30.0...v1.30.1

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/inabagumi/shinju-date).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

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.

2 participants