aws-observability / aws-rum-web

Amazon CloudWatch RUM Web Client
Apache License 2.0
114 stars 65 forks source link

[Bug]: Use of moved dependancies #546

Open de87684333 opened 2 months ago

de87684333 commented 2 months ago

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?