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

react-input-completion

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-input-completion - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "react-input-completion",
"version": "0.0.6",
"version": "0.0.7",
"description": "A cross-browser autocomplete component for React",

@@ -5,0 +5,0 @@ "repository": "https://www.github.com/imcnally/react-input-completion",

@@ -11,2 +11,4 @@ 'use strict';

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

@@ -18,2 +20,4 @@

var _react2 = _interopRequireDefault(_react);
var keys = {

@@ -88,3 +92,3 @@ down: 'ArrowDown',

return React.createElement(
return _react2['default'].createElement(
'li',

@@ -96,3 +100,3 @@ { 'aria-selected': isSelected, className: 'ric-fb-option', key: index, onMouseDown: onMouseDown, role: 'option' },

return React.createElement(
return _react2['default'].createElement(
'ul',

@@ -112,6 +116,6 @@ { 'aria-multiselectable': 'false', className: 'ric-fb-options', role: 'listbox',

var options = this.props.options.map(function (option, index) {
return React.createElement('option', { key: index, value: option });
return _react2['default'].createElement('option', { key: index, value: option });
});
return React.createElement(
return _react2['default'].createElement(
'datalist',

@@ -203,3 +207,3 @@ { id: this.props.name },

value: function render() {
return React.createElement(
return _react2['default'].createElement(
'section',

@@ -206,0 +210,0 @@ null,

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