-
-
Notifications
You must be signed in to change notification settings - Fork 7
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: improve InclusiveDescendant performance #16
Conversation
the issue you reference is old, and I already fixed it in 766107b? |
Why stay on v5? Why not use more modern utilities? |
@wooorm I'm using https://github.com/web-infra-dev/rspress See also web-infra-dev/rspress#1105 (comment) And in my practice, |
I think the solution is for rspress to update? I am not sure what practice you mean with directives? I have not encountered problems with directives. |
Indeed, but that requires a lot of work and is a breaking change for the rspress ecosystem, so that would not happen quickly, like
I'm just saying for I'm currently using local patch to workaround. |
It’s been 16 months. There have been so many bug fixes in so many packages. I cannot backport everything. Software moves, I get that folks can’t always update immediately but rspress really needs to move fast than, what, every 2 or 3 years? I sometimes backport fixes. But often because runtime code actually crashes. And I don’t think I have done that after more than a year.
Why has no other rspress user mentioned this problem before? Why can you not use the latest version of this package?
That sounds like a problem. Are you using an outdated |
I totally understand, that's why I'm sending the PR instead of requesting you to fix it. But this issue makes
Not every
As I mentioned, That sounds like a problem. Are you using an outdated Nope, latest |
Have you tried? See the changelog: https://github.com/syntax-tree/unist-util-visit-parents/releases. I think you can use latest versions. |
Installing the new |
This comment has been minimized.
This comment has been minimized.
You can use a resolution if you want to work around that, but it’s a feature of the javascript world that 2 versions can exist. I recommend to get rspress to update. There are many bug fixes that they miss. |
Initial checklist
Description of changes
microsoft/TypeScript#51188
Restrict the depth to avoid
Type instantiation is excessively deep and possibly infinite
Note
The PR target is
v5