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

react-props-classnames

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-props-classnames - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

lib/createPropsTransform.js

@@ -20,2 +20,6 @@ "use strict";

var getDisplayName = function getDisplayName(WrappedComponent) {
return WrappedComponent.displayName || WrappedComponent.name || 'Unknown';
};
var _default = function _default(options) {

@@ -36,3 +40,3 @@ return function (Component) {

TransformedComponent.displayName = 'PropsTransformer';
TransformedComponent.displayName = "PropsTransformer(".concat(getDisplayName(Component), ")");
TransformedComponent.propTypes = {

@@ -39,0 +43,0 @@ children: _propTypes.default.node,

2

package.json

@@ -14,3 +14,3 @@ {

},
"version": "0.2.1",
"version": "0.2.2",
"main": "lib/index.js",

@@ -17,0 +17,0 @@ "files": [

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