Socket
Socket
Sign inDemoInstall

react-input-autosize

Package Overview
Dependencies
34
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.1.0

10

lib/AutosizeInput.js
if (typeof require !== 'undefined') {
var React = require('react');
var React = require('react');
}

@@ -50,4 +50,4 @@

return React.DOM.div({},
React.DOM.input({
return React.createElement('div', null,
React.createElement('input', {
ref: 'input',

@@ -59,3 +59,3 @@ className: this.props.className,

}),
React.DOM.div({
React.createElement('div', {
ref: 'sizer',

@@ -71,3 +71,3 @@ style: { position: 'absolute', height: 0, width: 0, overflow: 'scroll', whiteSpace: 'nowrap' },

if (typeof module !== 'undefined') {
module.exports = AutosizeInput;
module.exports = AutosizeInput;
}
{
"name": "react-input-autosize",
"version": "0.0.1",
"version": "0.1.0",
"description": "Auto-resizing Input Component for React",

@@ -13,3 +13,3 @@ "main": "lib/AutosizeInput.js",

"dependencies": {
"react": "~0.11.2"
"react": "~0.12.0"
},

@@ -16,0 +16,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc