Update dependency winston-slack-webhook-transport to v2.3.2 #1723

Closed
opened 2026-04-05 16:34:09 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @renovate[bot] on 8/5/2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
winston-slack-webhook-transport 2.2.2 -> 2.3.2 age adoption passing confidence

Release Notes

TheAppleFreak/winston-slack-webhook-transport (winston-slack-webhook-transport)

v2.3.2

Compare Source

  • The SlackHookOptions type now extends TransportStreamOptions, properly this time. This change is courtesy of Pull #​28. Thanks again @​DominicRoyStang!
  • Deprecated v2.3.1 for the above reason. While v2.3.1 should not cause any issues for existing users and use cases, I'd rather not have a potentially buggy version in the wild.
  • Updated GitHub Actions to test against Node.js 16 and the latest available version, instead of just Node.js 16.

v2.3.1

Compare Source

v2.3.0

Compare Source

  • Added an option (emitAxiosErrors) to enable or disable emitting errors if Axios throws an error. Previously, if Axios returned an error for any reason, this would emit an error, which if unhandled would be treated as an unhandled exception. This includes potentially transient issues, such as if Slack would return an error for any reason, including API outages or 429 Too Many Requests errors. This option requires the user to explicitly opt into this behavior, and is false by default. This closes Issue #​24. Thanks @​jbojbo for bringing this to my attention!

    When I had initially added the code that would do that, I was under the impression this would log the Slack error to Winston itself as an error, but after rereading the relevant documentation I realized this was not the case.

  • Minor change to the log() function to make it an async function, which simplifies some minor aspects of unit testing. This should have no impact on using the transport within Winston.

  • Updated tests to check the error handling behavior.

  • Added new option to the type definitions.

  • Added a Prettier script and prettierrc.

  • Updated dependencies, and double checked to make sure everything continued to work this time.

v2.2.3

Compare Source

  • Fixed a bug preventing the ability to filter log messages in the formatter. This change is courtesy of Pull #​23, which closes Issue #​15 in the process. Thanks @​ArturAralin and @​jbojbo!
  • Updated copyright year in LICENSE. I need to automate this.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

*Originally created by @renovate[bot] on 8/5/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 | |---|---|---|---|---|---| | [winston-slack-webhook-transport](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport) | [`2.2.2` -> `2.3.2`](https://renovatebot.com/diffs/npm/winston-slack-webhook-transport/2.2.2/2.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/winston-slack-webhook-transport/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/winston-slack-webhook-transport/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/winston-slack-webhook-transport/2.2.2/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/winston-slack-webhook-transport/2.2.2/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>TheAppleFreak/winston-slack-webhook-transport (winston-slack-webhook-transport)</summary> ### [`v2.3.2`](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/blob/HEAD/CHANGELOG.md#232-2023510) [Compare Source](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/compare/v2.3.1...v2.3.2) - The `SlackHookOptions` type now extends `TransportStreamOptions`, properly this time. This change is courtesy of [Pull #&#8203;28](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/pull/28). Thanks again [@&#8203;DominicRoyStang](https://togithub.com/DominicRoyStang)! - Deprecated v2.3.1 for the above reason. While v2.3.1 should not cause any issues for existing users and use cases, I'd rather not have a potentially buggy version in the wild. - Updated GitHub Actions to test against Node.js 16 and the latest available version, instead of just Node.js 16. ### [`v2.3.1`](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/blob/HEAD/CHANGELOG.md#231-2023510) [Compare Source](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/compare/v2.3.0...v2.3.1) - The `SlackHookOptions` type now extends `TransportStreamOptions`. This change is courtesy of [Pull #&#8203;26](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/pull/26). Thanks [@&#8203;DominicRoyStang](https://togithub.com/DominicRoyStang)! ### [`v2.3.0`](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/blob/HEAD/CHANGELOG.md#230-202345) [Compare Source](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/compare/v2.2.3...v2.3.0) - Added an option (`emitAxiosErrors`) to enable or disable emitting errors if Axios throws an error. Previously, if Axios returned an error for any reason, this would emit an error, which if unhandled would be treated as an unhandled exception. This includes potentially transient issues, such as if Slack would return an error for any reason, including API outages or `429 Too Many Requests` errors. This option requires the user to explicitly opt into this behavior, and is `false` by default. This closes [Issue #&#8203;24](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/issues/24). Thanks [@&#8203;jbojbo](https://togithub.com/jbojbo) for bringing this to my attention! When I had initially added the code that would do that, I was under the impression this would log the Slack error to Winston itself as an error, [but after rereading the relevant documentation](https://togithub.com/winstonjs/winston#awaiting-logs-to-be-written-in-winston) I realized this was not the case. - Minor change to the `log()` function to make it an async function, which simplifies some minor aspects of unit testing. This should have no impact on using the transport within Winston. - Updated tests to check the error handling behavior. - Added new option to the type definitions. - Added a Prettier script and prettierrc. - Updated dependencies, and double checked to make sure everything continued to work this time. ### [`v2.2.3`](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/blob/HEAD/CHANGELOG.md#223-202333) [Compare Source](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/compare/v2.2.2...v2.2.3) - Fixed a bug preventing the ability to filter log messages in the formatter. This change is courtesy of [Pull #&#8203;23](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/pull/23), which closes [Issue #&#8203;15](https://togithub.com/TheAppleFreak/winston-slack-webhook-transport/issues/15) in the process. Thanks [@&#8203;ArturAralin](https://togithub.com/ArturAralin) and [@&#8203;jbojbo](https://togithub.com/jbojbo)! - Updated copyright year in LICENSE. I need to automate this. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/OneUptime/oneuptime). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1723