diff --git a/package-lock.json b/package-lock.json index cd933bd4bf..f781b56774 100644 --- a/package-lock.json +++ b/package-lock.json @@ -174,7 +174,7 @@ "couchbase": "^4.3.1", "ibm_db": "^3.2.4", "kafka-avro": "^3.1.1", - "node-rdkafka": "^2.18.0", + "node-rdkafka": "^3.0.1", "pg-native": "^3.0.1", "prisma": "^5.13.0" } @@ -28508,9 +28508,9 @@ } }, "node_modules/nan": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", - "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==" + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", + "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==" }, "node_modules/nanoid": { "version": "3.1.20", @@ -29058,17 +29058,17 @@ } }, "node_modules/node-rdkafka": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/node-rdkafka/-/node-rdkafka-2.18.0.tgz", - "integrity": "sha512-jYkmO0sPvjesmzhv1WFOO4z7IMiAFpThR6/lcnFDWgSPkYL95CtcuVNo/R5PpjujmqSgS22GMkL1qvU4DTAvEQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/node-rdkafka/-/node-rdkafka-3.0.1.tgz", + "integrity": "sha512-USTFu7ylRj+fEiGz0hA92GWSqmX/hu/xSTqtgmInPPmh5zKhjauTciRjDEG3yK5m6yChwyHKQTIgmr56DfhiaQ==", "hasInstallScript": true, "optional": true, "dependencies": { "bindings": "^1.3.1", - "nan": "^2.17.0" + "nan": "^2.19.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=16" } }, "node_modules/noop-logger": { diff --git a/package.json b/package.json index 1f44efb689..7f215414c3 100644 --- a/package.json +++ b/package.json @@ -231,7 +231,7 @@ "couchbase": "^4.3.1", "ibm_db": "^3.2.4", "kafka-avro": "^3.1.1", - "node-rdkafka": "^2.18.0", + "node-rdkafka": "^3.0.1", "pg-native": "^3.0.1", "prisma": "^5.13.0" }, diff --git a/packages/collector/test/tracing/messaging/node-rdkafka/test.js b/packages/collector/test/tracing/messaging/node-rdkafka/test.js index 54dca0194f..d369dd8018 100644 --- a/packages/collector/test/tracing/messaging/node-rdkafka/test.js +++ b/packages/collector/test/tracing/messaging/node-rdkafka/test.js @@ -54,7 +54,7 @@ const topic = 'rdkafka-topic'; let mochaSuiteFn; -if (!supportedVersion(process.versions.node) || semver.lte(process.versions.node, '14.0.0')) { +if (!supportedVersion(process.versions.node) || semver.lte(process.versions.node, '16.0.0')) { mochaSuiteFn = describe.skip; } else { mochaSuiteFn = describe;