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

Commit

Permalink
chore: Add Node 16 support
Browse files Browse the repository at this point in the history
- Bump to 5.1.0
- Add CI builds for 16
- Add extension lookup for module 93
  • Loading branch information
nschonni authored and xzyfer committed May 8, 2021
1 parent 4115e9d commit 3d7b9d0
Show file tree
Hide file tree
Showing 8 changed files with 22 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:
- 12
- 14
- 15
- 16

include:
- node: 10
Expand All @@ -29,6 +30,8 @@ jobs:
alpine: "3.10"
- node: 15
alpine: "3.10"
- node: 16
alpine: "3.11"

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

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


steps:
- uses: actions/checkout@v2
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:
- 12
- 14
- 15
- 16

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:
- 12
- 14
- 15
- 16

include:
- node: 10
Expand All @@ -28,6 +29,8 @@ jobs:
os: windows-2016
- node: 15
os: windows-2019
- node: 16
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 support supported version of node

NodeJS | Supported node-sass version | Node Module
--------|-----------------------------|------------
Node 16 | 6.0+ | 93
Node 15 | 5.0+ | 88
Node 14 | 4.14+ | 83
Node 13 | 4.13+, <5.0 | 79
Expand Down
6 changes: 6 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
- nodejs_version: 15
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 16
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 Expand Up @@ -124,6 +127,9 @@
- nodejs_version: 15
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 16
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 79: return 'Node.js 13.x';
case 83: return 'Node.js 14.x';
case 88: return 'Node.js 15.x';
case 93: return 'Node.js 16.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": "5.0.0",
"version": "6.0.0",
"libsass": "3.5.5",
"description": "Wrapper around libsass",
"license": "MIT",
Expand Down

0 comments on commit 3d7b9d0

Please sign in to comment.