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

nuke-theme-provider

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-theme-provider - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

docs/basic.html

3

HISTORY.md
# Changelog
## 1.0.2 / 2017-11-02
* [[8fe1684](http://gitlab.alibaba-inc.com/nuke/theme-provider/commit/8fe16843758250706b7ce9c8992060328fd30015)] - `feat` add compatibility configs for react
## 1.0.1 / 2017-10-21

@@ -5,0 +8,0 @@

2

lib/connect-style.js

@@ -229,3 +229,3 @@ 'use strict';

return _rax.createElement(WrappedComponent, _extends({}, this.props, addedProps, {
return (0, _rax.createElement)(WrappedComponent, _extends({}, this.props, addedProps, {
themeStyle: style,

@@ -232,0 +232,0 @@ ref: this.setWrappedInstance

@@ -6,3 +6,2 @@ 'use strict';

});
exports.default = undefined;

@@ -48,3 +47,4 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

theme: this.state.theme,
androidConfigs: this.getAndroidConfigs(this.props)
androidConfigs: this.getAndroidConfigs(this.props),
compatibilityConfigs: this.getCompatConfigs(this.props)
};

@@ -72,2 +72,7 @@ }

}, {
key: 'getCompatConfigs',
value: function getCompatConfigs(props) {
return props.compatibilityConfigs || {}; //{toRemString:true}
}
}, {
key: 'render',

@@ -74,0 +79,0 @@ value: function render() {

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

});
exports.default = undefined;

@@ -36,2 +35,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

this[THEME_STYLE]['Core'] = Object.assign(_nukeCore2.default, this[THEME_STYLE]['Core']);
this[THEME_STYLE_CACHE] = {};

@@ -38,0 +38,0 @@ }

{
"name": "nuke-theme-provider",
"version": "1.0.1",
"version": "1.0.2",
"description": "主题换肤",

@@ -5,0 +5,0 @@ "main": "lib/index",

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