Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-react-es6-displayname

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-react-es6-displayname - npm Package Compare versions

Comparing version 1.0.0-beta1.1 to 1.0.0-beta1.2

3

index.js
module.exports = babelPluginTransformReactEs6ClassDisplayName;
function babelPluginTransformReactEs6ClassDisplayName (babel) {
var t = babel.types.t;
return {
visitor: {
ClassDeclaration: function (path) {
addDisplayName.call(path, t);
addDisplayName.call(path, babel.types);
}

@@ -10,0 +9,0 @@ }

{
"name": "babel-plugin-transform-react-es6-displayname",
"version": "1.0.0-beta1.1",
"version": "1.0.0-beta1.2",
"description": "Babel transform to add the displayName property to component classes",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc