Skip to content

chore: deprecate util-base64-universal,util-utf8-universal,is-node #1240

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

Merged
merged 3 commits into from
Jun 5, 2020

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented Jun 4, 2020

Description of changes:
Deprecate 3 packages bellow:

  • @aws-sdk/util-base64-universal
  • @aws-sdk/util-utf8-universal
  • @aws-sdk/is-node

The deprecated xxx-universal packages have both dependency over xxx-node and xxx-browser and cannot be tree-shaken. So replace them with direct dependencies over runtime specifc dependencies.

This change won't break the SDK because the deprecated xxx-universal packages are only used unit tests.

/cc @seebees

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • CodeBuild project: sdk-staging-test
  • Commit ID: 9267e5c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

seebees added a commit to seebees/aws-encryption-sdk-javascript that referenced this pull request Jun 5, 2020
seebees added a commit to aws/aws-encryption-sdk-javascript that referenced this pull request Jun 5, 2020
Copy link
Contributor

@seebees seebees left a comment

Choose a reason for hiding this comment

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

LGTM

@AllanZhengYP AllanZhengYP merged commit 9ab7ef4 into aws:master Jun 5, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants