Skip to content

refactor(helpers): deprecate repeatString #1299

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

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

xDivisionByZerox
Copy link
Member

This PR deprecates faker.helpers.repeatString() in favor of the native supported String.prototype.repeat().

Verified

This commit was signed with the committer’s verified signature.
xDivisionByZerox DivisionByZero
@xDivisionByZerox xDivisionByZerox added p: 1-normal Nothing urgent c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: helpers Something is referring to the helpers module deprecation A deprecation was made in the PR labels Aug 24, 2022
@xDivisionByZerox xDivisionByZerox added this to the v7 - Current Major milestone Aug 24, 2022
@xDivisionByZerox xDivisionByZerox requested a review from a team August 24, 2022 21:11
@xDivisionByZerox xDivisionByZerox self-assigned this Aug 24, 2022
@xDivisionByZerox xDivisionByZerox requested a review from a team as a code owner August 24, 2022 21:11
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #1299 (dda6fe0) into main (af34753) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1299   +/-   ##
=======================================
  Coverage   99.62%   99.62%           
=======================================
  Files        2160     2160           
  Lines      240439   240444    +5     
  Branches     1007     1007           
=======================================
+ Hits       239535   239547   +12     
+ Misses        883      876    -7     
  Partials       21       21           
Impacted Files Coverage Δ
src/modules/helpers/index.ts 98.31% <100.00%> (+0.01%) ⬆️
src/modules/internet/user-agent.ts 83.59% <0.00%> (+1.85%) ⬆️

@ST-DDT ST-DDT added the s: accepted Accepted feature / Confirmed bug label Aug 24, 2022
@ST-DDT ST-DDT requested a review from a team August 24, 2022 21:56
Copy link
Member

@Shinigami92 Shinigami92 left a comment

Choose a reason for hiding this comment

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

❤️

@Shinigami92 Shinigami92 merged commit da78c88 into main Aug 25, 2022
@Shinigami92 Shinigami92 deleted the refactor/helpers/deprecate-repeat-string branch August 25, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs deprecation A deprecation was made in the PR m: helpers Something is referring to the helpers module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants