From 22b806f5c88d8a2d4140ec7a4eaa573d6e9ddc86 Mon Sep 17 00:00:00 2001 From: Rauno Viskus Date: Thu, 15 Sep 2022 20:00:37 +0300 Subject: [PATCH] chore: remove support for node 8-12, add 18 (#1065) * chore: remove node 8 and 10 from CI * chore: update engines * chore: add node 18 to CI * fix(resource-detector-alibaba-cloud): call .destroy() directly on the socket * test: reference the actual error message * test(instrumentation-fastify): check for similarity with ROOT_CONTEXT, not reference equality In the CI there will be 3 instances of the API installed(relative to the repo root): - `./plugins/node/opentelemetry-instrumentation-fastify/node_modules/@opentelemetry/api`, - `./node_modules/@opentelemetry/api`, - `./plugins/node/opentelemetry-instrumentation-fastify/node_modules/@opentelemetry/instrumentation-http/node_modules/@opentelemetry/api`. * chore: remove support for node@12 updating the engines * chore: remove test runs on node@12 * test(resource-detector-alibaba-cloud): revert change, disable tests for node@18 * fix: turn fastify tests off for node@18 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a2b25c8d37..c3c6e3d9f0 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=8.12.0" + "node": ">=14" }, "files": [ "build/esm/**/*.js",