Skip to content

Conversation

@Sam-61s
Copy link
Contributor

@Sam-61s Sam-61s commented Dec 31, 2025

What kind of change does this PR introduce?

  • Bug fix / Refactoring

Issue Number:

Screenshots/videos:

  • Not applicable (no UI changes)

If relevant, did you update the documentation?

  • Not required

Summary
This PR replaces usages of the deprecated String.prototype.substr API with standard and well-supported alternatives (slice or substring) in the affected areas.

The deprecated usage was causing ESLint/editor warnings. The changes preserve existing behavior and logic while aligning with modern JavaScript best practices.

Does this PR introduce a breaking change?

  • No

Checklist

  • Read, understood, and followed the contributing guidelines

@Sam-61s Sam-61s requested a review from a team as a code owner December 31, 2025 08:51
@github-project-automation github-project-automation bot moved this to Ready to review in PR - Triage Group Dec 31, 2025
@github-actions
Copy link

github-actions bot commented Dec 31, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview fa78083

@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3bf407c) to head (fa78083).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2050   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          633       633           
  Branches       196       196           
=========================================
  Hits           633       633           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Sam-61s
Copy link
Contributor Author

Sam-61s commented Jan 7, 2026

Hi @Utkarsh-123github,
Could you please review this PR? All checks are passing.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready to review

Development

Successfully merging this pull request may close these issues.

🐛 Bug: Replace deprecated String.substr usages with slice

1 participant