Skip to content

Commit

Permalink
feat(package): node 21 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdknaap committed Mar 20, 2024
1 parent 6081731 commit 6831925
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/alpine.yml
Expand Up @@ -19,6 +19,7 @@ jobs:
- 18
- 19
- 20
- 21

steps:
- name: Install Alpine build tools
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Expand Up @@ -18,6 +18,7 @@ jobs:
- 18
- 19
- 20
- 21

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Expand Up @@ -18,6 +18,7 @@ jobs:
- 18
- 19
- 20
- 21

architecture:
- x64
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -17,6 +17,7 @@ Below is a quick guide for minimum and maximum supported versions of node-sass:

NodeJS | Supported node-sass version | Node Module
--------|-----------------------------|------------
Node 21 | 9.0+ | 119
Node 20 | 9.0+ | 115
Node 19 | 8.0+ | 111
Node 18 | 8.0+ | 108
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Expand Up @@ -45,6 +45,9 @@
- nodejs_version: 20
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 21
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019


install:
Expand Down
1 change: 1 addition & 0 deletions lib/extensions.js
Expand Up @@ -85,6 +85,7 @@ function getHumanNodeVersion(abi) {
case 108: return 'Node.js 18.x';
case 111: return 'Node.js 19.x';
case 115: return 'Node.js 20.x';
case 120: return 'Node.js 21.x';
default: return false;
}
}
Expand Down

0 comments on commit 6831925

Please sign in to comment.