Closed czarcas7ic closed 3 months ago
This update enhances the server's configuration capabilities by improving module management. It introduces a new variable for whitelisting node modules in the default application options and adds a function to parse this whitelist from the application's options. These changes boost flexibility and security in module usage within the server environment.
File(s) | Change Summary |
---|---|
server/util.go |
- Initialized fastNodeModuleWhitelist variable.- Added ParseModuleWhitelist function. |
🐇✨
In the realm of code, a rabbit hopped,
Bringing changes, not a single one flopped.
Modules whitelisted, with care,
Security and flexibility, beyond compare.
Hop, hop, hop, on the digital sod,
With each line of code, it nods.
🌟📦🔒
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Closes: #XXXX
There is some really strange bug with appOpts.Get for string slices. I spent hours trying to figure out the root cause, but was unable to. Basically, it sets the result as an array of length 1, no mater how it is formated, along with adding an extra set of square brackets around the result.
So ["lockup"] becomes [lockup], ["lockup", "superfluid"] becomes [lockup superfluid], etc.
This just adds separate logic to get around this problem.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking changeSummary by CodeRabbit
Bug Fixes
New Features