-
Notifications
You must be signed in to change notification settings - Fork 898
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
Correct type of pino
's stream
parameter
#1874
Conversation
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.
Can you add a test with tsd
?
Sorry for the delay, @mcollina . I've added it. 👍 |
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.
lgtm
Is it possible to re-run the failed test? I think it timed out. |
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pino](https://getpino.io) ([source](https://github.com/pinojs/pino)) | [`^8.17.2` -> `^8.18.0`](https://renovatebot.com/diffs/npm/pino/8.17.2/8.18.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pinojs/pino (pino)</summary> ### [`v8.18.0`](https://github.com/pinojs/pino/releases/tag/v8.18.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0) #### What's Changed - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1873](https://github.com/pinojs/pino/pull/1873) - chore(license): Update licensing year by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - fix: destination docs and types by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1881](https://github.com/pinojs/pino/pull/1881) - Correct type of `pino`'s `stream` parameter by [@​quisido](https://github.com/quisido) in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - Add ability to override custom levels comparison by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) - build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1888](https://github.com/pinojs/pino/pull/1888) #### New Contributors - [@​codershiba](https://github.com/codershiba) made their first contribution in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - [@​quisido](https://github.com/quisido) made their first contribution in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - [@​obrus-corcentric](https://github.com/obrus-corcentric) made their first contribution in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) **Full Changelog**: pinojs/pino@v8.17.2...v8.18.0 </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 these updates 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/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pino](https://getpino.io) ([source](https://github.com/pinojs/pino)) | [`8.16.2` -> `8.19.0`](https://renovatebot.com/diffs/npm/pino/8.16.2/8.19.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pinojs/pino (pino)</summary> ### [`v8.19.0`](https://github.com/pinojs/pino/releases/tag/v8.19.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.18.0...v8.19.0) #### What's Changed - api.md: Fix link declaration by [@​homersimpsons](https://github.com/homersimpsons) in [https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900) - Update transports.md by [@​huijiewei](https://github.com/huijiewei) in [https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897) - Add a basic `formatters` option to the browser pino by [@​KatelynKim](https://github.com/KatelynKim) in [https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898) - `setLevel` should respect level comparison option by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1901](https://github.com/pinojs/pino/pull/1901) - Add formatters log option by [@​KatelynKim](https://github.com/KatelynKim) in [https://github.com/pinojs/pino/pull/1905](https://github.com/pinojs/pino/pull/1905) #### New Contributors - [@​homersimpsons](https://github.com/homersimpsons) made their first contribution in [https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900) - [@​huijiewei](https://github.com/huijiewei) made their first contribution in [https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897) - [@​KatelynKim](https://github.com/KatelynKim) made their first contribution in [https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898) **Full Changelog**: pinojs/pino@v8.18.0...v8.19.0 ### [`v8.18.0`](https://github.com/pinojs/pino/releases/tag/v8.18.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0) #### What's Changed - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1873](https://github.com/pinojs/pino/pull/1873) - chore(license): Update licensing year by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - fix: destination docs and types by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1881](https://github.com/pinojs/pino/pull/1881) - Correct type of `pino`'s `stream` parameter by [@​quisido](https://github.com/quisido) in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - Add ability to override custom levels comparison by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) - build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1888](https://github.com/pinojs/pino/pull/1888) #### New Contributors - [@​codershiba](https://github.com/codershiba) made their first contribution in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - [@​quisido](https://github.com/quisido) made their first contribution in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - [@​obrus-corcentric](https://github.com/obrus-corcentric) made their first contribution in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) **Full Changelog**: pinojs/pino@v8.17.2...v8.18.0 ### [`v8.17.2`](https://github.com/pinojs/pino/releases/tag/v8.17.2) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.1...v8.17.2) #### What's Changed - build(deps): bump process-warning from 2.3.2 to 3.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1869](https://github.com/pinojs/pino/pull/1869) - fix: type of child logger with custom levels by [@​UndefinedBehaviour](https://github.com/UndefinedBehaviour) in [https://github.com/pinojs/pino/pull/1871](https://github.com/pinojs/pino/pull/1871) **Full Changelog**: pinojs/pino@v8.17.1...v8.17.2 ### [`v8.17.1`](https://github.com/pinojs/pino/releases/tag/v8.17.1) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1) #### What's Changed - Support unknown, reverts 1783, add tests by [@​mcollina](https://github.com/mcollina) in [https://github.com/pinojs/pino/pull/1866](https://github.com/pinojs/pino/pull/1866) - Add Type Example for custom logger by [@​mcollina](https://github.com/mcollina) in [https://github.com/pinojs/pino/pull/1867](https://github.com/pinojs/pino/pull/1867) **Full Changelog**: pinojs/pino@v8.17.0...v8.17.1 ### [`v8.17.0`](https://github.com/pinojs/pino/releases/tag/v8.17.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0) #### What's Changed - build(deps): bump actions/github-script from 6 to 7 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1857](https://github.com/pinojs/pino/pull/1857) - Make license detectable by GitHub by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859) - docs: Clarify how to log both to a custom transport and to stdout by [@​kibertoad](https://github.com/kibertoad) in [https://github.com/pinojs/pino/pull/1860](https://github.com/pinojs/pino/pull/1860) - Fix/types by [@​UndefinedBehaviour](https://github.com/UndefinedBehaviour) in [https://github.com/pinojs/pino/pull/1858](https://github.com/pinojs/pino/pull/1858) - Bumped tsd to v0.29.0 by [@​mcollina](https://github.com/mcollina) in [https://github.com/pinojs/pino/pull/1863](https://github.com/pinojs/pino/pull/1863) - fix: typescript types by [@​Zamiell](https://github.com/Zamiell) in [https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783) - build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1766](https://github.com/pinojs/pino/pull/1766) #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859) - [@​Zamiell](https://github.com/Zamiell) made their first contribution in [https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783) **Full Changelog**: pinojs/pino@v8.16.2...v8.17.0 </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/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Price <[email protected]>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pino](https://getpino.io) ([source](https://github.com/pinojs/pino)) | [`8.16.2` -> `8.19.0`](https://renovatebot.com/diffs/npm/pino/8.16.2/8.19.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pinojs/pino (pino)</summary> ### [`v8.19.0`](https://github.com/pinojs/pino/releases/tag/v8.19.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.18.0...v8.19.0) #### What's Changed - api.md: Fix link declaration by [@​homersimpsons](https://github.com/homersimpsons) in [https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900) - Update transports.md by [@​huijiewei](https://github.com/huijiewei) in [https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897) - Add a basic `formatters` option to the browser pino by [@​KatelynKim](https://github.com/KatelynKim) in [https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898) - `setLevel` should respect level comparison option by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1901](https://github.com/pinojs/pino/pull/1901) - Add formatters log option by [@​KatelynKim](https://github.com/KatelynKim) in [https://github.com/pinojs/pino/pull/1905](https://github.com/pinojs/pino/pull/1905) #### New Contributors - [@​homersimpsons](https://github.com/homersimpsons) made their first contribution in [https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900) - [@​huijiewei](https://github.com/huijiewei) made their first contribution in [https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897) - [@​KatelynKim](https://github.com/KatelynKim) made their first contribution in [https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898) **Full Changelog**: pinojs/pino@v8.18.0...v8.19.0 ### [`v8.18.0`](https://github.com/pinojs/pino/releases/tag/v8.18.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0) #### What's Changed - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1873](https://github.com/pinojs/pino/pull/1873) - chore(license): Update licensing year by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - fix: destination docs and types by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1881](https://github.com/pinojs/pino/pull/1881) - Correct type of `pino`'s `stream` parameter by [@​quisido](https://github.com/quisido) in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - Add ability to override custom levels comparison by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) - build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1888](https://github.com/pinojs/pino/pull/1888) #### New Contributors - [@​codershiba](https://github.com/codershiba) made their first contribution in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - [@​quisido](https://github.com/quisido) made their first contribution in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - [@​obrus-corcentric](https://github.com/obrus-corcentric) made their first contribution in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) **Full Changelog**: pinojs/pino@v8.17.2...v8.18.0 ### [`v8.17.2`](https://github.com/pinojs/pino/releases/tag/v8.17.2) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.1...v8.17.2) #### What's Changed - build(deps): bump process-warning from 2.3.2 to 3.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1869](https://github.com/pinojs/pino/pull/1869) - fix: type of child logger with custom levels by [@​UndefinedBehaviour](https://github.com/UndefinedBehaviour) in [https://github.com/pinojs/pino/pull/1871](https://github.com/pinojs/pino/pull/1871) **Full Changelog**: pinojs/pino@v8.17.1...v8.17.2 ### [`v8.17.1`](https://github.com/pinojs/pino/releases/tag/v8.17.1) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1) #### What's Changed - Support unknown, reverts 1783, add tests by [@​mcollina](https://github.com/mcollina) in [https://github.com/pinojs/pino/pull/1866](https://github.com/pinojs/pino/pull/1866) - Add Type Example for custom logger by [@​mcollina](https://github.com/mcollina) in [https://github.com/pinojs/pino/pull/1867](https://github.com/pinojs/pino/pull/1867) **Full Changelog**: pinojs/pino@v8.17.0...v8.17.1 ### [`v8.17.0`](https://github.com/pinojs/pino/releases/tag/v8.17.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0) #### What's Changed - build(deps): bump actions/github-script from 6 to 7 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1857](https://github.com/pinojs/pino/pull/1857) - Make license detectable by GitHub by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859) - docs: Clarify how to log both to a custom transport and to stdout by [@​kibertoad](https://github.com/kibertoad) in [https://github.com/pinojs/pino/pull/1860](https://github.com/pinojs/pino/pull/1860) - Fix/types by [@​UndefinedBehaviour](https://github.com/UndefinedBehaviour) in [https://github.com/pinojs/pino/pull/1858](https://github.com/pinojs/pino/pull/1858) - Bumped tsd to v0.29.0 by [@​mcollina](https://github.com/mcollina) in [https://github.com/pinojs/pino/pull/1863](https://github.com/pinojs/pino/pull/1863) - fix: typescript types by [@​Zamiell](https://github.com/Zamiell) in [https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783) - build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1766](https://github.com/pinojs/pino/pull/1766) #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [https://github.com/pinojs/pino/pull/1859](https://github.com/pinojs/pino/pull/1859) - [@​Zamiell](https://github.com/Zamiell) made their first contribution in [https://github.com/pinojs/pino/pull/1783](https://github.com/pinojs/pino/pull/1783) **Full Changelog**: pinojs/pino@v8.16.2...v8.17.0 </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/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Price <[email protected]>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pino](https://getpino.io) ([source](https://github.com/pinojs/pino)) | [`8.17.2` -> `8.19.0`](https://renovatebot.com/diffs/npm/pino/8.17.2/8.19.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pinojs/pino (pino)</summary> ### [`v8.19.0`](https://github.com/pinojs/pino/releases/tag/v8.19.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.18.0...v8.19.0) #### What's Changed - api.md: Fix link declaration by [@​homersimpsons](https://github.com/homersimpsons) in [https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900) - Update transports.md by [@​huijiewei](https://github.com/huijiewei) in [https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897) - Add a basic `formatters` option to the browser pino by [@​KatelynKim](https://github.com/KatelynKim) in [https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898) - `setLevel` should respect level comparison option by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1901](https://github.com/pinojs/pino/pull/1901) - Add formatters log option by [@​KatelynKim](https://github.com/KatelynKim) in [https://github.com/pinojs/pino/pull/1905](https://github.com/pinojs/pino/pull/1905) #### New Contributors - [@​homersimpsons](https://github.com/homersimpsons) made their first contribution in [https://github.com/pinojs/pino/pull/1900](https://github.com/pinojs/pino/pull/1900) - [@​huijiewei](https://github.com/huijiewei) made their first contribution in [https://github.com/pinojs/pino/pull/1897](https://github.com/pinojs/pino/pull/1897) - [@​KatelynKim](https://github.com/KatelynKim) made their first contribution in [https://github.com/pinojs/pino/pull/1898](https://github.com/pinojs/pino/pull/1898) **Full Changelog**: pinojs/pino@v8.18.0...v8.19.0 ### [`v8.18.0`](https://github.com/pinojs/pino/releases/tag/v8.18.0) [Compare Source](https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0) #### What's Changed - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1873](https://github.com/pinojs/pino/pull/1873) - chore(license): Update licensing year by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - fix: destination docs and types by [@​codershiba](https://github.com/codershiba) in [https://github.com/pinojs/pino/pull/1881](https://github.com/pinojs/pino/pull/1881) - Correct type of `pino`'s `stream` parameter by [@​quisido](https://github.com/quisido) in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - Add ability to override custom levels comparison by [@​obrus-corcentric](https://github.com/obrus-corcentric) in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) - build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/pinojs/pino/pull/1888](https://github.com/pinojs/pino/pull/1888) #### New Contributors - [@​codershiba](https://github.com/codershiba) made their first contribution in [https://github.com/pinojs/pino/pull/1882](https://github.com/pinojs/pino/pull/1882) - [@​quisido](https://github.com/quisido) made their first contribution in [https://github.com/pinojs/pino/pull/1874](https://github.com/pinojs/pino/pull/1874) - [@​obrus-corcentric](https://github.com/obrus-corcentric) made their first contribution in [https://github.com/pinojs/pino/pull/1883](https://github.com/pinojs/pino/pull/1883) **Full Changelog**: pinojs/pino@v8.17.2...v8.18.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Friday" (UTC), 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/ettorepuccetti/terrarossa). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The second parameter of the
pino
function can be set toundefined
. This is relevant when dependency injecting a stream:This allows me to use
create(undefined)
for default behavior (stdio), but alsocreate({ write: jest.fn() })
for mocked behavior in unit tests, without creating a new branch.With the definition prior to this PR, the following code is required:
This creates an unnecessary code branch, as it's the same runtime behavior.