isbn3 1.1.14 → 1.1.18

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
  },
@@ -1201,7 +1201,7 @@ module.exports = {
1201
1201
  '5129'
1202
1202
  ],
1203
1203
  [
1204
- '5500',
1204
+ '5350',
1205
1205
  '5999'
1206
1206
  ],
1207
1207
  [
@@ -1209,7 +1209,7 @@ module.exports = {
1209
1209
  '81824'
1210
1210
  ],
1211
1211
  [
1212
- '86000',
1212
+ '84500',
1213
1213
  '89999'
1214
1214
  ],
1215
1215
  [
@@ -3088,10 +3088,6 @@ module.exports = {
3088
3088
  ],
3089
3089
  [
3090
3090
  '3600',
3091
- '3999'
3092
- ],
3093
- [
3094
- '4000',
3095
3091
  '4199'
3096
3092
  ],
3097
3093
  [
@@ -3120,10 +3116,10 @@ module.exports = {
3120
3116
  ],
3121
3117
  [
3122
3118
  '85',
3123
- '89'
3119
+ '88'
3124
3120
  ],
3125
3121
  [
3126
- '9000',
3122
+ '8900',
3127
3123
  '9499'
3128
3124
  ],
3129
3125
  [
@@ -3202,6 +3198,23 @@ module.exports = {
3202
3198
  ]
3203
3199
  ]
3204
3200
  },
3201
+ '978-9912': {
3202
+ name: 'Tanzania',
3203
+ ranges: [
3204
+ [
3205
+ '40',
3206
+ '44'
3207
+ ],
3208
+ [
3209
+ '750',
3210
+ '799'
3211
+ ],
3212
+ [
3213
+ '9850',
3214
+ '9999'
3215
+ ]
3216
+ ]
3217
+ },
3205
3218
  '978-9913': {
3206
3219
  name: 'Uganda',
3207
3220
  ranges: [
@@ -3401,7 +3414,7 @@ module.exports = {
3401
3414
  ],
3402
3415
  [
3403
3416
  '10',
3404
- '49'
3417
+ '59'
3405
3418
  ],
3406
3419
  [
3407
3420
  '700',
@@ -3717,7 +3730,11 @@ module.exports = {
3717
3730
  ],
3718
3731
  [
3719
3732
  '9000',
3720
- '9799'
3733
+ '9599'
3734
+ ],
3735
+ [
3736
+ '960',
3737
+ '979'
3721
3738
  ],
3722
3739
  [
3723
3740
  '98',
@@ -6333,6 +6350,10 @@ module.exports = {
6333
6350
  '600',
6334
6351
  '799'
6335
6352
  ],
6353
+ [
6354
+ '85',
6355
+ '89'
6356
+ ],
6336
6357
  [
6337
6358
  '900',
6338
6359
  '999'
@@ -6406,7 +6427,7 @@ module.exports = {
6406
6427
  '59'
6407
6428
  ],
6408
6429
  [
6409
- '800',
6430
+ '750',
6410
6431
  '999'
6411
6432
  ]
6412
6433
  ]
@@ -6420,7 +6441,7 @@ module.exports = {
6420
6441
  ],
6421
6442
  [
6422
6443
  '30',
6423
- '59'
6444
+ '74'
6424
6445
  ],
6425
6446
  [
6426
6447
  '800',
@@ -6433,15 +6454,15 @@ module.exports = {
6433
6454
  ranges: [
6434
6455
  [
6435
6456
  '0',
6436
- '0'
6457
+ '1'
6437
6458
  ],
6438
6459
  [
6439
6460
  '50',
6440
- '65'
6461
+ '68'
6441
6462
  ],
6442
6463
  [
6443
6464
  '900',
6444
- '979'
6465
+ '999'
6445
6466
  ]
6446
6467
  ]
6447
6468
  },
@@ -6471,10 +6492,10 @@ module.exports = {
6471
6492
  ],
6472
6493
  [
6473
6494
  '50',
6474
- '64'
6495
+ '79'
6475
6496
  ],
6476
6497
  [
6477
- '950',
6498
+ '900',
6478
6499
  '999'
6479
6500
  ]
6480
6501
  ]
@@ -6597,8 +6618,8 @@ module.exports = {
6597
6618
  '219'
6598
6619
  ],
6599
6620
  [
6600
- '4500',
6601
- '7499'
6621
+ '4000',
6622
+ '7999'
6602
6623
  ],
6603
6624
  [
6604
6625
  '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.14",
4
+ "version": "1.1.18",
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 => {