Skip to content

Conversation

@jbroma
Copy link
Member

@jbroma jbroma commented Nov 12, 2025

Description

Replaces use of node util.styleText with chalk for compatibility with versions of node older than 21.

Part of efforts to get the e2e metro tests to run

Related Issue

n/a

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@changeset-bot
Copy link

changeset-bot bot commented Nov 12, 2025

🦋 Changeset detected

Latest commit: 80c93fe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 37 packages
Name Type
@module-federation/metro Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/runtime Patch
@module-federation/enhanced Patch
@module-federation/rspack Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/sdk Patch
@module-federation/runtime-tools Patch
@module-federation/managers Patch
@module-federation/manifest Patch
@module-federation/dts-plugin Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/devtools Patch
@module-federation/bridge-react Patch
@module-federation/bridge-vue3 Patch
@module-federation/bridge-shared Patch
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/modern-js Patch
@module-federation/retry-plugin Patch
@module-federation/data-prefetch Patch
@module-federation/rsbuild-plugin Patch
@module-federation/error-codes Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/runtime-core Patch
create-module-federation Patch
@module-federation/cli Patch
@module-federation/rspress-plugin Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/storybook-addon Patch
@module-federation/modernjsapp Patch
@module-federation/esbuild Patch
@module-federation/utilities Patch
remote5 Patch
remote6 Patch
website-new Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Nov 12, 2025

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 80c93fe
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6914c2467c99de00088b85ca
😎 Deploy Preview https://deploy-preview-4206--module-federation-docs.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.

@jbroma jbroma force-pushed the fix/use-chalk-for-compat branch from cdc6b35 to 8be7ef9 Compare November 12, 2025 13:42
@Netail
Copy link

Netail commented Nov 12, 2025

Would suggest picocolors instead; https://e18e.dev/docs/replacements/chalk.html

@Netail
Copy link

Netail commented Nov 12, 2025

node older than 21.

older than 20.12.0*, all of the versions before 20 did hit EOL tho 🤔

@jbroma
Copy link
Member Author

jbroma commented Nov 12, 2025

Would suggest picocolors instead; e18e.dev/docs/replacements/chalk.html

good one, will include that one, thanks 👍

node older than 21.

older than 20.12.0*, all of the versions before 20 did hit EOL tho 🤔

nice catch 😄

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants