Comments (3)
yarn.lock
is not respected for dependencies, only the current project. A yarn upgrade
or npm upgrade
in your own project should be enough to upgrade the transitive flatpickr
dependency.
from react-flatpickr.
Thank you for your answer. Would you know why $ yarn upgrade react-flatpickr --latest
isn't enough though?
Before upgrade:
$ grep flatpickr yarn.lock -A 2
"@types/react-flatpickr@^3.8.6":
version "3.8.6"
resolved "https://registry.yarnpkg.com/@types/react-flatpickr/-/react-flatpickr-3.8.6.tgz#5ecd5ba47d4f32a20d9045b41e047e6e16cc2e69"
integrity sha512-EhlqO1P0jnlTyYMHgaXRcuWxBqdVtmepl5j9FxoZS8jBxyx1z6AN8K4/WyYS4ijiMsBNDGyagjRXQbAfgvao4w==
dependencies:
--
flatpickr "^4.0.6"
"@types/react-redux@^7.1.24":
--
flatpickr@^4.0.6, flatpickr@^4.6.2:
version "4.6.9"
resolved "https://registry.yarnpkg.com/flatpickr/-/flatpickr-4.6.9.tgz#9a13383e8a6814bda5d232eae3fcdccb97dc1499"
integrity sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==
--
react-flatpickr@^3.10.11:
version "3.10.12"
resolved "https://registry.yarnpkg.com/react-flatpickr/-/react-flatpickr-3.10.12.tgz#c07f39f553865bc7063b69586ffc9d36759e6915"
integrity sha512-NYhUg3QE9K1QpHXLxR7HuWldnNbVWa6lgiZBlWu0HDsX3IWs/hVJ5q1JzM0/CNLJmm2blUEdudHwbyBNezynBg==
dependencies:
flatpickr "^4.6.2"
prop-types "^15.5.10"
Then I upgrade react-flatpickr:
$ yarn upgrade react-flatpickr --latest
After:
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Rebuilding all packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 8.83s.
$ grep flatpickr yarn.lock -A 2
"@types/react-flatpickr@^3.8.6":
version "3.8.6"
resolved "https://registry.yarnpkg.com/@types/react-flatpickr/-/react-flatpickr-3.8.6.tgz#5ecd5ba47d4f32a20d9045b41e047e6e16cc2e69"
integrity sha512-EhlqO1P0jnlTyYMHgaXRcuWxBqdVtmepl5j9FxoZS8jBxyx1z6AN8K4/WyYS4ijiMsBNDGyagjRXQbAfgvao4w==
dependencies:
--
flatpickr "^4.0.6"
"@types/react-redux@^7.1.24":
--
flatpickr@^4.0.6, flatpickr@^4.6.2:
version "4.6.9"
resolved "https://registry.yarnpkg.com/flatpickr/-/flatpickr-4.6.9.tgz#9a13383e8a6814bda5d232eae3fcdccb97dc1499"
integrity sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==
--
react-flatpickr@^3.10.13:
version "3.10.13"
resolved "https://registry.yarnpkg.com/react-flatpickr/-/react-flatpickr-3.10.13.tgz#5b9d8f35f84e43f342fb0f0334b78a8dcd7d67c4"
integrity sha512-4m+K1K8jhvRFI8J/AHmQfA5hLALzhebEtEK8mLevXjX24MV3u502crzBn+EGFIBOfNUtrL5PId9FsGwgtuz/og==
dependencies:
flatpickr "^4.6.2"
prop-types "^15.5.10"
from react-flatpickr.
That's unfortunately a bug in yarn yarnpkg/yarn#4986.
The best solution I know about if you want to update it selectively is to delete the flatpickr@^4.0.6, flatpickr@^4.6.2
entry from yarn.lock
manually and run yarn
, it will regenerate it with the updated version.
Sorry about that!
from react-flatpickr.
Related Issues (20)
- The style is not working
- Clear date does not trigger onChange
- TypeError: _this.flatpickr.setDate is not a function in Jest after upgrading to CRA 5 HOT 1
- x
- Convert a selected date range in Flatpickr
- The calender component should support for testing purpose
- is there a way to use monthSelectPlugin , this doesnot seems to work ? HOT 2
- Lazy loading crashes Flatpickr HOT 1
- Conjunction config option not working when set to "\n"
- Mobile datepicker gets rendered twice when using Nextjs 13 HOT 2
- esbuild Incompatibility with Babel Versions Below 7.14.0
- In the mode selector for time user is able to enter more that 2 digit and not valid time in the timer input.
- umd packaging
- No updation on blur
- monthSelectPlugin error on mobile view
- Uncaught Error: Element type is invalid
- Year input value changes unexpectedly on pressing Enter.
- Flatpickr instance is available at `flatpickr` rather than `_flatpickr` as main docs say
- Flatpickr doesn't scroll properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-flatpickr.