diff --git a/package-lock.json b/package-lock.json index 715e7034..c60e7f31 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "query-string": "^7.0.1", "rgb-hex": "^3.0.0", "styled-components": "^5.3.3", - "use-query-params": "^1.2.3", + "use-query-params": "^2.0.0", "viz.js": "^2.1.2" }, "devDependencies": { @@ -12152,12 +12152,9 @@ } }, "node_modules/serialize-query-params": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/serialize-query-params/-/serialize-query-params-1.3.6.tgz", - "integrity": "sha512-VlH7sfWNyPVZClPkRacopn6sn5uQMXBsjPVz1+pBHX895VpcYVznfJtZ49e6jymcrz+l/vowkepCZn/7xEAEdw==", - "peerDependencies": { - "query-string": ">=5.1.1" - } + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/serialize-query-params/-/serialize-query-params-2.0.2.tgz", + "integrity": "sha512-1chMo1dST4pFA9RDXAtF0Rbjaut4is7bzFbI1Z26IuMub68pNCILku85aYmeFhvnY//BXUPUhoRMjYcsT93J/Q==" }, "node_modules/set-blocking": { "version": "2.0.0", @@ -13965,16 +13962,25 @@ } }, "node_modules/use-query-params": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/use-query-params/-/use-query-params-1.2.3.tgz", - "integrity": "sha512-cdG0tgbzK+FzsV6DAt2CN8Saa3WpRnze7uC4Rdh7l15epSFq7egmcB/zuREvPNwO5Yk80nUpDZpiyHsoq50d8w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/use-query-params/-/use-query-params-2.2.1.tgz", + "integrity": "sha512-i6alcyLB8w9i3ZK3caNftdb+UnbfBRNPDnc89CNQWkGRmDrm/gfydHvMBfVsQJRq3NoHOM2dt/ceBWG2397v1Q==", "dependencies": { - "serialize-query-params": "^1.3.5" + "serialize-query-params": "^2.0.2" }, "peerDependencies": { - "query-string": ">=5.1.1", + "@reach/router": "^1.2.1", "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "react-dom": ">=16.8.0", + "react-router-dom": ">=5" + }, + "peerDependenciesMeta": { + "@reach/router": { + "optional": true + }, + "react-router-dom": { + "optional": true + } } }, "node_modules/uuid": { diff --git a/package.json b/package.json index f292d751..f33c1fbb 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "query-string": "^7.0.1", "rgb-hex": "^3.0.0", "styled-components": "^5.3.3", - "use-query-params": "^1.2.3", + "use-query-params": "^2.0.0", "viz.js": "^2.1.2" }, "renovate": {