From c484d15de636e6feb4947c8893eb0b782fc6b532 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 1 Jan 2020 20:36:42 -0800 Subject: [PATCH] chore: Upgrade react-waypoint dep --- .../DocumentHistory/DocumentHistory.js | 2 +- app/components/PaginatedDocumentList.js | 3 +-- app/components/PaginatedList.js | 2 +- app/scenes/Search/Search.js | 2 +- app/scenes/Settings/Events.js | 2 +- package.json | 2 +- yarn.lock | 24 ++++++++++++------- 7 files changed, 21 insertions(+), 16 deletions(-) diff --git a/app/components/DocumentHistory/DocumentHistory.js b/app/components/DocumentHistory/DocumentHistory.js index 4e447c99..bee69c46 100644 --- a/app/components/DocumentHistory/DocumentHistory.js +++ b/app/components/DocumentHistory/DocumentHistory.js @@ -4,7 +4,7 @@ import { observable, action } from 'mobx'; import { observer, inject } from 'mobx-react'; import type { RouterHistory } from 'react-router-dom'; import styled from 'styled-components'; -import Waypoint from 'react-waypoint'; +import { Waypoint } from 'react-waypoint'; import ArrowKeyNavigation from 'boundless-arrow-key-navigation'; import { DEFAULT_PAGINATION_LIMIT } from 'stores/BaseStore'; diff --git a/app/components/PaginatedDocumentList.js b/app/components/PaginatedDocumentList.js index aa0f6e2c..7f59d825 100644 --- a/app/components/PaginatedDocumentList.js +++ b/app/components/PaginatedDocumentList.js @@ -2,8 +2,7 @@ import * as React from 'react'; import { observable, action } from 'mobx'; import { observer } from 'mobx-react'; -import Waypoint from 'react-waypoint'; - +import { Waypoint } from 'react-waypoint'; import { DEFAULT_PAGINATION_LIMIT } from 'stores/BaseStore'; import Document from 'models/Document'; import DocumentList from 'components/DocumentList'; diff --git a/app/components/PaginatedList.js b/app/components/PaginatedList.js index 19fffa78..1b3c25ca 100644 --- a/app/components/PaginatedList.js +++ b/app/components/PaginatedList.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { observable, action } from 'mobx'; import { observer } from 'mobx-react'; -import Waypoint from 'react-waypoint'; +import { Waypoint } from 'react-waypoint'; import ArrowKeyNavigation from 'boundless-arrow-key-navigation'; import { DEFAULT_PAGINATION_LIMIT } from 'stores/BaseStore'; diff --git a/app/scenes/Search/Search.js b/app/scenes/Search/Search.js index f60e40b7..10170b5d 100644 --- a/app/scenes/Search/Search.js +++ b/app/scenes/Search/Search.js @@ -2,7 +2,7 @@ import * as React from 'react'; import ReactDOM from 'react-dom'; import keydown from 'react-keydown'; -import Waypoint from 'react-waypoint'; +import { Waypoint } from 'react-waypoint'; import { withRouter, Link } from 'react-router-dom'; import type { Location, RouterHistory } from 'react-router-dom'; import { PlusIcon } from 'outline-icons'; diff --git a/app/scenes/Settings/Events.js b/app/scenes/Settings/Events.js index e602dac5..3d7be421 100644 --- a/app/scenes/Settings/Events.js +++ b/app/scenes/Settings/Events.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { observable, action } from 'mobx'; import { observer, inject } from 'mobx-react'; -import Waypoint from 'react-waypoint'; +import { Waypoint } from 'react-waypoint'; import { DEFAULT_PAGINATION_LIMIT } from 'stores/BaseStore'; import EventsStore from 'stores/EventsStore'; diff --git a/package.json b/package.json index f7be6ae3..4b65f38b 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "react-modal": "^3.1.2", "react-portal": "^4.0.0", "react-router-dom": "^4.3.1", - "react-waypoint": "^7.3.1", + "react-waypoint": "^9.0.2", "redis": "^2.6.2", "rich-markdown-editor": "^9.11.1", "sequelize": "^5.21.1", diff --git a/yarn.lock b/yarn.lock index 71c64653..ed92afe6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2344,10 +2344,10 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= -consolidated-events@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/consolidated-events/-/consolidated-events-1.1.1.tgz#25395465b35e531395418b7bbecb5ecaf198d179" - integrity sha1-JTlUZbNeUxOVQYt7vsteyvGY0Xk= +"consolidated-events@^1.1.0 || ^2.0.0": + version "2.0.2" + resolved "https://registry.yarnpkg.com/consolidated-events/-/consolidated-events-2.0.2.tgz#da8d8f8c2b232831413d9e190dc11669c79f4a91" + integrity sha512-2/uRVMdRypf5z/TW/ncD/66l75P5hH2vM/GR8Jf8HLc2xnfJtmina6F6du8+v4Z2vTrMo7jC+W1tmEEuuELgkQ== constants-browserify@^1.0.0: version "1.0.0" @@ -7902,6 +7902,11 @@ react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.11.0.tgz#b85dfecd48ad1ce469ff558a882ca8e8313928fa" integrity sha512-gbBVYR2p8mnriqAwWx9LbuUrShnAuSCNnuPGyc7GJrMVQtPDAh8iLpv7FRuMPFb56KkaVZIYSz1PrjI9q0QPCw== +react-is@^16.6.3: + version "16.12.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c" + integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q== + react-keydown@^1.7.3, react-keydown@^1.9.10: version "1.9.12" resolved "https://registry.yarnpkg.com/react-keydown/-/react-keydown-1.9.12.tgz#9e10157775c9e3f21e124987e14af45a2ed52384" @@ -8001,13 +8006,14 @@ react-transform-hmr@^1.0.3: global "^4.3.0" react-proxy "^1.1.7" -react-waypoint@^7.3.1: - version "7.3.4" - resolved "https://registry.yarnpkg.com/react-waypoint/-/react-waypoint-7.3.4.tgz#6f4a167ca71c0877576699d6980089f001137f90" - integrity sha1-b0oWfKccCHdXZpnWmACJ8AETf5A= +react-waypoint@^9.0.2: + version "9.0.2" + resolved "https://registry.yarnpkg.com/react-waypoint/-/react-waypoint-9.0.2.tgz#d65fb0fe6ff5c1b832a1d01b1462a661fb921e45" + integrity sha512-6tIr9NozeDH789Ox2tOkyDcmprYOx1+eII40dERLrZclFe6RhWAQ/bbd6B7cGild6onXNwPzg16y0/wHWQ/q+g== dependencies: - consolidated-events "^1.1.0" + consolidated-events "^1.1.0 || ^2.0.0" prop-types "^15.0.0" + react-is "^16.6.3" react@^16.8.6: version "16.11.0"