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

Commit d753397

Browse files
nschonnixzyfer
andauthored
feat: Add Node 17 support (#3195)
* feat: Add Node 17 support * fix: Version range for 17 Co-authored-by: Michael Mifsud <[email protected]> Co-authored-by: Michael Mifsud <[email protected]>
1 parent dcf2e75 commit d753397

File tree

8 files changed

+18
-1
lines changed

8 files changed

+18
-1
lines changed

.github/workflows/alpine.yml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- 14
2020
- 15
2121
- 16
22+
- 17
2223

2324
include:
2425
- node: 12
@@ -29,6 +30,8 @@ jobs:
2930
python: python3
3031
- node: 16
3132
python: python3
33+
- node: 17
34+
python: python3
3235

3336
steps:
3437
- name: Install Alpine build tools

.github/workflows/linux.yml

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- 14
1919
- 15
2020
- 16
21+
- 17
2122

2223
include:
2324
- node: 12
@@ -36,6 +37,10 @@ jobs:
3637
gcc: "gcc-8"
3738
gpp: "g++-8"
3839
os: ubuntu-18.04
40+
- node: 17
41+
gcc: "gcc-8"
42+
gpp: "g++-8"
43+
os: ubuntu-18.04
3944

4045

4146
steps:

.github/workflows/macos.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- 14
1919
- 15
2020
- 16
21+
- 17
2122

2223
steps:
2324
- uses: actions/checkout@v2

.github/workflows/windows.yml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- 14
1919
- 15
2020
- 16
21+
- 17
2122

2223
architecture:
2324
- x64
@@ -32,6 +33,8 @@ jobs:
3233
os: windows-2019
3334
- node: 16
3435
os: windows-2019
36+
- node: 17
37+
os: windows-2019
3538

3639
steps:
3740
- uses: actions/checkout@v2

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Below is a quick guide for minimum and maximum supported versions of node-sass:
1717

1818
NodeJS | Supported node-sass version | Node Module
1919
--------|-----------------------------|------------
20+
Node 17 | 7.0+ | 102
2021
Node 16 | 6.0+ | 93
2122
Node 15 | 5.0+ | 88
2223
Node 14 | 4.14+ | 83

appveyor.yml

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
- nodejs_version: 16
4646
GYP_MSVS_VERSION: 2019
4747
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
48+
- nodejs_version: 17
49+
GYP_MSVS_VERSION: 2019
50+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
4851

4952
install:
5053
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs

lib/extensions.js

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function getHumanNodeVersion(abi) {
8181
case 83: return 'Node.js 14.x';
8282
case 88: return 'Node.js 15.x';
8383
case 93: return 'Node.js 16.x';
84+
case 102: return 'Node.js 17.x';
8485
default: return false;
8586
}
8687
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-sass",
3-
"version": "6.0.1",
3+
"version": "7.0.0",
44
"libsass": "3.5.5",
55
"description": "Wrapper around libsass",
66
"license": "MIT",

0 commit comments

Comments
 (0)