peerigon / peerigon/parse-domain

Incorrect parsing of wildcard rule

Open
#159 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
517
Forks
70
Avg merge
3h 38m
Merged PRs (30d)
3

Description

When attempting to parse 'salesforce.com' domain ends up being null

const { domain } = parseDomain('salesforce.com');

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported parseDomain('salesforce.com') case and tracing the wildcard-rule parsing path. The issue mentions no files or tests, so locate the relevant parser entry point and existing rule-related tests; done means the input produces the expected non-null domain and a regression test covers it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.