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

rc-tree-select

Package Overview
Dependencies
Maintainers
2
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tree-select - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

16

lib/Select.js

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

var _objectAssign = require('object-assign');
var _objectAssign2 = _interopRequireDefault(_objectAssign);
var _rcAnimate = require('rc-animate');

@@ -299,3 +303,3 @@

this.fireChange(value, label);
this.fireChange(value, label, { triggerValue: selectedValue, triggerNode: item, checked: info.checked });
this.setState({

@@ -481,3 +485,3 @@ inputValue: ''

}
this.fireChange(value, label);
this.fireChange(value, label, { triggerValue: selectedValue, clear: true });
},

@@ -504,3 +508,3 @@

fireChange: function fireChange(value, label) {
fireChange: function fireChange(value, label, extraInfo) {
var props = this.props;

@@ -513,3 +517,7 @@ if (!('value' in props)) {

if (this.isValueChange(value)) {
props.onChange(this.getVLForOnChange(value), this.getVLForOnChange(label), [].concat(_toConsumableArray(this.state.value)));
var ex = { preValue: [].concat(_toConsumableArray(this.state.value)) };
if (extraInfo) {
(0, _objectAssign2['default'])(ex, extraInfo);
}
props.onChange(this.getVLForOnChange(value), this.getVLForOnChange(label), ex);
}

@@ -516,0 +524,0 @@ },

{
"name": "rc-tree-select",
"version": "1.1.2",
"version": "1.1.3",
"description": "tree-select ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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