Skip to content

Commit

Permalink
Add data valid from 2024-06-03
Browse files Browse the repository at this point in the history
  • Loading branch information
baumerdev committed May 20, 2024
1 parent 0fa0386 commit 622a8c6
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 41 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2024-05-20 [v1.2401.0]

* Additionally includes data valid from 2024-06-03, removes data valid before 2024-03-04

## 2024-02-17 [v1.2400.0]

* Additionally includes data valid from 2024-03-04, removes data valid before 2023-12-04
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ the bank name and BIC fields.
This library is not an IBAN validator itself. If you require validation,
please refer to the main project. [IBANTools-Germany](https://baumerdev.github.io/ibantools-germany/).

> _Version 1.2400.* includes data from 2023-12-04 to 2024-03-03, as well as from 2024-03-04 to 2024-06-02. Validation will be based on the data that is valid according to your system time (data changes at midnight CET on 2024-03-04)._
> _Version 1.2401.* includes data from 2024-03-04 to 2024-06-02, as well as from 2024-06-03 to 2024-09-08. Validation will be based on the data that is valid according to your system time (data changes at midnight CET on 2024-06-03)._
* [Installation](#installation)
* [Usage](#usage)
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bankdata-germany",
"version": "1.2400.0",
"version": "1.2401.0",
"description": "Data and BIC Validator for German Banks",
"author": "Markus Baumer <[email protected]>",
"repository": "https://github.com/baumerdev/bankdata-germany",
Expand Down
58 changes: 29 additions & 29 deletions src/__tests__/lib/data.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,39 +231,39 @@ describe("bankDataByIBAN", () => {
});
});

describe("Change 2024-03-04", () => {
test("BLZ 10012345 is unknown before valid-from date", () => {
expect(bankDataByBLZ("10012345", new Date(0))).toEqual(null);
});
test("BLZ 10012345 has data at valid-from date", () => {
expect(bankDataByBLZ("10012345", new Date(nextValidDate))).toEqual({
bankName: "Trade Republic Bank",
bic: "TRBKDEBBXXX",
blz: "10012345",
describe("Change 2024-06-03", () => {
test("BLZ 70110570 is unknown before valid-from date", () => {
expect(bankDataByBLZ("70110570", new Date(0))).toEqual(null);
});
test("BLZ 70110570 has data at valid-from date", () => {
expect(bankDataByBLZ("70110570", new Date(nextValidDate))).toEqual({
bankName: "Münchener Hypothekenbank",
bic: "MHYPDEMMSCA",
blz: "70110570",
});
});
test("BLZ 42651315 has data before valid-from date", () => {
expect(bankDataByBLZ("42651315", new Date(0))).toEqual({
bankName: "Stadtsparkasse Haltern am See",
bic: "WELADED1HAT",
blz: "42651315",
test("BLZ 40055555 has data before valid-from date", () => {
expect(bankDataByBLZ("40055555", new Date(0))).toEqual({
bankName: "LBS Westdeutsche Landesbausparkasse",
bic: "LBSWDE31XXX",
blz: "40055555",
});
});
test("BLZ 42651315 has new data at valid-from date", () => {
expect(bankDataByBLZ("42651315", new Date(nextValidDate))).toEqual({
bankName: "Stadtsparkasse Haltern am See -alt-",
bic: "WELADED1HAT",
blz: "42651315",
test("BLZ 40055555 has new data at valid-from date", () => {
expect(bankDataByBLZ("40055555", new Date(nextValidDate))).toEqual({
bankName: "LBS Landesbausparkasse Nord West",
bic: "LBSWDE31XXX",
blz: "40055555",
});
});
// test("BLZ 20220400 has data before valid-from date", () => {
// expect(bankDataByBLZ("20220400", new Date(0))).toEqual({
// bankName: "Warburg, M.M. - Hypothekenbank",
// bic: "MMWHDEH1XXX",
// blz: "20220400",
// });
// });
// test("BLZ 20220400 is unknown at valid-from date", () => {
// expect(bankDataByBLZ("20220400", new Date(nextValidDate))).toEqual(null);
// });
test("BLZ 10031000 has data before valid-from date", () => {
expect(bankDataByBLZ("10031000", new Date(0))).toEqual({
bankName: "EIS Einlagensicherungsbank",
bic: "EIEGDEB1XXX",
blz: "10031000",
});
});
test("BLZ 10031000 is unknown at valid-from date", () => {
expect(bankDataByBLZ("10031000", new Date(nextValidDate))).toEqual(null);
});
});
2 changes: 1 addition & 1 deletion src/data/current.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/next.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"remove":[],"upsert":{"10012345":["Trade Republic Bank","TRBKDEBBXXX"],"37069330":["Volksbank Haaren -alt-","GENODED1HAW"],"42651315":["Stadtsparkasse Haltern am See -alt-","WELADED1HAT"],"50025000":["Stellantis Bank Niederlassung Deutschland","GMGGDE51XXX"],"50030000":["Stellantis Bank Niederlassung Deutschland","PSADDEF1XXX"],"50030010":["Stellantis Bank Niederlassung Deutschland","BPNDDE52XXX"],"50127700":["PAYONE","PAYODE22XXX"],"50320000":["OWH","OWHBDEFFXXX"],"67390000":["Ihre Volksbank Neckar Odenwald Main Tauber","GENODE61WTH"],"74069758":["Raiffeisenbank Kirchberg v. Wald -alt-","GENODEF1TKI"]},"valid":"2024-03-04T00:00:00+0100"}
{"remove":["10031000","40060300","50123400","53361724","70011700","73460046","76230000"],"upsert":{"40055555":["LBS Landesbausparkasse Nord West","LBSWDE31XXX"],"47853520":["Kreissparkasse Halle-Wiedenbrück","WELADED1WDB"],"48051580":["Kreissparkasse Halle -alt-","WELADED1HAW"],"50127700":["PAYONE","PAYODEF2XXX"],"70110570":["Münchener Hypothekenbank","MHYPDEMMSCA"],"75069078":["Raiffeisenbank Sinzing","GENODEF1SZV"],"79650000":["Sparkasse Miltenberg-Obernburg -alt-","BYLADEM1MIL"]},"valid":"2024-06-03T00:00:00+0200"}

0 comments on commit 622a8c6

Please sign in to comment.