Skip to content

Commit 182e6d4

Browse files
committed
Update Node versions
Drop versions that are EOL and add newer versions. Node 18 has been end of life since March 27, 2025
1 parent 08265f1 commit 182e6d4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x, 16.x, 18.x]
19+
node-version: [20.x, 22.x, 24.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:

tests/test-cases.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ var UNIT_SEP = String.fromCharCode(31);
1313
var FILES_ENABLED = false;
1414
try {
1515
new File([""], ""); // eslint-disable-line no-new
16+
new FileReaderSync(); // eslint-disable-line no-new
1617
FILES_ENABLED = true;
1718
} catch (e) {} // safari, ie
1819

0 commit comments

Comments
 (0)