-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update packages #2337
Conversation
9af911f
to
cbd0a62
Compare
Somehow introduces ts lint issue in prerender/fleet.ts
578ea2e
to
1b4f781
Compare
@@ -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); |
There was a problem hiding this comment.
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": |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same deal here
There was a problem hiding this comment.
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).
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.