From ab52a8420ab8967195aacfaf8b6e37df9cb50b07 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 15 Nov 2023 11:12:37 -0500 Subject: [PATCH] [next] deprecate 14,16 and support 20 --- .github/workflows/benchmark.yml | 2 +- .github/workflows/unit-test.yml | 16 +-- examples/basic-tracer-node/package.json | 2 +- examples/esm-http-ts/package.json | 2 +- examples/grpc-js/package.json | 2 +- examples/http/package.json | 2 +- examples/https/package.json | 2 +- examples/opentelemetry-web/package.json | 2 +- examples/opentracing-shim/package.json | 2 +- examples/otlp-exporter-node/package.json | 2 +- .../node14/package.json | 2 +- .../node16/package.json | 2 +- .../examples/opencensus-shim/package.json | 2 +- experimental/packages/api-events/package.json | 2 +- experimental/packages/api-logs/package.json | 2 +- .../exporter-logs-otlp-grpc/package.json | 2 +- .../exporter-logs-otlp-http/package.json | 2 +- .../exporter-logs-otlp-proto/package.json | 2 +- .../exporter-trace-otlp-grpc/package.json | 2 +- .../exporter-trace-otlp-http/package.json | 2 +- .../exporter-trace-otlp-proto/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-sdk-node/package.json | 2 +- .../packages/otlp-exporter-base/package.json | 2 +- .../otlp-grpc-exporter-base/package.json | 2 +- .../otlp-proto-exporter-base/package.json | 2 +- .../packages/otlp-transformer/package.json | 2 +- experimental/packages/sdk-logs/package.json | 2 +- .../packages/shim-opencensus/package.json | 2 +- .../package.json | 2 +- package-lock.json | 102 +++++++++--------- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-context-zone/package.json | 2 +- packages/opentelemetry-core/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../opentelemetry-propagator-b3/package.json | 2 +- .../package.json | 2 +- packages/opentelemetry-resources/package.json | 2 +- .../opentelemetry-sdk-trace-base/package.json | 2 +- .../opentelemetry-sdk-trace-node/package.json | 2 +- .../opentelemetry-sdk-trace-web/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/sdk-metrics/package.json | 2 +- packages/template/package.json | 2 +- selenium-tests/package.json | 2 +- 57 files changed, 111 insertions(+), 117 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b847bc2d3e..1f9376d610 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 ffebc82c29..46ff06e60f 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 6219894855..2012f1f3b1 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 12897fa6a7..21641b17c2 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 99dc941919..6cbd02c014 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 06899fd23a..12c1a82982 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 cebf2cc00c..ab0ce6de45 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 04c723218d..0ce0ea213b 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 cf880f2b19..9895029b43 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 57a8a72cd0..e7578b8b1e 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 acf9ca85cd..66ffd91b28 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 932dcfacae..fdb37e7ee5 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 79570efc75..f3eb091759 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 bd1cbf7193..7ffba8178a 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 c9aa4abc5b..bc75e71dd8 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 d6e2d5a029..6d24a2a37e 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 d2713abdfd..1e2f6f50ea 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 af2c34d04a..0f26bd7b1f 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 51994bb73c..75da09efa1 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 b263499123..121588f970 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 a1daddfe14..66dbaab94d 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 da732e79b2..c091a6f0c3 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 da7712c70d..09cff6e54a 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 aac172354d..c280d8c825 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 bbaf908ba6..790800ab28 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 34c659d9af..0529cbbebd 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 cb0221f7d6..87cd7be4c3 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 7a7bf5db8d..f12b0fb542 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 6ab78ab400..7f0e126a9a 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 b51a06bbae..76b9021a30 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 e281c68bc4..94033b365f 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 620bef5284..690bcb9a16 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 e6ab9872d1..4ec2d555b6 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 f593f04df3..bdc0ba0613 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 a396ff19ca..362d121b1e 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 04ee4c802e..ac219640fd 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 052e6f07b2..d5b614bc5b 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 3e01691949..f1840f8d2a 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 d3c8aa0de4..0d9b204796 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 7347eb6c21..0cf52dcda7 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 7849fab284..b8133367de 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 af890066ae..9c7df4eb51 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 335b12643c..5298839d4e 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 eb9778e9c1..5105f85c53 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 103bf1a1cb..c84a13bd3a 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 27a1890429..0cbb258c1c 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 66fb2a05b6..5ab4769d7d 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 38c8c33296..7dc15515d6 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 21653a9c9d..41085616cd 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 c5d1a79920..5465399b8c 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 f3250f6108..e441d538d4 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 60fc85190c..f91c3659ef 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 73f1bcc849..53c12c3a95 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 7315f92417..37f7688638 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 952531ac43..1fe8718fe8 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 111dff0c20..a2746412c7 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 5e0c7a361c..546412398f 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"