Skip to content

feat: resolve bun/deno compat issues - #374

Merged
adamjmcgrath merged 1 commit into
masterfrom
bun-compat
Oct 5, 2023
Merged

adamjmcgrath merged 1 commit into
masterfrom
bun-compat

Conversation

@panva

@panva panva commented Sep 22, 2023 •

Copy link
Copy Markdown
Member

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 done
@panva
panva requested a review from adamjmcgrath September 22, 2023 07:03
@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
@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

This branch was previously deployed

1 inactive deployment
internal — 5e9f786f Deployed Sep 22, 2023 by panva
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.

2 participants