From b62bef6e180d42e91238cc3d614d0bf7ce9011fe Mon Sep 17 00:00:00 2001 From: Ehsan Heydari Date: Thu, 11 Apr 2024 12:16:46 +0200 Subject: [PATCH] feat(datepicker): update react-datepicker `v6.1.0` => `v6.3.0` --- package.json | 4 ++-- pnpm-lock.yaml | 41 ++++++++++++++++------------------------- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 98aaeb135..2ec2e4be4 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "date-fns": "^3.3.1", "emotion-theming": "^10.3.0", "ramda": "^0.28.0", - "react-datepicker": "^6.1.0", + "react-datepicker": "^6.3.0", "rebass": "^4.0.7" }, "devDependencies": { @@ -104,7 +104,7 @@ "@types/node": "^20.11.20", "@types/ramda": "^0.28.1", "@types/react": "^18.2.74", - "@types/react-datepicker": "^6.0.1", + "@types/react-datepicker": "^6.0.3", "@types/react-dom": "^18.2.19", "@types/rebass": "^4.0.14", "@types/rebass__forms": "^4.0.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c7b6cf89..4d924fdb8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,8 +66,8 @@ dependencies: specifier: ^0.28.0 version: 0.28.0 react-datepicker: - specifier: ^6.1.0 - version: 6.1.0(react-dom@18.2.0)(react@18.2.0) + specifier: ^6.3.0 + version: 6.6.0(react-dom@18.2.0)(react@18.2.0) rebass: specifier: ^4.0.7 version: 4.0.7(react@18.2.0) @@ -155,8 +155,8 @@ devDependencies: specifier: ^18.2.74 version: 18.2.74 '@types/react-datepicker': - specifier: ^6.0.1 - version: 6.0.1(react-dom@18.2.0)(react@18.2.0) + specifier: ^6.0.3 + version: 6.2.0(react-dom@18.2.0)(react@18.2.0) '@types/react-dom': specifier: ^18.2.19 version: 18.2.19 @@ -4030,6 +4030,7 @@ packages: resolution: {integrity: sha512-21hhDEPOiWkGp0Ys4Wi6Neriah7HweToKra626CIK712B5m9qkdz54OP9gVldUg+URnBTpv/j/bi/skmGdstXQ==} dependencies: '@floating-ui/core': 1.3.1 + dev: false /@floating-ui/dom@1.6.3: resolution: {integrity: sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw==} @@ -4037,17 +4038,6 @@ packages: '@floating-ui/core': 1.3.1 '@floating-ui/utils': 0.2.1 - /@floating-ui/react-dom@2.0.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-rZtAmSht4Lry6gdhAJDrCp/6rKN7++JnL1/Anbr/DdeyYXQPxvg/ivrbYvJulbRf4vL8b212suwMM2lxbv+RQA==} - peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' - dependencies: - '@floating-ui/dom': 1.4.4 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: true - /@floating-ui/react-dom@2.0.8(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==} peerDependencies: @@ -5020,7 +5010,7 @@ packages: optional: true dependencies: '@babel/runtime': 7.23.4 - '@floating-ui/react-dom': 2.0.1(react-dom@18.2.0)(react@18.2.0) + '@floating-ui/react-dom': 2.0.8(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.19)(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.74)(react@18.2.0) '@radix-ui/react-context': 1.0.1(@types/react@18.2.74)(react@18.2.0) @@ -7297,8 +7287,8 @@ packages: resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==} dev: true - /@types/react-datepicker@6.0.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-oAavACLXz+Vm6kO1XZe1/LQJClOO32UUv4xva9G16KQJ2hNROtXyeGzmRg6mktHrQ+YGLnnNlN6S/XykQE2HMA==} + /@types/react-datepicker@6.2.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-+JtO4Fm97WLkJTH8j8/v3Ldh7JCNRwjMYjRaKh4KHH0M3jJoXtwiD3JBCsdlg3tsFIw9eQSqyAPeVDN2H2oM9Q==} dependencies: '@floating-ui/react': 0.26.9(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.2.74 @@ -8759,10 +8749,6 @@ packages: resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==} dev: true - /classnames@2.3.2: - resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==} - dev: false - /clean-stack@2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -8885,6 +8871,11 @@ packages: engines: {node: '>=0.8'} dev: true + /clsx@2.1.0: + resolution: {integrity: sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==} + engines: {node: '>=6'} + dev: false + /co@4.6.0: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} @@ -14262,14 +14253,14 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-datepicker@6.1.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-8uz+hAOpvHqZGvD4Ky1hJ0/tLI4S9B0Gu9LV7LtLxRKXODs/xrxEay0aMVp7AW9iizTeImZh/6aA00fFaRZpJw==} + /react-datepicker@6.6.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-ERC0/Q4pPC9bNIcGUpdCbHc+oCxhkU3WI3UOGHkyJ3A9fqALCYpEmLc5S5xvAd7DuCDdbsyW97oRPM6pWWwjww==} peerDependencies: react: ^16.9.0 || ^17 || ^18 react-dom: ^16.9.0 || ^17 || ^18 dependencies: '@floating-ui/react': 0.26.9(react-dom@18.2.0)(react@18.2.0) - classnames: 2.3.2 + clsx: 2.1.0 date-fns: 3.3.1 prop-types: 15.8.1 react: 18.2.0