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

Omit version for request which fixes outdated version with Node 18 is… #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Poolshark
Copy link

✏️ Changes

Since the package version [email protected] does not support Node 18 (which is the recommended version for Auth0 actions), request('[email protected]') has been updated with request('request') which omits the version completely.

🔗 References

This update has also been suggested by the Auth0 helpkdesk:

Thanks for contacting Auth0 Support.

It looks like the issue is with the auth0-account-link-extension rule and [email protected], since that version of the package isn't supported for Node 18: https://auth0-extensions.github.io/canirequire/#request

On line 6, you can either update the version to [email protected] or omit the version by calling require('request'). Either option will resolve this error.

Let me know if that's helpful!

Ellen

Ellen Conley
Senior Developer Support Engineer, Auth0
Hours: 8 am - 5 pm Pacific Standard Time

🎯 Testing

🚫 This change has been tested in a Webtask

🚫 This change has unit test coverage

🚫 This change has integration test coverage

🚫 This change has been tested for performance

🚀 Deployment

I guess omitting the version should work to be backward compatible to Node 16.

✅ This can be deployed any time

@Poolshark Poolshark requested a review from a team as a code owner January 24, 2024 08:56
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.

1 participant