aws-observability / aws-rum-web

Amazon CloudWatch RUM Web Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Use of moved dependancies

de87684333 opened this issue · comments

Which web client version did you detect this bug with?

v1.17.2

What environment (build systems, module system, and framework) did you detect this bug with?

TypeScript v5.3.3, Webpack v5.30.0, ECMAScript modules (ESM) and Angular 17.2.3

Is your web application a single page application (SPA) or multi page application (MPA)?

SPA

Please provide your web client configuration

{
allowCookies: true,
endpoint: "https://dataplane.rum.us-west-2.amazonaws.com",
guestRoleArn: "arn:aws:iam::000000000000:role/RUM-Monitor-us-west-2-000000000000-00xx-Unauth",
identityPoolId: "us-west-2:00000000-0000-0000-0000-000000000000",
sessionSampleRate: 1,
telemetries: ['errors', 'performance', 'http']
}

Please describe the bug/issue

When the application build, I got npm warning telling me that 4 dependancies are deprecated because the packages have moved:

npm WARN deprecated @aws-sdk/signature-v4@3.374.0: This package has moved to @smithy/signature-v4
npm WARN deprecated @aws-sdk/fetch-http-handler@3.374.0: This package has moved to @smithy/fetch-http-handler
npm WARN deprecated @aws-sdk/util-hex-encoding@3.374.0: This package has moved to @smithy/util-hex-encoding
npm WARN deprecated @aws-sdk/querystring-builder@3.374.0: This package has moved to @smithy/querystring-builder
npm WARN deprecated @aws-sdk/protocol-http@3.374.0: This package has moved to @smithy/protocol-http

When I visit the associated npm pages, it's effectively written than the packages have moved.

After checking, the aws-rum-web package.json refers deprecated packages:
"@aws-sdk/fetch-http-handler": "^3.36.0",
"@aws-sdk/protocol-http": "^3.36.0",
"@aws-sdk/signature-v4": "^3.36.0",
"@aws-sdk/util-hex-encoding": "^3.36.0",

Could you please update dependancies?

Any update on this one? I still get these warnings with the latest version 1.19.0