Open chrisbolin opened 7 years ago
all files in node_modules with createClass
$ grep -l createClass node_modules/**/*.js
node_modules/babel-standalone/babel.js
node_modules/espree/espree.js
node_modules/mobx-react/index.js
node_modules/prop-types/prop-types.js
node_modules/regjsparser/parser.js
and the actual versions used:
babel-standalone@6.25.0
espree@2.2.5
mobx-react@4.2.1
regjsparser@0.1.5
prop-types@15.5.10
outdated direct deps
Package Current Wanted Latest Package Type
chai 3.5.0 3.5.0 4.0.2 dependencies
history 3.3.0 3.3.0 4.6.3 dependencies
normalize.css 5.0.0 5.0.0 7.0.0 dependencies
radium 0.18.4 0.18.4 0.19.1 dependencies
react-router 3.0.5 3.0.5 4.1.1 dependencies
sinon 1.17.7 1.17.7 2.3.5 dependencies
victory 0.20.0 0.20.0 0.21.0 dependencies
I think that the propTypes warning in a victory dependency issue: see the console warning here https://jsfiddle.net/a9to29oe/1/
The createClass error doesn't happen there though, so that's probably related to a victory-docs dependency.
looking through yarn list
, it looks like we have two packages that allow react@0.14.x
...
├─ component-playground@1.3.2
│ ├─ react@^15.0.1 || ^0.14.7
...
├─ ecology@1.6.1
│ ├─ react@^15.1.0 || ^0.14.7
When loading any victory-docs page, we get two warnings:
These cannot come from victory-docs itself, as we've completely removed
createClass
andReact.PropTypes
from the project; therefore it must be a dependency.