Skip to content

Conversation

@kripton
Copy link
Member

@kripton kripton commented Mar 5, 2023

I get mails weekly from GitHub/Dependabot stating that our dependencies in the package.json file contain vulnerabilities. This update reduces them a little. Before:

66 vulnerabilities (2 low, 14 moderate, 32 high, 18 critical)

After:

10 vulnerabilities (7 high, 3 critical)

I ran all defined tasks locally and they all still run fine. The change in the Gruntfile is required since one plugin changed their config a little.

Dependabot complains about "junit" in the "pom.xml" as well. I will check if I can fix & test that as well

@kripton kripton added Language-JS dependencies Pull requests that update a dependency file labels Mar 5, 2023
@kripton kripton requested a review from peternewman March 5, 2023 19:41
@kripton
Copy link
Member Author

kripton commented Mar 5, 2023

Copy link
Member

@peternewman peternewman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Just the query about putting Grunt in verbose.

Also I know these are only dev dependencies, but do they not result in any changes to the generated files (e.g. improvements to the CSS minimisation), in which case could you regenerate that and upload it too?

@kripton
Copy link
Member Author

kripton commented Mar 5, 2023

Also I know these are only dev dependencies, but do they not result in any changes to the generated files (e.g. improvements to the CSS minimisation), in which case could you regenerate that and upload it too?

Indeed, the generated files differ a little. However, since those files are "blobs" and increase the git history / clone size I'd rather update those files only when required, when the actual behaviour should be changed. If you want me to commit the updated files nevertheless, I can of course do so.

@peternewman
Copy link
Member

Indeed, the generated files differ a little. However, since those files are "blobs" and increase the git history / clone size I'd rather update those files only when required, when the actual behaviour should be changed. If you want me to commit the updated files nevertheless, I can of course do so.

I can certainly see the logic in that, but I'm tempted to go the other way just so we get more testing and exposure of those files, in the unlikely event the changes break something, someone ought to spot sooner, and if they don't and they're smaller then users will benefit from smaller downloads instead!

@kripton kripton force-pushed the updateNodeDependencies branch from 75aba44 to 8aca621 Compare March 5, 2023 21:30
@kripton
Copy link
Member Author

kripton commented Mar 5, 2023

I can certainly see the logic in that, but I'm tempted to go the other way just so we get more testing and exposure of those files, in the unlikely event the changes break something, someone ought to spot sooner, and if they don't and they're smaller then users will benefit from smaller downloads instead!

Don't expect stuff to get smaller at dependency updates ;)

I pushed the newly generated files and will merge this one all CI checks are green

@kripton kripton merged commit 7032f52 into OpenLightingProject:0.10 Mar 5, 2023
@kripton kripton deleted the updateNodeDependencies branch March 5, 2023 21:38
@peternewman
Copy link
Member

Don't expect stuff to get smaller at dependency updates ;)

😆 I was vaguely hoping that a minifier might get more efficient at some point...

I pushed the newly generated files and will merge this one all CI checks are green

Lovely thanks!

@peternewman peternewman added this to the 0.10.10 milestone Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Language-JS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants