Skip to content

Commit

Permalink
Bump to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinyChang committed Apr 27, 2017
1 parent c505483 commit e791475
Show file tree
Hide file tree
Showing 6 changed files with 2,699 additions and 31 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var TextTruncate = require('react-text-truncate'); // CommonJS or UMD


## Changelog
* 0.9.0 Fix infinity loop bug, upgrade react to 15.5.4 and support yarn
* 0.8.3 IE 11 compatibility
* 0.8.2 Fix wrong truncating when a container has long words without spaces
* 0.8.1 Fix `textTruncateChild` bug
Expand Down
20 changes: 0 additions & 20 deletions build/bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion build/bundle.js.map

This file was deleted.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-text-truncate",
"version": "0.8.3",
"version": "0.9.0",
"description": "Truncate text for React.js",
"main": "lib/index.js",
"scripts": {
Expand All @@ -18,25 +18,25 @@
"text",
"truncate"
],
"author": "ShinyChang <ublue724@gmail.com> (http://shinychang.net)",
"author": "ShinyChang <contact@shinychang.net> (https://shinychang.net)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ShinyChang/react-text-truncate/issues"
},
"homepage": "https://github.com/ShinyChang/react-text-truncate",
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.8.0",
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-es2015-modules-umd": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"express": "^4.13.4",
"react": "^15.5.4",
"react-dom": "^15.0.1",
"react-dom": "^15.5.4",
"react-transform-catch-errors": "^1.0.2",
"react-transform-hmr": "^1.0.4",
"redbox-react": "^1.2.3",
Expand All @@ -45,10 +45,10 @@
"webpack-hot-middleware": "^2.10.0"
},
"peerDependencies": {
"react": "^0.14.7 || ^15.0.0",
"react-dom": "^0.14.7 || ^15.0.0"
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"dependencies": {
"prop-types": "^15.5.4"
"prop-types": "^15.5.7"
}
}
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from './App';
var ReactDOM = require('react-dom');
import {render} from 'react-dom';

ReactDOM.render(<App />, document.getElementById('root'));
render(<App />, document.getElementById('root'));
Loading

0 comments on commit e791475

Please sign in to comment.