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

Explicitly import crypto #1842

Merged
merged 5 commits into from
Oct 4, 2024
Merged

Conversation

joshmgross
Copy link
Member

#1841

crypto has to be explicitly imported in versions before Node 19, so #1824 broke using these packages.

I've validated that importing crypto works as expected on Node 16, 18, and 20:

#1841 (comment)

@joshmgross joshmgross requested review from a team as code owners October 4, 2024 20:00
@reemasardana
Copy link

I've validated that importing crypto works as expected on Node 16, 18, and 20:

Were these manual tests? Anything we can easily automate to prevent future accidental breakages like this?

@joshmgross
Copy link
Member Author

I've validated that importing crypto works as expected on Node 16, 18, and 20:

Were these manual tests? Anything we can easily automate to prevent future accidental breakages like this?

We can run tests against other Node versions besides the current support action Node version. I've validated that this catches the issue described in #1841 - #1843.

In the future we should be clear about what Node versions we support for the toolkit, but until then I think it's reasonable to validate that the toolkit at least works with what users currently expect.

@joshmgross joshmgross merged commit d14afd7 into main Oct 4, 2024
14 checks passed
@joshmgross joshmgross deleted the joshmgross/explicit-import-crypto branch October 4, 2024 21:23
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
github-merge-queue bot pushed a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
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.

4 participants