1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00
bitwarden-browser/libs/importer/spec
Calum Lind 3f35b78b40
[PM-2256] Fix importer parsing credit card expiry year (#5444)
* Fix importer parsing credit card expiry year

When importing a credit card from Enpass it was found that with a 4
digit expiry year was prefixed with '20', stored at 11/202025 instead of
11/2025.

Fixed typo that checked length of month instead of year which
incorrectly added prefix.

* Refactor setCardExpiration to use RegExp
2023-05-31 09:08:39 +01:00
..
test-data [PM-1877] Spellcheck (#5237) 2023-04-26 12:16:07 +02:00
base-importer.spec.ts [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
bitwarden-password-protected-importer.spec.ts [PM-1071] Display import-details-dialog on successful import (#4817) 2023-04-06 22:41:09 +02:00
chrome-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
dashlane-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
enpass-json-importer.spec.ts [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
firefox-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
keepass2-xml-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
keeper-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
keeper-json-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
lastpass-csv-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
myki-csv-importer.spec.ts [PM-1877] Spellcheck (#5237) 2023-04-26 12:16:07 +02:00
nordpass-csv-importer.spec.ts [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
onepassword-1pif-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
onepassword-1pux-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
onepassword-mac-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
onepassword-win-csv-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
passky-json-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
psono-json-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
roboform-csv-importer.spec.ts [PM-1684] Broken roboform importer (#5137) 2023-04-07 11:23:34 +01:00
safari-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00