
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@mui/internal-babel-plugin-display-name
Advanced tools
Babel plugin for automatic React display name generation with tree-shaking and prefix support, forked from @zendesk/babel-plugin-react-displayname.
Forked from: https://github.com/zendesk/babel-plugin-react-displayname
This plugin converts the following:
const Linebreak = React.memo(() => {
return <br />;
});
const Img = function () {
return <img />;
};
into:
const Linebreak = React.memo(function _Linebreak() {
return <br />;
});
Linebreak.displayName = 'Linebreak';
const Img = function () {
return <img />;
};
Img.displayName = 'Img';
allowedCalleesObject.<string, string[]>, defaults to { "react": ["createContext"] }
Enables generation of displayNames for certain called functions.
{
"plugins": [
"@probablyup/babel-plugin-react-displayname",
{
"allowedCallees": {
"react": ["createComponent"]
}
}
]
}
FAQs
Babel plugin for automatic React display name generation with tree-shaking and prefix support, forked from @zendesk/babel-plugin-react-displayname.
The npm package @mui/internal-babel-plugin-display-name receives a total of 14,365 weekly downloads. As such, @mui/internal-babel-plugin-display-name popularity was classified as popular.
We found that @mui/internal-babel-plugin-display-name demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.