diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b847bc2d3e7..1f9376d6107 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: node_version: - - "18" + - "20" runs-on: self-hosted timeout-minutes: 10 env: diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index ffebc82c29d..46ff06e60f6 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,9 +12,8 @@ jobs: fail-fast: false matrix: node_version: - - "14" - - "16" - "18" + - "20" runs-on: ubuntu-latest env: NPM_CONFIG_UNSAFE_PERM: true @@ -27,11 +26,6 @@ jobs: node-version: ${{ matrix.node_version }} - run: npm install -g npm@latest - if: ${{ matrix.node_version == '18' || matrix.node_version == '20' }} - - # npm@10.0.0 drops support for Node.js v14 and v16 - - run: npm install -g npm@"<10.0.0" - if: ${{ matrix.node_version == '14' || matrix.node_version == '16' }} - name: Bootstrap run: npm ci @@ -42,13 +36,11 @@ jobs: - name: Unit tests run: | # TODO(legendecas): webpack https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported - if [ "${{ matrix.node_version }}" = "18" ]; then - export NODE_OPTIONS=--openssl-legacy-provider - fi + export NODE_OPTIONS=--openssl-legacy-provider npm run test - name: Report Coverage run: npm run codecov - if: ${{ matrix.node_version == '14' }} + if: ${{ matrix.node_version == '20' }} node-windows-tests: runs-on: windows-latest env: @@ -126,6 +118,8 @@ jobs: - "8" - "10" - "12" + - "14" + - "16" runs-on: ubuntu-latest steps: - name: Checkout diff --git a/examples/basic-tracer-node/package.json b/examples/basic-tracer-node/package.json index 62198948550..2012f1f3b16 100644 --- a/examples/basic-tracer-node/package.json +++ b/examples/basic-tracer-node/package.json @@ -16,7 +16,7 @@ "tracing" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/esm-http-ts/package.json b/examples/esm-http-ts/package.json index 12897fa6a72..21641b17c2e 100644 --- a/examples/esm-http-ts/package.json +++ b/examples/esm-http-ts/package.json @@ -21,7 +21,7 @@ "typescript" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/grpc-js/package.json b/examples/grpc-js/package.json index 99dc941919f..6cbd02c0146 100644 --- a/examples/grpc-js/package.json +++ b/examples/grpc-js/package.json @@ -20,7 +20,7 @@ "tracing" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/http/package.json b/examples/http/package.json index 06899fd23a6..12c1a82982e 100644 --- a/examples/http/package.json +++ b/examples/http/package.json @@ -20,7 +20,7 @@ "tracing" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/https/package.json b/examples/https/package.json index cebf2cc00c9..ab0ce6de45c 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -24,7 +24,7 @@ "tracing" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/opentelemetry-web/package.json b/examples/opentelemetry-web/package.json index 04c723218de..0ce0ea213b7 100644 --- a/examples/opentelemetry-web/package.json +++ b/examples/opentelemetry-web/package.json @@ -24,7 +24,7 @@ "web" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/opentracing-shim/package.json b/examples/opentracing-shim/package.json index cf880f2b190..9895029b431 100644 --- a/examples/opentracing-shim/package.json +++ b/examples/opentracing-shim/package.json @@ -21,7 +21,7 @@ "opentracing" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/examples/otlp-exporter-node/package.json b/examples/otlp-exporter-node/package.json index 57a8a72cd04..e7578b8b1ea 100644 --- a/examples/otlp-exporter-node/package.json +++ b/examples/otlp-exporter-node/package.json @@ -20,7 +20,7 @@ "tracing" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/experimental/backwards-compatibility/node14/package.json b/experimental/backwards-compatibility/node14/package.json index acf9ca85cde..66ffd91b28c 100644 --- a/experimental/backwards-compatibility/node14/package.json +++ b/experimental/backwards-compatibility/node14/package.json @@ -19,6 +19,6 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" } } diff --git a/experimental/backwards-compatibility/node16/package.json b/experimental/backwards-compatibility/node16/package.json index 932dcfacae7..fdb37e7ee58 100644 --- a/experimental/backwards-compatibility/node16/package.json +++ b/experimental/backwards-compatibility/node16/package.json @@ -19,6 +19,6 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" } } diff --git a/experimental/examples/opencensus-shim/package.json b/experimental/examples/opencensus-shim/package.json index 79570efc75b..f3eb091759d 100644 --- a/experimental/examples/opencensus-shim/package.json +++ b/experimental/examples/opencensus-shim/package.json @@ -19,7 +19,7 @@ "opencensus" ], "engines": { - "node": ">=14" + "node": ">=18" }, "author": "OpenTelemetry Authors", "license": "Apache-2.0", diff --git a/experimental/packages/api-events/package.json b/experimental/packages/api-events/package.json index bd1cbf71933..7ffba8178aa 100644 --- a/experimental/packages/api-events/package.json +++ b/experimental/packages/api-events/package.json @@ -41,7 +41,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/api-logs/package.json b/experimental/packages/api-logs/package.json index c9aa4abc5b3..bc75e71dd8d 100644 --- a/experimental/packages/api-logs/package.json +++ b/experimental/packages/api-logs/package.json @@ -41,7 +41,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/exporter-logs-otlp-grpc/package.json b/experimental/packages/exporter-logs-otlp-grpc/package.json index d6e2d5a029e..6d24a2a37e5 100644 --- a/experimental/packages/exporter-logs-otlp-grpc/package.json +++ b/experimental/packages/exporter-logs-otlp-grpc/package.json @@ -33,7 +33,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/exporter-logs-otlp-http/package.json b/experimental/packages/exporter-logs-otlp-http/package.json index d2713abdfdd..1e2f6f50ea9 100644 --- a/experimental/packages/exporter-logs-otlp-http/package.json +++ b/experimental/packages/exporter-logs-otlp-http/package.json @@ -26,7 +26,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "prepublishOnly": "npm run compile", diff --git a/experimental/packages/exporter-logs-otlp-proto/package.json b/experimental/packages/exporter-logs-otlp-proto/package.json index af2c34d04ab..0f26bd7b1f8 100644 --- a/experimental/packages/exporter-logs-otlp-proto/package.json +++ b/experimental/packages/exporter-logs-otlp-proto/package.json @@ -42,7 +42,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index 51994bb73c7..75da09efa1d 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/package.json +++ b/experimental/packages/exporter-trace-otlp-grpc/package.json @@ -32,7 +32,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/exporter-trace-otlp-http/package.json b/experimental/packages/exporter-trace-otlp-http/package.json index b263499123a..121588f9708 100644 --- a/experimental/packages/exporter-trace-otlp-http/package.json +++ b/experimental/packages/exporter-trace-otlp-http/package.json @@ -43,7 +43,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index a1daddfe14a..66dbaab94d2 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -41,7 +41,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/opentelemetry-browser-detector/package.json b/experimental/packages/opentelemetry-browser-detector/package.json index da732e79b22..c091a6f0c34 100644 --- a/experimental/packages/opentelemetry-browser-detector/package.json +++ b/experimental/packages/opentelemetry-browser-detector/package.json @@ -33,7 +33,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json index da7712c70d6..09cff6e54a9 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json @@ -32,7 +32,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json index aac172354db..c280d8c8256 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json @@ -43,7 +43,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index bbaf908ba63..790800ab289 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/opentelemetry-exporter-prometheus/package.json b/experimental/packages/opentelemetry-exporter-prometheus/package.json index 34c659d9afd..0529cbbebd5 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/package.json +++ b/experimental/packages/opentelemetry-exporter-prometheus/package.json @@ -29,7 +29,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index cb0221f7d63..87cd7be4c37 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/package.json +++ b/experimental/packages/opentelemetry-instrumentation-fetch/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index 7a7bf5db8da..f12b0fb5420 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/package.json +++ b/experimental/packages/opentelemetry-instrumentation-grpc/package.json @@ -32,7 +32,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/opentelemetry-instrumentation-http/package.json b/experimental/packages/opentelemetry-instrumentation-http/package.json index 6ab78ab4003..7f0e126a9a4 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/package.json +++ b/experimental/packages/opentelemetry-instrumentation-http/package.json @@ -31,7 +31,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json index b51a06bbaea..76b9021a308 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index e281c68bc41..94033b365f7 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -112,7 +112,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "sideEffects": false } diff --git a/experimental/packages/opentelemetry-sdk-node/package.json b/experimental/packages/opentelemetry-sdk-node/package.json index 620bef5284c..690bcb9a169 100644 --- a/experimental/packages/opentelemetry-sdk-node/package.json +++ b/experimental/packages/opentelemetry-sdk-node/package.json @@ -31,7 +31,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/otlp-exporter-base/package.json b/experimental/packages/otlp-exporter-base/package.json index e6ab9872d10..4ec2d555b61 100644 --- a/experimental/packages/otlp-exporter-base/package.json +++ b/experimental/packages/otlp-exporter-base/package.json @@ -42,7 +42,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/otlp-grpc-exporter-base/package.json b/experimental/packages/otlp-grpc-exporter-base/package.json index f593f04df37..bdc0ba0613e 100644 --- a/experimental/packages/otlp-grpc-exporter-base/package.json +++ b/experimental/packages/otlp-grpc-exporter-base/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index a396ff19ca4..362d121b1e5 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -39,7 +39,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index 04ee4c802ee..ac219640fd0 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -39,7 +39,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/experimental/packages/sdk-logs/package.json b/experimental/packages/sdk-logs/package.json index 052e6f07b21..d5b614bc5b2 100644 --- a/experimental/packages/sdk-logs/package.json +++ b/experimental/packages/sdk-logs/package.json @@ -26,7 +26,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "prepublishOnly": "npm run compile", diff --git a/experimental/packages/shim-opencensus/package.json b/experimental/packages/shim-opencensus/package.json index 3e016919496..f1840f8d2a9 100644 --- a/experimental/packages/shim-opencensus/package.json +++ b/experimental/packages/shim-opencensus/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/integration-tests/propagation-validation-server/package.json b/integration-tests/propagation-validation-server/package.json index d3c8aa0de47..0d9b204796a 100644 --- a/integration-tests/propagation-validation-server/package.json +++ b/integration-tests/propagation-validation-server/package.json @@ -23,6 +23,6 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" } } diff --git a/package-lock.json b/package-lock.json index 7347eb6c215..0cf52dcda76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -173,7 +173,7 @@ "@opentelemetry/semantic-conventions": "1.18.1" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "examples/http": { @@ -195,7 +195,7 @@ "cross-env": "^6.0.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "examples/https": { @@ -217,7 +217,7 @@ "cross-env": "^6.0.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "examples/opentelemetry-web": { @@ -252,7 +252,7 @@ "webpack-merge": "^5.8.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "examples/opentelemetry-web/node_modules/@webassemblyjs/ast": { @@ -582,7 +582,7 @@ "@opentelemetry/semantic-conventions": "1.18.1" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "experimental/backwards-compatibility/node14": { @@ -598,7 +598,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "experimental/backwards-compatibility/node14/node_modules/@types/node": { @@ -620,7 +620,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "experimental/backwards-compatibility/node16/node_modules/@types/node": { @@ -732,7 +732,7 @@ "@opentelemetry/shim-opencensus": "0.45.1" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "experimental/examples/prometheus": { @@ -774,7 +774,7 @@ "webpack": "4.46.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "experimental/packages/api-events/node_modules/terser-webpack-plugin": { @@ -878,7 +878,7 @@ "webpack": "4.46.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "experimental/packages/api-logs/node_modules/terser-webpack-plugin": { @@ -986,7 +986,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1073,7 +1073,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1245,7 +1245,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1407,7 +1407,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1493,7 +1493,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1663,7 +1663,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1828,7 +1828,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -1990,7 +1990,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2076,7 +2076,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2237,7 +2237,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2307,7 +2307,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2356,7 +2356,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2404,7 +2404,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -2569,7 +2569,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2612,7 +2612,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" @@ -2671,7 +2671,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -2964,7 +2964,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.8.0" @@ -3004,7 +3004,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -3166,7 +3166,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -3238,7 +3238,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -3317,7 +3317,7 @@ "webpack": "4.46.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.8.0" @@ -3431,7 +3431,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.4.0 <1.8.0", @@ -3591,7 +3591,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opencensus/core": "^0.1.0", @@ -3614,7 +3614,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "integration-tests/propagation-validation-server/node_modules/axios": { @@ -34057,7 +34057,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -34097,7 +34097,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "packages/opentelemetry-context-zone-peer-dep": { @@ -34134,7 +34134,7 @@ "zone.js": "0.11.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -34417,7 +34417,7 @@ "webpack": "4.46.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -34522,7 +34522,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -34568,7 +34568,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" @@ -34719,7 +34719,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -34757,7 +34757,7 @@ "webpack": "4.46.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -34871,7 +34871,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -35038,7 +35038,7 @@ "webpack": "4.46.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -35146,7 +35146,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -35196,7 +35196,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -35345,7 +35345,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "packages/opentelemetry-shim-opentracing": { @@ -35373,7 +35373,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" @@ -35416,7 +35416,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.8.0" @@ -35557,7 +35557,7 @@ "typescript": "4.4.4" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "selenium-tests": { @@ -35600,7 +35600,7 @@ "webpack-merge": "5.9.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index 7849fab284d..b8133367dea 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -30,7 +30,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index af890066ae9..9c7df4eb513 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -33,7 +33,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-context-zone/package.json b/packages/opentelemetry-context-zone/package.json index 335b12643c9..5298839d4e9 100644 --- a/packages/opentelemetry-context-zone/package.json +++ b/packages/opentelemetry-context-zone/package.json @@ -30,7 +30,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index eb9778e9c16..5105f85c536 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -44,7 +44,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index 103bf1a1cb1..c84a13bd3a6 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -30,7 +30,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index 27a18904297..0cbb258c1c9 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -40,7 +40,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index 66fb2a05b65..5ab4769d7de 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -32,7 +32,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index 38c8c332961..7dc15515d69 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index 21653a9c9d6..41085616cd7 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -41,7 +41,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index c5d1a799202..5465399b8c3 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -45,7 +45,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index f3250f61082..e441d538d4e 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -31,7 +31,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index 60fc85190ce..f91c3659efb 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -35,7 +35,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 73f1bcc849d..53c12c3a959 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -29,7 +29,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index 7315f924173..37f76886386 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -28,7 +28,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/src/**/*.js", diff --git a/packages/sdk-metrics/package.json b/packages/sdk-metrics/package.json index 952531ac430..1fe8718fe89 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -34,7 +34,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "files": [ "build/esm/**/*.js", diff --git a/packages/template/package.json b/packages/template/package.json index 111dff0c20d..a2746412c76 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -23,7 +23,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "prepublishOnly": "npm run compile", diff --git a/selenium-tests/package.json b/selenium-tests/package.json index 5e0c7a361c8..546412398f4 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -25,7 +25,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "engines": { - "node": ">=14" + "node": ">=18" }, "publishConfig": { "access": "restricted"