ibantools 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@
8
8
  * @package Documentation
9
9
  * @author Saša Jovanić
10
10
  * @module ibantools
11
- * @version 4.3.0
11
+ * @version 4.3.2
12
12
  * @license MPL-2.0
13
13
  * @preferred
14
14
  */
@@ -1345,7 +1345,11 @@ exports.countrySpecs = {
1345
1345
  bban_validation_func: checkMod9710BBAN,
1346
1346
  IBANRegistry: true,
1347
1347
  },
1348
- RU: {},
1348
+ RU: {
1349
+ chars: 33,
1350
+ bban_regexp: '^[0-9]{14}[A-Z0-9]{15}$',
1351
+ IBANRegistry: true,
1352
+ },
1349
1353
  RW: {},
1350
1354
  SA: {
1351
1355
  chars: 24,
@@ -1358,7 +1362,11 @@ exports.countrySpecs = {
1358
1362
  bban_regexp: '^[A-Z]{4}[0-9]{20}[A-Z]{3}$',
1359
1363
  IBANRegistry: true,
1360
1364
  },
1361
- SD: {},
1365
+ SD: {
1366
+ chars: 18,
1367
+ bban_regexp: '^[0-9]{14}$',
1368
+ IBANRegistry: true,
1369
+ },
1362
1370
  SE: { chars: 24, bban_regexp: '^[0-9]{20}$', IBANRegistry: true, SEPA: true },
1363
1371
  SG: {},
1364
1372
  SH: {},
@@ -1388,7 +1396,11 @@ exports.countrySpecs = {
1388
1396
  chars: 28,
1389
1397
  bban_regexp: '^[A-Z]{2}[0-9]{22}$',
1390
1398
  },
1391
- SO: {},
1399
+ SO: {
1400
+ chars: 23,
1401
+ bban_regexp: '^[0-9]{19}$',
1402
+ IBANRegistry: true,
1403
+ },
1392
1404
  SR: {},
1393
1405
  SS: {},
1394
1406
  ST: {
@@ -1329,7 +1329,11 @@ export var countrySpecs = {
1329
1329
  bban_validation_func: checkMod9710BBAN,
1330
1330
  IBANRegistry: true,
1331
1331
  },
1332
- RU: {},
1332
+ RU: {
1333
+ chars: 33,
1334
+ bban_regexp: '^[0-9]{14}[A-Z0-9]{15}$',
1335
+ IBANRegistry: true,
1336
+ },
1333
1337
  RW: {},
1334
1338
  SA: {
1335
1339
  chars: 24,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ibantools",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff like ISO 3136-1 alpha 2 country list",
5
5
  "keywords": [
6
6
  "IBAN",