Skip to content

Commit d8dfadc

Browse files
authored
chore: manually upgrade dependency tree (#5002)
1 parent 60b6ce1 commit d8dfadc

13 files changed

Lines changed: 2665 additions & 13745 deletions

File tree

docs/features/tracer.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,6 @@ You can trace other class methods using the `captureMethod` decorator or any arb
238238

239239
Tracer can patch any [AWS SDK clients](https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-nodejs-awssdkclients.html) and create traces when your application makes calls to AWS services.
240240

241-
!!! info
242-
The following snippet assumes you are using the [**AWS SDK v3** for JavaScript](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/)
243-
244241
You can patch any AWS SDK clients by calling the `captureAWSv3Client` method:
245242

246243
=== "index.ts"
@@ -249,25 +246,6 @@ You can patch any AWS SDK clients by calling the `captureAWSv3Client` method:
249246
--8<-- "examples/snippets/tracer/captureAWSv3.ts"
250247
```
251248

252-
!!! info
253-
The following two snippets assume you are using the [**AWS SDK v2** for JavaScript](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/welcome.html)
254-
255-
You can patch all AWS SDK v2 clients by calling the `captureAWS` method:
256-
257-
=== "index.ts"
258-
259-
```typescript hl_lines="7"
260-
--8<-- "examples/snippets/tracer/captureAWSAll.ts"
261-
```
262-
263-
If you're looking to shave a few microseconds, or milliseconds depending on your function memory configuration, you can patch only specific AWS SDK v2 clients using `captureAWSClient`:
264-
265-
=== "index.ts"
266-
267-
```typescript hl_lines="6"
268-
--8<-- "examples/snippets/tracer/captureAWS.ts"
269-
```
270-
271249
### Tracing HTTP requests
272250

273251
When your function makes outgoing requests to APIs, Tracer automatically traces those calls and adds the API to the service graph as a downstream service.

examples/app/cdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"app": "tsx cdk/example-app.ts",
2+
"app": "node cdk/example-app.ts",
33
"watch": {
44
"include": ["**"],
55
"exclude": [

examples/app/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"aws-cdk-lib": "^2.237.1",
3535
"constructs": "^10.4.5",
3636
"source-map-support": "^0.5.21",
37-
"tsx": "^4.21.0",
3837
"typescript": "^5.9.3",
3938
"vitest": "^4.0.10"
4039
},
@@ -45,8 +44,8 @@
4544
"@aws-lambda-powertools/metrics": "^2.30.2",
4645
"@aws-lambda-powertools/parameters": "^2.30.2",
4746
"@aws-lambda-powertools/tracer": "^2.30.2",
48-
"@aws-sdk/client-ssm": "^3.980.0",
49-
"@aws-sdk/lib-dynamodb": "^3.980.0",
47+
"@aws-sdk/client-ssm": "^3.984.0",
48+
"@aws-sdk/lib-dynamodb": "^3.984.0",
5049
"@middy/core": "^4.7.0",
5150
"@types/aws-lambda": "^8.10.160",
5251
"@types/node": "25.2.0",

examples/snippets/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@
3535
"@aws-lambda-powertools/parser": "^2.30.2",
3636
"@aws-lambda-powertools/tracer": "^2.30.2",
3737
"@aws-sdk/client-appconfigdata": "^3.980.0",
38-
"@aws-sdk/client-dynamodb": "^3.980.0",
39-
"@aws-sdk/client-secrets-manager": "^3.980.0",
40-
"@aws-sdk/client-ssm": "^3.980.0",
41-
"@aws-sdk/util-dynamodb": "^3.980.0",
38+
"@aws-sdk/client-dynamodb": "^3.984.0",
39+
"@aws-sdk/client-secrets-manager": "^3.984.0",
40+
"@aws-sdk/client-ssm": "^3.984.0",
41+
"@aws-sdk/util-dynamodb": "^3.984.0",
4242
"@middy/core": "^4.7.0",
4343
"@redis/client": "^5.10.0",
4444
"@valkey/valkey-glide": "^2.2.6",
45-
"aws-sdk": "^2.1693.0",
4645
"aws-sdk-client-mock": "^4.1.0",
4746
"zod": "^4.3.6"
4847
},

layers/cdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"app": "npx tsx bin/layers.ts",
2+
"app": "node bin/layers.ts",
33
"watch": {
44
"include": ["**"],
55
"exclude": [

layers/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"dependencies": {
4545
"aws-cdk": "^2.1104.0",
4646
"aws-cdk-lib": "^2.237.1",
47-
"esbuild": "^0.27.2",
48-
"tsx": "^4.21.0"
47+
"esbuild": "^0.27.2"
4948
}
5049
}

0 commit comments

Comments
 (0)