isbn3 1.1.15 → 1.1.19

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.
package/lib/groups.js CHANGED
@@ -1035,18 +1035,18 @@ module.exports = {
1035
1035
  ranges: [
1036
1036
  [
1037
1037
  '00',
1038
- '08'
1038
+ '10'
1039
1039
  ],
1040
1040
  [
1041
1041
  '200',
1042
- '299'
1042
+ '324'
1043
1043
  ],
1044
1044
  [
1045
- '6000',
1045
+ '5650',
1046
1046
  '7999'
1047
1047
  ],
1048
1048
  [
1049
- '95000',
1049
+ '94000',
1050
1050
  '99999'
1051
1051
  ]
1052
1052
  ]
@@ -1060,10 +1060,10 @@ module.exports = {
1060
1060
  ],
1061
1061
  [
1062
1062
  '200',
1063
- '399'
1063
+ '499'
1064
1064
  ],
1065
1065
  [
1066
- '6000',
1066
+ '5500',
1067
1067
  '7999'
1068
1068
  ],
1069
1069
  [
@@ -1085,7 +1085,7 @@ module.exports = {
1085
1085
  ],
1086
1086
  [
1087
1087
  '5000',
1088
- '5999'
1088
+ '6249'
1089
1089
  ],
1090
1090
  [
1091
1091
  '95000',
@@ -1122,7 +1122,7 @@ module.exports = {
1122
1122
  ],
1123
1123
  [
1124
1124
  '7795',
1125
- '7999'
1125
+ '8499'
1126
1126
  ]
1127
1127
  ]
1128
1128
  },
@@ -1181,6 +1181,19 @@ module.exports = {
1181
1181
  ]
1182
1182
  ]
1183
1183
  },
