Skip to content

Commit

Permalink
Dropped support for Node 16
Browse files Browse the repository at this point in the history
Node 16 will reach EOL no later than a few months after Jasmine 5 is
released. Experience with Node 12 and Node 14 has shown that our
dependencies, especially dev dependencies, move on from past-EOL Node
versions fairly quickly. That can make it difficult to continue supporting
them. Since long term support for past EOL Node versions is a non-goal and
many users expect that Node versions will only be dropped in major
releases, it's better to drop it in 5.0.
  • Loading branch information
sgravrock committed Apr 26, 2023
1 parent 4fae3bd commit 0aeb009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ executors:
docker:
- image: cimg/node:18.0.0
working_directory: ~/workspace
node16:
docker:
# Oldest version with reliable support for error cause property
- image: cimg/node:16.14.0
working_directory: ~/workspace

jobs:
test:
Expand All @@ -42,10 +37,7 @@ jobs:
- checkout
- run:
name: Install Node.js
# 16.3.2 is possibly the newest Node 16.x version that's compatible
# with nvm for windows:
# See <https://stackoverflow.com/questions/70958371/unexpected-token-when-trying-to-run-npm-install>.
command: nvm install 16.14.0 && nvm use 16.14.0
command: nvm install 18.0.0 && nvm use 18.0.0
- run:
name: Report Node and NPM versions
command: echo "Using Node $(node --version) and NPM $(npm --version)"
Expand All @@ -65,7 +57,6 @@ workflows:
parameters:
executor:
- node18
- node16
- test_win
cron:
<<: *push_workflow
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Jasmine is compatible with both ES modules and CommonJS modules. See the

## Node version compatibility

Jasmine supports Node 18 and 16.14-16.19.
Jasmine supports Node 18.

## Support

Expand Down

0 comments on commit 0aeb009

Please sign in to comment.