-
Notifications
You must be signed in to change notification settings - Fork 115
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
Address CVE-2024-22871 and cleanup older patterns #491
Address CVE-2024-22871 and cleanup older patterns #491
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I have only 1 smaller comment. The compiler changes are a bit to wrap my head around, but I think I followed along. Perhaps a bit of inline explanation there would be nice.
The removal of the use of an unnecessary atom for the compile-constraints
is quite nice.
.gitignore
Outdated
@@ -17,3 +17,6 @@ figwheel_server.log | |||
*.iml | |||
.clj-kondo | |||
.lsp | |||
node_modules/* | |||
package.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May not be a bad idea to check both the package*.json files into gh instead for stability. But won't block on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable:
4d0e1dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello from a first-time reviewer.
Liked the shadowing bit; one less atom is nice.
I added some comments here: I didn't think commenting on the changes to the TestNode record itself made sense documented inline, so i will cover them here. Previously the testNode compilation was evaluating a structure like:
This was odd as the constraints didn't need to be evaluated from what i could see, and were actually adding to bloat in the generated classes, which in turn actually breaks the assertion here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra comments look good. Nothing blocking from me.
package.json
Outdated
@@ -0,0 +1,5 @@ | |||
{ | |||
"dependencies": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that important since we aren't publishing this for any production use, but I'd typically think it should be a "devDependencies" entry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shows my lack of experience outside of the clojure side of things, updated here:
e0baa05
No description provided.