Skip to content

Commit e85dc51

Browse files
Merge pull request #50 from tutorcruncher/dependabot/npm_and_yarn/react-16.8.6
Bump react from 16.2.0 to 16.8.6
2 parents 0cce6d3 + 21eb457 commit e85dc51

File tree

3 files changed

+24
-19
lines changed

3 files changed

+24
-19
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"node-sass": "^4.12.0",
4343
"pretty": "^2.0.0",
4444
"raven-js": "^3.22.0",
45-
"react": "^16.2.0",
45+
"react": "^16.8.6",
4646
"react-app-rewired": "^1.6.2",
47-
"react-dom": "^16.2.1",
47+
"react-dom": "^16.8.6",
4848
"react-router-dom": "^5.0.1",
4949
"react-scripts": "1.1.5",
5050
"react-select": "~1.2.1",

src/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,8 @@ window.socket = async function (public_key, config) {
223223

224224
const Router = config.router_mode === 'history' ? BrowserRouter : HashRouter
225225

226-
const router = ReactDOM.render(<Router><App
227-
error={error}
228-
public_key={public_key}
229-
url_generator={url_generator}
230-
config={config}/></Router>, el)
226+
const conf = {error, public_key, url_generator, config}
227+
const router = ReactDOM.render(<Router><App {...conf}/></Router>, el)
231228
// for external use and compatibility with old socket
232229
return {
233230
goto: path => {

yarn.lock

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7364,15 +7364,15 @@ react-dev-utils@^5.0.2:
73647364
strip-ansi "3.0.1"
73657365
text-table "0.2.0"
73667366

7367-
react-dom@^16.2.1:
7368-
version "16.2.1"
7369-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.2.1.tgz#5cfb32f66267ece7b3850466bf3b219d4911fc1a"
7370-
integrity sha512-0ujGgYnpX0GlaAjUfwU7ddy0DjuzPmTHHi2SlPolGv7hAyUpK7XA7WZcxit5ZcU7cW5QU1HJjlS3eMn42tSfYQ==
7367+
react-dom@^16.8.6:
7368+
version "16.8.6"
7369+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f"
7370+
integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA==
73717371
dependencies:
7372-
fbjs "^0.8.16"
73737372
loose-envify "^1.1.0"
73747373
object-assign "^4.1.1"
7375-
prop-types "^15.6.0"
7374+
prop-types "^15.6.2"
7375+
scheduler "^0.13.6"
73767376

73777377
react-error-overlay@^4.0.1:
73787378
version "4.0.1"
@@ -7492,15 +7492,15 @@ react-tooltip@^3.10.0:
74927492
classnames "^2.2.5"
74937493
prop-types "^15.6.0"
74947494

7495-
react@^16.2.0:
7496-
version "16.2.0"
7497-
resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba"
7498-
integrity sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==
7495+
react@^16.8.6:
7496+
version "16.8.6"
7497+
resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe"
7498+
integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw==
74997499
dependencies:
7500-
fbjs "^0.8.16"
75017500
loose-envify "^1.1.0"
75027501
object-assign "^4.1.1"
7503-
prop-types "^15.6.0"
7502+
prop-types "^15.6.2"
7503+
scheduler "^0.13.6"
75047504

75057505
read-all-stream@^3.0.0:
75067506
version "3.1.0"
@@ -8044,6 +8044,14 @@ sax@^1.2.1, sax@^1.2.4, sax@~1.2.1:
80448044
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
80458045
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
80468046

8047+
scheduler@^0.13.6:
8048+
version "0.13.6"
8049+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.6.tgz#466a4ec332467b31a91b9bf74e5347072e4cd889"
8050+
integrity sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ==
8051+
dependencies:
8052+
loose-envify "^1.1.0"
8053+
object-assign "^4.1.1"
8054+
80478055
schema-utils@^0.3.0:
80488056
version "0.3.0"
80498057
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf"

0 commit comments

Comments
 (0)