1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-03 08:49:50 +01:00
bitwarden-browser/libs/common
Thales Augusto c70d67bad3
[PM-1823] Defining the card brand according to its number (#5204)
* Defining the card brand according to its number

* Moving cardBrandByPatterns function to Card View

* Getting Card brand via cardBrandByPatterns function

* Changing cardBrandByPatterns method to static. See:
The reason being that someone wanting to use this outside of the onCardNumberChange would need to know to set the cc-number on the view-model before calling cardBrandByPatterns

* Defining the card brand according to its number on Desktop

* Defining the card brand according to its number on Web
2023-06-09 20:44:33 +02:00
..
spec Platform/pm 19/platform team file moves (#5460) 2023-06-06 15:34:53 -05:00
src [PM-1823] Defining the card brand according to its number (#5204) 2023-06-09 20:44:33 +02:00
jest.config.js [PM-2328] Fix jest deprecations (#5483) 2023-05-22 20:19:16 +02:00
package.json chore(deps): update dependency rimraf to v5 (#5468) 2023-05-19 14:23:44 +02:00
test.setup.ts [PM-2132] Move all specs to the src directory (#5367) 2023-05-09 11:27:09 +02:00
tsconfig.json Use NPM workspace (#2874) 2022-06-14 17:10:53 +02:00
tsconfig.spec.json [EC-423] Fix unit tests (#3265) 2022-08-11 11:35:08 +10:00