-
Notifications
You must be signed in to change notification settings - Fork 98
[fix]Migrate deprecated isModuleDeclaration
method to recommended replacements
#261
base: master
Are you sure you want to change the base?
[fix]Migrate deprecated isModuleDeclaration
method to recommended replacements
#261
Conversation
Can we please get some movement on this? |
@munteanuic Do you have the ability to merge this? |
@Pearce-Ropion i do not |
Any updates on movement here? @munteanuic you approved the changes nearly 2 months ago - what is the next step? |
Probably easier to just make a separate fork at this point. Project seems unresponsive. |
As mentioned in previous comments, is this expected to be approved and merged at all? |
For anyone following this thread, I've just published It can be used the same way, but requires switching out instances of I don't really plan on taking over maintenance of this project, but my team was getting frustrated enough with this warning to take the time to get the fix up. |
Thank you so much @Pearce-Ropion! Let's try one final tag to the whole team: @lodash @veksen @falsyvalues @zackhall @bnjmnt4n @mathiasbynens @jdalton The organisation should have more people with maintainer level access honestly. |
@jdalton can you please take a look here? Maybe add @Pearce-Ropion to the repository? |
Thank you @Pearce-Ropion! I'll be using your publication instead because of the delay merging this pull request. |
Resolves #259
The
isModuleDeclaration
method was recently deprecated in babel/babel#15266 which causes deprecation notices akin to the following:According to the migration guide, babel plugins are recommended to replace the method with either
isImportOrExportDeclaration
in the case where backward compatibility is not essential. Or, if backward compatibility is an issue, a combination ofisImportDeclaration
andisExportDeclaration
. This PR applies the latter.The recommendation mentioned above can be found in the "Migration guide (for plugin authors)" section of babel/babel#15266.
Relates to #260 – I didn't have permission to update that PR and it hasn't had any movement from the PR author for a while.