Closed jwilson-anonyome closed 3 months ago
Remove dependency on poorly maintained "ip" package, which has an open security advisory https://github.com/indutny/node-ip/issues/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.
getLocalIpAddress()
appsync-sumulator
https://github.com/aws-amplify/amplify-cli/issues/13890
Ran yarn lerna run --scope @aws-amplify/amplify-appsync-simulator test
yarn lerna run --scope @aws-amplify/amplify-appsync-simulator test
yarn test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Thank you for contributing!
Description of changes
Remove dependency on poorly maintained "ip" package, which has an open security advisory https://github.com/indutny/node-ip/issues/150
Implement an equivalent
getLocalIpAddress()
function that returns the first internal IP address. This is used by clients of theappsync-sumulator
to connect to.Issue #, if available
https://github.com/aws-amplify/amplify-cli/issues/13890
Description of how you validated changes
Ran
yarn lerna run --scope @aws-amplify/amplify-appsync-simulator test
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.