Skip to content

Commit

Permalink
feat: Node 18 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Apr 19, 2022
1 parent 1456114 commit 0f05203
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
# Node 16 and 17 are perma-red for the tests right now
# - 16
# - 17
# - 18

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
- 16
- 17
- 18

include:
- node: 12
Expand All @@ -36,6 +37,10 @@ jobs:
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-18.04
- node: 18
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
- 16
- 17
- 18

steps:
- uses: actions/checkout@v3
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
- 16
- 17
- 18

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

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ Below is a quick guide for minimum and maximum supported versions of node-sass:

NodeJS | Supported node-sass version | Node Module
--------|-----------------------------|------------
Node 18 | 8.0+ | 108
Node 17 | 7.0+ | 102
Node 16 | 6.0+ | 93
Node 15 | 5.0+, <7.0 | 88
Node 15 | 5.0+, <7.0 | 88
Node 14 | 4.14+ | 83
Node 13 | 4.13+, <5.0 | 79
Node 12 | 4.12+ | 72
Expand Down
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
- nodejs_version: 17
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 18
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 @@ -82,6 +82,7 @@ function getHumanNodeVersion(abi) {
case 88: return 'Node.js 15.x';
case 93: return 'Node.js 16.x';
case 102: return 'Node.js 17.x';
case 108: return 'Node.js 18.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": "7.0.1",
"version": "8.0.0",
"libsass": "3.5.5",
"description": "Wrapper around libsass",
"license": "MIT",
Expand Down

0 comments on commit 0f05203

Please sign in to comment.