Skip to content

Commit 07c921b

Browse files
feat!: minimum supported NodeJS version is 22.11.0 (#1318)
1 parent cf34e2b commit 07c921b

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

.changeset/cuddly-knives-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"sass-loader": major
3+
---
4+
5+
Minimum supported NodeJS version is `22.11.0`.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
matrix:
6060
os: [ubuntu-latest, windows-latest, macos-latest]
61-
node-version: [18.x, 20.x, 22.x, 24.x]
61+
node-version: [22.x, 24.x, 26.x]
6262
webpack-version: [latest]
6363

6464
runs-on: ${{ matrix.os }}

test/helpers/getErrors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import normalizeErrors from "./normalizeErrors";
22

3-
export default (stats) => normalizeErrors(stats.compilation.errors.sort());
3+
export default (stats) => normalizeErrors(stats.compilation.errors.toSorted());

test/helpers/getWarnings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import normalizeErrors from "./normalizeErrors";
22

33
export default (stats, needVerbose) =>
4-
normalizeErrors(stats.compilation.warnings.sort(), needVerbose);
4+
normalizeErrors(stats.compilation.warnings.toSorted(), needVerbose);

0 commit comments

Comments
 (0)