From 5df0bbfcc00775565b420e2b62766677c5ccb714 Mon Sep 17 00:00:00 2001 From: Vasi Vasireddy Date: Wed, 1 Nov 2023 13:59:59 -0700 Subject: [PATCH] Update OTel JS dependencies --- nodejs/package.json | 8 ++-- nodejs/packages/layer/package.json | 50 ++++++++++++------------- nodejs/sample-apps/aws-sdk/package.json | 4 +- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/nodejs/package.json b/nodejs/package.json index d138b4ef8d..ac858a6ed2 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -11,7 +11,7 @@ "types": "build/src/index.d.ts", "scripts": { "clean": "lerna run clean", - "postinstall": "npm run bootstrap", + "postinstall": "npm run bootstrap --verbose", "precompile": "tsc --version", "compile": "lerna run compile", "test": "lerna run test", @@ -31,15 +31,15 @@ "license": "Apache-2.0", "devDependencies": { "@typescript-eslint/eslint-plugin": "6.4.0", - "@typescript-eslint/parser": "5.62.0", - "aws-sdk": "2.1435.0", + "@typescript-eslint/parser": "6.9.1", + "aws-sdk": "2.1486.0", "bestzip": "2.2.1", "copyfiles": "2.4.1", "eslint": "8.47.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-import": "2.27.5", "gts": "3.1.1", - "lerna": "6.5.1", + "lerna": "^6.5.1", "lerna-changelog": "2.2.0", "rimraf": "5.0.1", "typescript": "5.1.6" diff --git a/nodejs/packages/layer/package.json b/nodejs/packages/layer/package.json index db70de4bbf..8965643ad5 100644 --- a/nodejs/packages/layer/package.json +++ b/nodejs/packages/layer/package.json @@ -26,30 +26,30 @@ "node": ">=14.0.0" }, "dependencies": { - "@opentelemetry/api": "^1.4.1", - "@opentelemetry/exporter-trace-otlp-proto": "^0.43.0", - "@opentelemetry/exporter-metrics-otlp-proto": "^0.43.0", - "@opentelemetry/instrumentation": "^0.43.0", - "@opentelemetry/instrumentation-aws-lambda": "^0.37.0", - "@opentelemetry/instrumentation-aws-sdk": "^0.36.0", - "@opentelemetry/instrumentation-dns": "^0.32.0", - "@opentelemetry/instrumentation-express": "^0.33.0", - "@opentelemetry/instrumentation-graphql": "^0.35.0", - "@opentelemetry/instrumentation-grpc": "^0.43.0", - "@opentelemetry/instrumentation-hapi": "^0.33.0", - "@opentelemetry/instrumentation-http": "^0.43.0", - "@opentelemetry/instrumentation-ioredis": "^0.35.0", - "@opentelemetry/instrumentation-koa": "^0.36.0", - "@opentelemetry/instrumentation-mongodb": "^0.37.0", - "@opentelemetry/instrumentation-mysql": "^0.34.0", - "@opentelemetry/instrumentation-net": "^0.32.0", - "@opentelemetry/instrumentation-pg": "^0.36.0", - "@opentelemetry/instrumentation-redis": "^0.35.0", - "@opentelemetry/propagator-aws-xray": "^1.3.0", - "@opentelemetry/resource-detector-aws": "^1.3.0", - "@opentelemetry/resources": "^1.15.0", - "@opentelemetry/sdk-metrics": "^1.15.0", - "@opentelemetry/sdk-trace-base": "^1.15.0", - "@opentelemetry/sdk-trace-node": "^1.15.0" + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/exporter-trace-otlp-proto": "^0.44.0", + "@opentelemetry/exporter-metrics-otlp-proto": "^0.44.0", + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/instrumentation-aws-lambda": "^0.37.1", + "@opentelemetry/instrumentation-aws-sdk": "^0.36.1", + "@opentelemetry/instrumentation-dns": "^0.32.3", + "@opentelemetry/instrumentation-express": "^0.33.2", + "@opentelemetry/instrumentation-graphql": "^0.35.2", + "@opentelemetry/instrumentation-grpc": "^0.44.0", + "@opentelemetry/instrumentation-hapi": "^0.33.1", + "@opentelemetry/instrumentation-http": "^0.44.0", + "@opentelemetry/instrumentation-ioredis": "^0.35.2", + "@opentelemetry/instrumentation-koa": "^0.36.1", + "@opentelemetry/instrumentation-mongodb": "^0.37.1", + "@opentelemetry/instrumentation-mysql": "^0.34.2", + "@opentelemetry/instrumentation-net": "^0.32.2", + "@opentelemetry/instrumentation-pg": "^0.36.2", + "@opentelemetry/instrumentation-redis": "^0.35.2", + "@opentelemetry/propagator-aws-xray": "^1.3.1", + "@opentelemetry/resource-detector-aws": "^1.3.2", + "@opentelemetry/resources": "^1.17.1", + "@opentelemetry/sdk-metrics": "^1.17.1", + "@opentelemetry/sdk-trace-base": "^1.17.1", + "@opentelemetry/sdk-trace-node": "^1.17.1" } } diff --git a/nodejs/sample-apps/aws-sdk/package.json b/nodejs/sample-apps/aws-sdk/package.json index 23c0508ed1..facea20387 100644 --- a/nodejs/sample-apps/aws-sdk/package.json +++ b/nodejs/sample-apps/aws-sdk/package.json @@ -37,7 +37,7 @@ ], "devDependencies": { "@types/aws-lambda": "8.10.119", - "@types/node": "18.15.10", + "@types/node": "20.8.10", "bestzip": "2.2.0", "copyfiles": "2.4.1", "rimraf": "5.0.1", @@ -47,6 +47,6 @@ "typescript": "5.1.6" }, "dependencies": { - "aws-sdk": "2.1435.0" + "aws-sdk": "2.1486.0" } }