From 390a00ef6db9666a8a3e77574fe82e1933d49b62 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 6 Oct 2019 03:08:33 +0000 Subject: [PATCH] chore: upgrade react-router from 5.0.1 to 5.1.1 Snyk has created this PR to upgrade react-router from 5.0.1 to 5.1.1. See this package in NPM: https://www.npmjs.com/package/react-router See this project in Snyk: https://app.snyk.io/org/stockportgovuk/project/eddd2aa2-df2c-4807-abea-eac0be1401fe?utm_source=github&utm_medium=upgrade-pr --- package-lock.json | 35 ++++++++++++++++++++++------------- package.json | 2 +- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 562b875..c30819e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9747,9 +9747,9 @@ } }, "react-router": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.0.1.tgz", - "integrity": "sha512-EM7suCPNKb1NxcTZ2LEOWFtQBQRQXecLxVpdsP4DW4PbbqYWeRiLyV/Tt1SdCrvT2jcyXAXmVTmzvSzrPR63Bg==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.1.1.tgz", + "integrity": "sha512-ozTXqxKZsn4GfZqpG5rVFHSSxlNuDoMNxgyjM+mFJVhqlnPwwkRsAPkDm1PcNjBdYxMzqAhtz48HkQB6fSYaAQ==", "requires": { "@babel/runtime": "^7.1.2", "history": "^4.9.0", @@ -9761,16 +9761,6 @@ "react-is": "^16.6.0", "tiny-invariant": "^1.0.2", "tiny-warning": "^1.0.0" - }, - "dependencies": { - "hoist-non-react-statics": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz", - "integrity": "sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA==", - "requires": { - "react-is": "^16.7.0" - } - } } }, "react-router-dom": { @@ -9785,6 +9775,25 @@ "react-router": "5.0.1", "tiny-invariant": "^1.0.2", "tiny-warning": "^1.0.0" + }, + "dependencies": { + "react-router": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.0.1.tgz", + "integrity": "sha512-EM7suCPNKb1NxcTZ2LEOWFtQBQRQXecLxVpdsP4DW4PbbqYWeRiLyV/Tt1SdCrvT2jcyXAXmVTmzvSzrPR63Bg==", + "requires": { + "@babel/runtime": "^7.1.2", + "history": "^4.9.0", + "hoist-non-react-statics": "^3.1.0", + "loose-envify": "^1.3.1", + "mini-create-react-context": "^0.3.0", + "path-to-regexp": "^1.7.0", + "prop-types": "^15.6.2", + "react-is": "^16.6.0", + "tiny-invariant": "^1.0.2", + "tiny-warning": "^1.0.0" + } + } } }, "react-test-renderer": { diff --git a/package.json b/package.json index 4132509..0428477 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "react-async-script": "^1.1.1", "react-dom": "^16.9.0", "react-google-recaptcha": "^1.1.0", - "react-router": "^5.0.1", + "react-router": "^5.1.1", "react-router-dom": "^5.0.1", "smbc-react-components": "^4.2.1" },