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

Remove utils-merge dependency - use spread syntax instead #6091

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Phillip9587
Copy link
Contributor

@Phillip9587 Phillip9587 commented Oct 28, 2024

Removes the utils-merge dependency and uses Object.assign() spread syntax

@Abdel-Monaam-Aouini
Copy link

LGTM

Copy link
Member

@LinusU LinusU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From reading the utils-merge source code, it seems like this should be functionally equivalent. Neat 👍

Copy link
Contributor

@bhavya3024 bhavya3024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lib/application.js Outdated Show resolved Hide resolved
lib/response.js Outdated Show resolved Hide resolved
test/res.cookie.js Outdated Show resolved Hide resolved
History.md Outdated Show resolved Hide resolved
Copy link
Member

@wesleytodd wesleytodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to revisit this when we get benchmarking fully setup, but I think this is a pretty nice and easy perf win for render.

@wesleytodd
Copy link
Member

We can let this sit after the new changes for a bit to give folks some time to weight in, but awesome work @Phillip9587!

@Phillip9587 Phillip9587 changed the title Remove utils-merge dependency - use Object.assign() instead Remove utils-merge dependency - use spread syntax instead Nov 13, 2024
lib/application.js Outdated Show resolved Hide resolved
@Phillip9587
Copy link
Contributor Author

Hey @wesleytodd! Just wanted to check in and see if there’s anything I can help with to move this PR forward. Let me know if I can make any changes or provide additional info. Thanks!

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.

8 participants