geoneutrinos / reactors

Port/cleanup of the reactor page as an independent repo
2 stars 1 forks source link

software updates #432

Open stdye opened 2 years ago

stdye commented 2 years ago

reactor/package.json has a dependencies list. I checked just a few entries:

"plotly.js": "^2.11.1" and https://plotly.com/javascript/ shows v2.12.1 is available "typescript": "^4.5.4" and https://www.typescriptlang.org shows TypeScript v4.7 is available "suncalc": "^1.8.0" and https://www.npmjs.com/package/suncalc shows v1.9.0 is available

I can check all of them but wanted to first ask:

Should a software package be updated as soon as a new release is available?

DocOtak commented 2 years ago

Here is the output of npm outdated the "current" value is what is actually installed according to the package.lock file "wanted" is the latest version that the version string in the package.json would resolve to. A ^ prefix says we want the latest "minor" version: if the version numbers are x.y.z, we want the latest x.* value with the value in the package.json file being the earliest allowed. "latest" is just the latest version available on npm.

Some of these... like react-leaflet and bootstrap have major changes that would require us to modify many places to be compatible (which we probably should do eventually).

Package            Current    Wanted    Latest  Location                       Depended by
@types/d3            6.7.5     6.7.5     7.4.0  node_modules/@types/d3         reactors
@types/jest        26.0.24   26.0.24    28.1.3  node_modules/@types/jest       reactors
@types/lodash     4.14.181  4.14.182  4.14.182  node_modules/@types/lodash     reactors
@types/node       14.18.12  14.18.21    18.0.0  node_modules/@types/node       reactors
@types/react       17.0.44   17.0.47   18.0.14  node_modules/@types/react      reactors
@types/react-dom   17.0.15   17.0.17    18.0.5  node_modules/@types/react-dom  reactors
bootstrap            4.6.1     4.6.1     5.1.3  node_modules/bootstrap         reactors
d3                   7.4.3     7.5.0     7.5.0  node_modules/d3                reactors
gh-pages             3.2.3     3.2.3     4.0.0  node_modules/gh-pages          reactors
plotly.js           2.11.1    2.12.1    2.12.1  node_modules/plotly.js         reactors
prettier             2.6.2     2.7.1     2.7.1  node_modules/prettier          reactors
react               17.0.2    17.0.2    18.2.0  node_modules/react             reactors
react-bootstrap      1.6.4     1.6.5     2.4.0  node_modules/react-bootstrap   reactors
react-dom           17.0.2    17.0.2    18.2.0  node_modules/react-dom         reactors
react-leaflet        2.8.0     2.8.0     4.0.1  node_modules/react-leaflet     reactors
react-scripts        5.0.0     5.0.1     5.0.1  node_modules/react-scripts     reactors
typescript           4.6.3     4.7.4     4.7.4  node_modules/typescript        reactors