Skip to content
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

Update BaseStorage.js #67

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Unreal1david
Copy link

@Unreal1david Unreal1david commented Jun 27, 2024

Combined the logic for constructing the filename in generateUnique. Simplified the extension check in getUniqueFileName. Used default parameter for i and simplified the recursion logic. Used const and let, template literals, and async/await for better readability and performance. Also update moment and nodejs version dependencies

Combined the logic for constructing the filename in generateUnique.
Simplified the extension check in getUniqueFileName.
Used default parameter for i and simplified the recursion logic.
Used const and let, template literals, and async/await for better readability and performance.
Update moment dependency and nodeJS version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant