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

nuke-refresh-control

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-refresh-control - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

4

HISTORY.md
# Changelog
## 2.0.0 / 2018-03-22
* [[0f996fd](http://gitlab.alibaba-inc.com/nuke/refresh-control/commit/0f996fd5d6799cbeffaae684e6314ef11f6f6ce2)] - `feat` update dependencies
## 1.0.1 / 2017-11-23

@@ -5,0 +9,0 @@

11

lib/index.js

@@ -35,3 +35,4 @@ 'use strict';

var isWeex = _nukeEnv2.default.isWeex,
isWeb = _nukeEnv2.default.isWeb;
isWeb = _nukeEnv2.default.isWeb,
appInfo = _nukeEnv2.default.appInfo;

@@ -50,6 +51,8 @@ var RefreshControl = function (_Component) {

value: function render() {
// temp
var extraConfigs = appInfo.appName === 'QN' ? { JDYHeaderStyle: "endAnamtionStyle" } : {};
if (isWeex) {
return (0, _rax.createElement)(_raxRefreshcontrol2.default, this.props);
return (0, _rax.createElement)(_raxRefreshcontrol2.default, _extends({}, extraConfigs, this.props));
} else {
return (0, _rax.createElement)(_nukeView2.default, _extends({}, this.props, { refreshTag: 'webRefesh' }));
return (0, _rax.createElement)(_nukeView2.default, this.props);
}

@@ -62,5 +65,3 @@ }

RefreshControl.displayName = 'RefreshControl';
exports.default = RefreshControl;
module.exports = exports['default'];
{
"name": "nuke-refresh-control",
"version": "1.0.1",
"version": "2.0.0",
"description": "含 h5 版本的下拉刷新组件",

@@ -48,4 +48,4 @@ "main": "lib/index",

"dependencies": {
"nuke-view": "^1.x.x",
"nuke-env": "^1.x.x",
"nuke-view": "^2.x.x",
"nuke-env": "^2.x.x",
"rax-refreshcontrol": "^0.4.20"

@@ -52,0 +52,0 @@ },

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