diff --git a/nodejs/package-lock.json b/nodejs/package-lock.json index 97039571ae..68c98d6674 100644 --- a/nodejs/package-lock.json +++ b/nodejs/package-lock.json @@ -15,7 +15,7 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", - "aws-sdk": "2.1678.0", + "aws-sdk": "2.1681.0", "bestzip": "2.2.1", "copyfiles": "2.4.1", "eslint": "^8.57.0", @@ -3482,9 +3482,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1678.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1678.0.tgz", - "integrity": "sha512-7+MNi7hholVrQYBu8bVbfzOBHxKlC63BfuxUwwMaUrFN1hok4pdB0QsEvL6YHwZtF+3Bq5zhONImnT2Q7W15yg==", + "version": "2.1681.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1681.0.tgz", + "integrity": "sha512-oeCr0muJraT+g7ceTMlJcidVayPMfT69EEvDIWMbeBIHqbLOJVtpsF577VZJNEh2Zkj+8DivR69kWdu+Y9JSyQ==", "hasInstallScript": true, "dependencies": { "buffer": "4.9.2", @@ -14006,11 +14006,11 @@ "version": "0.0.0", "license": "Apache-2.0", "dependencies": { - "aws-sdk": "2.1678.0" + "aws-sdk": "2.1681.0" }, "devDependencies": { "@types/aws-lambda": "8.10.143", - "@types/node": "22.4.1", + "@types/node": "22.3.0", "bestzip": "2.2.1", "copyfiles": "2.4.1", "rimraf": "6.0.1", @@ -14020,6 +14020,21 @@ "engines": { "node": ">=16.0.0" } + }, + "sample-apps/aws-sdk/node_modules/@types/node": { + "version": "22.3.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz", + "integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==", + "dev": true, + "dependencies": { + "undici-types": "~6.18.2" + } + }, + "sample-apps/aws-sdk/node_modules/undici-types": { + "version": "6.18.2", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz", + "integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==", + "dev": true } } } diff --git a/nodejs/package.json b/nodejs/package.json index d5e38cc1fc..15889babf3 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", - "aws-sdk": "2.1678.0", + "aws-sdk": "2.1681.0", "bestzip": "2.2.1", "copyfiles": "2.4.1", "eslint": "^8.57.0", diff --git a/nodejs/packages/layer/package-lock.json b/nodejs/packages/layer/package-lock.json index 4b1b96465e..ea39f31aa3 100644 --- a/nodejs/packages/layer/package-lock.json +++ b/nodejs/packages/layer/package-lock.json @@ -11,6 +11,8 @@ "dependencies": { "@opentelemetry/api": "^1.9.0", "@opentelemetry/api-logs": "^0.52.1", + "@opentelemetry/auto-configuration-propagators": "^0.2.0", + "@opentelemetry/core": "^1.25.1", "@opentelemetry/exporter-logs-otlp-proto": "^0.52.1", "@opentelemetry/exporter-metrics-otlp-proto": "^0.52.1", "@opentelemetry/exporter-trace-otlp-proto": "^0.52.1", @@ -41,7 +43,7 @@ "devDependencies": { "@types/mocha": "^10.0.7", "@types/sinon": "^17.0.3", - "mocha": "^10.7.0", + "mocha": "^10.7.3", "sinon": "^18.0.0", "ts-node": "^10.9.2" }, @@ -105,6 +107,25 @@ "node": ">=14" } }, + "node_modules/@opentelemetry/auto-configuration-propagators": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/auto-configuration-propagators/-/auto-configuration-propagators-0.2.0.tgz", + "integrity": "sha512-G2PIxLgvUYvGeffJYEqdR/vLiXwbwIZ/Jk4T3FBP//7blgHi7H2E91VdbFBP8sG7kPJwDt9ZykWl+C6WALZ/iQ==", + "dependencies": { + "@opentelemetry/core": "^1.25.1", + "@opentelemetry/propagator-aws-xray": "^1.25.1", + "@opentelemetry/propagator-aws-xray-lambda": "^0.52.1", + "@opentelemetry/propagator-b3": "^1.25.1", + "@opentelemetry/propagator-jaeger": "^1.25.1", + "@opentelemetry/propagator-ot-trace": "^0.27.2" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.4.1" + } + }, "node_modules/@opentelemetry/context-async-hooks": { "version": "1.25.1", "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.25.1.tgz", @@ -525,6 +546,20 @@ "@opentelemetry/api": ">=1.0.0 <1.10.0" } }, + "node_modules/@opentelemetry/propagator-aws-xray-lambda": { + "version": "0.52.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-aws-xray-lambda/-/propagator-aws-xray-lambda-0.52.1.tgz", + "integrity": "sha512-LBAu/1SRVuWrsWTzqUxZmzWinsS76UH/qApgYjmaN6Q8RcObXeZOmR0+FLSwkRX7OLGhLLQKiu3CQmlgXbpNCw==", + "dependencies": { + "@opentelemetry/propagator-aws-xray": "1.25.1" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.3.0 <1.10.0" + } + }, "node_modules/@opentelemetry/propagator-b3": { "version": "1.25.1", "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-1.25.1.tgz", @@ -553,6 +588,17 @@ "@opentelemetry/api": ">=1.0.0 <1.10.0" } }, + "node_modules/@opentelemetry/propagator-ot-trace": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-ot-trace/-/propagator-ot-trace-0.27.2.tgz", + "integrity": "sha512-6ynu2LfTF8vjYn4BcTmT5wiIp5JY6ELNuihfUJ9D2gmm/SLxI4COygvAoDHliyEKZy1yznmcWDJPTPW+9waawg==", + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.0" + } + }, "node_modules/@opentelemetry/redis-common": { "version": "0.36.2", "resolved": "https://registry.npmjs.org/@opentelemetry/redis-common/-/redis-common-0.36.2.tgz", @@ -1508,9 +1554,9 @@ } }, "node_modules/mocha": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", - "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", "dev": true, "dependencies": { "ansi-colors": "^4.1.3", diff --git a/nodejs/sample-apps/aws-sdk/package-lock.json b/nodejs/sample-apps/aws-sdk/package-lock.json index a4e7ac2975..ae1c7dd481 100644 --- a/nodejs/sample-apps/aws-sdk/package-lock.json +++ b/nodejs/sample-apps/aws-sdk/package-lock.json @@ -9,11 +9,11 @@ "version": "0.0.0", "license": "Apache-2.0", "dependencies": { - "aws-sdk": "2.1678.0" + "aws-sdk": "2.1681.0" }, "devDependencies": { "@types/aws-lambda": "8.10.143", - "@types/node": "22.3.0", + "@types/node": "22.5.0", "bestzip": "2.2.1", "copyfiles": "2.4.1", "rimraf": "6.0.1", @@ -198,12 +198,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.3.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz", - "integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==", + "version": "22.5.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.0.tgz", + "integrity": "sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==", "dev": true, "dependencies": { - "undici-types": "~6.18.2" + "undici-types": "~6.19.2" } }, "node_modules/acorn": { @@ -350,9 +350,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1678.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1678.0.tgz", - "integrity": "sha512-7+MNi7hholVrQYBu8bVbfzOBHxKlC63BfuxUwwMaUrFN1hok4pdB0QsEvL6YHwZtF+3Bq5zhONImnT2Q7W15yg==", + "version": "2.1681.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1681.0.tgz", + "integrity": "sha512-oeCr0muJraT+g7ceTMlJcidVayPMfT69EEvDIWMbeBIHqbLOJVtpsF577VZJNEh2Zkj+8DivR69kWdu+Y9JSyQ==", "hasInstallScript": true, "dependencies": { "buffer": "4.9.2", @@ -1595,9 +1595,9 @@ } }, "node_modules/undici-types": { - "version": "6.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz", - "integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==", + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "dev": true }, "node_modules/untildify": { diff --git a/nodejs/sample-apps/aws-sdk/package.json b/nodejs/sample-apps/aws-sdk/package.json index 091a0cbcbd..63ca7aba33 100644 --- a/nodejs/sample-apps/aws-sdk/package.json +++ b/nodejs/sample-apps/aws-sdk/package.json @@ -36,7 +36,7 @@ ], "devDependencies": { "@types/aws-lambda": "8.10.143", - "@types/node": "22.3.0", + "@types/node": "22.5.0", "bestzip": "2.2.1", "copyfiles": "2.4.1", "rimraf": "6.0.1", @@ -44,6 +44,6 @@ "typescript": "5.5.4" }, "dependencies": { - "aws-sdk": "2.1678.0" + "aws-sdk": "2.1681.0" } }