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

react-autosize-textarea

Package Overview
Dependencies
Maintainers
7
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-autosize-textarea - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Change Log

## [v0.4.1](https://github.com/buildo/react-autosize-textarea/tree/v0.4.1) (2017-04-10)
[Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.0...v0.4.1)
#### Fixes (bugs & defects):
- Address react 15.5 deprecations regarding PropTypes usage and test-utils [#35](https://github.com/buildo/react-autosize-textarea/issues/35)
## [v0.4.0](https://github.com/buildo/react-autosize-textarea/tree/v0.4.0) (2017-03-30)

@@ -7,0 +14,0 @@ [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.6...v0.4.0)

10

lib/TextareaAutosize.js

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

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _autosize = require('autosize');

@@ -196,5 +200,5 @@

TextareaAutosize.propTypes = {
rows: _react2.default.PropTypes.number,
maxRows: _react2.default.PropTypes.number,
onResize: _react2.default.PropTypes.func
rows: _propTypes2.default.number,
maxRows: _propTypes2.default.number,
onResize: _propTypes2.default.func
};
{
"name": "react-autosize-textarea",
"version": "0.4.0",
"version": "0.4.1",
"description": "replacement for built-in textarea which auto resizes itself",

@@ -16,3 +16,3 @@ "main": "lib",

"generate-readme": "node ./generateReadme.js",
"release-version": "smooth-release"
"release-version": "smooth-release --validations --npm-version --changelog --gh-release --npm-publish"
},

@@ -65,5 +65,4 @@ "repository": {

"mocha": "^2.4.5",
"react": "^15.4",
"react-addons-test-utils": "^0.14.8 || ^15.0.0",
"react-dom": "^15.4",
"react": "^15.5",
"react-dom": "^15.5",
"react-readme-generator": "0.0.1",

@@ -76,2 +75,3 @@ "require-dir": "^0.3.0",

"peerDependencies": {
"prop-types": "^15.5.6",
"react": "^0.14.0 || ^15.0.0",

@@ -78,0 +78,0 @@ "react-dom": "^0.14.0 || ^15.0.0"

import React from 'react';
import PropTypes from 'prop-types';
import autosize from 'autosize';

@@ -138,5 +139,5 @@

TextareaAutosize.propTypes = {
rows: React.PropTypes.number,
maxRows: React.PropTypes.number,
onResize: React.PropTypes.func
};
rows: PropTypes.number,
maxRows: PropTypes.number,
onResize: PropTypes.func
};

Sorry, the diff of this file is too big to display

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