From 6e3948a1cfaa1ef39f5a29d410f6afc40e98108d Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Tue, 23 Jul 2024 14:03:29 +0500 Subject: [PATCH] chore(deps): update react responsive (#591) Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> --- package-lock.json | 27 ++++++++++++++++++++------- package.json | 2 +- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6040e940..9e3be958 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "core-js": "3.37.1", "lodash": "4.17.21", "react-redux": "7.2.9", - "react-responsive": "9.0.2", + "react-responsive": "^10.0.0", "react-transition-group": "4.4.5", "regenerator-runtime": "0.14.1", "rosie": "2.1.1", @@ -15006,22 +15006,35 @@ } }, "node_modules/react-responsive": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/react-responsive/-/react-responsive-9.0.2.tgz", - "integrity": "sha512-+4CCab7z8G8glgJoRjAwocsgsv6VA2w7JPxFWHRc7kvz8mec1/K5LutNC2MG28Mn8mu6+bu04XZxHv5gyfT7xQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/react-responsive/-/react-responsive-10.0.0.tgz", + "integrity": "sha512-N6/UiRLGQyGUqrarhBZmrSmHi2FXSD++N5VbSKsBBvWfG0ZV7asvUBluSv5lSzdMyEVjzZ6Y8DL4OHABiztDOg==", "dependencies": { "hyphenate-style-name": "^1.0.0", - "matchmediaquery": "^0.3.0", + "matchmediaquery": "^0.4.2", "prop-types": "^15.6.1", - "shallow-equal": "^1.2.1" + "shallow-equal": "^3.1.0" }, "engines": { - "node": ">=0.10" + "node": ">=14" }, "peerDependencies": { "react": ">=16.8.0" } }, + "node_modules/react-responsive/node_modules/matchmediaquery": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/matchmediaquery/-/matchmediaquery-0.4.2.tgz", + "integrity": "sha512-wrZpoT50ehYOudhDjt/YvUJc6eUzcdFPdmbizfgvswCKNHD1/OBOHYJpHie+HXpu6bSkEGieFMYk6VuutaiRfA==", + "dependencies": { + "css-mediaquery": "^0.1.2" + } + }, + "node_modules/react-responsive/node_modules/shallow-equal": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-3.1.0.tgz", + "integrity": "sha512-pfVOw8QZIXpMbhBWvzBISicvToTiM5WBF1EeAUZDDSb5Dt29yl4AYbyywbJFSEsRUMr7gJaxqCdr4L3tQf9wVg==" + }, "node_modules/react-router": { "version": "6.25.1", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.25.1.tgz", diff --git a/package.json b/package.json index edf55e45..259b969e 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "core-js": "3.37.1", "lodash": "4.17.21", "react-redux": "7.2.9", - "react-responsive": "9.0.2", + "react-responsive": "^10.0.0", "react-transition-group": "4.4.5", "regenerator-runtime": "0.14.1", "rosie": "2.1.1",