-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 dependencies in AuthenticationHeaderParser and AsyncMemoryStorage #4235
Conversation
Interesting that typescript doesn't catch this...is this breaking the library right now? |
@jasonnutter not just that, the circular dependency was actually added by VS Code's "Quick fix..." import option |
…rosoft-authentication-library-for-js into remove-circular-dependencies
Looks like there's a lint rule we could use to catch this in the future: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-cycle.md |
Codecov Report
*This pull request uses carry forward flags. Click here to find out more.
|
🎉 Handy links: |
🎉 We recommend upgrading to the latest version of Handy links: |
…ryStorage (AzureAD#4235) * Change files * Re-implement circular dependency fix
…ryStorage (AzureAD#4235) * Change files * Re-implement circular dependency fix
This PR:
ClientAuthError
import inAuthenticationHeaderParser
from "../index.ts" to "../error/ClientAuthError.ts"BrowserAuthError
import inAsyncMemoryStorage
from "../index.ts" to "../error/BrowserAuthError"Logger
import inAsyncMemoryStorage
from "../index.ts" to "@azure/msal-common"