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

feat: resolve bun/deno compat issues #374

Merged
merged 1 commit into from
Oct 5, 2023
Merged

feat: resolve bun/deno compat issues #374

merged 1 commit into from
Oct 5, 2023

Conversation

panva
Copy link
Contributor

@panva panva commented Sep 22, 2023

Description

Since compatibility modes are becoming more and more popular it is inevitable that jwks-rsa is used in bun/deno sooner or later (actually, already might be). Because of how these runtimes fail to recognize CJS and treat its require calls to use the dependency's require package.json target we can't depend on using a node-runtime ignored algorithm argument and have to provide an actual value.

References

Testing

This only stands to improve non-officially supported runtimes for this module, it does not affect how the module behaves under node.js runtime

@panva panva requested a review from a team as a code owner September 22, 2023 07:02
@panva panva temporarily deployed to internal September 22, 2023 07:02 — with GitHub Actions Inactive
@panva panva temporarily deployed to internal September 22, 2023 07:02 — with GitHub Actions Inactive
@panva panva mentioned this pull request Sep 22, 2023
2 tasks
@panva panva marked this pull request as draft September 22, 2023 07:05
@panva panva temporarily deployed to internal September 22, 2023 07:10 — with GitHub Actions Inactive
@panva panva temporarily deployed to internal September 22, 2023 07:10 — with GitHub Actions Inactive
@panva panva marked this pull request as ready for review September 22, 2023 07:10
@adamjmcgrath adamjmcgrath merged commit c14d857 into master Oct 5, 2023
15 of 17 checks passed
@adamjmcgrath adamjmcgrath deleted the bun-compat branch October 5, 2023 10:56
@adamjmcgrath adamjmcgrath mentioned this pull request Oct 5, 2023
@adamjmcgrath adamjmcgrath changed the title fix resolve bun/deno compat issues feat: resolve bun/deno compat issues Oct 5, 2023
@adamjmcgrath adamjmcgrath mentioned this pull request Oct 5, 2023
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.

None yet

2 participants