Skip to content

fix: resolve 4 bugs in NPMChat - #247

Open
saurabhhhcodes wants to merge 1 commit into
ThePlator:mainfrom
saurabhhhcodes:fix/NPMChat-65689
Open

fix: resolve 4 bugs in NPMChat#247
saurabhhhcodes wants to merge 1 commit into
ThePlator:mainfrom
saurabhhhcodes:fix/NPMChat-65689

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Description

This PR fixes real bugs found in the codebase:

  • Added explicit radix to parseInt: without 10, strings like '0x1F' or '08' parse in unintended bases.
  • Added explicit radix to parseInt: without 10, strings like '0x1F' or '08' parse in unintended bases.
  • Prevented interval leak: repeated mounts now clear the previous interval before scheduling a new one.
  • Added explicit radix to parseInt: without 10, strings like '0x1F' or '08' parse in unintended bases.

Type of Change

  • Bug fix (non-breaking change fixing an issue)

How Has This Been Tested?

  • Local manual testing

Checklist

  • My code follows the style guidelines
  • I have performed a self-review

Related Issue

Ref: #246

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the Sameer's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added level:intermediate Intermediate level difficulty quality:clean Clean code quality type:bug Bug fix labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:intermediate Intermediate level difficulty quality:clean Clean code quality type:bug Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant