parse-domain icon indicating copy to clipboard operation
parse-domain copied to clipboard

Splits a hostname into subdomains, domain and (effective) top-level domains.

Results 9 parse-domain issues
Sort by recently updated
recently updated
newest added

`parse-domain` should be listed [here](https://publicsuffix.org/learn/)

## Issue summary As you can see [here](https://publicsuffix.org/list/public_suffix_list.dat) the `eu.org` belongs to the private domain section, so parsing a domain like `example.eu.org` should return `org` as the top-level domain, not...

Sorry for the triviality of this. It seems you missed passing an export in your entry point

Thank you for great library. We use the library in both strict and lax mode depending on how flexible we want to be with the user input. One of the...

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies

When attempting to parse 'salesforce.com' domain ends up being null `const { domain } = parseDomain('salesforce.com');`

Bumps [rollup](https://github.com/rollup/rollup) from 4.19.0 to 4.22.4. Release notes Sourced from rollup's releases. v4.22.4 4.22.4 2024-09-21 Bug Fixes Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles...

dependencies

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.5 to 5.4.6. Release notes Sourced from vite's releases. [email protected] Please refer to CHANGELOG.md for details. Changelog Sourced from vite's changelog. 5.4.6 (2024-09-16) fix: avoid DOM Clobbering...

dependencies