Skip to content

Commit e465db5

Browse files
authored
feat: Added Node.js 24 support (#285)
1 parent a28342c commit e465db5

File tree

5 files changed

+75
-30
lines changed

5 files changed

+75
-30
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ jobs:
3838
strategy:
3939
matrix:
4040
os: [ ubuntu-latest, windows-latest ]
41-
node: [ 18, 20, 22 ]
41+
node: [ 18, 20, 22, 24 ]
4242
arch: [ x86, x64 ]
4343
exclude:
4444
# Ubuntu does not ship x86 builds.
4545
- { os: ubuntu-latest, arch: x86 }
46+
- { os: windows-latest, arch: x86, node: 24 }
4647
runs-on: ${{ matrix.os }}
4748
name: "${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}"
4849
steps:
@@ -85,7 +86,7 @@ jobs:
8586
# strategy:
8687
# matrix:
8788
# os: [ macos-14 ]
88-
# node: [ 18, 20, 22 ]
89+
# node: [ 18, 20, 22, 24 ]
8990
# arch: [ arm64 ]
9091
# runs-on: ${{ matrix.os }}
9192
# name: "${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}"
@@ -129,7 +130,7 @@ jobs:
129130
if: ${{ vars.NR_RUNNER != '' }}
130131
strategy:
131132
matrix:
132-
node: [ 18, 20, 22 ]
133+
node: [ 18, 20, 22, 24 ]
133134
runs-on: ${{ vars.NR_RUNNER }}
134135
name: Linux / Node ${{ matrix.node }} arm64
135136
timeout-minutes: 15

.github/workflows/create-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ ubuntu-latest, windows-latest ]
15-
node: [ 18, 20, 22 ]
15+
node: [ 18, 20, 22, 24 ]
1616
arch: [ x86, x64 ]
1717
exclude:
1818
# Ubuntu does not ship x86 builds.
1919
- { os: ubuntu-latest, arch: x86 }
20+
- { os: windows-latest, arch: x86, node: 24 }
2021
runs-on: ${{ matrix.os }}
2122
name: "${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}"
2223
steps:
@@ -45,7 +46,7 @@ jobs:
4546
strategy:
4647
matrix:
4748
os: [ macos-14 ]
48-
node: [ 18, 20, 22 ]
49+
node: [ 18, 20, 22, 24 ]
4950
arch: [ arm64 ]
5051
runs-on: ${{ matrix.os }}
5152
name: "${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}"
@@ -78,7 +79,7 @@ jobs:
7879
if: ${{ vars.NR_RUNNER != '' }}
7980
strategy:
8081
matrix:
81-
node: [ 18, 20, 22 ]
82+
node: [ 18, 20, 22, 24 ]
8283
runs-on: ${{ vars.NR_RUNNER }}
8384
name: Linux / Node ${{ matrix.node }} arm64
8485
timeout-minutes: 15

