From feb215425765c301cb3b8b6e6767282ffc0631c8 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 7 Mar 2022 17:41:59 +0100 Subject: [PATCH] Updated to react-datepicker 4.3 --- package-lock.json | 46 +++++++++++++++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2f3a19bf..9524bfa7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ "@types/react": "^17.0.39", "@types/react-color": "^3.0.6", "@types/react-copy-to-clipboard": "^5.0.2", - "@types/react-datepicker": "^3.1.5", + "@types/react-datepicker": "^4.3.4", "@types/react-dom": "^17.0.13", "@types/react-leaflet": "^2.8.2", "@types/react-redux": "^7.1.23", @@ -4371,14 +4371,29 @@ } }, "node_modules/@types/react-datepicker": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/@types/react-datepicker/-/react-datepicker-3.1.5.tgz", - "integrity": "sha512-aPl3ay63H4ugUeGSWQqQCVqpo9nS2SSnnX3QNclr9Ze82PWBTaXRFCLXOcUP+JgnjCabb3ZF4XwTom2Pob3hPQ==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@types/react-datepicker/-/react-datepicker-4.3.4.tgz", + "integrity": "sha512-5nTTz37KdTUgMZ1AAxztMWNtEnIMVRo8oCAEhIv0a6uUqDjvSKaMyPRpBV+8chi6f/A8wlTKJIpojpXca2dx3A==", "dev": true, "dependencies": { + "@popperjs/core": "^2.9.2", "@types/react": "*", "date-fns": "^2.0.1", - "popper.js": "^1.14.1" + "react-popper": "^2.2.5" + } + }, + "node_modules/@types/react-datepicker/node_modules/react-popper": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.2.5.tgz", + "integrity": "sha512-kxGkS80eQGtLl18+uig1UIf9MKixFSyPxglsgLBxlYnyDf65BiY9B3nZSc6C9XUNDgStROB0fMQlTEz1KxGddw==", + "dev": true, + "dependencies": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + }, + "peerDependencies": { + "@popperjs/core": "^2.0.0", + "react": "^16.8.0 || ^17" } }, "node_modules/@types/react-dom": { @@ -34535,14 +34550,27 @@ } }, "@types/react-datepicker": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/@types/react-datepicker/-/react-datepicker-3.1.5.tgz", - "integrity": "sha512-aPl3ay63H4ugUeGSWQqQCVqpo9nS2SSnnX3QNclr9Ze82PWBTaXRFCLXOcUP+JgnjCabb3ZF4XwTom2Pob3hPQ==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@types/react-datepicker/-/react-datepicker-4.3.4.tgz", + "integrity": "sha512-5nTTz37KdTUgMZ1AAxztMWNtEnIMVRo8oCAEhIv0a6uUqDjvSKaMyPRpBV+8chi6f/A8wlTKJIpojpXca2dx3A==", "dev": true, "requires": { + "@popperjs/core": "^2.9.2", "@types/react": "*", "date-fns": "^2.0.1", - "popper.js": "^1.14.1" + "react-popper": "^2.2.5" + }, + "dependencies": { + "react-popper": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.2.5.tgz", + "integrity": "sha512-kxGkS80eQGtLl18+uig1UIf9MKixFSyPxglsgLBxlYnyDf65BiY9B3nZSc6C9XUNDgStROB0fMQlTEz1KxGddw==", + "dev": true, + "requires": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + } + } } }, "@types/react-dom": { diff --git a/package.json b/package.json index 7e701296..4bf22169 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@types/react": "^17.0.39", "@types/react-color": "^3.0.6", "@types/react-copy-to-clipboard": "^5.0.2", - "@types/react-datepicker": "^3.1.5", + "@types/react-datepicker": "^4.3.4", "@types/react-dom": "^17.0.13", "@types/react-leaflet": "^2.8.2", "@types/react-redux": "^7.1.23",