1184
+ '978-630': {
1185
+ name: 'Romania',
1186
+ ranges: [
1187
+ [
1188
+ '300',
1189
+ '349'
1190
+ ],
1191
+ [
1192
+ '6500',
1193
+ '6849'
1194
+ ]
1195
+ ]
1196
+ },
1184
1197
  '978-65': {
1185
1198
  name: 'Brazil',
1186
1199
  ranges: [
@@ -1201,7 +1214,7 @@ module.exports = {
1201
1214
  '5129'
1202
1215
  ],
1203
1216
  [
1204
- '5500',
1217
+ '5350',
1205
1218
  '5999'
1206
1219
  ],
1207
1220
  [
@@ -1209,7 +1222,7 @@ module.exports = {
1209
1222
  '81824'
1210
1223
  ],
1211
1224
  [
1212
- '86000',
1225
+ '84500',
1213
1226
  '89999'
1214
1227
  ],
1215
1228
  [
@@ -1893,7 +1906,11 @@ module.exports = {
1893
1906
  ],
1894
1907
  [
1895
1908
  '60',
1896
- '65'
1909
+ '64'
1910
+ ],
1911
+ [
1912
+ '65000',
1913
+ '65999'
1897
1914
  ],
1898
1915
  [
1899
1916
  '6600',
@@ -2431,11 +2448,7 @@ module.exports = {
2431
2448
  name: 'Malaysia',
2432
2449
  ranges: [
2433
2450
  [
2434
- '00',
2435
- '00'
2436
- ],
2437
- [
2438
- '0100',
2451
+ '0000',
2439
2452
  '0999'
2440
2453
  ],
2441
2454
  [
@@ -3088,10 +3101,6 @@ module.exports = {
3088
3101
  ],
3089
3102
  [
3090
3103
  '3600',
3091
- '3999'
3092
- ],
3093
- [
3094
- '4000',
3095
3104
  '4199'
3096
3105
  ],
3097
3106
  [
@@ -3120,10 +3129,10 @@ module.exports = {
3120
3129
  ],
3121
3130
  [
3122
3131
  '85',
3123
- '89'
3132
+ '88'
3124
3133
  ],
3125
3134
  [
3126
- '9000',
3135
+ '8900',
3127
3136
  '9499'
3128
3137
  ],
3129
3138
  [
@@ -3202,6 +3211,23 @@ module.exports = {
3202
3211
  ]
3203
3212
  ]
3204
3213
  },
3214
+ '978-9912': {
3215
+ name: 'Tanzania',
3216
+ ranges: [
3217
+ [
3218
+ '40',
3219
+ '44'
3220
+ ],
3221
+ [
3222
+ '750',
3223
+ '799'
3224
+ ],
3225
+ [
3226
+ '9850',
3227
+ '9999'
3228
+ ]
3229
+ ]
3230
+ },
3205
3231
  '978-9913': {
3206
3232
  name: 'Uganda',
3207
3233
  ranges: [
@@ -3341,7 +3367,7 @@ module.exports = {
3341
3367
  name: 'Morocco',
3342
3368
  ranges: [
3343
3369
  [
3344
- '32',
3370
+ '30',
3345
3371
  '39'
3346
3372
  ],
3347
3373
  [
@@ -3401,7 +3427,7 @@ module.exports = {
3401
3427
  ],
3402
3428
  [
3403
3429
  '10',
3404
- '49'
3430
+ '59'
3405
3431
  ],
3406
3432
  [
3407
3433
  '700',
@@ -3549,10 +3575,10 @@ module.exports = {
3549
3575
  ranges: [
3550
3576
  [
3551
3577
  '00',
3552
- '29'
3578
+ '25'
3553
3579
  ],
3554
3580
  [
3555
- '300',
3581
+ '260',
3556
3582
  '899'
3557
3583
  ],
3558
3584
  [
@@ -3717,7 +3743,11 @@ module.exports = {
3717
3743
  ],
3718
3744
  [
3719
3745
  '9000',
3720
- '9799'
3746
+ '9599'
3747
+ ],
3748
+ [
3749
+ '960',
3750
+ '979'
3721
3751
  ],
3722
3752
  [
3723
3753
  '98',
@@ -6333,6 +6363,10 @@ module.exports = {
6333
6363
  '600',
6334
6364
  '799'
6335
6365
  ],
6366
+ [
6367
+ '85',
6368
+ '89'
6369
+ ],
6336
6370
  [
6337
6371
  '900',
6338
6372
  '999'
@@ -6406,7 +6440,7 @@ module.exports = {
6406
6440
  '59'
6407
6441
  ],
6408
6442
  [
6409
- '800',
6443
+ '750',
6410
6444
  '999'
6411
6445
  ]
6412
6446
  ]
@@ -6420,7 +6454,7 @@ module.exports = {
6420
6454
  ],
6421
6455
  [
6422
6456
  '30',
6423
- '59'
6457
+ '74'
6424
6458
  ],
6425
6459
  [
6426
6460
  '800',
@@ -6433,15 +6467,15 @@ module.exports = {
6433
6467
  ranges: [
6434
6468
  [
6435
6469
  '0',
6436
- '0'
6470
+ '1'
6437
6471
  ],
6438
6472
  [
6439
6473
  '50',
6440
- '65'
6474
+ '68'
6441
6475
  ],
6442
6476
  [
6443
6477
  '900',
6444
- '979'
6478
+ '999'
6445
6479
  ]
6446
6480
  ]
6447
6481
  },
@@ -6471,10 +6505,10 @@ module.exports = {
6471
6505
  ],
6472
6506
  [
6473
6507
  '50',
6474
- '64'
6508
+ '79'
6475
6509
  ],
6476
6510
  [
6477
- '950',
6511
+ '900',
6478
6512
  '999'
6479
6513
  ]
6480
6514
  ]
@@ -6597,8 +6631,8 @@ module.exports = {
6597
6631
  '219'
6598
6632
  ],
6599
6633
  [
6600
- '4500',
6601
- '7499'
6634
+ '4000',
6635
+ '7999'
6602
6636
  ],
6603
6637
  [
6604
6638
  '88500',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "isbn3",
3
3
  "description": "ISBN utils: parse, validate, format, audit",
4
- "version": "1.1.15",
4
+ "version": "1.1.19",
5
5
  "authors": [
6
6
  "Hetappi <hetappi.pm@gmail.com>",
7
7
  "Tadas S. <tadas@yoyo.lt>",
@@ -8,7 +8,7 @@ const fetch = require('node-fetch')
8
8
  const { URLSearchParams } = require('url')
9
9
 
10
10
  const domain = 'https://www.isbn-international.org'
11
- const url = `${domain}/?q=bl_proxy/GetRangeInformations`
11
+ const url = `${domain}/bl_proxy/GetRangeInformations`
12
12
 
13
13
  const params = new URLSearchParams({
14
14
  format: 1,
@@ -20,7 +20,7 @@ const getFileUrl = async () => {
20
20
  const res = await fetch(url, { method: 'POST', body: params })
21
21
  const body = await res.json()
22
22
  const { filename, value } = body.result
23
- return `${domain}/?q=download_range/${value}/${filename}`
23
+ return `${domain}/download_range/${value}/${filename}`
24
24
  }
25
25
 
26
26
  const getGroups = result => {