-
Notifications
You must be signed in to change notification settings - Fork 474
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
Fix circular references #879 #880
Fix circular references #879 #880
Conversation
This PR is stale because is has been open for 90 days with no activity. |
not stale, this is still an issue, and this PR still fixes it |
The bot is just doing its job. We haven't forgotten about this. We're trying to work through getting |
xml-crypto v6 came out, does that have the fix? (I am not sure what fix you are waiting for, so I am sorry for the ignorance). |
Yea, that contains part of the fix. I'm working on getting it into |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #880 +/- ##
=======================================
Coverage 64.42% 64.42%
=======================================
Files 4 4
Lines 149 149
Branches 37 37
=======================================
Hits 96 96
Misses 30 30
Partials 23 23 ☔ View full report in Codecov by Sentry. |
@LaurensRietveld , this PR is the next in line to get landed. Can you think of anyway to test this to make sure that the problem doesn't re-appear? |
Good to hear! I thought about testing this properly, but think that's intricate: my problem only occurs when 1) there is a circular dependency, and 2) when importing node-saml from an ESM module. |
Description
This fixes #879 . Fixed this by breaking the circular chain, ensuring that we don't import the
./index.js
file in other files.I did not include tests, as this depends on the node version, and whether the package runs in ESM mode
Checklist: