bb-plane-fork/packages/utils
Jayash Tripathy cd61e8dd44
[WEB-4705] chore: url utilities (#7589)
* feat: add truncated link export and URL utility to respective modules

* refactor: replace Link2 with ExternalLink in TruncatedUrl component

* feat: add TruncatedUrl component and update link exports

* fix: export ParsedURL interface for better accessibility in URL utilities

* refactor: remove TruncatedUrl component and update link exports

* fix: update parseURL function to return undefined for invalid URLs

* refactor: rename ParsedURL interface to IParsedURL for consistency

* refactor: rename IParsedURL to IURLComponents and update parsing functions for improved clarity

* refactor: update URL utility functions and improve documentation for clarity

* refactor: add full URL property to IURLComponents interface and update extractURLComponents function

* refactor: rename createURL function to isUrlValid and update its implementation to validate URL strings

* refactor: rename isUrlValid function to getValidURL and update its implementation to return URL object or undefined
2025-08-19 20:09:03 +05:30
..
src [WEB-4705] chore: url utilities (#7589) 2025-08-19 20:09:03 +05:30
.eslintignore chore: lint related changes and packaging fixes (#6163) 2024-12-06 14:56:49 +05:30
.eslintrc.js feat: adding standard scripts for lint and format check (#7326) 2025-07-04 14:23:18 +05:30
.prettierignore fix: CI to include lint and format along with build (#7482) 2025-08-18 21:27:16 +05:30
.prettierrc chore: lint related changes and packaging fixes (#6163) 2024-12-06 14:56:49 +05:30
package.json feat: migrate to pnpm from yarn (#7593) 2025-08-19 20:06:42 +05:30
tsconfig.json chore: lint related changes and packaging fixes (#6163) 2024-12-06 14:56:49 +05:30
tsup.config.ts fix: update tsup build packages (#7438) 2025-07-18 15:04:31 +05:30