Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
fail-fast: false
matrix:
node:
- 16
- 18
- 19
- 20
- 22

steps:
- name: Install Alpine build tools
Expand All @@ -34,7 +33,7 @@ jobs:
- name: Run tests
run: npm test

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
with:
name: ${{ matrix.node }}
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,18 @@ jobs:
fail-fast: false
matrix:
include:
- node: 16
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-20.04
- node: 18
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-20.04
- node: 19
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-20.04
os: ubuntu-22.04
- node: 20
gcc: "gcc-10"
gpp: "g++-10"
os: ubuntu-22.04

- node: 22
gcc: "gcc-12"
gpp: "g++-12"
os: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -55,8 +50,7 @@ jobs:
- name: Run tests
run: npm test

- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.node }}
path: vendor/
6 changes: 2 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
fail-fast: false
matrix:
node:
- 16
- 18
- 19
- 20
- 22

steps:
- uses: actions/checkout@v4
Expand All @@ -35,8 +34,7 @@ jobs:
- name: Run tests
run: npm test

- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.node }}
path: vendor/
6 changes: 2 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
fail-fast: false
matrix:
node:
- 16
- 18
- 19
- 20
- 22

architecture:
- x64
Expand All @@ -40,8 +39,7 @@ jobs:
- name: Run tests
run: npm test

- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.node }}-${{ matrix.architecture }}
path: |
Expand Down
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,9 @@ Below is a quick guide for minimum and maximum supported versions of node-sass:

NodeJS | Supported node-sass version | Node Module
--------|-----------------------------|------------
Node 22 | 10.0+ | 127
Node 20 | 9.0+ | 115
Node 19 | 8.0+ | 111
Node 18 | 8.0+ | 108
Node 17 | 7.0+, <8.0 | 102
Node 16 | 6.0+ | 93
Node 15 | 5.0+, <7.0 | 88
Node 14 | 4.14+, <9.0 | 83
Node 13 | 4.13+, <5.0 | 79
Node 12 | 4.12+, <8.0 | 72
Node 11 | 4.10+, <5.0 | 67
Node 10 | 4.9+, <6.0 | 64
Node 8 | 4.5.3+, <5.0 | 57
Node <8 | <5.0 | <57

<table>
<tr>
Expand Down
1 change: 1 addition & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function getHumanNodeVersion(abi) {
case 108: return 'Node.js 18.x';
case 111: return 'Node.js 19.x';
case 115: return 'Node.js 20.x';
case 127: return 'Node.js 22.x';
default: return false;
}
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-sass",
"version": "9.0.0",
"version": "10.0.0",
"libsass": "3.5.5",
"description": "Wrapper around libsass",
"license": "MIT",
Expand All @@ -16,7 +16,7 @@
"url": "http://andrew.github.com"
},
"engines": {
"node": ">=16"
"node": ">=16 <23"
},
"main": "lib/index.js",
"nodeSassConfig": {
Expand Down
Loading