-
-
Notifications
You must be signed in to change notification settings - Fork 17
feat(util.is()
): introduce
#119
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
base: main
Are you sure you want to change the base?
Conversation
@AugustinMauroy Can you check the original implementations and make sure these match them? If they do, can you make that clear? |
@avivkeller & @ljharb I just applied what the docs said. So I will not change it for now. Here docs ref
|
I'm sorry @ljharb but If you think there are better way to handle that please first update node api doc and then we will update this codemod |
For the opinion ones, fine, but one of them is a bug and is just broken. It shouldn't matter what's in the docs, but it matters what code does. |
I'm annoyed because I'm caught between two stools. On the one hand, I agree with you. On the other, I want to follow the documentation strictly so that the org node is consistent. |
That seems like an arbitrary and counterproductive constraint to me. The docs aren’t the source of truth, they need to reflect the actual source of truth, the code. |
76b6fb5
to
1f71b3e
Compare
cc @ljharb synced with the pr |
LGTM, thanks! |
Co-authored-by: Bruno Rodrigues <[email protected]>
7d65dc8
to
b52adfd
Compare
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.
Looking good!
Aside from a few small things / nets, I think it's just missing support for dynamic imports?
Any of our codemod support that so if we want to support that do it in aside pr that create utility + update codemod |
I think all of our migrations must support that in order to claim the deprecation is handled, which I believe is the intention. If it's best to create a shared util to do it, let's do that right away. I thought you had previously said all of our current ones do handle this (and your message here also says they do, but I'm guessing from the rest that they actually don't?). |
I just realized that we have utility for that but I was never used
It's a misunderstanding there are any of our codemod that support that |
Co-Authored-By: Jacob Smith <[email protected]>
Description
Close #116