-
Notifications
You must be signed in to change notification settings - Fork 597
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
chore(dep): upgrade typescript to 4.2.4 #2280
Conversation
This build fails with
|
Looks like the tslib already exports |
Codecov Report
@@ Coverage Diff @@
## main #2280 +/- ##
======================================
Coverage ? 0
======================================
Files ? 0
Lines ? 0
Branches ? 0
======================================
Hits ? 0
Misses ? 0
Partials ? 0 Continue to review full report at Codecov.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Hey there, dunno if that's related but lambdas deployed with 3.13.1 are failing on my side with: {
"errorType": "TypeError",
"errorMessage": "(0 , tslib__WEBPACK_IMPORTED_MODULE_0__.__spreadArray) is not a function",
"trace": [
"TypeError: (0 , tslib__WEBPACK_IMPORTED_MODULE_0__.__spreadArray) is not a function",
" at /var/task/webpack:/turnshift/node_modules/@aws-sdk/middleware-stack/dist/es/MiddlewareStack.js:110:58",
" at Array.reduce (<anonymous>)",
" at getMiddlewareList (/var/task/webpack:/turnshift/node_modules/@aws-sdk/middleware-stack/dist/es/MiddlewareStack.js:108:1)",
" at Object.resolve (/var/task/webpack:/turnshift/node_modules/@aws-sdk/middleware-stack/dist/es/MiddlewareStack.js:190:39)",
" at ListTopicsCommand.resolveMiddleware (/var/task/webpack:/turnshift/node_modules/@aws-sdk/client-sns/dist/es/commands/ListTopicsCommand.js:42:1)",
" at SNS.Client.send (/var/task/webpack:/turnshift/node_modules/@aws-sdk/smithy-client/dist/es/client.js:10:1)",
" at SNS.listTopics (/var/task/webpack:/turnshift/node_modules/@aws-sdk/client-sns/dist/es/SNS.js:348:1)",
" at publishMessage (/var/task/webpack:/turnshift/lib/publishMessage.js:31:48)",
" at /var/task/webpack:/turnshift/jobs/slackSyncAllOrganizations.js:23:28",
" at Array.map (<anonymous>)"
]
} Searching for "__spreadArray", which is my error, led me to here. Thanks. |
This change also broke our builds. We were referencing the sdk version as For now we pinned the version to I think this should have been a minor version bump, not a patch. |
Should also be mentioned that version 2.0.0 of tslib does not contain the __spreadArray function . That function was introduced in 2.1.0 https://github.com/microsoft/tslib/blob/2.1.0/tslib.d.ts |
@AllanZhengYP Is this solved now? Should aws-sdk specify tslib 2.1.0 instead of 2.0.0? Thanks |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.