-
Notifications
You must be signed in to change notification settings - Fork 27
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
refactor(index): use TypeError
over Error
#166
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uzlopak
approved these changes
Oct 18, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Fdawgs semver-major?
:P
bodinsamuel
referenced
this pull request
in specfy/specfy
Nov 3, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [env-schema](https://github.com/fastify/env-schema) | [`5.2.0` -> `5.2.1`](https://renovatebot.com/diffs/npm/env-schema/5.2.0/5.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/env-schema/5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/env-schema/5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/env-schema/5.2.0/5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/env-schema/5.2.0/5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>fastify/env-schema (env-schema)</summary> ### [`v5.2.1`](https://github.com/fastify/env-schema/releases/tag/v5.2.1) [Compare Source](https://github.com/fastify/env-schema/compare/v5.2.0...v5.2.1) #### What's Changed - chore(deps-dev): bump tsd from 0.24.1 to 0.25.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/140](https://github.com/fastify/env-schema/pull/140) - chore(deps): bump dotenv-expand from 9.0.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/141](https://github.com/fastify/env-schema/pull/141) - chore(.gitignore): add clinic by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/145](https://github.com/fastify/env-schema/pull/145) - chore(.gitignore): add bun lockfile by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/147](https://github.com/fastify/env-schema/pull/147) - chore(deps-dev): bump tsd from 0.25.0 to 0.26.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/148](https://github.com/fastify/env-schema/pull/148) - docs: Resolve the issue [#​146](https://github.com/fastify/env-schema/issues/146). by [@​aderchox](https://github.com/aderchox) in [https://github.com/fastify/env-schema/pull/149](https://github.com/fastify/env-schema/pull/149) - chore(deps-dev): bump tsd from 0.26.1 to 0.27.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/150](https://github.com/fastify/env-schema/pull/150) - chore(deps-dev): bump tsd from 0.27.0 to 0.28.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/151](https://github.com/fastify/env-schema/pull/151) - chore(deps-dev): bump [@​sinclair/typebox](https://github.com/sinclair/typebox) from 0.25.24 to 0.26.5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/152](https://github.com/fastify/env-schema/pull/152) - chore(deps-dev): bump [@​sinclair/typebox](https://github.com/sinclair/typebox) from 0.26.8 to 0.27.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/153](https://github.com/fastify/env-schema/pull/153) - chore(deps-dev): bump [@​sinclair/typebox](https://github.com/sinclair/typebox) from 0.27.8 to 0.28.5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/154](https://github.com/fastify/env-schema/pull/154) - ci: only trigger on pushes to main branches by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/155](https://github.com/fastify/env-schema/pull/155) - chore(deps-dev): bump [@​sinclair/typebox](https://github.com/sinclair/typebox) from 0.28.20 to 0.29.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/156](https://github.com/fastify/env-schema/pull/156) - docs: update README with section about data loading order by [@​lirantal](https://github.com/lirantal) in [https://github.com/fastify/env-schema/pull/158](https://github.com/fastify/env-schema/pull/158) - docs: adding reference guide by [@​lirantal](https://github.com/lirantal) in [https://github.com/fastify/env-schema/pull/144](https://github.com/fastify/env-schema/pull/144) - chore(deps-dev): bump [@​sinclair/typebox](https://github.com/sinclair/typebox) from 0.29.6 to 0.30.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/159](https://github.com/fastify/env-schema/pull/159) - chore(deps-dev): bump [@​sinclair/typebox](https://github.com/sinclair/typebox) from 0.30.4 to 0.31.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/160](https://github.com/fastify/env-schema/pull/160) - chore(deps-dev): bump tsd from 0.28.1 to 0.29.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/env-schema/pull/161](https://github.com/fastify/env-schema/pull/161) - test: use `node:` prefix to bypass require.cache call for builtins by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/162](https://github.com/fastify/env-schema/pull/162) - chore: add `.gitattributes` file by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/164](https://github.com/fastify/env-schema/pull/164) - refactor(index): use object destructuring by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/165](https://github.com/fastify/env-schema/pull/165) - refactor(index): use `TypeError` over `Error` by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/166](https://github.com/fastify/env-schema/pull/166) - test(fluent-schema): optimize split param by [@​Fdawgs](https://github.com/Fdawgs) in [https://github.com/fastify/env-schema/pull/167](https://github.com/fastify/env-schema/pull/167) - fix: correct expandEnv bug when passing in a new object in the data option by [@​serdnam](https://github.com/serdnam) in [https://github.com/fastify/env-schema/pull/168](https://github.com/fastify/env-schema/pull/168) #### New Contributors - [@​aderchox](https://github.com/aderchox) made their first contribution in [https://github.com/fastify/env-schema/pull/149](https://github.com/fastify/env-schema/pull/149) - [@​lirantal](https://github.com/lirantal) made their first contribution in [https://github.com/fastify/env-schema/pull/158](https://github.com/fastify/env-schema/pull/158) - [@​serdnam](https://github.com/serdnam) made their first contribution in [https://github.com/fastify/env-schema/pull/168](https://github.com/fastify/env-schema/pull/168) **Full Changelog**: fastify/env-schema@v5.2.0...v5.2.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm every weekday" in timezone Europe/Paris, 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/specfy/specfy). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6ImNob3JlL3Jlbm92YXRlQmFzZUJyYW5jaCJ9--> 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bit more appropriate considering the error is the result of a failed
instanceof
check.Checklist
npm run test
andnpm run benchmark
and the Code of conduct