Skip to content

Commit 07eedd7

Browse files
javivelascodavid-slayte
authored andcommitted
Update dependencies
1 parent 78398f6 commit 07eedd7

File tree

8 files changed

+677
-639
lines changed

8 files changed

+677
-639
lines changed

.eslintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"valid-jsdoc": 2,
1010
"react/jsx-uses-vars": 1,
1111
"react/jsx-uses-react": 1,
12-
"react/jsx-no-undef": 2,
13-
"react/wrap-multilines": 2
12+
"react/jsx-no-undef": 2
1413
},
1514
"plugins": [
1615
"react"

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,26 @@
2828
"invariant": "^2.2.1"
2929
},
3030
"devDependencies": {
31-
"@types/react": "~15.0.4",
32-
"babel-cli": "^6.7.7",
33-
"babel-core": "^6.18.0",
34-
"babel-eslint": "^7.1.1",
31+
"@types/react": "^15.0.24",
32+
"babel-cli": "^6.24.1",
33+
"babel-core": "^6.24.1",
34+
"babel-eslint": "^7.2.3",
3535
"babel-plugin-transform-decorators-legacy": "^1.3.4",
36-
"babel-preset-es2015": "^6.18.0",
37-
"babel-preset-react": "^6.5.0",
38-
"babel-preset-stage-0": "^6.16.0",
39-
"eslint": "^3.12.2",
36+
"babel-preset-es2015": "^6.24.1",
37+
"babel-preset-react": "^6.24.1",
38+
"babel-preset-stage-0": "^6.24.1",
39+
"eslint": "^3.19.0",
4040
"eslint-config-rackt": "^1.1.1",
41-
"eslint-plugin-babel": "^4.0.0",
42-
"eslint-plugin-react": "^6.8.0",
41+
"eslint-plugin-babel": "^4.1.1",
42+
"eslint-plugin-react": "^7.0.0",
4343
"expect": "^1.18.0",
44-
"fbjs": "^0.8.4",
44+
"fbjs": "^0.8.12",
4545
"jsdom": "^9.8.3",
46-
"mocha": "^3.2.0",
47-
"react": "^15.0.1",
48-
"react-addons-test-utils": "^15.0.1",
49-
"react-dom": "^15.3.2",
50-
"rimraf": "^2.5.2",
46+
"mocha": "^3.3.0",
47+
"prop-types": "^15.5.9",
48+
"react": "^15.5.4",
49+
"react-dom": "^15.5.4",
50+
"rimraf": "^2.6.1",
5151
"sinon": "^1.17.6"
5252
},
5353
"files": [

src/components/ThemeProvider.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Children, Component, PropTypes } from 'react'
1+
import { Children, Component } from 'react'
2+
import PropTypes from 'prop-types'
23
import themrShape from '../utils/themr-shape'
34

45
export default class ThemeProvider extends Component {

src/components/themr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { Component, PropTypes } from 'react'
1+
import React, { Component } from 'react'
2+
import PropTypes from 'prop-types'
23
import hoistNonReactStatics from 'hoist-non-react-statics'
34
import invariant from 'invariant'
45

src/utils/themr-shape.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PropTypes } from 'react'
1+
import PropTypes from 'prop-types'
22

33
export default PropTypes.shape({
44
theme: PropTypes.object.isRequired

test/components/ThemeProvider.spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import React, { Component } from 'react'
12
import expect from 'expect'
2-
import React, { PropTypes, Component } from 'react'
3-
import TestUtils from 'react-addons-test-utils'
3+
import PropTypes from 'prop-types'
4+
import TestUtils from 'react-dom/test-utils'
45
import { ThemeProvider } from '../../src/index'
56

67
describe('ThemeProvider', () => {

test/components/themr.spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import expect from 'expect'
2-
import React, { Children, PropTypes, Component } from 'react'
3-
import TestUtils from 'react-addons-test-utils'
2+
import React, { Children, Component } from 'react'
3+
import PropTypes from 'prop-types'
4+
import TestUtils from 'react-dom/test-utils'
45
import sinon from 'sinon'
56
import { render } from 'react-dom'
67
import shallowEqual from 'fbjs/lib/shallowEqual'

0 commit comments

Comments
 (0)