Overview
react-visjs-timeline is using a deprecated version of vis-timeline
This build has been deprecated vis-timeline-graph2d.min.js
In case you are importing this through a URL it will result in a 404 eventually.
In case you are importing this through Node it will be replaced by the peer build eventually.
Please use the peer or standalone build instead.
Peer: https://visjs.github.io/vis-timeline/examples/timeline/peer-build.html
Standalone: https://visjs.github.io/vis-timeline/examples/timeline/standalone-build.html
Package versions
"react-visjs-timeline": "^1.6.0",
"vis-timeline": "^7.1.0"
Screenshots (if appropriate)

If I understand correctly, instead of importing vis-timeline-graph2d.min.js, react-visjs-timeline should import like this (peer build):
import { DataSet } from "vis-data";
import { Timeline } from "vis-timeline/peer";
or this (standalone build)
import { DataSet, Timeline } from "vis-timeline/standalone";
Overview
react-visjs-timeline is using a deprecated version of vis-timeline
Package versions
Screenshots (if appropriate)
If I understand correctly, instead of importing
vis-timeline-graph2d.min.js, react-visjs-timeline should import like this (peer build):or this (standalone build)