Skip to content

Conversation

@cb1kenobi
Copy link
Contributor

@cb1kenobi cb1kenobi commented Oct 2, 2023

This reverts commit 1eba4d5.

The fix in the original PR did solve the problem of tracing a dependency being loaded from an ESM file via require(), but also caused a regression where a simple .mjs file with ESM imports was failing. I have a test (#364) for that.

@cb1kenobi cb1kenobi requested review from ijjk and styfle as code owners October 2, 2023 20:30
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@styfle
Copy link
Member

styfle commented Oct 2, 2023

@cb1kenobi Can you update the PR description to explain why its reverted?

@styfle styfle changed the title Revert "fix: resolve cjs deps as cjs instead of esm (#362)" fix: Revert "fix: resolve cjs deps as cjs instead of esm (#362)" Oct 2, 2023
@styfle styfle merged commit 544e352 into main Oct 2, 2023
@styfle styfle deleted the revert-362-resolve-cjs-as-cjs-not-esm branch October 2, 2023 21:42
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

🎉 This PR is included in version 0.24.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants