Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

perf: improve performance oftoNumber,trim andtrimEnd on large input strings#5065

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
falsyvalues wants to merge1 commit intolodash:4.17fromfalsyvalues:trim-perf

Conversation

falsyvalues
Copy link
Contributor

This PR address perf of end trimming based on/\s+$/ regex on large strings (~ 50kB).

lev-kuznetsov, DevRCRun, Rob-Conan, hannahorange, CoMfUcIoS, and mceachen reacted with thumbs up emojimceachen and gifhuppp reacted with rocket emoji
bnjmnt4n pushed a commit that referenced this pull requestFeb 20, 2021
…t stringsThis prevents potential ReDoS attacks using `_.toNumber` and `_.trim*`as potential attack vectors.Closes#5065.
@bnjmnt4n
Copy link
Contributor

I've added a few tests, and merged inc4847eb.

@lodashlodash locked and limited conversation to collaboratorsNov 16, 2021
@lodashlodash deleted a comment fromstofNov 16, 2021
@lodashlodash deleted a comment frombbossolaNov 16, 2021
@lodashlodash deleted a comment fromstofNov 16, 2021
@lodashlodash deleted a comment fromfalsyvaluesNov 16, 2021
@lodashlodash deleted a comment fromsnoopysecurityNov 16, 2021
@lodashlodash deleted a comment frombbossolaNov 16, 2021
@lodashlodash deleted a comment fromnsharma1989Nov 16, 2021
@jdaltonjdalton added the issue bankruptcyClosing the issue/PR to start fresh labelSep 16, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@stofstofstof approved these changes

Assignees

@jdaltonjdalton

Labels
issue bankruptcyClosing the issue/PR to start fresh
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@falsyvalues@bnjmnt4n@stof@jdalton

[8]ページ先頭

©2009-2025 Movatter.jp