Socket
Socket
Sign inDemoInstall

react-textarea-autosize

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-textarea-autosize - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

9

index.js

@@ -26,3 +26,10 @@ 'use strict';

prevProps.value !== this.props.value ||
this.props.value === undefined
// We need to call `recalculateSize()` if component is used in
// uncontrolled mode because the `<texarea />` will re-render itself in
// that case.
//
// We check for `== null` to cover both `null` and `undefined`,
// this is what React does check if component is used in uncontrolled
// mode.
this.props.value == null
) {

@@ -29,0 +36,0 @@ this.recalculateSize();

2

package.json
{
"name": "react-textarea-autosize",
"description": "textarea component for React which grows with content",
"version": "1.0.5",
"version": "1.0.6",
"author": {

@@ -6,0 +6,0 @@ "name": "Andrey Popp",

Sorry, the diff of this file is not supported yet

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