Replaced usage of assert keyword with "with" keyword to support node version 22.0.0#705
Replaced usage of assert keyword with "with" keyword to support node version 22.0.0#705aldenbe wants to merge 1 commit intosemantic-release:masterfrom
Conversation
…pport node version 22.0.0
|
Looks we need to bump our minimum supported Node version to 20.10.0 nodejs/node#50682 because the -- Or maybe even simpler we could just use |
|
I would be supportive of the breaking change within this plugin. Looks like node v22 became "current" (will turn lts in six months) just a few days ago, which snuck up on at least me. Well likely see more folks running into this because of that update. |
|
closing in favor of #708 thank you for bringing this to our attention! |
|
I apologize, it was my belief that this feature was implemented in version 18.20.0 and therefore available in all subsequent versions, I did not fully understand that this 18 was an LTS version and that this feature would not necessarily be available in all versions of 20.x |
|
No worries, that Node.js change was introduced in a quite subtle way... Thanks a ton for reaching out so quickly! |
Fixes #704