THIRD_PARTY_NOTICES.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ code, the source code can be found at [https://github.com/newrelic/node-native-m
2525
* [@newrelic/proxy](#newrelicproxy)
2626
* [async](#async)
2727
* [aws-sdk](#aws-sdk)
28+
* [borp](#borp)
2829
* [c8](#c8)
2930
* [eslint-config-prettier](#eslint-config-prettier)
3031
* [eslint-plugin-header](#eslint-plugin-header)
@@ -45,7 +46,7 @@ code, the source code can be found at [https://github.com/newrelic/node-native-m
4546

4647
### nan
4748

48-
This product includes source derived from [nan](https://github.com/nodejs/nan) ([v2.20.0](https://github.com/nodejs/nan/tree/v2.20.0)), distributed under the [MIT License](https://github.com/nodejs/nan/blob/v2.20.0/LICENSE.md):
49+
This product includes source derived from [nan](https://github.com/nodejs/nan) ([v2.22.2](https://github.com/nodejs/nan/tree/v2.22.2)), distributed under the [MIT License](https://github.com/nodejs/nan/blob/v2.22.2/LICENSE.md):
4950

5051
```
5152
The MIT License (MIT)
@@ -62,7 +63,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
6263

6364
### node-gyp-build
6465

65-
This product includes source derived from [node-gyp-build](https://github.com/prebuild/node-gyp-build) ([v4.8.1](https://github.com/prebuild/node-gyp-build/tree/v4.8.1)), distributed under the [MIT License](https://github.com/prebuild/node-gyp-build/blob/v4.8.1/LICENSE):
66+
This product includes source derived from [node-gyp-build](https://github.com/prebuild/node-gyp-build) ([v4.8.4](https://github.com/prebuild/node-gyp-build/tree/v4.8.4)), distributed under the [MIT License](https://github.com/prebuild/node-gyp-build/blob/v4.8.4/LICENSE):
6667

6768
```
6869
The MIT License (MIT)
@@ -583,7 +584,7 @@ THE SOFTWARE.
583584

584585
### aws-sdk
585586

586-
This product includes source derived from [aws-sdk](https://github.com/aws/aws-sdk-js) ([v2.1656.0](https://github.com/aws/aws-sdk-js/tree/v2.1656.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js/blob/v2.1656.0/LICENSE.txt):
587+
This product includes source derived from [aws-sdk](https://github.com/aws/aws-sdk-js) ([v2.1591.0](https://github.com/aws/aws-sdk-js/tree/v2.1591.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js/blob/v2.1591.0/LICENSE.txt):
587588

588589
```
589590
@@ -791,6 +792,35 @@ This product includes source derived from [aws-sdk](https://github.com/aws/aws-s
791792
792793
```
793794

795+
### borp
796+
797+
This product includes source derived from [borp](https://github.com/mcollina/borp) ([v0.20.0](https://github.com/mcollina/borp/tree/v0.20.0)), distributed under the [MIT License](https://github.com/mcollina/borp/blob/v0.20.0/LICENSE):
798+
799+
```
800+
MIT License
801+
802+
Copyright (c) 2023 Matteo Collina
803+
804+
Permission is hereby granted, free of charge, to any person obtaining a copy
805+
of this software and associated documentation files (the "Software"), to deal
806+
in the Software without restriction, including without limitation the rights
807+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
808+
copies of the Software, and to permit persons to whom the Software is
809+
furnished to do so, subject to the following conditions:
810+
811+
The above copyright notice and this permission notice shall be included in all
812+
copies or substantial portions of the Software.
813+
814+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
815+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
816+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
817+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
818+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
819+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
820+
SOFTWARE.
821+
822+
```
823+
794824
### c8
795825

796826
This product includes source derived from [c8](https://github.com/bcoe/c8) ([v8.0.1](https://github.com/bcoe/c8/tree/v8.0.1)), distributed under the [ISC License](https://github.com/bcoe/c8/blob/v8.0.1/LICENSE.txt):
@@ -1007,7 +1037,7 @@ SOFTWARE.
10071037

10081038
### lockfile-lint
10091039

1010-
This product includes source derived from [lockfile-lint](https://github.com/lirantal/lockfile-lint) ([v4.14.0](https://github.com/lirantal/lockfile-lint/tree/v4.14.0)), distributed under the [Apache-2.0 License](https://github.com/lirantal/lockfile-lint/blob/v4.14.0/LICENSE):
1040+
This product includes source derived from [lockfile-lint](https://github.com/lirantal/lockfile-lint) ([v4.13.2](https://github.com/lirantal/lockfile-lint/tree/v4.13.2)), distributed under the [Apache-2.0 License](https://github.com/lirantal/lockfile-lint/blob/v4.13.2/LICENSE):
10111041

10121042
```
10131043

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"@newrelic/proxy": "^2.0.0",
8181
"async": "^3.2.2",
8282
"aws-sdk": "^2.266.1",
83-
"borp": "^0.19.0",
83+
"borp": "^0.20.0",
8484
"c8": "^8.0.0",
8585
"eslint": "^7.32.0",
8686
"eslint-config-prettier": "^8.3.0",
@@ -97,7 +97,7 @@
9797
"tap": "^16.3.7"
9898
},
9999
"dependencies": {
100-
"nan": "^2.19.0",
100+
"nan": "^2.22.2",
101101
"node-gyp-build": "^4.8.1",
102102
"prebuildify": "^6.0.1"
103103
},

third_party_manifest.json

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"lastUpdated": "Wed Jul 24 2024 13:30:43 GMT-0400 (Eastern Daylight Time)",
2+
"lastUpdated": "Tue May 13 2025 15:43:13 GMT-0400 (Eastern Daylight Time)",
33
"projectName": "Native Metrics for New Relic Node Agent",
44
"projectUrl": "https://github.com/newrelic/node-native-metrics",
55
"includeOptDeps": false,
66
"includeDev": true,
77
"dependencies": {
8-
"nan@2.20.0": {
8+
"nan@2.22.2": {
99
"name": "nan",
10-
"version": "2.20.0",
11-
"range": "^2.19.0",
10+
"version": "2.22.2",
11+
"range": "^2.22.2",
1212
"licenses": "MIT",
1313
"repoUrl": "https://github.com/nodejs/nan",
14-
"versionedRepoUrl": "https://github.com/nodejs/nan/tree/v2.20.0",
14+
"versionedRepoUrl": "https://github.com/nodejs/nan/tree/v2.22.2",
1515
"licenseFile": "node_modules/nan/LICENSE.md",
16-
"licenseUrl": "https://github.com/nodejs/nan/blob/v2.20.0/LICENSE.md",
16+
"licenseUrl": "https://github.com/nodejs/nan/blob/v2.22.2/LICENSE.md",
1717
"licenseTextSource": "file"
1818
},
19-
19+
2020
"name": "node-gyp-build",
21-
"version": "4.8.1",
21+
"version": "4.8.4",
2222
"range": "^4.8.1",
2323
"licenses": "MIT",
2424
"repoUrl": "https://github.com/prebuild/node-gyp-build",
25-
"versionedRepoUrl": "https://github.com/prebuild/node-gyp-build/tree/v4.8.1",
25+
"versionedRepoUrl": "https://github.com/prebuild/node-gyp-build/tree/v4.8.4",
2626
"licenseFile": "node_modules/node-gyp-build/LICENSE",
27-
"licenseUrl": "https://github.com/prebuild/node-gyp-build/blob/v4.8.1/LICENSE",
27+
"licenseUrl": "https://github.com/prebuild/node-gyp-build/blob/v4.8.4/LICENSE",
2828
"licenseTextSource": "file",
2929
"publisher": "Mathias Buus",
3030
"url": "@mafintosh"
@@ -95,19 +95,32 @@
9595
"licenseTextSource": "file",
9696
"publisher": "Caolan McMahon"
9797
},
98-
"aws-sdk@2.1656.0": {
98+
"aws-sdk@2.1591.0": {
9999
"name": "aws-sdk",
100-
"version": "2.1656.0",
100+
"version": "2.1591.0",
101101
"range": "^2.266.1",
102102
"licenses": "Apache-2.0",
103103
"repoUrl": "https://github.com/aws/aws-sdk-js",
104-
"versionedRepoUrl": "https://github.com/aws/aws-sdk-js/tree/v2.1656.0",
104+
"versionedRepoUrl": "https://github.com/aws/aws-sdk-js/tree/v2.1591.0",
105105
"licenseFile": "node_modules/aws-sdk/LICENSE.txt",
106-
"licenseUrl": "https://github.com/aws/aws-sdk-js/blob/v2.1656.0/LICENSE.txt",
106+
"licenseUrl": "https://github.com/aws/aws-sdk-js/blob/v2.1591.0/LICENSE.txt",
107107
"licenseTextSource": "file",
108108
"publisher": "Amazon Web Services",
109109
"url": "https://aws.amazon.com/"
110110
},
111+
112+
"name": "borp",
113+
"version": "0.20.0",
114+
"range": "^0.20.0",
115+
"licenses": "MIT",
116+
"repoUrl": "https://github.com/mcollina/borp",
117+
"versionedRepoUrl": "https://github.com/mcollina/borp/tree/v0.20.0",
118+
"licenseFile": "node_modules/borp/LICENSE",
119+
"licenseUrl": "https://github.com/mcollina/borp/blob/v0.20.0/LICENSE",
120+
"licenseTextSource": "file",
121+
"publisher": "Matteo Collina",
122+
"email": "[email protected]"
123+
},
111124
112125
"name": "c8",
113126
"version": "8.0.1",
@@ -208,15 +221,15 @@
208221
"publisher": "Andrey Okonetchnikov",
209222
"email": "[email protected]"
210223
},
211-
"lockfile-lint@4.14.0": {
224+
"lockfile-lint@4.13.2": {
212225
"name": "lockfile-lint",
213-
"version": "4.14.0",
226+
"version": "4.13.2",
214227
"range": "^4.9.6",
215228
"licenses": "Apache-2.0",
216229
"repoUrl": "https://github.com/lirantal/lockfile-lint",
217-
"versionedRepoUrl": "https://github.com/lirantal/lockfile-lint/tree/v4.14.0",
230+
"versionedRepoUrl": "https://github.com/lirantal/lockfile-lint/tree/v4.13.2",
218231
"licenseFile": "node_modules/lockfile-lint/LICENSE",
219-
"licenseUrl": "https://github.com/lirantal/lockfile-lint/blob/v4.14.0/LICENSE",
232+
"licenseUrl": "https://github.com/lirantal/lockfile-lint/blob/v4.13.2/LICENSE",
220233
"licenseTextSource": "file",
221234
"publisher": "Liran Tal",
222235
"email": "[email protected]",

0 commit comments

Comments
 (0)