Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packages #2337

Merged
merged 6 commits into from
Sep 17, 2024
Merged

Update packages #2337

merged 6 commits into from
Sep 17, 2024

Conversation

RoyEJohnson
Copy link
Contributor

@RoyEJohnson RoyEJohnson commented Aug 28, 2024

CORE-495
This PR is intended to upgrade packages that have gotten out of date. Most of the changes are in the yarn.lock.
Notable: @AWS-SDK packages are limited due to the old version of node we use. package.json is updated to mark that limitation.

@TomWoodward TomWoodward temporarily deployed to rex-web-update-packages-akuply August 28, 2024 18:50 Inactive
@TomWoodward TomWoodward had a problem deploying to rex-web-update-packages-akuply August 28, 2024 19:09 Failure
@TomWoodward TomWoodward temporarily deployed to rex-web-update-packages-akuply August 28, 2024 20:00 Inactive
Somehow introduces ts lint issue in prerender/fleet.ts
@TomWoodward TomWoodward temporarily deployed to rex-web-update-packages-akuply August 28, 2024 20:24 Inactive
@RoyEJohnson RoyEJohnson marked this pull request as ready for review September 9, 2024 16:49
@RoyEJohnson RoyEJohnson requested a review from a team as a code owner September 9, 2024 16:49
@RoyEJohnson RoyEJohnson requested a review from Dantemss September 9, 2024 16:49
@@ -396,9 +396,9 @@ async function waitUntilWorkDone(
'[SQS] [GetQueueAttributes] Unexpected response: missing Attributes key'
);

const numMessages = parseInt(attributes.ApproximateNumberOfMessages, 10) +
parseInt(attributes.ApproximateNumberOfMessagesDelayed, 10) +
parseInt(attributes.ApproximateNumberOfMessagesNotVisible, 10);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say it's probably better to just use assertDefined for each of these 3 like the attributes key above, just in case...

"@smithy/util-middleware" "^2.2.0"
"@smithy/util-retry" "^2.2.0"
"@smithy/util-utf8" "^2.3.0"
tslib "^2.6.2"

"@aws-sdk/client-dynamodb@^3.171.0":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one didn't get updated for some reason, idk if it's something we want to figure out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

% yarn why @aws-sdk/client-dynamodb
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "@aws-sdk/client-dynamodb"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "@aws-sdk/[email protected]"
info Reasons this module exists
   - "@openstax#ts-utils" depends on it
   - Hoisted from "@openstax#ts-utils#@aws-sdk#client-dynamodb"

"@smithy/util-middleware" "^2.2.0"
"@smithy/util-retry" "^2.2.0"
"@smithy/util-utf8" "^2.3.0"
tslib "^2.6.2"

"@aws-sdk/[email protected]", "@aws-sdk/client-sts@^3.171.0":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same deal here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is another indirect dependency through ts-utils. Our version of Node precludes upgrading @openstax/ts-utils (requires 16 or higher).

@TomWoodward TomWoodward merged commit 5c7de86 into main Sep 17, 2024
7 of 9 checks passed
@TomWoodward TomWoodward deleted the update-packages branch September 17, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants