visjs / vis-timeline

📅 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
https://visjs.github.io/vis-timeline/
Other
1.74k stars 302 forks source link

Compatibility with UUID ≥10.0.0 #1810

Closed icod closed 3 weeks ago

icod commented 3 weeks ago

In our project, we use vis-timeline and uuid as separate dependencies. Upgrading to the new major version of uuid (10.0.0) results in conflicting peer dependencies with vis-data (through vis-timeline):

npm error While resolving: vis-data@7.1.9
npm error Found: uuid@10.0.0
npm error node_modules/uuid
npm error   uuid@"^10.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer uuid@"^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" from vis-data@7.1.9
npm error node_modules/vis-data
npm error   peer vis-data@"^6.3.0 || ^7.0.0" from vis-timeline@7.7.3
npm error   node_modules/vis-timeline
npm error     vis-timeline@"^7.7.3" from the root project
npm error
npm error Conflicting peer dependency: uuid@9.0.1
npm error node_modules/uuid
npm error   peer uuid@"^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" from vis-data@7.1.9
npm error   node_modules/vis-data
npm error     peer vis-data@"^6.3.0 || ^7.0.0" from vis-timeline@7.7.3
npm error     node_modules/vis-timeline
npm error       vis-timeline@"^7.7.3" from the root project

Is it possible to add support for uuid ≥10.0.0?

icod commented 3 weeks ago

I have created an issue in visjs/vis-data, since that is probably a more appropriate place.