Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade react-lifecycles-compat #1114

Merged
merged 4 commits into from
May 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"dom-helpers": "^2.4.0 || ^3.0.0",
"loose-envify": "^1.3.0",
"prop-types": "^15.6.0",
"react-lifecycles-compat": "^1.0.2"
"react-lifecycles-compat": "^3.0.4"
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0.0-alpha",
Expand Down
2 changes: 1 addition & 1 deletion source/ArrowKeyStepper/ArrowKeyStepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {RenderedSection} from '../Grid';
import type {ScrollIndices} from './types';

import * as React from 'react';
import polyfill from 'react-lifecycles-compat';
import {polyfill} from 'react-lifecycles-compat';

/**
* This HOC decorates a virtualized component and responds to arrow-key events by scrolling one row or column at a time.
Expand Down
2 changes: 1 addition & 1 deletion source/Collection/CollectionView.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import cn from 'classnames';
import PropTypes from 'prop-types';
import * as React from 'react';
import polyfill from 'react-lifecycles-compat';
import {polyfill} from 'react-lifecycles-compat';
import createCallbackMemoizer from '../utils/createCallbackMemoizer';
import getScrollbarSize from 'dom-helpers/util/scrollbarSize';

Expand Down
2 changes: 1 addition & 1 deletion source/Grid/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import defaultOverscanIndicesGetter, {
import updateScrollIndexHelper from './utils/updateScrollIndexHelper';
import defaultCellRangeRenderer from './defaultCellRangeRenderer';
import scrollbarSize from 'dom-helpers/util/scrollbarSize';
import polyfill from 'react-lifecycles-compat';
import {polyfill} from 'react-lifecycles-compat';
import {
requestAnimationTimeout,
cancelAnimationTimeout,
Expand Down
2 changes: 1 addition & 1 deletion source/Masonry/Masonry.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @flow */
import cn from 'classnames';
import * as React from 'react';
import polyfill from 'react-lifecycles-compat';
import {polyfill} from 'react-lifecycles-compat';
import PositionCache from './PositionCache';
import {
requestAnimationTimeout,
Expand Down
2 changes: 1 addition & 1 deletion source/MultiGrid/MultiGrid.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @flow */
import PropTypes from 'prop-types';
import * as React from 'react';
import polyfill from 'react-lifecycles-compat';
import {polyfill} from 'react-lifecycles-compat';
import CellMeasurerCacheDecorator from './CellMeasurerCacheDecorator';
import Grid from '../Grid';

Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6485,9 +6485,9 @@ react-dom@^16.2.0:
object-assign "^4.1.1"
prop-types "^15.6.0"

react-lifecycles-compat@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-1.0.2.tgz#551d8b1d156346e5fcf30ffac9b32ce3f78b8850"
react-lifecycles-compat@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"

react-router-dom@^4.1.1:
version "4.1.1"
Expand Down