Skip to content

Conversation

RomainMuller
Copy link
Contributor

Ran npm-check-updates and yarn upgrade to keep the yarn.lock file
up-to-date.

Also updated yarn-update.yml to ignore lambda-tester since the
current major version is incompatible with our minimum node
requirement (because of a transitive dependency of theirs).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file
up-to-date.

Also updated `yarn-update.yml` to ignore `lambda-tester` since the
current major version is incompatible with our minimum `node`
requirement (because of a transitive dependency of theirs).
@RomainMuller RomainMuller added the dependencies This issue is a problem in a dependency or a pull request that updates a dependency file. label Sep 15, 2020
@RomainMuller RomainMuller requested a review from a team September 15, 2020 12:26
@RomainMuller RomainMuller self-assigned this Sep 15, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 15, 2020
RomainMuller and others added 2 commits September 15, 2020 15:25
Changes `eslint-ignore` statements to use the new
`@typescript-eslint/no-shadow` rule where they were previously using
`no-shadow`. This accomodates the new version of the typescript eslint
plugin.

Change imports of interfaces from `aws-sdk` from nested modules. The
location of these interfaces was changed in a recent release.
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 53f255b
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@MrArnoldPalmer
Copy link
Contributor

@RomainMuller A recent change in aws-sdk moved a bunch of the config type definitions into a new file. This was done to decrease compile time of TS projects using the sdk. Since we are using these interfaces within the custom resource provider framework runtime code, @iliapolo brought up a good point that this may break depending on the version of the aws-sdk that is available in the lambda runtime.

Wondering what next steps we should take here. @aws/aws-cdk-team

@RomainMuller
Copy link
Contributor Author

@MrArnoldPalmer in the interim you might want to simply exclude aws-sdk from the update...

/**
* A Capture object that captures a custom type
*/
// eslint-disable-next-line @typescript-eslint/no-shadow
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed? can't quite tell why if so.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah it is needed because the new typescript-eslint plugin also detects shadowing for generic names. T is apparently shadowed here.

@MrArnoldPalmer
Copy link
Contributor

Closing in favor of #10402, since this generates a new yarn.lock file. Its easier to reset back to master and upgrade excluding aws-sdk.

@njlynch njlynch deleted the rmuller/upgrade-deps branch October 19, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. dependencies This issue is a problem in a dependency or a pull request that updates a dependency file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants