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

feat(docs): overview of previously supported Node.js #2602

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rotzbua
Copy link
Contributor

@Rotzbua Rotzbua commented May 28, 2024

Purpose (TL;DR) - mandatory

fixes #2601

Background (Problem in detail)

For projects that are slower to upgrade the node version, it is difficult to find the correct sinon version, as the current LTS version is newer than the old one required by the projects. Currently it is difficult to find out which sinon version supports an old node version.

Solution - optional

Add overview of previously supported Node.js and the according Sinon.js version.

How to verify - mandatory

pass

Checklist for author

  • npm run lint passes
  • References to standard library functions are cached.

Copy link
Contributor

@fatso83 fatso83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks! Just some minor quibbles.


| Sinon.JS | supported Node.js |
|:--------:|:-----------------:|
| 18 | 18, 20, 22 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| 18 | 18, 20, 22 |
| 18 | 18, 20 |

You can use https://browserslist.dev/?q=bWFpbnRhaW5lZCBub2RlIHZlcnNpb25z or use npx browserslist directly to see that 22 is not yet in maintenance phase. We still run version 22 on CI to check that it works, but it's not supported yet :)

Comment on lines +46 to +52
| 16 | 16, 18, 20 |
| 15 | 14, 16, 18 |
| 14 | 14, 16, 18 |
| 13 | 12, 14, 16 |
| 12 | 12, 14, 16 |
| 11 | 10, 12, 14 |
| 10 | 10, 12, 14 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am guessing the same applies. Usually there are just two LTS releases at any time.

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.

docs: overview of compatible nodejs versions
2 participants