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

J'accuse pem! #375

Merged
merged 4 commits into from
May 21, 2024
Merged

J'accuse pem! #375

merged 4 commits into from
May 21, 2024

Conversation

danfuzz
Copy link
Owner

@danfuzz danfuzz commented May 21, 2024

Turns out pem's main export will install its own global process.emit source map handler, for who-the-muffin-knows-why. But in any case, (a) it shouldn't, but thankfully (b) it's at least possible to avoid it doing that. So this PR avoids the installation and adds a test to make sure it doesn't start happening again. FWIW I was a bit wary when I started using pem in the first place, and this experience makes me reluctant to leave it in, in the long term.

See Dexus/pem#389 and jestjs/jest#15077 for more details. And thanks very much to @SimenB and @nwalters512 for their assistance.

@danfuzz danfuzz merged commit d12284f into main May 21, 2024
1 check passed
@danfuzz danfuzz deleted the jaccuse-pem branch May 21, 2024 17:00
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