From 3d7b9d05a7627c11bbe883a55ce068c8dbbfffac Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 20 Apr 2021 12:38:04 -0400 Subject: [PATCH] chore: Add Node 16 support - Bump to 5.1.0 - Add CI builds for 16 - Add extension lookup for module 93 --- .github/workflows/alpine.yml | 3 +++ .github/workflows/linux.yml | 6 ++++++ .github/workflows/macos.yml | 1 + .github/workflows/windows.yml | 3 +++ README.md | 1 + appveyor.yml | 6 ++++++ lib/extensions.js | 1 + package.json | 2 +- 8 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml index adb941a98..65e20a7db 100644 --- a/.github/workflows/alpine.yml +++ b/.github/workflows/alpine.yml @@ -19,6 +19,7 @@ jobs: - 12 - 14 - 15 + - 16 include: - node: 10 @@ -29,6 +30,8 @@ jobs: alpine: "3.10" - node: 15 alpine: "3.10" + - node: 16 + alpine: "3.11" steps: - name: Install Alpine build tools diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f7a496978..1f9ce3bb8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,6 +18,7 @@ jobs: - 12 - 14 - 15 + - 16 include: - node: 10 @@ -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 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 92a8ade4f..2143cf410 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -18,6 +18,7 @@ jobs: - 12 - 14 - 15 + - 16 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 41a16a12b..318aaf496 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -18,6 +18,7 @@ jobs: - 12 - 14 - 15 + - 16 include: - node: 10 @@ -28,6 +29,8 @@ jobs: os: windows-2016 - node: 15 os: windows-2019 + - node: 16 + os: windows-2019 steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 639bd3a70..aaf13cf78 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 14dcb2713..52ed9016d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 @@ -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 diff --git a/lib/extensions.js b/lib/extensions.js index b6f2a5667..b18fd27ac 100644 --- a/lib/extensions.js +++ b/lib/extensions.js @@ -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; } } diff --git a/package.json b/package.json index bd26cb1af..b60dc46cb 100644 --- a/package.json +++ b/package.json @@ -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",