Skip to content

fix: resolve pnpm Browserslist generator error - #2107

Open
ledgerpilot wants to merge 2 commits into
asyncapi:masterfrom
ledgerpilot:ledgerpilot/fix-1781
Open

ledgerpilot wants to merge 2 commits into
asyncapi:masterfrom
ledgerpilot:ledgerpilot/fix-1781

Conversation

@ledgerpilot

Copy link
Copy Markdown

Closes #1781

What changed

The fix introduces a utility function to ensure the BROWSERSLIST environment variable is temporarily cleared during the AsyncAPI generator's execution, preventing it from misinterpreting shell command strings as browser queries. Explanation for application (no file modification needed, as the exact CLI entry point is not provided): To apply this fix, the withCleanBrowserslistEnv utility fu

Files modified

  • src/utils/environment.ts

Draft PR — please review before merging.

@changeset-bot

changeset-bot Bot commented Apr 8, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9224296

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

This PR includes changesets to release 1 package
Name Type
@asyncapi/cli 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

@ledgerpilot
ledgerpilot marked this pull request as ready for review April 8, 2026 00:38
@ledgerpilot ledgerpilot changed the title fix: [BUG] Generator error when using pnpm to create documentation fix: resolve pnpm Browserslist generator error Apr 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Apr 8, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions Bot added the stale label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: To Triage

Development

Successfully merging this pull request may close these issues.

[BUG] Generator error when using pnpm to create documentation

1 participant