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

fix: remove node-ip dependency #13877

Merged
merged 1 commit into from
Aug 12, 2024
Merged

fix: remove node-ip dependency #13877

merged 1 commit into from
Aug 12, 2024

Conversation

jwilson-anonyome
Copy link
Contributor

@jwilson-anonyome jwilson-anonyome commented Aug 2, 2024

Description of changes

Remove dependency on poorly maintained "ip" package, which has an open security advisory indutny/node-ip#150

Implement an equivalent getLocalIpAddress() function that returns the first internal IP address. This is used by clients of the appsync-sumulator to connect to.

Issue #, if available

#13890

Description of how you validated changes

Ran yarn lerna run --scope @aws-amplify/amplify-appsync-simulator test

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Pull request labels are added

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

@0618
Copy link
Contributor

0618 commented Aug 12, 2024

Thank you for contributing!

@0618 0618 merged commit 5e9cd5e into aws-amplify:dev Aug 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants