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

Drop support for Node 12 #28

Merged
merged 6 commits into from
Jun 10, 2023
Merged

Drop support for Node 12 #28

merged 6 commits into from
Jun 10, 2023

Conversation

lucaswerkmeister
Copy link
Owner

Implements #25.

Require Node 16 or later. (I’m open to even bumping this to Node 18
later, but I don’t think it’s needed at the moment.) Part of #25.

In GitHub actions, we need to keep the split between test-full and
test-most, because test:browser requires Node 18 (16 is not enough, it
still doesn’t have fetch()), but we also want to test Node 16
compatibility.
Node defines the `performance` global since version 16. Part of #25.

Note that this will require changes in m3api-query and m3api-oauth2,
which also import this file in their tests.
Possible now that we no longer need to support Node 12. Part of #25.
Minor code changes necessary, but otherwise it seems to work well
enough. Part of #25.
We no longer need --harmony-top-level-await, so we also no longer need
to try running Node twice. Part of #25.
Nicer than accessing fs.promises afterwards. Part of #25.
@lucaswerkmeister lucaswerkmeister added the enhancement New feature or request label Jun 10, 2023
@lucaswerkmeister lucaswerkmeister added this to the 1.0.0 release milestone Jun 10, 2023
@lucaswerkmeister lucaswerkmeister self-assigned this Jun 10, 2023
@lucaswerkmeister lucaswerkmeister merged commit 94380d4 into main Jun 10, 2023
6 checks passed
@lucaswerkmeister lucaswerkmeister deleted the no-node-12 branch June 10, 2023 15:08
@lucaswerkmeister lucaswerkmeister mentioned this pull request Jun 10, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant