
Product
A New Design for GitHub PR Comments
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
@instructure/babel-plugin-transform-class-display-name
Advanced tools
A babel plugin to add a displayName property to React component class declarations
A transform to add a displayName to React components. This is required for @instructure/ui-themeable because it uses the displayName to scope the CSS variables.
yarn add --dev @instructure/babel-plugin-transform-class-display-name
In your .babelrc
file:
{
"plugins": ["@instructure/babel-plugin-transform-class-display-name"]
}
FAQs
A babel plugin to add a displayName property to React component class declarations
The npm package @instructure/babel-plugin-transform-class-display-name receives a total of 135 weekly downloads. As such, @instructure/babel-plugin-transform-class-display-name popularity was classified as not popular.
We found that @instructure/babel-plugin-transform-class-display-name demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 35 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
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.