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

rmc-cascader

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

rmc-cascader - npm Package Compare versions

Comparing version 3.0.7 to 3.0.9

2

lib/Cascader.js

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

var _Picker = require('rmc-picker/lib/Picker');
var _Picker = require('rmc-picker/lib/Picker.native');

@@ -16,0 +16,0 @@ var _Picker2 = _interopRequireDefault(_Picker);

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

var _Picker = require('rmc-picker/lib/Picker.web');
var _Picker = require('rmc-picker/lib/Picker');

@@ -61,3 +61,3 @@ var _Picker2 = _interopRequireDefault(_Picker);

var childrenTree = this.getChildrenTree();
var cols = this.getColArray().map(function (_, i) {
var cols = this.getColArray().map(function (_v, i) {
// do not remove ${prefixCls}-main-item

@@ -64,0 +64,0 @@ return _react2["default"].createElement("div", { key: i, className: prefixCls + '-item ' + prefixCls + '-main-item' }, _react2["default"].createElement(_Picker2["default"], { itemStyle: pickerItemStyle, disabled: disabled, prefixCls: pickerPrefixCls, selectedValue: value[i], onValueChange: _this.onValueChange.bind(_this, i) }, childrenTree[i] || []));

@@ -13,3 +13,2 @@ /// <reference types="react" />

export default class PopupCascader extends React.Component<PopupCascaderProps, any> {
cascader: any;
static defaultProps: {

@@ -20,2 +19,3 @@ prefixCls: string;

};
cascader: any;
constructor(props: PopupCascaderProps);

@@ -22,0 +22,0 @@ componentWillReceiveProps(nextProps: any): void;

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

};
/* tslint:disable: interface-name */

@@ -40,0 +41,0 @@ function noop() {}

{
"name": "rmc-cascader",
"version": "3.0.7",
"version": "3.0.9",
"description": "m-cascader ui component for react",

@@ -40,3 +40,4 @@ "keywords": [

"chrome-test": "rc-tools run chrome-test",
"coverage": "rc-tools run coverage"
"coverage": "rc-tools run coverage",
"rn-init": "rc-tools run react-native-init"
},

@@ -52,6 +53,6 @@ "devDependencies": {

"rc-tools": "5.x",
"react-native": "0.33.0",
"react": "15.3.x",
"react-addons-test-utils": "15.3.x",
"react-dom": "15.3.x",
"react": "15.4.1",
"react-addons-test-utils": "15.4.1",
"react-dom": "15.4.1",
"react-native": "0.39.0",
"react-native-index-page": "~0.1.0"

@@ -64,4 +65,4 @@ },

"dependencies": {
"array-tree-filter": "1.0.x",
"babel-runtime": "6.x",
"array-tree-filter": "1.0.x",
"classnames": "2.x",

@@ -68,0 +69,0 @@ "rmc-picker": "3.x"

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