react-autosize-textarea
Advanced tools
Comparing version 5.0.0-pre to 5.0.0
@@ -5,2 +5,13 @@ # Change Log | ||
## [v5.0.0](https://github.com/buildo/react-autosize-textarea/tree/v5.0.0) (2018-09-28) | ||
[Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v4.0.0...v5.0.0) | ||
#### New features: | ||
- Fix namespace export [#107](https://github.com/buildo/react-autosize-textarea/issues/107) | ||
#### Breaking: | ||
- Component `Props` type incorrectly includes `ref` [#104](https://github.com/buildo/react-autosize-textarea/issues/104) | ||
## [v4.0.0](https://github.com/buildo/react-autosize-textarea/tree/v4.0.0) (2018-06-18) | ||
@@ -7,0 +18,0 @@ [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v3.0.3...v4.0.0) |
@@ -1,2 +0,2 @@ | ||
import TextareaAutosize from './TextareaAutosize'; | ||
import { TextareaAutosize } from './TextareaAutosize'; | ||
export default TextareaAutosize; |
"use strict"; | ||
exports.__esModule = true; | ||
var TextareaAutosize_1 = require("./TextareaAutosize"); | ||
exports["default"] = TextareaAutosize_1["default"]; | ||
exports["default"] = TextareaAutosize_1.TextareaAutosize; |
import * as React from 'react'; | ||
import * as PropTypes from 'prop-types'; | ||
declare namespace TextareaAutosize { | ||
export declare namespace TextareaAutosize { | ||
type RequiredProps = Pick<React.HTMLProps<HTMLTextAreaElement>, Exclude<keyof React.HTMLProps<HTMLTextAreaElement>, 'ref'>> & { | ||
@@ -33,3 +33,3 @@ /** Called whenever the textarea resizes */ | ||
*/ | ||
declare class TextareaAutosize extends React.Component<TextareaAutosize.Props, TextareaAutosize.State> { | ||
export declare class TextareaAutosize extends React.Component<TextareaAutosize.Props, TextareaAutosize.State> { | ||
static defaultProps: TextareaAutosize.DefaultProps; | ||
@@ -344,2 +344,2 @@ static propTypes: { | ||
} | ||
export default TextareaAutosize; | ||
export {}; |
@@ -128,2 +128,2 @@ "use strict"; | ||
}(React.Component)); | ||
exports["default"] = TextareaAutosize; | ||
exports.TextareaAutosize = TextareaAutosize; |
{ | ||
"name": "react-autosize-textarea", | ||
"version": "5.0.0-pre", | ||
"version": "5.0.0", | ||
"description": "replacement for built-in textarea which auto resizes itself", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -1,2 +0,2 @@ | ||
import TextareaAutosize from './TextareaAutosize'; | ||
import { TextareaAutosize } from './TextareaAutosize'; | ||
export default TextareaAutosize; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
51687
0
617