Skip to content

Commit

Permalink
Handle createClass deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
timdorr committed Apr 9, 2017
1 parent 82c20ed commit fcc28ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"webpack": "^1.11.0"
},
"dependencies": {
"create-react-class": "^15.5.1",
"hoist-non-react-statics": "^1.0.3",
"invariant": "^2.0.0",
"lodash": "^4.2.0",
Expand Down
3 changes: 2 additions & 1 deletion test/components/connect.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*eslint-disable react/prop-types*/

import expect from 'expect'
import React, { createClass, Children, Component } from 'react'
import React, { Children, Component } from 'react'
import createClass from 'create-react-class'
import PropTypes from 'prop-types'
import ReactDOM from 'react-dom'
import TestUtils from 'react-dom/test-utils'
Expand Down
6 changes: 6 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,12 @@ core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"

create-react-class@^15.5.1:
version "15.5.1"
resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.5.1.tgz#25a138a42d1c9df6d5c70fea29ec6ccf5ae165b8"
dependencies:
fbjs "^0.8.9"

cross-env@^3.1.3:
version "3.2.4"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a980ff0d698aba"
Expand Down

0 comments on commit fcc28ff

Please sign in to comment.