[WEB-4751] refactor: added tld validation for urls (#7622)

* refactor: added tld validation for urls

* refactor: improve TLD validation and update parameter naming in URL utility functions

* refactor: enhance URL component extraction and validation logic

* fix: lint

* chore: remove unused lodash filter import in existing issues list modal

---------

Co-authored-by: Sriram Veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Jayash Tripathy 2025-08-23 01:07:35 +05:30 committed by GitHub
parent 9ecea15d74
commit 841388e437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 167 additions and 26 deletions

9
pnpm-lock.yaml generated
View file

@ -1280,6 +1280,9 @@ importers:
tailwind-merge:
specifier: ^2.5.5
version: 2.6.0
tlds:
specifier: 1.259.0
version: 1.259.0
uuid:
specifier: ^10.0.0
version: 10.0.0
@ -7161,6 +7164,10 @@ packages:
peerDependencies:
'@tiptap/core': ^2.0.3
tlds@1.259.0:
resolution: {integrity: sha512-AldGGlDP0PNgwppe2quAvuBl18UcjuNtOnDuUkqhd6ipPqrYYBt3aTxK1QTsBVknk97lS2JcafWMghjGWFtunw==}
hasBin: true
tldts-core@6.1.86:
resolution: {integrity: sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==}
@ -14253,6 +14260,8 @@ snapshots:
markdown-it-task-lists: 2.1.1
prosemirror-markdown: 1.13.2
tlds@1.259.0: {}
tldts-core@6.1.86: {}
tldts@6.1.86: