-
-
Notifications
You must be signed in to change notification settings - Fork 65
feat(Atomic): Make read write the data atomic to avoid corruption of database #449
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
Conversation
data = data[property] | ||
} else if (create) { | ||
if (isArray) { | ||
data[property] = [] |
Check warning
Code scanning / CodeQL
Prototype-polluting assignment
if (isArray) { | ||
data[property] = [] | ||
} else { | ||
data[property] = {} |
Check warning
Code scanning / CodeQL
Prototype-polluting assignment
Codecov Report
@@ Coverage Diff @@
## develop #449 +/- ##
===========================================
- Coverage 100.00% 98.95% -1.05%
===========================================
Files 6 8 +2
Lines 833 859 +26
Branches 186 198 +12
===========================================
+ Hits 833 850 +17
- Misses 0 8 +8
- Partials 0 1 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. |
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.