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

fix: crypto.getRandomValues is not available in old Node versions #19237

Merged

Conversation

sapphi-red
Copy link
Member

@sapphi-red sapphi-red commented Jan 20, 2025

Description

import crypto from 'node:crypto';

console.log(crypto.getRandomValues) // undefined on Node 16.20.1

refs #19236

Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for vite-docs-v4 ready!

Name Link
🔨 Latest commit 91f38b9
🔍 Latest deploy log https://app.netlify.com/sites/vite-docs-v4/deploys/678e25b57b053d00080fffe7
😎 Deploy Preview https://deploy-preview-19237--vite-docs-v4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sapphi-red sapphi-red merged commit f4d3c46 into v4 Jan 20, 2025
12 of 20 checks passed
@sapphi-red sapphi-red deleted the fix/crypto-get-random-values-are-not-available-until-newer-node branch January 20, 2025 10:34
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