Skip to content

Conversation

@torresgol10
Copy link
Contributor

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

The eval package is currently used to evaluate the server bundle. However, this package is unmaintained and archived.
This PR replaces the dependency on eval with Node.js native vm.compileFunction. This reduces external dependencies while strictly maintaining the existing behavior (executing the bundle with access to parent module's require).

Test Plan

I verified the changes by running the full website build locally, which acts as an end-to-end test for the SSG renderer.

  1. Ran yarn build:website in the root workspace.
  2. Validated that the build completed successfully for all configured locales (en, fr, pt-BR, ko, zh-CN).
  3. Verified that static HTML files were generated in the build directory.

Test links

N/A (Local verification only)

Related issues/PRs

N/A

@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Jan 22, 2026
@netlify
Copy link

netlify bot commented Jan 22, 2026

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 5607987
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69728c50d72f2a00071d97ec
😎 Deploy Preview https://deploy-preview-11685--docusaurus-2.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 project configuration.

@slorber slorber added the Argos Add this label to run UI visual regression tests. See argos.yml GH action. label Jan 23, 2026
@argos-ci
Copy link

argos-ci bot commented Jan 23, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Jan 23, 2026, 11:06 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Argos Add this label to run UI visual regression tests. See argos.yml GH action. CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants