8000 fix(cli): add `globalThis.crypto` polyfill for Node.js 18 by pi0 · Pull Request #3167 · nitrojs/nitro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(cli): add globalThis.crypto polyfill for Node.js 18 #3167

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 relate 8000 d emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

pi0
Copy link
Member
@pi0 pi0 commented Mar 6, 2025

Followup on #3166

As Node.js 18 getting EOL and more dependencies might depend on globalThis.crypto, this PR ensures more backward compatibility with CLI build time env.

Copy link

Deploying nitrojs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d946e96
Status: ✅  Deploy successful!
Preview URL: https://56936210.nitrojs.pages.dev
Branch Preview URL: https://fix-cli-crypto-polyfill.nitrojs.pages.dev

View logs

@pi0 pi0 merged commit 4eb905b into v2 Mar 6, 2025
5 checks passed
@pi0 pi0 deleted the fix/cli-crypto-polyfill branch March 6, 2025 16:23
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
0