Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#170: upgrade Chart.js libraries #174

Merged
merged 4 commits into from
Feb 7, 2024
Merged

#170: upgrade Chart.js libraries #174

merged 4 commits into from
Feb 7, 2024

Conversation

mattStorer
Copy link
Collaborator

upgraded chart.js libraries to the latest to resolve an identified vulnerability. plus some additional cleanup in how those libraries get loaded, removing the weird recursive calls to loadScript() and consolidating the load of node scripts into pageNodeScripts where the rest of the Node-based modules are referenced. tested, no errors, everything appears to look just as it should. tooltip display is a little different, and the angle at which timestamps along the X axis are at a shallower angle, but those are trivial differences, if this vulnerability gets resolved.

also removed IE-specific stuff since we're not supporting it as as byproduct of cleaning up this part of the code, referencing a very old backlogged issue.

… the mustache template to the appropriate places in Controller code which populates pageNodeScripts, for #170
… the mustache template to the appropriate places in Controller code which populates pageNodeScripts. also added chart.js references to pageNodeScripts, moved here from the weird recursive loadScripts() logic in home.mustache, only configured that way to support IE, which we're not doing anymore. for #170
…use, where for IE it used a very old version that's probably got some vulnerabilities attached, since chart libraries are now being pulled in via pageNodeScripts, for #170 and #30
@mattStorer mattStorer merged commit cae6b65 into master Feb 7, 2024
3 checks passed
@mattStorer mattStorer deleted the feature/issue170 branch February 7, 2024 20:49
@mattStorer mattStorer restored the feature/issue170 branch February 7, 2024 21:03
@mattStorer mattStorer deleted the feature/issue170 branch February 7, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants