Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: Add Node 17 support (#3195)
Browse files Browse the repository at this point in the history
* feat: Add Node 17 support

* fix: Version range for 17

Co-authored-by: Michael Mifsud <[email protected]>

Co-authored-by: Michael Mifsud <[email protected]>
  • Loading branch information
nschonni and xzyfer authored Oct 22, 2021
1 parent dcf2e75 commit d753397
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- 14
- 15
- 16
- 17

include:
- node: 12
Expand All @@ -29,6 +30,8 @@ jobs:
python: python3
- node: 16
python: python3
- node: 17
python: python3

steps:
- name: Install Alpine build tools
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- 14
- 15
- 16
- 17

include:
- node: 12
Expand All @@ -36,6 +37,10 @@ jobs:
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-18.04
- node: 17
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-18.04


steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- 14
- 15
- 16
- 17

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- 14
- 15
- 16
- 17

architecture:
- x64
Expand All @@ -32,6 +33,8 @@ jobs:
os: windows-2019
- node: 16
os: windows-2019
- node: 17
os: windows-2019

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
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 17 | 7.0+ | 102
Node 16 | 6.0+ | 93
Node 15 | 5.0+ | 88
Node 14 | 4.14+ | 83
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
- nodejs_version: 16
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 17
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019

install:
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
Expand Down
1 change: 1 addition & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function getHumanNodeVersion(abi) {
case 83: return 'Node.js 14.x';
case 88: return 'Node.js 15.x';
case 93: return 'Node.js 16.x';
case 102: return 'Node.js 17.x';
default: return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-sass",
"version": "6.0.1",
"version": "7.0.0",
"libsass": "3.5.5",
"description": "Wrapper around libsass",
"license": "MIT",
Expand Down

0 comments on commit d753397

Please sign in to comment.