The repository archived babel-plugin-lodash is using the deprecated isModuleDeclaration. #38786
Closed
2 tasks done
Labels
topic: webpack/babel
Webpack or babel
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
Hello,
I'm relatively new to contributing to open-source projects and raising issues, but I've noticed an important aspect regarding the babel-plugin-lodash used in Gatsby. It currently utilizes isModuleDeclaration, which has been deprecated. Additionally, it's worth noting that as of September 17, 2023, babel-plugin-lodash has been archived and is no longer actively maintained or updated.
Issue:
The isModuleDeclaration within babel-plugin-lodash has been deprecated. And babel-plugin-lodash will be archived as of September 23, 2023 and will not be modified.
Impact:
This can be addressed to ensure compliance with the latest BABEL standards.
Thank you for considering this issue. Looking forward to any updates or thoughts on this matter.
babel-plugin-lodash : https://github.com/lodash/babel-plugin-lodash
Babel ModuleDeclaration : https://babeljs.io/docs/babel-types#moduledeclaration
Babel ImportOrExportDeclaration : https://babeljs.io/docs/babel-types#importorexportdeclaration
Reproduction Link
Sorry about that. I'm not sure what to do with this.
Steps to Reproduce
Expected Result
no warning
Actual Result
A warning has occurred
The first build the project, I could see the warning but it didn't happen on rebuilds.
Environment
Config Flags
DEV_SSR: true,
FAST_DEV: true,
The text was updated successfully, but these errors were encountered: