nuke-theme-provider
Advanced tools
Comparing version 1.0.3 to 1.0.4
# Changelog | ||
## 1.0.4 / 2017-11-16 | ||
* [[f2872ea](http://gitlab.alibaba-inc.com/nuke/theme-provider/commit/f2872eac99f38475ad520a0e2d771768a08be8f8)] - `fix` displayName | ||
## 1.0.3 / 2017-11-16 | ||
@@ -5,0 +9,0 @@ |
@@ -97,5 +97,3 @@ 'use strict'; | ||
function getComponentDisplayName(WrappedComponent) { | ||
var displayName = new WrappedComponent().displayName; | ||
return displayName || WrappedComponent.name || 'Component'; | ||
// return WrappedComponent.displayName || WrappedComponent.name || 'Component'; | ||
return WrappedComponent.displayName || WrappedComponent.name || 'Component'; | ||
} | ||
@@ -102,0 +100,0 @@ |
{ | ||
"name": "nuke-theme-provider", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "主题换肤", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28062
455
1