New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

radon-select

Package Overview
Dependencies
Maintainers
10
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radon-select - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

9

lib/select.js

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

this.isFocusing = true;
this.refs['option' + this.state.selectedOptionIndex].focus();
this.focus(this.refs['option' + this.state.selectedOptionIndex]);
}

@@ -189,5 +189,5 @@ });

if (!this.state.open) {
this.refs['currentOption'].focus(); //eslint-disable-line dot-notation
this.focus(this.refs['currentOption']); //eslint-disable-line dot-notation
} else {
ReactDOM.findDOMNode(this.refs['option' + (this.state.selectedOptionIndex || 0)]).focus();
this.focus(this.refs['option' + (this.state.selectedOptionIndex || 0)]);
}

@@ -289,2 +289,5 @@ });

},
focus: function focus(ref) {
ReactDOM.findDOMNode(ref).focus();
},
renderChild: function renderChild(child, index) {

@@ -291,0 +294,0 @@ return React.cloneElement(child, {

{
"name": "radon-select",
"version": "0.1.1",
"version": "0.1.2",
"description": "React select box replacement component",

@@ -5,0 +5,0 @@ "main": "index.js",

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

this.isFocusing = true;
this.refs['option' + this.state.selectedOptionIndex].focus();
this.focus(this.refs['option' + this.state.selectedOptionIndex]);
}

@@ -191,5 +191,5 @@ });

if (!this.state.open) {
this.refs['currentOption'].focus(); //eslint-disable-line dot-notation
this.focus(this.refs['currentOption']); //eslint-disable-line dot-notation
} else {
ReactDOM.findDOMNode(this.refs['option' + (this.state.selectedOptionIndex || 0)]).focus();
this.focus(this.refs['option' + (this.state.selectedOptionIndex || 0)]);
}

@@ -291,2 +291,5 @@ });

},
focus(ref) {
ReactDOM.findDOMNode(ref).focus();
},
renderChild (child, index) {

@@ -293,0 +296,0 @@ return React.cloneElement(child, {

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