Skip to content

Commit e791475

Browse files
committed
Bump to 0.9.0
1 parent c505483 commit e791475

File tree

6 files changed

+2699
-31
lines changed

6 files changed

+2699
-31
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var TextTruncate = require('react-text-truncate'); // CommonJS or UMD
3838

3939

4040
## Changelog
41+
* 0.9.0 Fix infinity loop bug, upgrade react to 15.5.4 and support yarn
4142
* 0.8.3 IE 11 compatibility
4243
* 0.8.2 Fix wrong truncating when a container has long words without spaces
4344
* 0.8.1 Fix `textTruncateChild` bug

build/bundle.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

build/bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-text-truncate",
3-
"version": "0.8.3",
3+
"version": "0.9.0",
44
"description": "Truncate text for React.js",
55
"main": "lib/index.js",
66
"scripts": {
@@ -18,25 +18,25 @@
1818
"text",
1919
"truncate"
2020
],
21-
"author": "ShinyChang <[email protected]> (http://shinychang.net)",
21+
"author": "ShinyChang <[email protected]> (https://shinychang.net)",
2222
"license": "MIT",
2323
"bugs": {
2424
"url": "https://github.com/ShinyChang/react-text-truncate/issues"
2525
},
2626
"homepage": "https://github.com/ShinyChang/react-text-truncate",
2727
"devDependencies": {
28-
"babel-cli": "^6.8.0",
28+
"babel-cli": "^6.24.1",
2929
"babel-core": "^6.8.0",
3030
"babel-loader": "^6.2.4",
31-
"babel-plugin-add-module-exports": "^0.1.2",
31+
"babel-plugin-add-module-exports": "^0.2.1",
3232
"babel-plugin-react-transform": "^2.0.2",
3333
"babel-plugin-transform-es2015-modules-umd": "^6.8.0",
3434
"babel-preset-es2015": "^6.6.0",
3535
"babel-preset-react": "^6.5.0",
3636
"babel-preset-stage-0": "^6.5.0",
3737
"express": "^4.13.4",
3838
"react": "^15.5.4",
39-
"react-dom": "^15.0.1",
39+
"react-dom": "^15.5.4",
4040
"react-transform-catch-errors": "^1.0.2",
4141
"react-transform-hmr": "^1.0.4",
4242
"redbox-react": "^1.2.3",
@@ -45,10 +45,10 @@
4545
"webpack-hot-middleware": "^2.10.0"
4646
},
4747
"peerDependencies": {
48-
"react": "^0.14.7 || ^15.0.0",
49-
"react-dom": "^0.14.7 || ^15.0.0"
48+
"react": "^15.5.4",
49+
"react-dom": "^15.5.4"
5050
},
5151
"dependencies": {
52-
"prop-types": "^15.5.4"
52+
"prop-types": "^15.5.7"
5353
}
5454
}

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import {App} from './App';
2-
var ReactDOM = require('react-dom');
2+
import {render} from 'react-dom';
33

4-
ReactDOM.render(<App />, document.getElementById('root'));
4+
render(<App />, document.getElementById('root'));

0 commit comments

Comments
 (0)