Skip to content

Remove lodash Dependency#457

Open
maennchen wants to merge 1 commit intomainfrom
jm/remove-lodash
Open

Remove lodash Dependency#457
maennchen wants to merge 1 commit intomainfrom
jm/remove-lodash

Conversation

@maennchen
Copy link
Copy Markdown
Member

Description

Removes lodash. NodeJS 24 contains RegExp.escape, no need for lodash.

@paulo-ferraz-oliveira
Copy link
Copy Markdown
Collaborator

I like it. Don't know why tests fail, but no need to wait for reviews for such a small change, I'd say.

@maennchen maennchen marked this pull request as ready for review April 30, 2026 17:15
@maennchen
Copy link
Copy Markdown
Member Author

@paulo-ferraz-oliveira The tests seem to fail consistently. I don't really have the time to trace it down. Do you mind getting this over the line?

@maennchen maennchen force-pushed the jm/remove-lodash branch from e5e2646 to 4b5c19e Compare May 5, 2026 05:53
NodeJS 24 contains RegExp.escape, no need for lodash.
@maennchen maennchen force-pushed the jm/remove-lodash branch from 7f3de4e to 407b6c3 Compare May 5, 2026 06:05
@maennchen
Copy link
Copy Markdown
Member Author

@paulo-ferraz-oliveira The issue was that there was a regex escape in a URL. This did not matter with lodash that apparently escaped a bit less, but mangled the URL using the built in escaping.

On failing tests:

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.

2 participants