Skip to content

Commit

Permalink
Merge 6b14a5f into 1d4aab2
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro committed Nov 1, 2017
2 parents 1d4aab2 + 6b14a5f commit 60575f6
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
language: node_js
node_js:
- stable
- lts/*
before_install: npm install -g npm@latest
after_success: make report-cov-coveralls
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -58,9 +58,8 @@
"nyc": "^6.1.1",
"power-assert": "^1.3.1",
"prettier": "^1.7.0",
"react": "^0.14.0 || ^15.0.0",
"react-addons-test-utils": "^15.4.1",
"react-dom": "^0.14.0 || ^15.0.0",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"sinon": "^1.16.1",
"tape": "^2.13.4",
"webpack": "^1.12.14"
Expand Down
3 changes: 2 additions & 1 deletion src/Component.js
Expand Up @@ -2,7 +2,8 @@
* @copyright 2015-present, Prometheus Research, LLC
*/

import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import invariant from 'invariant';
import keyPath from './keyPath';

Expand Down
3 changes: 2 additions & 1 deletion src/ErrorList.js
Expand Up @@ -2,7 +2,8 @@
* @copyright 2015-present, Prometheus Research, LLC
*/

import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import * as Stylesheet from 'react-stylesheet';
import some from 'lodash/some';

Expand Down
3 changes: 2 additions & 1 deletion src/Field.js
Expand Up @@ -2,10 +2,11 @@
* @copyright 2015-present, Prometheus Research, LLC
*/

import React, {PropTypes} from 'react';
import React from 'react';
import * as Stylesheet from 'react-stylesheet';

import Component from './Component';
import PropTypes from 'prop-types';
import Input from './Input';
import Label from './Label';
import ErrorList from './ErrorList';
Expand Down
3 changes: 2 additions & 1 deletion src/Fieldset.js
Expand Up @@ -2,7 +2,8 @@
* @copyright 2015, Prometheus Research, LLC
*/

import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import * as Stylesheet from 'react-stylesheet';
import Component from './Component';

Expand Down
3 changes: 2 additions & 1 deletion src/Input.js
Expand Up @@ -2,7 +2,8 @@
* @copyright 2015, Prometheus Research, LLC
*/

import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import debounce from 'lodash/debounce';
import noop from 'lodash/noop';

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/Component-test.js
Expand Up @@ -3,7 +3,7 @@
*/

import React from 'react';
import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';
import Component from '../Component';

const ReactHasContextSupport = !!/^0\.14\.\d/.exec(React.version);
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/ErrorList-test.js
Expand Up @@ -3,7 +3,7 @@
*/

import React from 'react';
import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';
import Error from '../Error';
import ErrorList from '../ErrorList';

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/Fieldset-test.js
Expand Up @@ -3,7 +3,7 @@
*/

import React from 'react';
import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';
import Fieldset from '../Fieldset';
import Component from '../Component';

Expand Down
8 changes: 4 additions & 4 deletions src/__tests__/setup.js
Expand Up @@ -2,10 +2,10 @@
* @copyright 2015 Prometheus Research, LLC
*/

import assert from 'power-assert';
import jsdom from 'jsdom';
import sinon from 'sinon';
import TestUtils from 'react-addons-test-utils';
import assert from 'power-assert';
import jsdom from 'jsdom';
import sinon from 'sinon';
import TestUtils from 'react-dom/test-utils';

let document = jsdom.jsdom('<!doctype html><html><body></body></html>');
let window = document.defaultView;
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/withFormValue-test.js
Expand Up @@ -3,7 +3,7 @@
*/

import React from 'react';
import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';

import Fieldset from '../Fieldset';
import withFormValue from '../withFormValue';
Expand Down

0 comments on commit 60575f6

Please sign in to comment.