Skip to content

Commit b92be2a

Browse files
authored
Add support for node 23 (#1116)
1 parent 61710c6 commit b92be2a

File tree

6 files changed

+359
-264
lines changed

6 files changed

+359
-264
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
node: [16, 18, 20, 21, 22]
13+
node: [16, 18, 20, 21, 22, 23]
1414
os: [ubuntu-22.04]
1515
include:
1616
# single mac test due to minute multipliers
1717
# https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions
1818
- node: 22
1919
os: macos-14
20-
# single windows test due to node.js 14 node-gyp / vs 2022 issues
2120
- node: 22
2221
os: windows-2022
2322
runs-on: ${{ matrix.os }}

binding.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
}
4444
],
4545
'cflags_cc' : [
46-
'-std=c++17'
46+
'-std=c++20'
4747
],
4848
'msvs_settings': {
4949
'VCLinkerTool': {
@@ -122,7 +122,7 @@
122122
'OS=="linux"',
123123
{
124124
'cflags_cc' : [
125-
'-std=c++17'
125+
'-std=c++20'
126126
],
127127
'cflags_cc!': [
128128
'-fno-rtti'
@@ -140,7 +140,7 @@
140140
],
141141
'OTHER_CPLUSPLUSFLAGS': [
142142
'-I/usr/local/opt/openssl/include',
143-
'-std=c++17'
143+
'-std=c++20'
144144
],
145145
},
146146
}

0 commit comments

Comments
 (0)