-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
feat: Add customization merge, append or replace functionality #3871
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for ohif-platform-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ohif-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
return newValue; | ||
} | ||
|
||
return mergeWith(oldValue || {}, newValue, mergeCustomizer.bind(null, mergeType)); |
Check warning
Code scanning / CodeQL
Prototype-polluting assignment Medium
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
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.
@wayfarer3130 please take a look at this github security risk notice
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3871 +/- ##
==========================================
- Coverage 46.23% 44.44% -1.80%
==========================================
Files 78 80 +2
Lines 1276 1332 +56
Branches 312 327 +15
==========================================
+ Hits 590 592 +2
- Misses 548 587 +39
- Partials 138 153 +15
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Context
This is a tiny feature to add the ability to merge instead of replacing within the customization service. The eventual intent is to add more sophisticated merge capabilities, but for now, a simple merge, replace or append is provided.
Changes & Results
Testing
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment