Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.6k
Fix a couple ofno-cycle
bugs#2083
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…es of importing fileThis fixes this situation:`a.ts`:```tsimport { foo } from './b'````b.ts`:```tsimport type { Bar } from './a'```Previously, `no-cycle` would have incorrectly reported a dependency cycle for the import in `a.ts`,even though `b.ts` is only importing types from `a.ts`.
…mporting a value in FlowThis fixes this situation:`a.js`:```jsimport { foo } from './b'````b.js`:```js//@flowimport { bar, type Baz } from './a'```Previously, `no-cycle` would have not reported a dependency cycle for the import in `a.js`, eventhough `b.js` is importing `bar`, which is not a type import, from `a.js`. This commit fixes that.
coveralls commentedMay 17, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Seems good, thanks!
Uh oh!
There was an error while loading.Please reload this page.
I am wondering when a new patch release will happen. I would like to use |
v2.23.3 is released. |
Thank you very much |
This fixes these two bugs:
There isn't an open issue for these, but these issues were relatively quick and easy for me to fix so I don't really mind if this PR gets rejected. Also, these bugs were introduced by me in#1974 (oops), so I wanted to fix them.
If you would like me to split these two bug fixes into two PRs, I'm more than happy to do that as well.