Skip to content

Commit

Permalink
using recommended packages to avoid deprecation warnings (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon authored Aug 20, 2017
1 parent 5d58f95 commit 0f557e0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"jest": "20.0.4",
"raf-stub": "2.0.1",
"react": "15.6.1",
"react-addons-test-utils": "15.6.0",
"react-dom": "15.6.1",
"react-test-renderer": "15.6.1",
"styled-components": "2.1.2"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/view/draggable/draggable.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @flow
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import memoizeOne from 'memoize-one';
import invariant from 'invariant';
import type {
Expand Down
3 changes: 2 additions & 1 deletion src/view/droppable/droppable.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import type { Props, Provided, StateSnapshot, DefaultProps } from './droppable-types';
import type { DroppableId, HTMLElement } from '../../types';
import DroppableDimensionPublisher from '../droppable-dimension-publisher/';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/view/drag-drop-context.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';
import { DragDropContext } from '../../../src/';
import { storeKey } from '../../../src/view/context-keys';

Expand Down
11 changes: 7 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5304,10 +5304,6 @@ rc@^1.1.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"

[email protected]:
version "15.6.0"
resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.0.tgz#062d36117fe8d18f3ba5e06eb33383b0b85ea5b9"

react-docgen@^2.15.0:
version "2.17.0"
resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-2.17.0.tgz#b0f3e85af955714e1067593c1043cb82611a93d1"
Expand Down Expand Up @@ -5432,6 +5428,13 @@ react-style-proptype@^3.0.0:
dependencies:
prop-types "^15.5.4"

[email protected]:
version "15.6.1"
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-15.6.1.tgz#026f4a5bb5552661fd2cc4bbcd0d4bc8a35ebf7e"
dependencies:
fbjs "^0.8.9"
object-assign "^4.1.0"

react-transition-group@^1.1.2:
version "1.2.0"
resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-1.2.0.tgz#b51fc921b0c3835a7ef7c571c79fc82c73e9204f"
Expand Down

0 comments on commit 0f557e0

Please sign in to comment.