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

refactor(helper): deprecate replaceSymbolWithNumber #2557

Merged

Conversation

suyashgulati
Copy link
Contributor

@suyashgulati suyashgulati commented Nov 21, 2023

Fixes #1994

Changes done:

  • deprecated replaceSymbolWithNumber

  • created a new legacy method legacyReplaceSymbolWithNumber

  • methods using replaceSymbolWithNumber now use the legacy method instead

  • no update on unit tests required

@suyashgulati suyashgulati requested a review from a team as a code owner November 21, 2023 17:28
@suyashgulati suyashgulati marked this pull request as draft November 21, 2023 17:34
@ST-DDT ST-DDT added this to the v8.x milestone Nov 21, 2023
@ST-DDT ST-DDT 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 Nov 21, 2023
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Merging #2557 (fb964f1) into next (5525b55) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2557      +/-   ##
==========================================
- Coverage   99.57%   99.56%   -0.01%     
==========================================
  Files        2805     2805              
  Lines      250126   250166      +40     
  Branches     1103     1100       -3     
==========================================
+ Hits       249065   249082      +17     
- Misses       1033     1056      +23     
  Partials       28       28              
Files Coverage Δ
src/modules/helpers/index.ts 99.01% <100.00%> (+0.02%) ⬆️
src/modules/phone/index.ts 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

@suyashgulati suyashgulati marked this pull request as ready for review November 21, 2023 20:28
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
ST-DDT
ST-DDT previously approved these changes Nov 25, 2023
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
src/modules/helpers/index.ts Show resolved Hide resolved
src/modules/helpers/index.ts Outdated Show resolved Hide resolved
@ST-DDT ST-DDT requested review from a team November 25, 2023 13:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate helpers.replaceSymbolWithNumber
3 participants