1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-15 19:03:25 +01:00
bitwarden-estensione-browser/libs/common/spec
Daniel James Smith 8c59eef257
[PS-1123] Improve hostname and domain retrieval (#3168)
* Add test cases from previous PR https://github.com/bitwarden/jslib/pull/547

* Install tldts as replacement for tldjs

* Use tldts for hostname and domain retrieval/validation

* Remove usage of old tldjs.noop-implementation

* Add handling of about protocol

* Remove usage of tldEndingRegex and use tldts check instead

* Uninstall @types/tldjs and tldjs

* Updated package-lock.json

* Fix accessibility cookie check

* Rename loginUriView.spec to login-uri-view.spec

* Add test for getDomain failing file links

* getHostName - Return null when given, data, about or file links
2022-10-24 19:26:50 +02:00
..
importers [SM-288] Rename models to follow naming convention (#3795) 2022-10-14 18:25:50 +02:00
matchers
misc [PS-1123] Improve hostname and domain retrieval (#3168) 2022-10-24 19:26:50 +02:00
models [SM-288] Rename requests and responses to follow naming convention (#3806) 2022-10-18 19:01:42 +02:00
services [SM-288] Rename requests and responses to follow naming convention (#3806) 2022-10-18 19:01:42 +02:00
shared
view [PS-1123] Improve hostname and domain retrieval (#3168) 2022-10-24 19:26:50 +02:00
web/services [SM-288] Rename models to follow naming convention (#3795) 2022-10-14 18:25:50 +02:00
utils.ts [SM-288] Rename models to follow naming convention (#3795) 2022-10-14 18:25:50 +02:00